Page 1 of 1

Hide devices using dzvents

Posted: Thursday 08 August 2024 23:46
by HvdW
Is there a code I can use to hide devices (Make Hidden) from within dzvents.
In other words: is there a way to rename devices using dzvents.

User case:
I have an airco on/of switch and an airco temperature switch.
It is senseless to change temperature when the airco is switched off.
Compare this to to the display on the airco remote: temp, horizontal fan movement, vertical fan movement, switching between heat, cool, fan or dry; it is only visible when the airco is switched on.

Solution found:
- domoticz.devices(4).rename('Airco settings')
- domoticz.devices(4).rename('$Airco settings')

Now the question is how to let dzvents refresh the webpage.