Iāve never tried to set up a complex rule before and Iām not quite sure which bits and pieces I need to put together to end up with rules that do what I want.
I have a bedroom with a ceiling light and two lamps (one on each side of the bed). I currently have a motion sensor that triggers during the day/evening to turn on the lights in the room. I also have three of the ERIA Smart Wireless Dimming Switches: one on the wall at the entry and one for each of the lamps. Everything is working with a combination of Button Controllers and Motion Lighting Apps currently, but Iād like to put together a rule (or multiple rules?) that makes everything work with the conditions Iām outlining below.
Iām open to suggestions on these conditions, too. These are just something I came up with while thinking there has to be a better way to get motion sensors and switches working together to handle cases where someone is in bed or at a desk and only moving occasionally without having to worry about the lights going out, but while still maintaining the ability for the lights to go on and off for a minute when someone walks in to grab something.
- If someone does any āonā presses, I donāt want the motion sensor to turn off the lights if motion goes inactive, except possibly after a relatively long delay that would probably only happen if someone left the room without turning the lights off (say 15 minutes)
- Iād like each of the lamp switches to control their respective lamp lights only (maybe I could extend that later with a double/long āoffā press to turn off all the lights)
- Iād like the wall switch on button to restore both of the lamps to their previous on/off and dimmer states, but with a second (or long) press, turn all the lights on while maintaining the dimmer levels
- Iād like the wall switch dimmers to only adjust the ceiling light
- Iād like the wall switch off button to turn off the ceiling light only, but with a second (or long) press, turn off all the lights (but keep the lampsā on/off states and all three lightsā dimmer states for future āonā presses)
- Iād still like the motion sensor to turn the lights on if theyāre not already on (basically do the same thing as pressing the wall switch on button), but only for a minute or so after inactivity
Iād eventually like to use whatever general pattern I come up with in other rooms if I buy more of the switches (right now everything else is just motion sensors).
Is this possible or am I overcomplicating things? Does anyone have any suggestions for me to play around with? Iām fairly sure Iām going to need variables to keep track of various states, but Iām not quite sure where to start.