I created a new hue motion sensor device handler using code from digitalgecko. ST picks up the sensor but records it as a “Thing” and selects Samsung tv as a device handler. I changed it to the self-published one created earlier in the IDE and it seems to partially work. From the device in the ST app, it detects motion (a bit of latency) and illumination. Temp seems to be fixed at 21 deg C. No doubt the indoor sensor behaves in a different way and the code I have used for the device handler needs a slight modification to be fully compatible with the outdoor sensor and report all the parameters correctly.
Anyone else attempted integration of the Philips outdoor sensor?
It is a pity that smartthings haven’t created a dedicated device handler for the Philips sensors yet, as there is certainly no issue adding the bulbs.
It is registering temperature change albeit very slowly. After two hours it is finally indicating the true outside temperature, which I measured with a known calibrated thermometer. I was expecting a faster response from the unit but it shows a correct reading +/- 1 deg C.
This device will not be released in the US until March. So not very many people have it yet. I expect you’ll see more activity once it’s available in the US.
Do you have a link for the code that you are using? Judging by the number of duplicate threads we’re getting on this device, I’m sure there are a lot of people who would like to look at it.
Many thanks to the author of the above code. I have the sensor installed near my back door and it is used for controlling two separate hue lights, one above the back door and the other on the garage. After only being installed for a few hours, including when it went dark, the rules I have set are working ok. Motion, temp and illumination appear to be working with default settings. Temp offset is catered for but motion and illumination sensitivity are not supported in the code I have used. These parameters can be changed when the sensor is connected to a hue bridge via the Philips app but once set, I’m not sure if the values are retained for use in ST???
Here’s the author’s thread for that code:
I couldn’t get this working for me, constantly reads motion. I read somewhere that it won’t work with the version 2 hub as it’s zigbee 3.0, is this the case?
I have the V2 hub and it is connected and reporting ok with a custom device created from code that was first authored for the Phillips indoor sensors. (I bet the outdoor version is probably the same or very similar electronics to the indoor sensor but with weather proofing added)? It won’t run locally but on my system there isn’t much of a delay. I use it for a rule based around illumination levels and for controlling Philips hue bulbs outdoors.
I have 7 Philips bulbs and the hue bridge and only one Philips sensor. The hue bulbs happily coexist with ST and the Philips app via the bridge. I first connected the outdoor sensor using the hue bridge and it obviously worked as expected. However, the problem now is since pairing it with ST in a custom device, the sensor has lost its connection to the hue bridge. The hue bridge is the only successful way of updating the Phillips device firmware OTA.
For an extra $15, you could always use a hue lightbulb as a proxy device.
Connect the sensor and the bulb to the hue bridge, not directly to smartthings.
Have the bulb turn on when motion is detected, and off again after a period of inactivity, using Hue rules.
That have smartthings react to the Bulb going on or off.
Just another option.
Did you change anything within the digitalgecko device handler at all?
No. I copied the code verbatim.
Just an FYI, but I was not able to get this to work without changing the model number in the code from SML001 to SML002 (to match the outdoor sensor model number)
I have reverted control back with the Hue Bridge as the sensor connection to ST has become unreliable. It keeps disconnecting and I have to re-pair it. It’s within 3m of the ST hub so the signal is not the problem. Until a reliable solution becomes available, the outdoor sensor will have to be controlled via the hue bridge. At least that way I can change both sensitivity parameters. Its firmware has also recently been updated, which wouldn’t happen paired with ST.
How did you revert control back to hue? I tried resetting mine but it can’t be found by hue anymore.
I deleted the device in ST IDE and then reset the sensor by holding down the only button for about 30s. I then put the sensor in pairing mode and Hue connected with it. When I first used the sensor, I paired it with the Hue bridge and setup the motion and light sensitivities so perhaps it had retained the sensor ID. Anyhow, I use the sensor through the Hue bridge now to control hue lights that are available in both ST and the Philips hue app. It would seem the sensor can only be paired with one controller.
In ST classic app I have the zigbee insecure rejoin disabled.
Any DTH for this yet?
I copied the code exactly and the device constantly records motion with no other data. I also tried changing the model number as mentioned above.
I was able to use digitalgecko’s DTH with only a Smartthings 2018 (V3) Hub and with out using a Hue Hub to control the following Hue Outdoor Motion Sensor.
The motion sensor controls a Sylvania Lightify LED Smart Light 120 w Replacement PAR38 Dimmable White which is using ZigBee protocol to the V3 hub:
In addition to motion the battery level, illuminance and temperature are also detected.
The device settings once connected are:
Captainturk
how did you add the motion sensor to SmartThings? What product did you tap on in the SmartThings app? I was able to add but it shows up as a “Thing” and I cannot do anything with it. I have the same ST hub as you do.
I have the Smartthings hub 2, I make it work following these steps:
-
In the smartthings IDE, add the device handler mentioned above copying the code from: this link
-
change the model in the code to SML002 as mentioned above.
-
save and publish.
-
I used the smartthings app, not the classic. look for a new device. the device is detected as a Thing.
-
in the smartthings IDE go to your devices, look for the ‘thing’, the edit it, change the type to HUE MOTION SENSOR (the one you have created, it should show up at the end of the list.
-
Save the changes.
It should be working. At least that is what I did.