This came from a question/discussion on FB last night from Frank Ribitch about the desire to override the motion sensor controlling the lighting inside his garage. I worked this a while back and had used Rule Machine to solve it, but the ensuing discussion prompted me to investigate the newer Room Lighting app to solve. Here is what I came up with. May be of use to others:
Motion sensed from a Zooz ZSE18 motion sensor turns on GE/Jasco Enbrighten Zwave Smart Switch (Garage Inside Lights) for 5 minutes then they shut off if no further motion
If you manually press the up (on) button on the Smart Switch, the garage lights turn on if they are not on already, and the motion auto-shutoff is disabled
If you manually press the down (off) button on the Smart Switch, the garage lights turn off and the motion sensing is re-enabled.
Pretty simple but it works, and much cleaner than using Rule Machine.
Help pls? I must be missing something.
I have a switch to turn on a light. I setup a RL to turn the light on if there is motion.
I want to turn OFF the light if motion in other rooms. I looked under 'Means to Turn Off Lights' for 'Motion Active' and don't see it. Isn't that where I should be looking? (to circumvent, I'm using custom attribute which works perfectly fine)
Here's an odd issue. I have a simple setup: turn on the light at level 100 and color temp 2700. But the light turns on at level 45-55 instead (it varies). It changes to this level even if I manually set the lamp to 100 in the device page.
I'm not sure if it matters, but Dining Room Puzzle Lamp (dev:782) is a Sylvania Zigbee Smart+ BR30 RGBW (75584). It is using the Generic Zigbee RBGW Light device type.
Good question. I don't know. We can see that the app sends the command, either setColorTemperature in the first case, or setLevel in the second case. But the device acts as if all it sees is 'on'. Maybe @mike.maxwell could look at this. Can you control this light correctly from its device page? Specifically, try this from the device page:
set the level of the light to 50.
turn it off.
Put in 2700 and 100 into the setColorTemperature command on the device page, and hit that tile.
What happens? Show the Current States from the device page after those steps.
If I put both those and click setColorTemperature, I get a random level that seems to be in the range 45-55. I set it to 100, turned it off, and then clicked setColorTemperature a few times:
It's something weird in the Generic Zigbee RGBW Light handler. If I switch it to the Advanced Zigbee RGBW Bulb it seems to work as expected.
(although from the logs it looks like even when I do setColorTemperature with 2700,100 and the state shows the bulb is already at those settings, it only turns on the bulb)
This is to be expected. If the bulb has the right Color Temperature and the right level, then Room Lights would only turn it on to activate it. Make sense?
One thing to do is to be sure that your Room Lights device setting for Color Temperature matches what the bulb actually does. So make it be 2702 instead of 2700. Most CT bulbs don't actually take on every possible value.
I have a weird one and, of course, I don't have the full gambit of logging to figure out what went wrong. For some reason, when the RL instance went active at 12:35, the status did not update to "active" but the lights were on. When motion stopped, the RL instance didn't schedule turning the lights off, I presume since the RL instance was already "off".
Will the RL instance show "not active" until the lights report back? Maybe there was a delay in the table updating that caused the problem. Looking over the logs again, I see that the instance did finally flip to "active" at 12:36:05...almost a full minute after the activation even at 12:35:06. The two events to turn the lights off just happened to come in during that one minute window.