not sure, know I didn’t put it there. Will see what it looks like in a non docker madness tomorrow.
Anyone want a quick AppDaemon file to convert HA groups (that start with room_ ) to .dash files?
I have change the steps in HA but it still the same problem.
I get one error in javascript console.
Probably jumping ahead of this beta’s current stage here, but I’ve noticed the Media Player widget doesn’t change icon when the state goes from ‘playing’ (icon showing) to ‘stopped’ (should be no icon).
If I reload the dashboard, the icon updates appropriately but not on its own.
The icon updates perfectly from ‘playing’ to ‘paused’ and vice versa - it’s just ‘stopped’ that seems not to update automatically.
The widget behaves like this when it’s pointing to my MPD device, and my Kodi box.
Having issues running this in the venv - any thoughts?
(homeassistant) homeassistant@hass:/srv/homeassistant/appdaemon_dashboard/appdaemon$ python3 -m appdaemon.appdaemon -c conf/
2017-03-06 22:32:53.882558 INFO AppDaemon Version 2.0.0beta1 starting
conf/apps
2017-03-06 22:32:59.355153 INFO Got initial state
2017-03-06 22:32:59.356009 INFO Loading Module: conf/apps/hello.py
2017-03-06 22:32:59.357917 INFO Loading Object hello_world using class HelloWorld from module hello
2017-03-06 22:32:59.450702 INFO hello_world: Hello from AppDaemon
2017-03-06 22:32:59.452812 INFO hello_world: You are now ready to run Apps!
2017-03-06 22:32:59.453078 INFO App initialization complete
2017-03-06 22:32:59.454621 INFO Starting dashboard
2017-03-06 22:32:59.456703 WARNING ------------------------------------------------------------
2017-03-06 22:32:59.457097 WARNING Unexpected error in dashboard thread
2017-03-06 22:32:59.457318 WARNING ------------------------------------------------------------
2017-03-06 22:32:59.461004 WARNING Traceback (most recent call last):
File "/srv/homeassistant/appdaemon_dashboard/appdaemon/appdaemon/appdash.py", line 232, in run_dash
set_paths()
File "/srv/homeassistant/appdaemon_dashboard/appdaemon/appdaemon/appdash.py", line 23, in set_paths
os.makedirs(conf.compile_dir)
File "/srv/homeassistant/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'conf/compiled'
2017-03-06 22:32:59.461382 WARNING ------------------------------------------------------------
2017-03-06 22:32:59.503549 INFO Connected to Home Assistant 0.39.1
[AppDaemon]
ha_url = https://EXTERNALDNS
ha_key = PASSWORD
logfile = STDOUT
errorfile = STDERR
threads = 10
#app_dir = /srv/homeassistant/appdaemon_dashboard/appdaemon/conf/apps
dash_url = http://0.0.0.0:5050
dash_dir = /srv/homeassistant/appdaemon_dashboard/appdaemon/conf/dashboards
# Apps
[hello_world]
module = hello
class = HelloWorld
Seems to me that the user hass has no writing righrs for the dir compiled.
OK, to clarify my brief comments from last night on my iPad …
The way the group widget is implemented, it assumes all the lights are dimmable, to not have dimmable lights causes the problem you have seen. I’ll look at fixing this during the beta.
Thanks - I have reworked that part of the code for the next beta release so lets see how it behaves then.
It’s working as designed but I can add a separate icon for the stopped state after the beta.
Having never used AppDaemon is anyone able to give me some pointers on the best way to start V2 on boot or launch with a script from HASS?
@aimc - Is it still possible to create a blank tile for spacing in V2? Sorry, if I missed it already being discussed somewhere in the thread above or docs.
You can use spacer for an e pty widget
and an empty line needs only a - on the line
If you want an actual blank tile that isn’t possible yet but I’ll add it in beta 2 since it is a good idea and easy to do
Check the group and ownership of your conf directory. my guess is it’s root.
sudo chown -R conf
chgrp -R conf
They you should be able to run it.
I just run a menu script from my .bash_profile. One of the options on the menu is to go to the dashboards directory, another is to run AppDaemonDashboard. The second options just kicks off AppDaemon running the dashboard like it says to do in the documentation.
how about a label with " " for text?
I knew there was a simple way to do it!
It just has to be unique for each spacer instance in a dash for a specific space. You can have one 2x1 spacer and use it multiple times in a layout, but if you want another one at 2x2, you need to remember to name it differently.
slider:
widget_type: input_slider
entity: input_slider.bedroom_brightness
title: Bedroom
title2: Brightness
level_up_style: "color: white"
slider2:
widget_type: input_slider
entity: input_slider.bedroom_brightness
title: Bedroom
title2: Brightness
level_up_style: "color: white"
layout:
- googlehome(2x1), thermo(2x1), front_door, front_door_lock, slider(2x1)
- slider(3x1)
Won’t work and just gives you an empty line, but:
slider:
widget_type: input_slider
entity: input_slider.bedroom_brightness
title: Bedroom
title2: Brightness
level_up_style: "color: white"
slider2:
widget_type: input_slider
entity: input_slider.bedroom_brightness
title: Bedroom
title2: Brightness
level_up_style: "color: white"
layout:
- googlehome(2x1), thermo(2x1), front_door, front_door_lock, slider(2x1)
- slider2(3x1)
will work correctly.
ok, non docker, things are much better and I don’t get the compiled css in the custom_css/template_name/dashboard.css file. Thanks!
Docker worries me sometimes …