This commit is contained in:
Hans Karlinius
2024-12-01 06:31:18 +01:00
parent 66c0ae33fa
commit 60554bcadc
3 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.319"
version: "0.1.320"
slug: vhclient
description: VirtualHere Client
arch:

View File

@@ -1,7 +1,7 @@
#!/command/with-contenv bashio
options=$(bashio::api.supervisor GET "/addons/self/options/config")
autofind=$(echo $options | jq '. | if .autofind then true else false end')
#autofind=$(echo $options | jq '. | if .autofind then true else false end')
autouse=$(echo $options | jq '. | if .autouse then true else false end')
#if $autofind; then

View File

@@ -1,3 +1,7 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Starting VirtualHere Client"
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout
bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s
/usr/bin/vhclient -t "GET CLIENT STATE"