Trying to upgrade from v3 to v4 and I’m having trouble starting, I get the following:
-----------------------------------------------------------
Hass.io Add-on: AppDaemon 4
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
Add-on version: 0.1.2
You are running the latest version of this add-on.
System: Ubuntu 18.04.4 LTS (amd64 / intel-nuc)
Home Assistant version: 0.105.3
Supervisor version: 200
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] appdaemon.sh: executing...
[cont-init.d] appdaemon.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[05:59:36] INFO: Starting AppDaemon...
2020-02-13 05:59:38.494428 INFO AppDaemon: AppDaemon Version 4.0.1 starting
2020-02-13 05:59:38.494955 INFO AppDaemon: Python version is 3.8.1
2020-02-13 05:59:38.495390 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2020-02-13 05:59:38.495743 INFO AppDaemon: Added log: AppDaemon
2020-02-13 05:59:38.496128 INFO AppDaemon: Added log: Error
2020-02-13 05:59:38.496492 INFO AppDaemon: Added log: Access
2020-02-13 05:59:38.496831 INFO AppDaemon: Added log: Diag
2020-02-13 05:59:38.531633 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2020-02-13 05:59:38.586959 INFO HASS: HASS Plugin Initializing
2020-02-13 05:59:38.587368 INFO HASS: HASS Plugin initialization complete
2020-02-13 05:59:38.588406 INFO AppDaemon: HTTP is disabled
2020-02-13 05:59:38.598626 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-02-13 05:59:38.612451 INFO AppDaemon: App 'hello_world' added
2020-02-13 05:59:38.614204 INFO AppDaemon: Found 1 total apps
2020-02-13 05:59:38.615259 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-02-13 05:59:43.609879 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-02-13 05:59:48.628264 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-02-13 05:59:53.639732 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2020-02-13 05:59:58.653894 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
....................
My current appdaemon.yaml:
secrets: /config/secrets.yaml
logs:
appdaemon:
latitude: snip
longitude: snip
elevation: 172
time_zone: America/New_York
plugins:
HASS:
type: hass
ha_url: http://192.168.0.89/:8123
#NewToken
#token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJiMGI2ZmQwYWIwM2Y0YmI5YjU2ZmQwN2Q2MTMxMTc4NCIsImlhdCI6MTU4MTU4ODAzOSwiZXhwIjoxODk2OTQ4MDM5fQ.NpjPEFSaGL3ca7slneSJqEbd21uI6SlmiCc6SPA3UbI
#old token
token: 05c97b00e4fb7e741cd07bc9521db429f81316a8e55ac2ac4484e15c4aea912b5d121b7fc3be9ee96873a40242120ea5e6668d644add8d4d
hadashboard:
dash_url: http://127.0.0.1:5050
dash_dir: /config/appdaemon/dashboards
admin:
api:
My old config:
secrets: /config/secrets.yaml
log:
logfile: STDOUT
errorfile: STDERR
appdaemon:
threads: 10
app_dir: /config/appdaemon/apps
plugins:
HASS:
type: hass
ha_url: http://hassio/homeassistant
token: 05c97b00e4fb7e741cd07bc9521db429f81316a8e55ac2ac4484e15c4aea912b5d121b7fc3be9ee96873a40242120ea5e6668d644add8d4d
hadashboard:
dash_url: http://127.0.0.1:5050
dash_dir: /config/appdaemon/dashboards
I thought it was a token problem so I created a new long lived token, as seen by the comments in the config. However both tokens don’t seem to work with the new version. Same error with both.
Not sure what I’m doing wrong. Need a hand please.
System info:
Host OS: Ubuntu 18.04
I only have one simple dashboard setup with a few buttons. Nothing to complicated.
Many thanks.