Hi all
I’ve just updated my appdaemon as hadashboard on my iPad wasn’t responding to changes. Now appdaemon is refusing to play nice.
Here is the start and status message when it dies.
pi@annabell:~ $ sudo systemctl start [email protected]
pi@annabell:~ $ sudo systemctl status [email protected]
● [email protected] - AppDaemon service for Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-03-10 13:06:41 AEDT; 1s ago
Process: 24512 ExecStart=/usr/local/bin/appdaemon -c /home/homeassistant/.homeassistant/apdconf (code=exited, status=1/FAILURE)
Main PID: 24512 (code=exited, status=1/FAILURE)
Mar 10 13:06:41 annabell appdaemon[24512]: File "/usr/local/lib/python3.5/dist-packages/appdaemon/admain.py", line 361, in main
Mar 10 13:06:41 annabell appdaemon[24512]: self.run(appdaemon, hadashboard)
Mar 10 13:06:41 annabell appdaemon[24512]: File "/usr/local/lib/python3.5/dist-packages/appdaemon/admain.py", line 60, in run
Mar 10 13:06:41 annabell appdaemon[24512]: self.AD = ad.AppDaemon(self.logger, self.error, self.diag, loop, **appdaemon)
Mar 10 13:06:41 annabell appdaemon[24512]: File "/usr/local/lib/python3.5/dist-packages/appdaemon/appdaemon.py", line 259, in __init__
Mar 10 13:06:41 annabell appdaemon[24512]: basename = self.plugins[name]["type"]
Mar 10 13:06:41 annabell appdaemon[24512]: TypeError: string indices must be integers
Mar 10 13:06:41 annabell systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Mar 10 13:06:41 annabell systemd[1]: [email protected]: Unit entered failed state.
Mar 10 13:06:41 annabell systemd[1]: [email protected]: Failed with result 'exit-code'.
pi@annabell:~ $ AppDaemon Version 3.0.0b5^C
pi@annabell:~ $
The log entry
2018-03-10 13:06:41.070584 INFO AppDaemon Version 3.0.0b5 starting
2018-03-10 13:06:41.071354 INFO Configuration read from: /home/homeassistant/.homeassistant/apdconf/appdaemon.yaml
2018-03-10 13:06:41.073427 INFO AppDaemon: Starting Apps
and my appdaemon.yaml file.
log:
logfile: /home/homeassistant/logs/appdaemon.log
errorfile: /home/homeassistant/logs/appdaemon.err
accessfile: /home/homeassistant/logs/dash_access
logsize: 100000
log_generations: 3
appdaemon:
threads: 10
api_port: 5000
plugins:
HASS:
type: hass
ha_url: http://localhost:8123
namespace: default
hadashboard:
dash_url: http://localhost:5050
can anyone see what I’m missing please?