Please could anyone help with running hadashboard on hassbian? Appdaemon is installe via hass_config install appdaemon whihc uses this script (there you can see all paths created).
#!/bin/bash
function appdaemon-show-short-info {
echo “AppDaemon install script for Hassbian”
}function appdaemon-show-long-info {
echo “Installs AppDaemon in a separate Venv onto this system.”
}function appdaemon-show-copyright-info {
echo “Copyright(c) 2017 Fredrik Lindqvist https://github.com/Landrash”
}function appdaemon-install-package {
appdaemon-show-short-info
appdaemon-show-copyright-infoecho “Creating directory for AppDaemon Venv”
sudo mkdir /srv/appdaemon
sudo chown -R homeassistant:homeassistant /srv/appdaemonecho “Changing to the homeassistant user”
sudo -u homeassistant -H /bin/bash << EOFecho “Creating AppDaemon venv”
python3 -m venv /srv/appdaemonecho “Changing to AppDaemon venv”
source /srv/appdaemon/bin/activateecho “Creating directory for AppDaemon configuration file”
mkdir /home/homeassistant/appdaemon
mkdir /home/homeassistant/appdaemon/appsecho “Installing latest version of AppDaemon”
pip3 install wheel
pip3 install appdaemonecho “Copying AppDaemon config file”
cp /opt/hassbian/suites/files/appdaemon.conf /home/homeassistant/appdaemon/appdaemon.yaml
touch /home/homeassistant/appdaemon/apps.yamlecho “Deactivating virtualenv”
deactivate
EOFecho “Copying AppDaemon service file”
sudo cp /opt/hassbian/suites/files/appdaemon.service /etc/systemd/system/[email protected]echo “Enabling AppDaemon service”
systemctl enable [email protected]
syncecho “Starting AppDaemon service”
systemctl start [email protected]echo
echo “Installation done.”
echo
echo “To continue have a look at Welcome to AppDaemon’s documentation! — AppDaemon 4.4.3 documentation”
echo
echo “If you have issues with this script, please say something in the hassbian channel on Discord.”
echo
return 0
}Make this script function as it always has if run standalone, rather than issue a warning and do nothing.
[[ $0 == “$BASH_SOURCE” ]] && homeassistant-install-package
In /home/homeassistant/appdaemon i have set appdaemon.yaml this way:
AppDaemon:
logfile: STDOUT
errorfile: STDERR
log_generations: 3
threads: 10
HASS:
ha_url: http://127.0.0.1:8123
HADashboard:
dash_url: http://192.168.1.10:5050Apps
[hello_world]
module = hello
class = HelloWorld
and I also created directory /home/homeassistant/appdaemon/dashboards (created as sudo so I hope there will be no problems with rights) where i file Hello.dash containing:
title: Hello Panel
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8label:
widget_type: label
text: Hello Worldlayout:
- label(2x2)
But I can´t see nothing on 192.168.1.10:5050. Any advice? How could I check if appdaemon is running or how to call it to run regarding the path described above?