Adding 'state' for rooms

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
jsiegmund
Posts: 33
Joined: Sunday 14 May 2017 21:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Adding 'state' for rooms

Post by jsiegmund »

Another request which I think would be a nice feature for Domoticz. A lot of people are programming virtual state switches which you can use to set your system in a certain state (like "at home", "away" or "night" / "day"). These are useful for scripting / blockly's for determining what should happen upon a certain action.

Having virtual switches and global variables in scripting solves pretty much everything but can also quite easily lead to a spaghetti of events. What I would propose is to add a state for each room that you define and have the room objects available in scripts (as far as I can see DzVents doesn't have the notion of rooms right now?).

This would make my scripts (and I assume others as well) a lot more transparant. You'd be able to set the room in a certain state, for instance so you can control 'Sleep' mode for each bedroom separately instead of having one 'sleep mode' switch for the entire house. Again, this is all perfectly doable right now using virtual switches or variables, but it wouldn't hurt from a usability perspective I think.
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Adding 'state' for rooms

Post by leecollings »

+1 - This would be very helpful. Even general separation from 'Upstairs / Downstairs' or 'Bedrooms'.

So an 'Off To Bed' action can be used, turning everything off except for bedrooms. (As opposed to a 'Goodnight' action which should switch everything off.)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest