Initial voice_history addon

This commit is contained in:
lollen 2026-05-17 19:17:51 +02:00
commit d870cb0d82
7 changed files with 210 additions and 0 deletions

11
voice_history/run.sh Normal file
View file

@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bashio
CONFIG_URL=$(bashio::config 'ha_url')
CONFIG_PIPELINE=$(bashio::config 'pipeline_id')
export HA_URL="$CONFIG_URL"
export PIPELINE_ID="$CONFIG_PIPELINE"
# SUPERVISOR_TOKEN is auto-injected by supervisor when homeassistant_api: true
bashio::log.info "Voice History starting against $HA_URL, pipeline $PIPELINE_ID"
exec node /app/voice-history.mjs