Commit Graph

154 Commits

Author SHA1 Message Date
alexbelgium
00e37cc18b Updater bot : birdnet-pipy updated to 0.6.4 2026-04-18 01:25:28 +02:00
github-actions
540abd9310 GitHub bot : graphs updated 2026-04-17 12:28:20 +00: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
github-actions
d9624ec229 Github bot : image compressed 2026-04-12 23:14:57 +00:00
github-actions
5063eebaf5 GitHub bot: changelog [nobuild] 2026-04-11 05:55:31 +00: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
Yudong Sun
b1d2ac74ae docs(birdnet-pipy): add CHANGELOG entry for 0.6.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:47:20 -04:00
Yudong Sun
312906997a fix(birdnet-pipy): fix icecast crash and Live Feed broken in ingress
Two fixes for the birdnet-pipy addon:

1. Icecast log permission error: 01-structure.sh creates /app/data/logs
   as root, but start-icecast.sh runs via gosu icecast2. The first log
   write fails with "Permission denied", crashing icecast in a restart
   loop (502 Bad Gateway on the Live Feed page). Fix: chown the log dir
   and file to icecast2 before dropping privileges.

2. Live Feed double-prefixed request in ingress mode: the "/stream/"
   sub_filter rule also matches 'api.get("/stream/config")' in the JS
   bundle, producing a request like
   /hassio_ingress/TOKEN/api/hassio_ingress/TOKEN/stream/config (404).
   The upstream frontend (BirdNET-PiPy >= 0.6.2) now strips the leading
   slash from stream URLs so they resolve via <base href> — the
   sub_filter rule is no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:46:51 -04:00
alexbelgium
2ef2db9974 Updater bot : birdnet-pipy updated to 0.6.2 2026-04-11 01:25:29 +02:00
github-actions
eb5a24a4e4 GitHub bot : graphs updated 2026-04-10 12:25:31 +00:00
alexbelgium
32a675dcde Updater bot : birdnet-pipy updated to 0.6.1 2026-04-06 10:16:45 +02:00
github-actions
649159ba46 Github bot : image compressed 2026-04-05 23:13:26 +00:00
alexbelgium
b86edd18a6 Updater bot : birdnet-pipy updated to 0.6.0 2026-04-04 01:25:29 +02:00
github-actions
15798c19d2 GitHub bot : graphs updated 2026-04-03 12:20:32 +00:00
github-actions
144fc9c26d Github bot : image compressed 2026-03-29 23:12:45 +00:00
github-actions
5f126df321 GitHub bot : graphs updated 2026-03-27 12:21:25 +00:00
alexbelgium
b5e667ff1c Updater bot : birdnet-pipy updated to 0.5.8 2026-03-26 10:23:46 +01:00
copilot-swe-agent[bot]
5a19d19054 Fix HTTP 429: replace ADD remote URLs with COPY in all Dockerfiles, add retry logic and fix ha_automodules.sh
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/2244d014-7299-4b63-89e4-35683a0b4c15
2026-03-26 09:07:15 +00:00
github-actions
63d3e1933b Github bot : image compressed 2026-03-22 23:10:35 +00:00
github-actions
bdaf66ef62 GitHub bot : graphs updated 2026-03-20 12:24:00 +00:00
copilot-swe-agent[bot]
3c53e69161 Replace blanket capability, with specific capabilities in all AppArmor profiles
Remove overly permissive blanket `capability,` rule (grants ALL Linux
capabilities) from 107 addon AppArmor profiles. Replace with only the
specific capabilities each addon needs based on its config.yaml
`privileged` field.

Base capabilities for all addons: setuid, setgid, chown, fowner, dac_override
Additional capabilities mapped from config.yaml privileged list:
- SYS_ADMIN -> sys_admin
- DAC_READ_SEARCH -> dac_read_search
- NET_ADMIN -> net_admin
- NET_RAW -> net_raw
- SYS_RAWIO -> sys_rawio
- SYS_TIME -> sys_time
- SYS_RESOURCE -> sys_resource

Addons with full_access: true (portainer_agent) retain blanket capability.

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-03-17 07:42:05 +00:00
github-actions
4133525441 Github bot : image compressed 2026-03-15 23:11:54 +00:00
alexbelgium
501be933a5 Updater bot : birdnet-pipy updated to 0.5.7 2026-03-14 01:25:31 +01:00
github-actions
aa17f35f46 GitHub bot : graphs updated 2026-03-13 12:17:41 +00:00
Alexandre
b49d5e9b62 Change user to root in Dockerfile
Switch to root user before adding labels.
2026-03-11 14:44:33 +01:00
Alexandre
1f1c5aa06f Update config.yaml 2026-03-11 14:34:33 +01: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
github-actions
d8f791ef9f Github bot : image compressed 2026-03-08 23:08:54 +00:00
alexbelgium
4071b45727 Updater bot : birdnet-pipy updated to 0.5.6 2026-03-07 06:39:44 +01:00
github-actions
ccb87b6c0d GitHub bot : graphs updated 2026-03-06 12:17:46 +00:00
github-actions
8914222b13 GitHub bot: changelog 2026-03-04 15:11:21 +00: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
github-actions
570192a3b7 Github bot : image compressed 2026-03-01 23:08:34 +00:00
github-actions
19e29622a1 GitHub bot : graphs updated 2026-02-27 12:17:38 +00:00
github-actions
489094acf9 GitHub bot: changelog 2026-02-26 17:19:27 +00:00
Alexandre
90ea74861a Update config.yaml 2026-02-26 17:59:54 +01:00
copilot-swe-agent[bot]
5ece7c238b fix: broaden socket.io sub_filter pattern to match trailing slash variant
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-26 10:52:48 +00: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
copilot-swe-agent[bot]
8a0f15413c Add My Home Assistant repository button to all addon READMEs
Add the "Add repository to my Home Assistant" blue button to all
addon README files that were missing it. This makes it easier for
new HA users to add the repository with a single click.

Updated 59 addon READMEs:
- 51 with standard Installation section format
- 8 with non-standard or missing Installation sections

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-23 09:02:12 +00:00
github-actions
4ce3b460fd GitHub bot: changelog 2026-02-23 00:05:07 +00:00
Alexandre
ffdcc54dec Remove 0.5.5 entry from CHANGELOG.md
Remove version 0.5.5 entry from CHANGELOG.
2026-02-23 00:44:22 +01: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