Why does 'Thermostat mode' appear in Utillity?
Posted: Saturday 18 May 2019 20:28
Hi Forum,
(RPI, V4.10717, Hue, Zwave, SolarEdge, P1, Nefit Easy, Nest, some Lua)
The objective of this post is to understand Domoticz (a bit) better. I have searched the forum, but could not find a practical answer (or searched wrongly...).
I have recently setup a Eurotronics Spirit radiator valve controller (Zwave+). After installation, including a ZWave stick, this works as expected.
However, what I do not understand is why the 'Thermostat Mode' device (which deals with setting the controller in various modes like 'off', 'heat', 'heat eco', 'boost' and 'manufacturer') shows up as a widget in Utility. This widget does not show the current setting in the top bar (like many other widgets do) and to change the mode, you need to click edit, use a drop down etc. I would have expected a widget like 'Selector Switch' in the Switches tab.
What is the logic behind this?
And, for my further understanding, I do not think there is simple way to change the widget linked to a device - correct?
Suppose I wanted to change this, where is the code that controls this? (No, I'm not gonna change, I couldn't, just curious as I could not locate it).
Lastly, to make it work the way I would like, I think an alternative is to create a dummy selector switch and use JSON commands to Domoticz to set the mode accordingly, but I'm not sure how to make switch' widget also respond to mode changes intiated for example from the controller itself.
Just for the record: this is not a complaint of any kind, in fact I'm amazed by what Domoticz as system can do, so thanks for all who contributed to it!!
(RPI, V4.10717, Hue, Zwave, SolarEdge, P1, Nefit Easy, Nest, some Lua)
The objective of this post is to understand Domoticz (a bit) better. I have searched the forum, but could not find a practical answer (or searched wrongly...).
I have recently setup a Eurotronics Spirit radiator valve controller (Zwave+). After installation, including a ZWave stick, this works as expected.
However, what I do not understand is why the 'Thermostat Mode' device (which deals with setting the controller in various modes like 'off', 'heat', 'heat eco', 'boost' and 'manufacturer') shows up as a widget in Utility. This widget does not show the current setting in the top bar (like many other widgets do) and to change the mode, you need to click edit, use a drop down etc. I would have expected a widget like 'Selector Switch' in the Switches tab.
What is the logic behind this?
And, for my further understanding, I do not think there is simple way to change the widget linked to a device - correct?
Suppose I wanted to change this, where is the code that controls this? (No, I'm not gonna change, I couldn't, just curious as I could not locate it).
Lastly, to make it work the way I would like, I think an alternative is to create a dummy selector switch and use JSON commands to Domoticz to set the mode accordingly, but I'm not sure how to make switch' widget also respond to mode changes intiated for example from the controller itself.
Just for the record: this is not a complaint of any kind, in fact I'm amazed by what Domoticz as system can do, so thanks for all who contributed to it!!