This commit is contained in:
Hans Karlinius
2024-11-26 08:37:19 +01:00
parent 209ad265d5
commit 10b0e46fa5
4 changed files with 9 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.108"
version: "0.1.109"
slug: vhclient
description: VirtualHere Client
arch:
@@ -16,8 +16,8 @@ host_network: true
#hassio_role: manager
#homeassistant_api: true
#supervisor_api: true
#ports:
# 8000/tcp: 8000
ports:
8000/tcp: 8000
ingress: true
ingress_port: 8000
panel_icon: mdi:puzzle

View File

@@ -1,9 +1,9 @@
#!/command/with-contenv bashio
if bashio::config.has_value 'clientid'; then
clientid=($(bashio::config 'clientid'))
bashio::log.info "Set ClientId to ${clientid}"
fi
#if bashio::config.has_value 'clientid'; then
# clientid=($(bashio::config 'clientid'))
# bashio::log.info "Set ClientId to ${clientid}"
#fi
if bashio::config.has_value 'autofind'; then
autofind=($(bashio::config 'autofind'))

View File

@@ -1,5 +1,3 @@
#!/usr/bin/with-contenv bashio
echo "Hello world!"
bashio::log.info "Starting VirtualHere HTTP"
python3 -m http.server 8000

View File

@@ -1,3 +1,3 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Starting VirtualHere Client as a daemon"
bashio::log.info "Starting VirtualHere Client"
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout