Minoston Mini Plug Dimmer (Actually New One N4012. Eva Logik Smart Plug Dimmer driver)
Zigbee PIR/MMwave motion (battery, Tuya Multi Sensor 4 in 1 driver)
Room 1 is master bath and room 2 is the closet off the master bath. So you walk into the bathroom and then through to the closet.
I'm working with the Room Lighting app for the first time. I want to trigger lights in two rooms when either of the motion sensors in the two rooms are activated. This would be Hue zone, the Zen77 and the dimmer plug. I want them to ramp over 3 seconds when they are activated by either of the Hue Sensor or the PIR/MMWave sensor (really the PIR/MMWave sensor is keeping the motion active). At the moment the motion is working, but I don't seem to be getting any ramp time. This is most apparent when the motion inactivity delay has been reached and the lights turn off with no ramp time.
I was really hoping this would be as simple as setting the set level for ON and another for Off for each light. Seems like I can only set the set level for the ON on each light and there is no duration.
In a perfect world I'd like to treat each light with a different ramp duration to achieve a specific effect. I have ceiling and under cabinet lighting. However, I'd like to just get this working once with some durations across them.
I think you should be able to do what you want. If this is your first time using RL there can be a learning curve. But it's the best app Hubitat has, better than any lighting automation in C4. I don't use transitions or periods much and that functionality is one of the less intuitive (to me) parts of the app.
The 'on' part of the setup is not that confusing. You just set up the transition time and number of steps. One thing to note is that the transition is all handled in the app, not as part of any transition functionality in a light device driver.
The transition to 'off' is less straightforward. In the Preset setting you want to make the target level for the dimmer to be level 0, not switch 'off'.
Here is the setup I just created that works as I think you are looking for. Make sure to turn logs on so you can see how the app is handling the actions.
Interestingly, I do not have this preset off box in the UI. I looked around for why that might be, but I didn't find anything. Any idea why that is not showing for me or what I need to toggle to get it to appear?
Phew. As a software engineer that has worked on UI's starting in the early 90's...I'd say this app has many opportunities for improvement.
I'm able to get the preset off now, but it's still not performing. Logs are showing the setLevel events have the duration value as null even though I have the presets with 5 seconds.
Those errors are device errors. I tested on Lutron, Z-Wave, and CoCoHue Hue bulbs without errors. The newest built in Hue integration should fairly mimic CoCoHue, but perhaps there are some lingering issues.
I note that you've got a transition that I think is not likely what you are looking for. The first parameter is for the total transition time, the second is for the step length. So a 5 second step in 5 seconds is essentially a single step to off.
I don't necessarily disagree, but at some level it's hard to cram all this functionality into a single app and make available all the possible combinations of options. I find keeping my automations fairly simple is the best way to make them manageable. As I said, I find the app to be one of very best/most useful. It beats manually programming multiple rules to accomplish the same thing. I chuckle when I see the labor involved in C4 Programming to do even simple motion lighting rules. The Security Light driver is actually the start of something good, but hasn't been extended. Home Assistant isn't doesn't have it without YAML programming, blueprints are not the equivalent of Room Lighting.
In the above scenario I don't have errors. Those are just debug showing the setLevel isn't sending a duration. For clarification for this testing I am not including Hue lights. Only Hue motion and those are direct with Hubitat and not through the Hue hub.
Yes, the 5 and 5 was intentional per some advice in another thread from Hubitat staff. But I still do not see a transition called with setLevel like I would expect. It was arbitrary to get it working.
Yea, lets not throw my C4 in here. Legacy stuff is messy. .. well I have to admit I'm doing this test in Hubitat to see if I prefer it better than my C4 since I'm about to buy all new switches if I can get the right price. The new Lux switches look pretty nice and the rumors of potentially more open support is interesting.
The new C4 stuff looks nice. I like their configurable keypad form and functionality. I dislike the non-Decora sizes, especially for a retrofit. I have a hard time saying any lighting system is better than RadioRA 2. I think the Maestro form factor still looks great. The seeTouch keypads look a bit dated, but are fine. I do almost all my light automation in Hubitat, close to none in C4.
Thanks. Since I'm using a zooz dimmer and dimmer plug my logs are different. Can't explain why I'm not seeing transitions in the debug logs for these devices. Not even sure what to look for really.
It's tedious to test these and reset the states. If I turn the lights off it messes with the app and the motion won't turn it on. I can't see in the tool how to know the state behavior of an existing room lighting app.
There are a couple ways to deal with this type of situation. Sometimes I do both. 1) include the switch in the means to turn off lights, and/or 2) Include the light(s) in "Switches that determine all Lights are off".