I want to know if it is possible to change the border color of the css style depending on the mode of the thermostat,
Heating Value - 1byte object
Cooling Value - 1byte object
If heating > 0 then
border: 2px solid red
else if
cooling > 0 then
border: 2px solid blue
else if cooling == 0 and heating == 0 then
border: 2px solid white
I want to know if it is possible to change the border color of the css style depending on the mode of the thermostat,
Heating Value - 1byte object
Cooling Value - 1byte object
If heating > 0 then
border: 2px solid red
else if
cooling > 0 then
border: 2px solid blue
else if cooling == 0 and heating == 0 then
border: 2px solid white
When I click on the temp it will display a widget.
The heating and cooing values are on the widget
Single function can be used if setpoint / heating / cooling addresses have a common scheme where heating / cooling address can be calculated from the setpoint address. Otherwise you will need multiple grp.listen functions where you have to manually specify listening addresses for heating / cooling and the relevant elements to which to apply the styles.
31.10.2022, 12:11 (This post was last modified: 31.10.2022, 12:12 by Fahd.)
(31.10.2022, 12:06)admin Wrote: Single function can be used if setpoint / heating / cooling addresses have a common scheme where heating / cooling address can be calculated from the setpoint address. Otherwise you will need multiple grp.listen functions where you have to manually specify listening addresses for heating / cooling and the relevant elements to which to apply the styles.
Yes, they have the same scheme,
The temp is 17/0/x
Heating value is 18/1/x
Cooling value is 18/3/x
( x is the office number)