Announcement - HADashboard v2 Beta 2!

making dashboards is very easy.
but you cant expect to create advanced custommade dashboards without any efford.

designing dashboards is like designing websites.
there are programs that give you the option to create a decent website very easy, but you cannnot expect those programs to give you the option to create award winning websites.

even when it is possible to give in the coordinates to place the widgets, there will Always be a lot of difficulties.

how to group things, where to place groups, which colors to use, which fonts to use, which widgetsizes to use, etc. etc.

but there will be more and more great skins to choose from.
so even for the people that dont want to spend hours after hours there will be very nice dashboards.

edit: that all said i think that creating widgetgroups will be possible in the future more easy.

3 Likes

I am ready to specd hours for this … but my wife not :stuck_out_tongue: well… your explanation is absolutely understandable!. I totally agree. The only problem is see is, that the real fine tuning is made in widget itself :slight_smile: how log did u take to create your widget? I will copy your stuff and play around … but this means also that i need new Dasboard for new skins, if I want to adapt widgets to my personal needs. No problem but very complicated atm :slight_smile: Anyway… you guys make an awesome effort for the community and thanks thanks thanks for sharing with us :slight_smile:

Is someone here working actually seriously on LCARS imotation?

with something like the grouping i do a lot in widgets.
but if you look above i showed 3 skins with the same dashboard.
and i can even use the same widget groups again in another dashboard and shuffle them around.

a widget is made ver quick.
i make my widgets like this:

sensor.huiskamer_4_1.yaml

widget_type: sensor
title: Temperatuur
units: ""
precision: 1
entity: sensor.huiskamer_box_4_1
widget_style: "border-bottom-left-radius: 30px;border-bottom-right-radius: 30px"

i can reuse that widget in every dashboard just by putting in sensor.huiskamer_4_1
only if i want to use a different widget for the same entity i create a second widget for it.(just diplicating and editing the widget)

the last LCARS i made is quite easy.
i only did put in 4 widgets, but you can put in as many as you like.

I am seeing this same issue as well. Running appdaemon via Docker on Unraid.

Does setting widget_margins:[0,0] allow you to overlay widgets ontop of each other???

no, it reduces the margins to zero, giving you the option to place widgets against each other. (and so creating a group)

same issue as @Mister-Espria & @cannfoddr . I’m using docker, standard config and i get the following error

2017-03-22 21:37:28.156393 WARNING Unexpected error in dashboard thread
2017-03-22 21:37:28.157177 WARNING ------------------------------------------------------------
2017-03-22 21:37:28.163351 WARNING Traceback (most recent call last):
  File "/usr/local/lib/python3.4/site-packages/appdaemon/appdash.py", line 241, in run_dash
handler = app.make_handler()
  File "/usr/local/lib/python3.4/site-packages/aiohttp/web.py", line 224, in make_handler
self._set_loop(loop)
  File "/usr/local/lib/python3.4/site-packages/aiohttp/web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
  File "/usr/local/lib/python3.4/asyncio/events.py", line 626, in get_event_loop
return get_event_loop_policy().get_event_loop()
  File "/usr/local/lib/python3.4/asyncio/events.py", line 572, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'Thread-1'.

My config is

[AppDaemon]
ha_url = https://some.externalname.ie:8123
ha_key = xxxxxx
logfile = STDOUT
errorfile = STDERR
threads = 10
elevation: 11
dash_url = http://192.168.0.191:8124
disable_apps = 1
# Apps
[hello_world]
module = hello
class = HelloWorld

This is a brand new install of appdaemon & HADashboard. Never used either before.
Any ideas?

making an LCARS like this for switches and input_booleans only is doable with a skin at this moment.
using sensors in it is going to be difficult for this moment, because we have titles Always on top of the value.
unless i find a way to lose the titles without editing the widgets.

title: LCARS Panel
widget_dimensions: [130, 50]
widget_size: [1, 1]
widget_margins: [10, 1]
columns: 8

switch.hboog:
  widget_type: switch
  title: BOOG
  entity: switch.hboog
  title_style: $right_title
  widget_style: "background-color:lightgreen;$rounded_left"
switch.hrozenhoek:
  widget_type: switch
  title: Rozen
  entity: switch.hrozenhoek
  title_style: $right_title
  widget_style: "background-color:$purple;$rounded_left"
