Announcement: HADashboard v2 Beta3!

Cool,

Can you post the .dash file?
Are you using a custom skin?
Are you working remote from your network?
Sorry one last question, any errors in the log, stdout, or java console on the browser

I am not using a custom skin at the moment, i am on the local network.

not getting any errors either.

title: Main
widget_dimensions: [95, 95]
widget_margins: [10, 8]
columns: 10

clock:
widget_type: clock

weather:
widget_type: weather
units: “°F”

main_ac:
widget_type: climate
title: MAIN A/C
units: “°F”
entity: climate.thermostat_b

small_ac:
widget_type: climate
title: SMALL A/C
units: “°F”
entity: climate.thermostat_a

download:
widget_type: sensor
title: DOWNLOAD SPEED
title_style: “font-size: 65%”
value_style: “font-size: 150%; color: #aaff00
unit_style: “color: #aaff00; font-size: 70%”
units: Mbps
entity: sensor.fastcom_download

upload:
widget_type: sensor
title: UPLOAD SPEED
title_style: “font-size: 65%”
value_style: “font-size: 150%; color: #aaff00
unit_style: “color: #aaff00; font-size: 70%”
units: Mbps
entity: sensor.speedtest_upload

camera_dash:
widget_type: navigate
widget_style: “background-color: rgba(128,0, 0, 0.5); color: $blue;”
title: CAMERAS
dashboard: front_door
icon_active: mdi-camcorder
icon_inactive: mdi-camcorder

livingroom_dash:
widget_type: navigate
widget_style: “color: $blue”
title: LIVINGROOM
title_style: “font-size: 75%; color: $blue”
dashboard: livingroom
icon_active: fa-users
icon_inactive: fa-users
icon_style: “color: blue”

gameroom_dash:
widget_type: navigate
widget_style: “background-color: rgba(128,0, 0, 0.5); color: $blue;”
title: GAMEROOM
dashboard: gameroom
icon_active: mdi-gamepad-variant
icon_inactive: mdi-gamepad-variant

kitchen_dash:
widget_type: navigate
widget_style: “background-color: rgba(128,0, 0, 0.5); color: $blue;”
title: KITCHEN
dashboard: kitchen
icon_active: mdi-food-fork-drink
icon_inactive: mdi-food-fork-drink

reload:
widget_type: reload
widget_style: “background-color: rgba(128, 128, 128, 0.5); color: $blue;”
reload_icon_inactive_style: “color: $blue”

layout:
- main_ac(1x1), small_ac(1x1),clock(2x1), spacer(1x1), spacer(3x1), download(1x1)
- spacer(1x1), weather(2x2), spacer(1x1), spacer(1x1), upload(1x1)
- spacer (2x1)
-
- livingroom_dash(1x1), kitchen_dash(1x1), gameroom_dash(1x1), camera_dash(1x1), reload(1x1)

You aren’t showing your indenting, I’m guessing you have everything indented? Can you post a screen shot of what you are seeing?

I have the same issue as Coolie, can someone post a simple sample of a .dash file.

I copied one from the thread and put it in a dashboards folder, but still no luck. Everything seems to start but never get it to listen on port 5050.

CFG File

[AppDaemon]
ha_url = http://192.168.0.47:8123
ha_key =
logfile = STDOUT
errorfile = STDERR
app_dir = /home/pi/appdaemon/conf/apps
dash_dir = /home/pi/appdaemon/conf/dashboards
dash_url = http://192.168.0.47:5050
threads = 10

Apps

[hello_world]
module = hello
class = HelloWorld

2017-04-12 00:19:12.597355 INFO AppDaemon Version 1.5.2 starting
2017-04-11 20:19:22.937348 INFO Got initial state
2017-04-11 20:19:22.940804 INFO Loading Module: /home/pi/appdaemon/conf/apps/hello.py
2017-04-11 20:19:22.945291 INFO Loading Object hello_world using class HelloWorld from module hello
2017-04-11 20:19:23.104445 INFO hello_world: Hello from AppDaemon
2017-04-11 20:19:23.109735 INFO hello_world: You are now ready to run Apps!
2017-04-11 20:19:23.110404 INFO App initialization complete
2017-04-11 20:19:23.127425 INFO Connected to Home Assistant 0.42.3

(venv) pi@haweb:~/appdaemon_dashboard/appdaemon/conf/dashboards$ cat Hello.dash
#
# Main arguments, all optional
#
title: Hello Panel
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8

label:
    widget_type: label
    text: Hello World
    
layout:
    - label(2x2)
(venv) pi@haweb:~/appdaemon_dashboard/appdaemon/conf/dashboards$

Here is my appdaemon.cfg file as well.

