Just asking the obvious while your config sinks in. Home assistant is up and running at that address and you can access it from a web browser. Right???
Also, While the dashboard shows the icon and shows the input i’m on for the TV and the title of what’s playing for DirecTv and AppleTv, I can’t control any of them and I can at least turn them on and off from HA.
Nothing in the logs, no errors on the screen. It remains gray but with text across it describing what is playing.
Now, I know this may sound silly, but go to a browser and verify that HA is running and that you can log in to it using the exact same URL and password that are in your appdaemon.cfg
So ran into a Docker issue here now that I’m not in localhost terms. It looks like dash_url is literally being sent down to the client browser and its doing redirects/requests against that. 0.0.0.0 works fine from localhost but not remotely, obviously…
It appears the dash_url is also used to figure out a bind address, so it’s not possible to make this work as a container right now.
Is there a reason the relative paths didn’t work and that’s why dash_url was hard coded? If that’s the case I’d request being able to split up the bind config from the dash_url config (with defaults like, bind any:5050 is just the default if you don’t specify otherwise)
$ python3 -m appdaemon.appdaemon -c ./conf
Traceback (most recent call last):
File “/usr/local/lib/python3.5/runpy.py”, line 184, in _run_module_as_main
“main”, mod_spec)
File “/usr/local/lib/python3.5/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/pi/appdaemon_dashboard/appdaemon/appdaemon/appdaemon.py”, line 17, in
from websocket import create_connection
ImportError: No module named ‘websocket’
This after installing and uninstalling and re-installing websockets
AIO RPI3 HA 0.39.2
Any ideas?
The install line was …
sudo pip3 install websocket-client
Collecting websocket-client
Requirement already satisfied: six in /usr/local/lib/python3.4/dist-packages (from websocket-client)
Installing collected packages: websocket-client
Successfully installed websocket-client-0.40.0