I have created a custom Widget (for the HABPanel) to control my Daikin Units.
A first draft version is working fine on my OpenHAB (Running on a RPI 4).
It can be used to:
turn on/off the Unit, change the target temperature,
display the indoor and outdoor temperatures,
set a mode Auto, Fan, Dehumifier, Cooling or Heating,
set a special mode Eco, Powerful or Streamer,
set the fan speed on Silent, Auto or level 1 to 5,
set the blade direction on horizontal, vertical or both
I would be glad to have some feedbacks (support on other devices, missing feature, user experience, …)
Thanks for your nice widget, really like it. I just faced an issu when using it togesther with Matrix-Theme or New-Pride-Theme.
If using one of them, all icons are not visible due to some background color issues.
Any chance you could fix that ?
I will have a look next week. I could replace the black of the icons with the grey used in the matrix theme, and the use its green instead of my blue? Would this be ok? Otherwise, post a screenshot to show me exactly the issue…
Love your work on it, looks great. Well done. I cant use it but apricate what you have done.
The best idea is to not code colours into widgets so we can change them with external CSS, this is how web page design is meant to work. Habpanel has some variables to use for colour if you must.
If it helps, you could test it out with a basic CSS like this one to see what breaks…
Skinah, I quickly read about changing the color of a .png using css filters… I see we can change quite a lot indeed… but it’s not that easy for css beginners.
I experimented a little bit.
Surrounding your widget code with Section and bigDash declarations from Matrix or NewPride theme will give a good result… No need to fuddle around with background settings…
Hi, your widget looks great. I am just having some issues with everything displayed on top of itself. Any ideas? I think I have everything right. The only item I don’t have is humidity but cant see that affecting anything in the widget.
Something that might help is I see this in the browser debug
/static/vletroye/images/daikin_mode_%7B%7Bindex%7D%7D_on.png
/static/vletroye/images/daikin_fan_LEVEL_%7B%7Bindex%7D%7D_off.png 404
/static/vletroye/images/daikin_fan_%7B%7Bindex%7D%7D_on.png
/static/vletroye/images/daikin_fandir_%7B%7Bindex%7D%7D_on.png
I really have no idea why OpenHab tries to access each image at least once with the name ‘index’ instead of the value of the variable index. Ex.: for daikin_fan_LEVEL, index should be in the range 1 to 5
Here under, we can see that the browser fetched correctly the images. Do you see that too in Sources tab of your DevTools (Chrome) ?
I am not an expert (I mainly did copy/paste of code found in the community). But it seems that the tag is rendered a first time without/outside the context of “ng-repeat”. In such a case, it’s made explicitely with the url “/static/vletroye/images/daikin_fan_LEVEL_{{index}}_on.png”, without replacement of {{index}} by a value ?!?