mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
update
This commit is contained in:
@@ -58,7 +58,7 @@ RUN \
|
|||||||
git config --global --add safe.directory '*' && \
|
git config --global --add safe.directory '*' && \
|
||||||
\
|
\
|
||||||
# Download installer
|
# Download installer
|
||||||
curl -f -L -s -S "https://raw.githubusercontent.com/rdz-oss/BattyBattyBirdNET-Analyzer/main/newinstaller.sh" -o /newinstaller.sh && \
|
curl -f -L -s -S "https://raw.githubusercontent.com/rdz-oss/BattyBirdNET-Analyzer/main/newinstaller.sh" -o /newinstaller.sh && \
|
||||||
chmod 777 /newinstaller.sh && \
|
chmod 777 /newinstaller.sh && \
|
||||||
\
|
\
|
||||||
# Use installer to modify other scripts
|
# Use installer to modify other scripts
|
||||||
|
|||||||
@@ -119,6 +119,6 @@
|
|||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/battybirdnet-pi",
|
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/battybirdnet-pi",
|
||||||
"usb": true,
|
"usb": true,
|
||||||
"version": "0.5",
|
"version": "0.3",
|
||||||
"video": true
|
"video": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ function apprisealert() {
|
|||||||
NOTIFICATION+="<br><b>System:</b> ${SITE_NAME:-$(hostname)}"
|
NOTIFICATION+="<br><b>System:</b> ${SITE_NAME:-$(hostname)}"
|
||||||
NOTIFICATION+="<br>Available disk space: $(df -h "$(readlink -f "$HOME/BirdSongs")" | awk 'NR==2 {print $4}')"
|
NOTIFICATION+="<br>Available disk space: $(df -h "$(readlink -f "$HOME/BirdSongs")" | awk 'NR==2 {print $4}')"
|
||||||
if [ -n "$BIRDNETPI_URL" ]; then
|
if [ -n "$BIRDNETPI_URL" ]; then
|
||||||
NOTIFICATION+="<br> <a href=\"$BIRDNETPI_URL\">Access your battyBattyBirdNET-Analyzer</a>"
|
NOTIFICATION+="<br> <a href=\"$BIRDNETPI_URL\">Access your BattyBirdNET-Analyzer</a>"
|
||||||
fi
|
fi
|
||||||
TITLE="BirdNET-Analyzer stopped"
|
TITLE="BirdNET-Analyzer stopped"
|
||||||
"$HOME"/BattyBirdNET-Analyzer/birdnet/bin/apprise -vv -t "$TITLE" -b "${NOTIFICATION}" --input-format=html --config="$HOME/BattyBirdNET-Analyzer/apprise.txt"
|
"$HOME"/BattyBirdNET-Analyzer/birdnet/bin/apprise -vv -t "$TITLE" -b "${NOTIFICATION}" --input-format=html --config="$HOME/BattyBirdNET-Analyzer/apprise.txt"
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ service dbus start
|
|||||||
|
|
||||||
# Starting services
|
# Starting services
|
||||||
echo ""
|
echo ""
|
||||||
bashio::log.info "Starting battyBattyBirdNET-Analyzer services"
|
bashio::log.info "Starting BattyBirdNET-Analyzer services"
|
||||||
chmod +x "$HOME"/BattyBirdNET-Analyzer/scripts/restart_services.sh
|
chmod +x "$HOME"/BattyBirdNET-Analyzer/scripts/restart_services.sh
|
||||||
"$HOME"/BattyBirdNET-Analyzer/scripts/restart_services.sh
|
"$HOME"/BattyBirdNET-Analyzer/scripts/restart_services.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"last_update": "27-07-2024",
|
"last_update": "27-07-2024",
|
||||||
"repository": "alexbelgium/hassio-addons",
|
"repository": "alexbelgium/hassio-addons",
|
||||||
"slug": "battybattybirdnet-pi",
|
"slug": "BattyBirdNET-pi",
|
||||||
"source": "github",
|
"source": "github",
|
||||||
"upstream_repo": "rdz-oss/Battybattybirdnet-pi",
|
"upstream_repo": "rdz-oss/BattyBirdNET-pi",
|
||||||
"upstream_version": ""
|
"upstream_version": ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user