Commit Graph

17 Commits

Author SHA1 Message Date
Yudong Sun
33000347b4 birdnet-pipy: remove TZ option — timezone auto-derived from station location
The app derives its timezone from station lat/lng via timezonefinder
(Settings → Location in the Web UI), so a separate addon-level TZ only
ever created mismatch with the UI-derived zone. All app-facing timestamps
(dashboard, API, DB) and Python service stdout (api/main/birdnet) already
honor the UI zone via logging_config.py's formatter, and the frontend log
viewer re-converts Icecast timestamps on read.

Net effect in the HA addon log pane: Python services still show the
correct local time; only Icecast's raw stdout now prints in UTC (accepted
trade for a single source of truth). Deletes
rootfs/etc/cont-init.d/02-timezone.sh added in 0.5.6-2.

Also cleans up the options YAML in DOCS.md/README.md: drops
RECORDING_MODE and RTSP_URL (never wired — app reads them from
user_settings.json), drops http_stream from the modes list, and moves
STREAM_BITRATE under an env_vars: example since it's honored by
start-icecast.sh but not a schema option.

Bumped to 0.6.3-2 (addon-only, no upstream app change).
2026-04-15 08:54:17 -04:00
Alexandre
3ce74a2e0f Update 02-timezone.sh 2026-03-11 14:34:22 +01:00
github-actions
b740741dbf GitHub bot: sanitize (spaces + LF endings) & chmod 2026-03-11 11:01:22 +00:00
copilot-swe-agent[bot]
742e2ce52e Add container timezone management for birdnet-pipy addon
- New init script 02-timezone.sh: reads TZ from addon config, validates
  against /usr/share/zoneinfo, applies to container (/etc/localtime,
  /etc/timezone, s6 container env)
- Change default TZ from Etc/UTC to Europe/Paris
- Increment version to 0.5.6-2
- Update CHANGELOG.md and DOCS.md

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-03-11 07:12:45 +00:00
copilot-swe-agent[bot]
db417e78d6 Fix Icecast service hardcoding /run/pulse/native and ignoring PULSE_SERVER
- Use ${PULSE_SERVER:-unix:/run/pulse/native} in icecast/run and main/run
  to respect the PULSE_SERVER env var set by HA supervisor
- Create /run/pulse/native symlink when PulseAudio socket is elsewhere
- Copy PulseAudio cookie for icecast2 user authentication
- Add icecast2 to audio group

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-22 23:31:55 +00:00
Alexandre
ec5c7ea069 Update 10-config.sh 2026-02-15 22:28:07 +01:00
Alexandre
33dcc7ff09 Refactor nginx ingress script for clarity
Remove redundant sed commands and clean up nginx configuration handling.
2026-02-15 18:22:24 +01:00
Alexandre
27a64fd80b birdnet-pipy: disable nginx service when ingress is unavailable 2026-02-15 08:33:14 +01:00
Alexandre
bdd8221021 birdnet-pipy: use 0.5.0-2 version suffix 2026-02-14 10:40:21 +01:00
Alexandre
6374cb6f54 Update 32-nginx_ingress.sh 2026-01-30 09:05:46 +01:00
Alexandre
87a163998b Update nginx ingress configuration script 2026-01-30 09:03:34 +01:00
Alexandre
8e86e0b8e7 Update BirdNET-PiPy nginx configs 2026-01-29 17:38:17 +01:00
github-actions
fd8e5e0e15 GitHub bot: sanitize (spaces + LF endings) & chmod 2026-01-28 19:04:33 +00:00
Alexandre
f9cfbe402b Fix data migration ordering 2026-01-28 19:59:55 +01:00
Alexandre
dca06b9a9d Add configurable data location 2026-01-28 19:41:00 +01:00
github-actions
9c9c01723d GitHub bot: sanitize (spaces + LF endings) & chmod 2026-01-28 14:07:32 +00:00
Alexandre
24461af201 Add BirdNET-PiPy add-on 2026-01-28 15:06:11 +01:00