6 Commits

Author SHA1 Message Date
Alexandre
6e703632ed Merge pull request #2278 from alexbelgium/codex/review-issue-#1808-for-closure-or-fix
Fix Birdnet-Go microphone selection override
2025-12-17 17:09:41 +01:00
Alexandre
b82d8cddcd Fix Birdnet-Go microphone selection override 2025-12-17 17:09:06 +01:00
Alexandre
0505243c75 Merge pull request #2277 from alexbelgium/codex/review-issue-#1219-for-closure-or-fix
Handle missing SSL files in Omada startup script
2025-12-17 17:08:04 +01:00
Alexandre
b2b12d697a Handle missing SSL files for Omada addon 2025-12-17 17:07:53 +01:00
Alexandre
0b5a79ee1c Merge pull request #2276 from alexbelgium/codex/review-issue-#1069-for-closure-or-fix
Ensure pg_stat_tmp directory for guacamole postgres
2025-12-17 17:06:06 +01:00
Alexandre
2bf8d4a8f0 Ensure pg_stat_tmp directory for guacamole postgres 2025-12-17 15:43:46 +01:00
4 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
- Preserve the microphone selected in the BirdNET-Go UI unless the `homeassistant_microphone` option explicitly forces the default device.
## "nightly-20251028" (01-11-2025)
- Minor bugs fixed

View File

@@ -13,11 +13,10 @@ CONFIG_LOCATION="/config/config.yaml"
if bashio::config.true "homeassistant_microphone"; then
bashio::log.info "homeassistant_microphone option is selected. The audio card config value is set to 'default'. Set in the addon options to which this is set"
audio_card="default"
yq -iy ".realtime.audio.source = \"${audio_card}\"" "$CONFIG_LOCATION"
else
bashio::log.warning "homeassistant_microphone option is not set, disabling microphone input"
audio_card=""
bashio::log.info "homeassistant_microphone option is not set, keeping audio source configured via the UI"
fi
yq -iy ".realtime.audio.source = \"${audio_card}\"" "$CONFIG_LOCATION"
########################
# CONFIGURE birdnet-go #

View File

@@ -4,5 +4,6 @@ set -e
mkdir -p /config/fonts
mkdir -p /config/postgres
mkdir -p /config/postgres/pg_stat_tmp
chown -R postgres:postgres /config/postgres
chmod -R 0700 /config/postgres

View File

@@ -7,7 +7,11 @@ CONFIGSOURCE="/config"
# Use ssl
if [ -d /ssl ]; then
mkdir -p /cert
cp -r /ssl/* /cert
if compgen -G "/ssl/*" > /dev/null; then
cp -r /ssl/* /cert
else
echo "No SSL files found in /ssl, skipping copy"
fi
chown -R 508:508 /cert
fi