Bamboo add-on for Home Assistant

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-10-26 23:18:15 -06:00
1 parent 921b0e69e2
commit cd453221f6
10 files changed
+154 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/with-contenv bashio
# Starts Bamboo with the address and token from the add-on's configuration.
set -e
url="$(bashio::config 'hammerhead_url')"
token="$(bashio::config 'token')"
if [ -z "${url}" ] || [ -z "${token}" ]; then
bashio::log.fatal "Set the Hammerhead address and the site token in this add-on's Configuration tab, then start it again."
bashio::exit.nok
fi
# Settings go in through the environment so the token does not show up in the process list.
export BAMBOO_HAMMERHEAD="${url%/}"
export BAMBOO_TOKEN="${token}"
bashio::log.info "Starting $(bamboo -version), connecting to ${BAMBOO_HAMMERHEAD}"
# /data survives restarts and updates; it holds this site's WireGuard key.
exec bamboo -data /data