i had HA on a windows PC and dashboard on a PI.
no problem at all.
Is it possible to change the default column grid size from 8 to say 6 on the dashboard so it fits within an 800x600 screen without a horizontal scroll bar?
if you paste this:
<script type='text/javascript'>
$(function() {
// These settings override the defaults set in application.coffee. You can do this on a per dashboard basis.
// Dashing.widget_margins = [5, 5]
// Dashing.widget_base_dimensions = [120, 120]
Dashing.numColumns = 4
});
</script>
on the top off your dashboard you can override default settings.
Perfect thank you very much.
This now fits on the Raspberry Pi touch screen.
Now all I need to work out is how to get data-event-click=āonClickā working on the RPI touch screen as it currently doesnāt. Just installing Kivy to see if this will make it work
Edit: its working now using your above script change so no need to install Kivy :-/ Too late now though at I already pressed goā¦
I got some of those Philip hue light bulbs for Christmas. I added them to home assistant and was then able to add a widget to the home assistant dashboard. The problem is there are three lights in one fixture in my living room and I am not sure how to add all three lights As One widget. I donāt want to have to turn on each light bulb individually every time. Any help?
Iām just installing the hadash, but couldnāt you just setup a group in HA for the bulbs and then add the group as a widget to the dash?
Iām installing the HADashboard and when I try to run bundle it complains that I need sqllite. When I run the command that it gives to install sqllite, it complains that it canāt create the make file because it canāt find sqllite.h.
pi@haweb:~/hadashboard $ sudo gem install do_sqlite3 -v '0.10.17'
Building native extensions. This could take a while...
ERROR: Error installing do_sqlite3:
ERROR: Failed to build gem native extension.
/usr/bin/ruby2.1 extconf.rb
checking for sqlite3.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby2.1
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.1.0/gems/do_sqlite3-0.10.17 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/arm-linux/2.1.0/do_sqlite3-0.10.17/gem_make.out
You presumably don;t have the underlying code for SQLLite and the associated dev package installed. Try something like:
$ sudo apt-get install libsqlite3-dev
Thanks, that did it. I wasnāt sure if it was different because everything else is a gem install.
A lot of the Gem functionality relies on underlying packages, same with Python libraries - and if they do you need the base package, and often the dev package because when the Gem is built, it is in effect building an application that sits on top of the base so it needs header files etc.
Got it. Now the fun of figuring out how to configure it.
make a group in hass and make a widget for that,
or make an input_boolean with an automation in hass and make a widget for the input_boolean.
you can only do in dashboard what you already cab do in hass, so first think about how to do it in hass, then make a widget for that.
Sorry, still a noob here. So I was able to make the group in HA. I now have a group called Living Room Light with a switch and then three light switches underneath it. Now Iām not sure how to turn that into a widget in hadashboard. I would like to use the HA Dimmer widget so I can set the percentage.
Iām playing with the same thing right now. You just use the group name for the data-id. in my case office_lights is 4 Osram lights in my ceiling fan.
<li data-row="2" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="office_lights" data-view="Hagroup" data-title="Office Lights" data-color="#FF0000"></div>
</li>
But, the documentation says for a group you have to use Hagroup for the data-view so you donāt have the dimmer option anymore. Hopefully there is an undocumented feature somewhere that someone can tell us about.
not that i know of at this moment.
i guess there are several widgets that could be used with other things then the entity type they are now specific for.
dimmer is now lights only, but could be used in groups or with a (custom)switch for instance but aso for a slider
inputbooleans and switches are mostly alike i think
meter could be used for all kind of entities
maybe we could find a way that there are a few widgets that can be used for more then 1 entity type.
Iām not sure if hass letās you dim a group of lights - if so, Hagroup should be changed to support it, or another group dimmer could be created.
It does let you. When you click on the group, you have the option to dim it.
i have 1 light entity since Christmas. so didnt need grouping
i would create a slider and let appdaemon do the work
i also created 3 sliders for red, green and blue to make it easy for my wife to play with the colors through the dashboard.
Just scrolled through this whole post to make sure I was t missing a way to do this. Iād like for my switches to be gray like normal but when the switch is on the background changes to green instead of the icon. I saw it that way on the smart things dashboard but I donāt know any ccs or ruby or coffee or anything lol but Iām good at following instructions. If this is something fairly easy Iād love to give it a shot with a little assistance. I just got hadashboard set up this week and I am finally getting the hang of it.
I have no idea how to do any of that, but that would be nice.