Commit Graph

63 Commits

Author SHA1 Message Date
Yudong Sun
cae9984aaa birdnet-pipy: wait for upstream API before starting nginx
Replaces the 0.6.6-3 sleep+ingress-file-loop in services.d/nginx/run
with bashio::net.wait_for on 127.0.0.1:5002 (core.api). Under
s6-overlay all services.d/* services start concurrently, so nginx
could accept requests before the API had bound its port — proxy paths
(/api/, /socket.io/, /internal/auth) would 502, and that 502 could be
cached by an upstream service worker / edge cache (e.g. Cloudflare-
fronted HA), leaving the UI blank.

Matches the sister-addon pattern (bazarr, jellyfin, radarr). Also
switches to `exec nginx` for proper s6 supervision of the nginx PID.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 23:50:20 -04:00
Alexandre
1d293b4f5d Update config.yaml 2026-04-23 14:43:09 +02:00
Alexandre
af3a4a703c Update config.yaml 2026-04-23 14:31:13 +02:00
Yudong Sun
79c16cffd7 birdnet-pipy: bump to 0.6.6
Bump birdnet-pipy to 0.6.6 (upstream tags v0.6.5 + v0.6.6; skipping
0.6.5 same as the updater bot would).

Minor CHANGELOG.md cleanup while here: normalize 10 entries from
DD-MM-YYYY to YYYY-MM-DD, and remove a stale pre-ingress block (0.2,
0.6.1-0.6.6 dated Jan 2026) that was colliding with real version
numbers further up the file.
2026-04-21 00:42:36 -04:00
alexbelgium
00e37cc18b Updater bot : birdnet-pipy updated to 0.6.4 2026-04-18 01:25:28 +02:00
Yudong Sun
2fb26d4aa9 birdnet-pipy: enable Core API for in-app self-update
Adds `homeassistant_api: true` so the addon can call HA Core's
`update.install` service. Required for in-app self-update —
Supervisor blocks `/store/addons/<self>/update`, so the backend
routes through Core.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-17 01:53:51 -04:00
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
Yudong Sun
056f372f18 fix(birdnet-pipy): simplify ingress to single <base href> rewrite
Upstream 0.6.3 consolidates deployment-path handling into a single
<base href> declaration in index.html with Vite base: './' and
relative paths for all internal URLs. The previous seven sub_filter
rules (href/src/'/api'/'/socket.io') are no longer needed — one
<base href> replacement is sufficient.

Also removes the incidental brittleness from byte-level sub_filter
matches in minified JS bundles (the '/stream/' rule inadvertently
double-prefixed the literal 'api.get("/stream/config")' string).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 22:32:51 -04:00
Alexandre
4874d097e0 Update config.yaml 2026-04-11 07:49:52 +02:00
Alexandre
68174c7f48 Remove webui entry from config.yaml Nobuild
Remove webui configuration from config.yaml
2026-04-11 07:48:18 +02:00
alexbelgium
2ef2db9974 Updater bot : birdnet-pipy updated to 0.6.2 2026-04-11 01:25:29 +02:00
alexbelgium
32a675dcde Updater bot : birdnet-pipy updated to 0.6.1 2026-04-06 10:16:45 +02:00
alexbelgium
b86edd18a6 Updater bot : birdnet-pipy updated to 0.6.0 2026-04-04 01:25:29 +02:00
alexbelgium
b5e667ff1c Updater bot : birdnet-pipy updated to 0.5.8 2026-03-26 10:23:46 +01:00
alexbelgium
501be933a5 Updater bot : birdnet-pipy updated to 0.5.7 2026-03-14 01:25:31 +01:00
Alexandre
1f1c5aa06f Update config.yaml 2026-03-11 14:34:33 +01: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
alexbelgium
4071b45727 Updater bot : birdnet-pipy updated to 0.5.6 2026-03-07 06:39:44 +01:00
Alexandre
6dc3c104d0 Update config.yaml 2026-03-04 15:54:25 +01:00
Yudong Sun
b48de0f4e7 birdnet-pipy: add Supervisor API access and source commit traceability
- Add hassio_api and hassio_role: manager to config.yaml so the addon
  can call /addons/self/restart via the Supervisor API
- Resolve branch to commit SHA before downloading source for build
  traceability (displayed in the app's Settings page)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:22:18 -05:00
alexbelgium
719b63adf9 Updater bot : birdnet-pipy updated to 0.5.5 2026-03-02 13:36:21 +01:00
Alexandre
90ea74861a Update config.yaml 2026-02-26 17:59:54 +01:00
copilot-swe-agent[bot]
e0f9c91e43 feat: enable ingress support for birdnet-pipy addon
Add ingress: true, ingress_port: 0, and ingress_stream: true to
config.yaml. Update ingress_params.conf with sub_filter rules for
Vue.js SPA: rewrite API paths, stream paths, Socket.IO paths, and
inject base href for Vue Router history mode.

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-26 10:51:29 +00:00
Alexandre
af461c5f71 Downgrade version from 0.5.5 to 0.5.4-2 2026-02-23 00:43:55 +01:00
copilot-swe-agent[bot]
e476bddd03 Bump birdnet-pipy version to 0.5.5 and add changelog entry
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-22 23:40:22 +00:00
alexbelgium
f9027c35f0 Updater bot : birdnet-pipy updated to 0.5.4 2026-02-21 01:55:30 +01:00
Alexandre
2393dd1d0e Update config.yaml to remove recording settings
Removed recording options and updated version number.
2026-02-15 22:29:39 +01:00
Alexandre
9c98f2d753 Update version to 0.5.0-5 in config.yaml 2026-02-15 18:23:18 +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
alexbelgium
5c7ef86c48 Updater bot : birdnet-pipy updated to 0.5.0 2026-02-14 01:55:29 +01:00
alexbelgium
166d72b3bb Updater bot : birdnet-pipy updated to 0.4.0 2026-02-07 01:55:29 +01:00
Alexandre
a093fc9da8 remove ingress 2026-02-01 10:18:33 +01:00
Alexandre
b8f77e8725 Bump version to 0.3.2-6 in config.yaml 2026-02-01 08:31:38 +01:00
Alexandre
c4908ec95d Update version to 0.3.2-5 in config.yaml 2026-02-01 07:45:55 +01:00
Alexandre
325da5a50c Bump version to 0.3.2-4 in config.yaml 2026-01-31 21:02:17 +01:00
Alexandre
0e7aae05b9 Bump birdnet-pipy version suffix 2026-01-31 12:48:10 +01:00
alexbelgium
6e578fc0f0 Updater bot : birdnet-pipy updated to 0.3.2 2026-01-30 14:10:00 +01:00
Alexandre
ce170ff096 Bump version from 0.6.5 to 0.6.6 2026-01-30 13:19:39 +01:00
Alexandre
2088b3c40c Bump version from 0.6.4 to 0.6.5 2026-01-30 12:43:17 +01:00
GitHub Actions
0e9b492ea0 Revert 'update' [nobuild] 2026-01-30 08:35:55 +00:00
Alexandre
596d83e12f update 2026-01-30 09:11:44 +01:00
Alexandre
00e41e2529 Update config.yaml 2026-01-30 09:06:05 +01:00
Alexandre
14070f6243 Update config.yaml 2026-01-29 20:27:02 +01:00
Alexandre
96d49344b6 Update config.yaml 2026-01-29 17:59:48 +01:00
Alexandre
8e86e0b8e7 Update BirdNET-PiPy nginx configs 2026-01-29 17:38:17 +01:00
Alexandre
0fb143972d Bump BirdNET-PiPy version 2026-01-29 16:12:53 +01:00
Alexandre
7905b2df7b Update config.yaml 2026-01-29 15:45:25 +01:00
Alexandre
e7e64c84d7 update 2026-01-29 15:34:09 +01:00
Alexandre
a40605e3a8 Update config.yaml 2026-01-29 15:31:08 +01:00