Announcement: HADashboard v2 Beta3!

Relax guys :slight_smile: I have a cold at the moment and got up in the middle of the night coughing. I sat down, read the forum, realized the fix was a 1 line change so I did it :slight_smile:

Just don’t get used to it!

I have a great work life balance and I am old enough to appreciate it and defend it - everything I do here is because I want to not because I feel I have to.

8 Likes

Good Day,
Just installed using the instruction here but get the foolowing error when I run python3 -m appdaemon.appdaemon -c

Traceback (most recent call last):
File “/usr/lib/python3.4/runpy.py”, line 170, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.4/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/pi/appdaemon_dashboard/appdaemon/appdaemon/appdaemon.py”, line 12, in
from websocket import create_connection
ImportError: No module named ‘websocket’

Yes, I did install websocket-client per instructions.

Thanks

I think you need folder name where the config file is after -c like this:

python3 -m appdaemon.appdaemon -c conf

Tried that, still get the same error

Use the full path. That usually helps. Also what does your appdaemon.cfg file look like

Tried the following, same issue.
“python3 -m appdaemon.appdaemon -c appdaemon_dashboard/appdaemon/conf”

[AppDaemon]
ha_url = http://HASS_IP_Address:8123
logfile = STDOUT
errorfile = STDERR
threads = 10
latitude = “my_lat”
longitude = “my_long”
elevation = "my_elev
time_zone = America/New_York

Apps

[hello_world]
module = hello
class = HelloWorld

try:

cd appdaemon
python3 -m appdaemon.appdaemon -c conf

Try Rene’s suggestion if that doesn’t work try
python3 -m appdaemon.appdaemon -c /appdaemon_dashboard/appdaemon/conf/

Without the / in front of the path, it’s still a relative path from where you are. You have to reference it back to root with the leadng /

then it needs to be:

python3 -m appdaemon.appdaemon -c /home/pi/appdaemon_dashboard/appdaemon/conf/

Are you running AppDaemon and Ha on different machine/computer?
May be AppDaemon computer can’t reach to HA computer or antivirus is blocking it?

It’s a problem with missing libraries, not the way he is invoking it. Try installing websockets as well?

What platform are you running on?

Same result.

Thanks.

Same issue

Same machine.

Tried reinstalling “pip3 install websocket-client”

Hassbian on Pi3

Same thing I reported sometime ago and I’ve still not resolved, tried re-installing websockets and client, mines on a PI3 AIO

It did work as expected!
Thanks

1 Like

Did a complete cleanup, and installed using “$ sudo pip3 install .” and got the following, no listening port.

2017-04-11 00:08:33.943277 INFO AppDaemon Version 2.0.0beta3.5 starting
2017-04-11 00:08:38.973718 WARNING ‘elevation’ directive is deprecated, please remove
2017-04-11 00:08:38.974755 WARNING ‘latitude’ directive is deprecated, please remove
2017-04-11 00:08:38.975816 WARNING ‘longitude’ directive is deprecated, please remove
2017-04-11 00:08:38.976479 WARNING ‘time_zone’ directive is deprecated, please remove
2017-04-11 00:08:39.174157 INFO Got initial state
2017-04-11 00:08:39.175627 INFO Loading Module: /home/pi/appdaemon_dashboard/appdaemon/conf/apps/hello.py
2017-04-11 00:08:39.178990 INFO Loading Object hello_world using class HelloWorld from module hello
2017-04-11 00:08:39.295474 INFO hello_world: Hello from AppDaemon
2017-04-11 00:08:39.298509 INFO hello_world: You are now ready to run Apps!
2017-04-11 00:08:39.298897 INFO App initialization complete
2017-04-11 00:08:39.308897 INFO Connected to Home Assistant 0.41.0

I tried connecting to http://hass_ip:5050, but no luck.

Great! You need to add the dashboard specific configuration now - check out DASHBOARD.md for details.

I am having an issue now where any dashboard i add the clock widget to, it causes all other widgets to be blank. not sure how else to explain it