Hey guys,
as soon as is start HADashboard I get the following message:
WARNING Unable to connect to Home Assistant, retrying in 5 seconds
This is my conf file
[AppDaemon]
ha_url = https://192.168.xxx.xx:8123
ha_key = ----.
logfile = STDOUT
errorfile = STDERR
threads = 10
# Apps
[hello_world]
module = hello
class = HelloWorld
I also added the SSL path to my cert (using lets encrypt), but didnt change much.
Anyone ideas?
nickrout
(Nick Rout)
March 16, 2017, 5:30am
2
Is home-assistant running?
What does your logging say?
Neither your ha_url or ha_key look right?
switched
(Jason)
March 16, 2017, 9:34am
4
See below for my sanitized config - note the ha_URL is not using port 8123 but standard https port 443. No cert path required and I use letsencrypt.
[AppDaemon]
ha_url = https://redaactedURL
ha_key = redactedPASS
logfile = STDOUT
errorfile = STDERR
threads = 10
dash_url = http://192.168.2.17:5050
dash_dir = /srv/homeassistant/appdaemon_dashboard/appdaemon/conf/dashboards
# Apps
[hello_world]
module = hello
class = HelloWorld
1 Like
aimc
(Andrew Cockburn)
March 16, 2017, 3:06pm
5
If you are using an SSL Certificate you can;t connect using the IP address you have to use the domain name you set up in the cert or you will get a security error. If you atsrt AppDaemon with -D DEBUG
it will give you more info on the error.
Thanks the config above did the trick and using the domain name instead of the IP.
Thanks again. Now lets see how this all works
1 Like