HADashboard/appdaemon starting on boot


#1

I’ve just installed appdaemon and HADashboard. All is working well. If I do this from the command line:

sudo appdaemon -c ~/homeassistant/conf

It starts and I can see my test dashboard with a clock, a light and a device tracker - all lovely so far.

I then followed the instructions here:

https://appdaemon.readthedocs.io/en/stable/INSTALL.html#starting-at-reboot

This is the contents of the file it told me to create:

[Unit]
Description=AppDaemon
[email protected]
[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/appdaemon -c ~/homeassistant/conf
[Install]
WantedBy=multi-user.target

I changed the User pi but I did have it as %I as per the instructions.

When I do:

$ sudo systemctl daemon-reload
$ sudo systemctl enable [email protected] --now

I don’t get any errors.

But when I reboot, I can’t access my dashboard at [ipaddress]:5050

I’m not completely sure where to look next?

Cheers
Andy