Announcement - HADashboard v2 Beta 2!

the skin is no big thing.
but are you ready to start days of calculation?
my dashboard looks like:

title: Main Panel
widget_dimensions: [1, 1]
widget_size: [120, 120]
widget_margins: [0, 0]
columns: 1000

layout:
    - 
    -                                header.main2(855x30), spacer(15x1), header.dashboards(30x520),dashboard.buiten(105x137)
    - empty: 40
    -                                header.verwarming(600x30),spacer(40x1),spacer(15x1),header.eetkamer(200x30)
    - empty: 30
    -                                input_slider.huiskamerthermostaata2,input_slider.huiskamerthermostaatb2,input_slider.huiskamerthermostaatc2,input_slider.huiskamerthermostaatd2,input_slider.huiskamerthermostaate2,spacer(55x1),switch.epchoek2(100x100),switch.eraamhoek2(100x100)
    - empty: 64
    -                                spacer(300x1),dashboard.keuken(105x138)
    - empty: 34
    -                                spacer(55x1),switch.ewandmeubel2(200x100)
    - empty: 19
    -                                switch.kachel_9_22(120x100),switch.kachel_9_32(120x100),switch.irverwarming2(120x100),switch.relay_template_35_12(120x100),switch.relay_template_35_22(120x100)
    - empty: 82
    -                                spacer(300x1),dashboard.slaapkamer(105x138)
    - empty: 6
    -                                spacer(55x1),header.woonkamer(200x30)
    - empty: 9
    -                                spacer(480x1),sensor.huiskamer_box_4_12(120x107)
    - empty: 10
    -                                header.radio(270x30),spacer(65x1),header.allesuit(120x30)
    - empty: 8
    -                                spacer(385x1),switch.hboog2(100x100),switch.hbank2(100x100)                                                                     
    - empty: 20
    -                                input_boolean.swr32,input_slider.radio_volume2, header.empty(30x120),spacer(65x1),input_boolean.allesuit2(120x100)
    - empty: 78
    -                                spacer(385x1),switch.hrozenhoek2(100x100),switch.kachel_9_12(100x100)
    -                                spacer(600x1),dashboard.gang(105x107)

I see i seeā€¦ this is the widget size which is a pain in the ass :slight_smile: I WILL TRY ANYWAY!!! It is just too awesome. and the css for this awesome skin?

1 Like

Hereā€™s the config, nothing fancy:

ha_url = http://192.168.1.190:8123
ha_key = xxxxxxxxx
dash_url = http://172.17.0.3:5050
logfile = STDOUT
errorfile = STDERR
threads = 10

Apps

[hello_world]
module = hello
class = HelloWorld

I build with:

docker build --no-cache -t cannfoddr/appdaemon .

I run with:

docker run -d --name appdaemon --restart always -p 5050:5050 -v /etc/localtime:/etc/localtime:ro -v /mnt/home-assistant/volumes/appdaemon_dashboard/conf:/conf cannfoddr/appdaemon

this are the skin files:
variables.yaml (8.5 KB)
dashboard.yaml (1.7 KB)
you need to rename the dashboard.yaml to dashboard.css
i named the skin transparant.

the image file can be found here:

i did some cutting to get it on the right place for me.
it is placed in the custom_css/transparant/img directory

then you need to be able to round the corners from some individual widgets.
this gives you help how to do that:

widget_type: switch
title: Wandmeubel
entity: switch.ewandmeubel
icon_on: mdi-led-on
icon_off: mdi-led-off
widget_style: "border-bottom-left-radius: 30px;border-bottom-right-radius: 30px"

in stead of bottom you could also use top.

i think then you have all you need.

The empty directive insnā€™t in beta 2 - you will need to use the appropriiate number of empty lines in the layourt directive.

sorry, i forgot, that you made that possible for me :wink:

so @thundergreen - empty: 64 means 64 times -
i did that before, Andrew created that option. it is possible, but make sure you got an editor which gives linenumbers!

beta 2.5??? :slight_smile: LOL

Maybe at the weekend :slight_smile:

Looking at the code, and I have to say I love your variable names. (stuff, thing). LOL

Hi everyone,

I also have issues with the input_slider I only see the new value if I refresh my dashboard. It does change on my HA but not life on the dashboard.

