I don’t use lux sensor maybe I’ll start. Any way in regards to your refresh there’s Pollster or Watchdog app you can use to auto refresh for you in the specified interval you need.
Pollster
Watchdog
I don’t use lux sensor maybe I’ll start. Any way in regards to your refresh there’s Pollster or Watchdog app you can use to auto refresh for you in the specified interval you need.
Pollster
Watchdog
Thanks I will take a look at these options.
I did notice that some lux value is shown but its much lower until I refresh the device. I also wonder if I can just use Webcore to refresh also.
Now, the DH isn’t working. It worked before without issues. Now getting the following errors. Temperature and Luminance doesn’t update.
7:52:27 AM: warn Luminance REPORTING CONFIG FAILED- error code:134
7:52:19 AM: warn TEMP REPORTING CONFIG FAILED- error code:134
7:52:05 AM: error java.lang.NumberFormatException: null @ line 323
After the initial messages, the device stops reporting motion as well.
Debugging to see if I can fix it.
Lux used to work well for me before I got into the recent issue. I never used it to trigger anything, but when motion happens, used the Lux value to determine if I need to turn on the light or not, which worked well.
This sound fine but how would Webcore work. Would the order of detection events in the piston matter in this case. So I would have the piston detect motion first and then detect lux value?
That is what I did with CoRE.
Okay, I will test this. Thanks.
Any help on these errors are appreciated. I am not getting anywhere trying to fix this. Tried, removing and connecting back multiple time with the same behavior.
Make sure you hold the reset button for at least 20 seconds and the battery pull is not needed. This seems to work for me. Otherwise you might have a bad sensor.
Thanks @raidflex. Your suggestion seems to have worked. I never tried holding it that long. It got connected even with custom DH in place and recognized the sensor properly. Let me see how stable this is. Thanks again.
I have the same issue as ramki_cmc. I have disconnected and reconnected the problematic sensors several times without lasting success. Three of my five Hue sensors stopped reporting to the hub after a few months of good use. Any pointers would be welcome.
Thank you for the DH code! I am successfully using a sensor in my mud room to flip the light on when motion is detected and shut it off after 1 minute. Seems to be working fine.
I have to say though, going forward I would only buy and use the Multisensor 6 sensors. I have three of those around my house and outside and they work great. I was out for retail therapy one night and decided to replace my bulbs throughout the house with Hue bulbs. Bought about 20 white and color bulbs. Not sure why I bought these 2 Phillips motion sensors so very happy you created this Handler.
Consequentially, now I have discovered that the bulbs do not work with these Lutron dimmer switches I was using and have had to order some Lutron remotes to put in the wall to replace the Lutron dimmer switches. This is turning out to be some VERY expensive retail therapy for me.
Has anyone tried measuring the range on this sensor both paired to Hue bridge, and then paired to the Smarthings hub?
I`ve lost connection with my motion sensors.
Is it possible to re-add without deleting the “Thing” ??
The motion sensors are included in WebCore pistions and other smart rules, so I really hope I dont have to add a new “Thing”…
remove the batteries and put back in, should solve the issue.
Any way to refresh/reconenct my hue sensor?
It tried removed the battery but my hue sensor is stuck at motion and wont update anymore
@Stephen_McLaughlin thank you so much for providing this code. I have 3 Hue Motion Sensors that I wanted to convert over to SmartThings but had no idea how to. I’ve never coded before and with a few questions to Google and your awesome code, my 3 Sensors now work Flawlessly.
Have you seen a DHT for the Hue Dimmer Remote? I’d love to be able to use that without the Hue Hub.
Thanks again!!! 
Question about changing the refresh rate in the DH. I changed the motion refresh rate and it doesn’t seem to have made any difference in the time it takes after motion stopped and when it detects it again. My question is, do I need to reset the hue motion sensors and add them back to ST again before it updates the refresh rate?
Quick question that I don’t think I have seen mentioned, hopefully I didn’t miss the answer.
My motion sensors are displaying the temp in °C, is there any way to convert to °F? I tried to mess around with the dth, but could only change the unit, not the the actual temperature integer variable.
I have been trying to use this driver for my test Hue Motion Sensor. I’m not getting consistent behavior when it comes to motion detection. I can walk the device around for 5 minutes before triggering a motion event. Then I can point it at a wall for 20 minutes without seeing an inactive event.
Meanwhile, it is pretty quick to record illuminance and even temperature. When I face it away from me for a while, then turn it back towards me, I see the red LED flash on the device, yet nothing shows up in my SmartThings log for the device.
Any tips or suggestions? I would love to get this thing working smoothly and roll it out all over the house (or find a better option, if there is one).