Sweet. The idea clicked when I read about this sensor when I saw your driver post and it seemed in my head like it would all work. Thanks for confirmation!
Realizing that that idea will work, I think I’m going to apply the same concept to some ceiling fans. I have just setup the hampton bay ceiling fan controller in a couple fans so I can use the same idea there, wire two zwave wall switches for constant power and mirror one to the light child device and one to the fan child device. Could probably even make one a dimmer and use that for fan speed control by the mirror too, right?
FYI, I had written up some notes that might be useful for users found here:
Setting LUX to 0 uncouples the light sensor from the motion sensor
If connected to zwave the controls on the body don't matter.
Also don't have the body controls in TEST mode...somewhere in the middle
The "On Time" or duration will also be the duration that the sensor shows "active" once triggered. So if you set it to 8, it will reset in 8 seconds to inactive. Etc.
This DH now has two modes, "manual" and "auto". In manual mode sets the lux to 0. In auto mode it sets the lux to whatever value you set it to on the DH page. You can now create a custom command to set the "auto" or "manual" mode. The Lux value determines when the light will start coming on with motion.
If you additionally set the Lux Value to 0. This basically disables the sensor from turning the light on locally. AKA you now have a Illuminance sensor, a motion sensor and a switch that all report back to the hub. No local turn on of the light. See above for "On Time" as that still sets how long the motion sensor stays active.
Once you set the Lux value then that engages the local light turn on. So at that lux value and below with motion the light will turn on and stay on for the duration of "On Time" as listed above. The motion sensor will also show "active" for this same time period.
Yes.. I plan to.. I have been following this closely.. And I have done trial runs with some manifests... I was kinda waiting for it to come out of beta..
Everything seems to work ok but I can't show the motion detector on dashboard, I get the question mark. Illuminance work fine. Is there a way to get Motion ON/OFF ? (it doesn't show in the device page but it is selectable in RM)