(venv) pi@haweb:~/appdaemon_dashboard/appdaemon/conf$ cat appdaemon.cfg
[AppDaemon]
ha_url = http://www.xxx.yyy.zzz:8123 
logfile = /home/pi/appdaemon_dashboard/appdaemon/appdaemon.log 
errorfile = /home/pi/appdaemon_dashboard/appdaemon/appdaemon.err
threads = 10
app_dir = /home/pi/appdaemon_dashboard/appdaemon/conf/apps
dash_url = http://www.xxx.yyy.zzz:5050
dash_dir = /home/pi/appdaemon_dashboard/appdaemon/conf/dashboards
# Apps
[hello_world]
module = hello
class = HelloWorld

And in your browser, enter the following in your address bar, with the correct IP address of course.

http://www.xxx.yyy.zzz:5050/Hello

Yes, i am using the indenting correctly, it just didnt show up on the copy.

Thanks for the examples.

I copied your example to my Hello.dash and updated the .cfg file but I still get the same thing. Of course updating paths and IP address. There is nothing in the err log

[AppDaemon]
ha_url = http://192.168.0.47:8123
logfile = /home/pi/appdaemon/appdaemon.log
errorfile = /home/pi/appdaemon/appdaemon.err
threads = 10
app_dir = /home/pi/appdaemon/conf/apps
dash_url = http://192.168.0.47:5050
dash_dir = /home/pi/appdaemon/conf/dashboards

Apps

[hello_world]
module = hello
class = HelloWorld

2017-04-12 00:41:11.592453 INFO AppDaemon Version 1.5.2 starting
2017-04-11 20:41:21.938167 INFO Got initial state
2017-04-11 20:41:21.948147 INFO Loading Module: /home/pi/appdaemon/conf/apps/hello.py
2017-04-11 20:41:21.952974 INFO Loading Object hello_world using class HelloWorld from module hello
2017-04-11 20:41:22.118172 INFO hello_world: Hello from AppDaemon
2017-04-11 20:41:22.123020 INFO hello_world: You are now ready to run Apps!
2017-04-11 20:41:22.123754 INFO App initialization complete
2017-04-11 20:41:22.142596 INFO Connected to Home Assistant 0.42.3

what are the rights on your dashboards directory and the files inside it?

Wait a minute, you are on appdaemon 1.5.2. You should be on 2 beta 3. You’ve installed from the wrong place.

look at https://github.com/home-assistant/appdaemon/tree/hadashboard_beta

Ok, wild guess here, put a space between the comma and clock(1x1) in your layout. Like I said wild guess. Grasping at straws at the moment.

This is the page that I used to install. I used the “git clone https://github.com/home-assistant/appdaemon.git” and then followed the rest of the instructions.

Should I be cloning a different path or should I manually download the files?

I think I see what I did, I installed the base appdaemon but didn’t update it. I have the update running now and will test some more.

Thanks for pointing me in the right direction.

Thanks again, everything is working now. Now on to learning how to build the dashboard.

I think the climate widget has a slight fault.

What works:
If I change the climate target temp from HADash, the change is reflected to HA.
The same works the other way around also.

However, the HADash seems to keep a state table of it’s own. If in HADash last temperature change was set to say ‘21’ and temperature was later adjusted from HA to say ‘18’, the HADash screen reflects the value correctly, but if temperature is then changed from ‘18’ (which it displays as target temp) to ‘19’ in HADash, the temperature is actually changed to ‘22’, because it seems internally HADash climate thing kept the value ‘21’ to which it adds one degree change. So in this case new target temp becomes ‘22’ when it should be ‘19’.

Also waiting for the weather widget to show the data in correct units (as configured in HA). Now it shows temp as C but speed is Mph (should be m/s) and rain is in inches (should be mm for us here in Europe :slight_smile: )

i think thats a small problem in base_slider
inputslider also keeps the last value.
i reported that to @aimc a while ago and he changed something and i thought it was fixed after that, but after a while i discovered that it still wasnt. i suspect it has something to do with cashing and because Andrew is working on that, i waited for that fix to report it again.

Everything works fine for me - the slider does keep a value but when it makes a change, that value is overridden when HASS reports back the new value. Sometimes there is a delay in this, for example when using a ZWave thermostat, but when a slider is changed, I don;t update the value directly I wait to hear it from HASS so I am not sure what is going on here.

I can’t control lights from HADrashboard but if I turn on/off light from HA it reflects the status in HADashboard.
I am running HA on Ubuntu machine with SSL and HADashboard on rPi3.
Any idea what I am missing?

Can you supply log entries from AppDaemon and also HASS at the time yo utry to swicth something please?

Also, have you updated aiohttp to the latest - it is a requirement for beta3.5.