At my home I make use of different scenes. This works perfect but sometimes mismatches with the real world:
When I turn on a scene all lights and devices will set to the value according to the scene, which is ok. But when for example I turn off one device, the scene doesn't change.
Now I'm wondering what would be the right behaviour.
- The scene selected stays active and ignores that the real world is different
- The scene selected changes according to device states
The first option is easy, set scene and forget. Also visually in node red this is easy to create with standard nodes.
The second option is a lot more work, all device states has to be monitored and based on output states a scene is active or no scene is active.
I opt for the second option, but again it is a lot more work, and also less graphical because I have to program a function node that handles all the scene information.