rgb:
  widget_type: input_slider
  title: ledstrip
  entity: input_slider.slider1
  title: rood
  increment: 20

Slider in configuration.yaml

#slider
input_slider:
  slider1:
    name: Rood_living
    initial: 2048
    min: 0
    max: 4095
    step: 5
    icon: mdi:target
  slider2:
    name: Groen_living
    initial: 2048
    min: 0
    max: 4095
    step: 5
    icon: mdi:target
  slider3:
    name: Blauw_living
    initial: 2048
    min: 0
    max: 4095
    step: 5
    icon: mdi:target
shell_command:

Hi,
I have the same problem as @cannfoddr, only im trying to do the non docker install.
I had some problems with my HA installation so i flashed an backup on the pi which i made right before i started with HaDasboard v2 Beta. First time everything went great. But now when i try to install im running into this error:

pi@hassbian:~/hadashboardbeta/appdaemon_dashboard/appdaemon $ sudo python3 -m appdaemon.appdaemon -c ./conf
2017-03-21 18:49:52.229545 INFO AppDaemon Version 2.0.0beta2 starting
2017-03-21 19:49:57.972614 INFO Got initial state
2017-03-21 19:49:57.975100 INFO Loading Module: ./conf/apps/hello.py
2017-03-21 19:49:57.977834 INFO Loading Object hello_world using class HelloWorld from module hello
2017-03-21 19:49:58.105951 INFO hello_world: Hello from AppDaemon
2017-03-21 19:49:58.109548 INFO hello_world: You are now ready to run Apps!
2017-03-21 19:49:58.110098 INFO App initialization complete
2017-03-21 19:49:58.111283 INFO Starting dashboard
2017-03-21 19:49:58.129842 WARNING ------------------------------------------------------------
2017-03-21 19:49:58.130436 WARNING Unexpected error in dashboard thread
2017-03-21 19:49:58.133233 WARNING ------------------------------------------------------------
2017-03-21 19:49:58.143022 WARNING Traceback (most recent call last):
  File "/home/pi/hadashboardbeta/appdaemon_dashboard/appdaemon/appdaemon/appdash.py", line 241, in run_dash
    handler = app.make_handler()
  File "/usr/local/lib/python3.4/dist-packages/aiohttp/web.py", line 224, in make_handler
    self._set_loop(loop)
  File "/usr/local/lib/python3.4/dist-packages/aiohttp/web.py", line 110, in _set_loop
    loop = asyncio.get_event_loop()
  File "/usr/lib/python3.4/asyncio/events.py", line 576, in get_event_loop
    return get_event_loop_policy().get_event_loop()
  File "/usr/lib/python3.4/asyncio/events.py", line 522, in get_event_loop
    threading.current_thread().name)
AssertionError: There is no current event loop in thread 'Thread-12'.

2017-03-21 19:49:58.143757 WARNING ------------------------------------------------------------
2017-03-21 19:49:58.246332 INFO Connected to Home Assistant 0.39.0

This is my config:

[AppDaemon]
ha_url = https://someadress.duckdns.org
ha_key = somepass
logfile = STDOUT
errorfile = STDERR
threads = 10
dash_dir = /home/pi/hadashboardbeta/appdaemon_dashboard/appdaemon/conf/dashboards
dash_url = http://192.168.1.50:5050
#latitude = 
#longitude = 
#elevation = 
#time_zone = 

# Apps
[hello_world]
module = hello
class = HelloWorld

I had written too much code on that day and just couldnā€™t come up with better names :slight_smile: Iā€™ll fix it at some point!

Iā€™ll have to take a look at the weekend as I am traveling on business this week and have no access to my dev setup.

1 Like

Next version has a rewritten slider, hopefully this is fixed.

1 Like

Thanks, appreciated it because I will run my house on home assistant (completely) :slight_smile:

Iā€™m old and forgot if i already asked for persistent notifications in dasbaordā€¦:joy:

Itā€™s on the list

i hope you dont want to lose this one completely?
i am happy with the small bugger :wink:

It will look and work exactly the same! I canā€™t remember if I changed it already or if I was just planning to!

oke on the background you may change everything if it works better :wink:
but i thought you wanted a popup slider?