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.
Hide devices using dzvents
Moderator: leecollings
-
- Posts: 617
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Hide devices using dzvents
Bugs bug me.
Who is online
Users browsing this forum: No registered users and 1 guest