Initial voice_history addon
This commit is contained in:
commit
d870cb0d82
7 changed files with 210 additions and 0 deletions
11
voice_history/run.sh
Normal file
11
voice_history/run.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue