Page 1 of 1

DzVents: make the room assignment available per device

Posted: Monday 02 April 2018 19:38
by rrozema
It would be very handy to have a property on each device that indicates the room the device is assigned to in Domoticz. This would help a lot in automating things genericaly. For example: I have a pir in many rooms to see if there was activity in this room. If there hasn't been any activity in this, I want the lights in that room to go off automatically. Now I need to explicitly put the names of each light and pir that controls it in each room into a script. If I could determine from the device properties for each light and pir in what room it is, I could automatically match the both and use one and the same script for all my rooms, plus I would never need to adjust my script anymore. I just need to assign the lights and the pirs to their room in domoticz.

Re: DzVents: make the room assignment available per device

Posted: Tuesday 03 April 2018 8:47
by dannybloe
It is a good idea (though quite a lot of work to accomplish). In the mean-time you can define groups in Domoticz and use those for quick switching.