after installing dashing do i have to create a new dashboard with “dashing new dashboard”, bundle that and THEN copy the dashboard repository to /opt/dashboard? the dashboard i created before is in another directory, so should i copy everything from opt/dashboard to that directory?
Hey Stefan,
No need to create a new one. To start with you can directly use the cloned one from @smar’s repo. I ended up having the repo clone in directory to be able to pull and then manually merge the changes to my production dashboard since I made a few changes in the widget.
Despite that check smars docu for installation: https://github.com/smar000/openhab-dashboard
would you be so kind to tell me how you got the “ohmeter” widgets (Leistung, DL Speed etc.) to work?
how and where do you define the min and max values?
i have a simple number item in OH (luftfeuchtigkeit) and added it to group gDashboard.
when i add that to the .erb file i don’t see the value, just an “undefined”.
Hi Stefan, first of all i would like to know how your item is formatted,
Luftfeuchtigkeit = humidity, so is it maybe formatted as a string? The
item i use will Display xx.yy without any unit. The unit is defined in my
sitemap. But i can provide you my widget, because i created a method to
round my number to only one digit.
my humidity item is defined like this: Number luftfeuchtigkeit "Luftfeuchtigkeit [%.1f%%]" <weather_humidity> (feuchtigkeit_statistik, gDashboard) { mqtt="<[mosquitto:HA/home/arduino/hum/humSensor2:state:default]" }
Can we post this sample code in the Github readme, It took me forever to get the weather icons working and it was just the condition id vs common id which is not explained at all? Thank you for your work, I love using this over the openhab app on a wall mounted tablet.
this is my running configuration, simply copy ohmeter to a directory calles ohmeter2 so you can test my configuration.
i also added the items file from openhab and the default.erb (both are shortened)
I did not add any group to the Number item, only for chart generation within openhab.
(i added minimum, maximum values, and a color, but this could be changed)
Isnt scss files compiled down to css files, so you need to run a process to generate the final css files that should be the effective/used files for the browser? is there a ohswitch.css or is the ohswitch.scss included in the browser load?
Here is my configurations for my two theremostats. I have two Z-Wave theremostats. A thing to note is that the thermostats report the mode, fan mode, operating state and fan state as a number that I am transforming. Here is are the widgets I created for the different functions dash-widgets. Below is the dashboards/default.erb entry for the page I have setup for the thermostats. Let me know if you have any questions or problems.
Sure. You can map it to whatever you want. I have another widget I use for some different security profiles like if I want to be alerts for my door sensors or my door and motion sensors. Here is that widget its pretty much the same as the other set widgets with just different mappings. But you could add more you just need to adjust the plusLevel and minusLevel’s in the coffee file so that it loops around at the correct numbers for you. I did find if I have it stop at a number like 0 and you hit - again it will loose the value. I could never figure out why it did that as the temperature setpoints didn’t do that I think it has something to do with the mappings. That’s why i just have it loop around but I kinda like it like that anyway. Let me know if you have any questions or problems.
Thanks, I modified one of the other ones and am working on it now, Is there something magical I need to do after I create the new widget to make it show up? I added everything but it’s not showing up on my dashboard.