Different Computers wrote:Maybe I'm missing some feature of what you want, but if you create a virtual device group of virtual devices that each follow a variable, and have that group be "on when any device is on" wouldn't that do it?
Never tried to nest virtual devices myself.
The nesting didn’t allow me to choose a virtual on/off as a member of another virtual on/off, good idea though.
Ultimately, I want to simplify tracking presence, and have a device where I can link DIRECTLY to data that determines it’s state. Main reason is it is crazy-making to replace somebody’s phone or beacon and to have this accurately reflected in Indigo
For example, I have a trigger script that 1) runs whenever the variable value (taken from device state and made boolean) changes for pibeacon/unifi/fing. 2) It checks every other variable value for that person to see if all of the variables are false. 3) If all three are false, it updates a variable for that person, to say whether they are near or not. 4) If somebody leaves/ returns, an “ocupants” variable is decremented/ incremented. 5) If “occupants” = 0, the house shuts down and security turns up.
All the above could be much easier with a device with user-definable states for each device state that occupant is associated with.
Also, it could allow for rapid creation of new devices for trusted occupants, and custom house states (e.g. the baby sitter is there, so leave the indoor cams on).
Sent from my iPhone using Tapatalk