Merge pull request #1451 from thor0215/master

[Birdnet-go] Queue is full! #1449
This commit is contained in:
Alexandre
2024-06-25 21:50:05 +02:00
committed by GitHub
2 changed files with 18 additions and 2 deletions

View File

@@ -102,10 +102,11 @@
"networkdisks": "str?"
},
"services": [
"mysql:want"
"mysql:want",
"mqtt:want"
],
"slug": "birdnet-go",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-go",
"version": "0.5.5"
"version": "0.5.5-2"
}

View File

@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# Gives mqtt information
if bashio::services.available 'mqtt'; then
bashio::log.green "---"
bashio::log.yellow "MQTT addon is active on your system! Add the MQTT details below to the Birdnet-go config.yaml :"
bashio::log.blue "MQTT user : $(bashio::services "mqtt" "username")"
bashio::log.blue "MQTT password : $(bashio::services "mqtt" "password")"
bashio::log.blue "MQTT broker : tcp://$(bashio::services "mqtt" "host"):$(bashio::services "mqtt" "port")"
bashio::log.green "---"
fi