Moving from hass.io to straight Home Assistant as it offers more flexibility. Still new, so this might be a newb question, apologies in advance.
I have setup AppDaemon version 3.0.1. Created a test python app and placed in my /home/homeassistant/appdaemon/apps folder and added the apps.yaml file.
Here is my /home/homeassistant/appdaemon/appdaemon.yaml file:
log:
accessfile: /home/homeassistant/appdaemon/logs/access.log
errorfile: /home/homeassistant/appdaemon/logs/error.log
logfile: /home/homeassistant/appdaemon/logs/appdaemon.log
log_generations: 3
log_size: 1000000
appdaemon:
threads: 10
#api_port: 5000
#api_key: ************
#api_ssl_certificate: /home/homeassistant/dehydrated/certs/pharta.duckdns.org/fullchain.pem
#api_ssl_key: /home/homeassistant/dehydrated/certs/pharta.duckdns.org/privkey.pem
latitude: 35.******
longitude: -86.******
elevation: *******
time_zone: America/*******
plugins:
HASS:
type: hass
#ha_url: https://127.0.0.1:8123
#ha_url: http://hassio/homeassistant
ha_url: https://******.duckdns.org:8123
ha_key: ‘’ #Also tried by using my API key here from Home Assistant
cert_path: False
In my /home/homeassistant/appdaemon/logs/appdaemon.log file, appears to be a connection issue.
2018-08-11 11:24:04.632734 DEBUG AppDaemon: Event type:ha_disconnected:
2018-08-11 11:24:04.633839 DEBUG AppDaemon: {}
2018-08-11 11:24:04.634637 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-08-11 11:24:04.635319 WARNING AppDaemon: HASS: ------------------------------------------------------------
2018-08-11 11:24:04.636016 WARNING AppDaemon: HASS: Unexpected error:
2018-08-11 11:24:04.636710 WARNING AppDaemon: HASS: ------------------------------------------------------------
2018-08-11 11:24:04.642694 WARNING AppDaemon: HASS: Traceback (most recent call last):
File “/srv/appdaemon/lib/python3.5/site-packages/appdaemon/plugins/hass/hassplugin.py”, line 194, in get_updates
“{}/api/websocket”.format(url), sslopt=sslopt
File “/srv/appdaemon/lib/python3.5/site-packages/websocket/_core.py”, line 494, in create_connection
websock.connect(url, **options)
File “/srv/appdaemon/lib/python3.5/site-packages/websocket/_core.py”, line 217, in connect
options.pop(‘socket’, None))
File “/srv/appdaemon/lib/python3.5/site-packages/websocket/_http.py”, line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
File “/srv/appdaemon/lib/python3.5/site-packages/websocket/_http.py”, line 186, in _open_socket
raise error
File “/srv/appdaemon/lib/python3.5/site-packages/websocket/_http.py”, line 170, in _open_socket
sock.connect(address)
TimeoutError: [Errno 110] Connection timed out
I am able to hit my URL: https://***.duckdns.org:8123 just fine.
Any ideas on what I am doing wrong? THanks so much!