switch.hbank:
  widget_type: switch
  title: Bank
  entity: switch.hbank
  title_style: $left_title
  widget_style: "background-color:blue;$rounded_right"
switch.kachel_9_1:
  widget_type: switch
  title: Kachel
  entity: switch.kachel_9_1
  title_style: $left_title
  widget_style: "background-color:pink;$rounded_right"

switch.epchoek:
  widget_type: switch
  title: PC hoek
  entity: switch.epchoek
  title_style: $right_title
  widget_style: "background-color:yellow;$rounded_left"
switch.eraamhoek:
  widget_type: switch
  title: Raam hoek
  entity: switch.eraamhoek
  title_style: $right_title
  widget_style: "background-color:green;$rounded_left"
switch.ewandmeubel:
  widget_type: switch
  title: Wandmeubel
  entity: switch.ewandmeubel
  title_style: $right_title
  widget_style: "background-color:red;$rounded_left"

input_boolean.swr3:
  widget_type: input_boolean
  title: Radio
  entity: input_boolean.swr3
  title_style: $right_title
  widget_style: "background-color:red;$rounded_left"
switch.kachel_9_2:
  widget_type: switch
  title: Kachel
  entity: switch.kachel_9_2
  title_style: $left_title
  widget_style: "background-color:pink;$rounded_right"

label1:
  widget_type: label
  title: i
  widget_style: "background-color:lightblue;$rounded_right"


layout:
  - 
  -
  - switch.hboog,      switch.hbank,       switch.epchoek,          spacer,   spacer    
  - switch.hrozenhoek, switch.kachel_9_1,  switch.eraamhoek,        spacer,   spacer,    input_boolean.swr3,   switch.kachel_9_2
  - spacer,            spacer,             switch.ewandmeubel,      spacer,   spacer  
  -
  -
  -
  -
  -
  -
  -
  - label1

What happens if you leave the title blank on sensors?

they keep up taking the same space.
and in most “normal” skins you would like it that way.
you want widgets to look the same and act the same.

only in some situations you would like some “new” widgets that look different.

Yes, seeing the work Rene has been doing, I see a lot of potential in widget groups and want to figure out a way of making that config easier at some point.

1 Like

you already use some kind of grouping, by creating reusable layout parts.
but right now you only created the option to use them as 1 or more rows, splitting the dash in vertical parts.
all you have to do is find a way to implement them as group in another way.

in theory there is a possibility to use grouping right now.

if i use multiple iframes and i open other dashes in those iframes you have grouping.
maybe i will experiment a bit with that :wink:

After a little research I believe that this is die to a bug and or limitations in certain versions of Python. related to the way I have structured the dashboard code. I had planned a refactor in this area anyway that should fix the problem but I will give it higher priority and get it into the next beat for testing.

Just don;t add a title parameter and it should be blank.

thats no problem, but it takes up space. :wink:
if i like widgets with a height of 50 (like in the LCARS) the sensorvalue is shown outside the widget, and inside it is just empty titlespace.

i think in the future we need smaller parts. seperate titles (label is already there) and seperate widgets with only sensorvalue or only the icon.

but thats for after beta.
i know those things are easy to create, we just need to think about naming them.

Understood - One thing that will help is I am planning on having the widgets automatically center the items of interest (e.g. sensor value) now they use a fixed offset. This will give more flexibility.

EDIT: And just to be clear, I won;t rest until we can get a perfect LCARS dashboard using HADashboard and make it easy to create ! At the same time I want that to be just an option and have lots of other cool looks too. I like the idea of Home Assistant coming with an LCARS interface out of the box :slight_smile:

1 Like

dont know if thats really a good thing.

place to widgets side by side, 1 with title and 1 without title, that would look ugly.
and i dont know if it would be less easy or more easy to override that placement on widgetlevel or at devicelevel.

if you are so much wanting an LCARS, ill help you create a LCARS dash. :wink:

2 Likes

Highly appreciate your efforts!! :slight_smile:

1 Like

I would probably make it a percentage or perhaps allow the user to specify the offset so you could tweak it at the dashboard level

i think the widgets we have got now are very good.
i think its time to leave them alone and create new ones :wink:

1 Like