Bought a hue outdoor sensor - not supported in SmartThings?

Thanks Richard … awesome … mine is working now … had to change model: “SML002” then it came right up!

1 Like

Thank you for this - how do I ‘load’ this piece of code into my SmartThings Hub v3? Is it as simple as copying the code from the second post, into this code area (see photo)

You don’t: you copy it into your cloud account. All custom code runs in the cloud.

So you were in the right place, you were just doing something a little different than what you thought. :sunglasses:

See the FAQ For the step-by-step process:

Thank you @JDRoberts. I was reading the article you sent - this code, is it a SmartApp or Device Handler?

Also, to clarify, will this work without the Hue Hub? I don’t have one, and don’t plan on getting one (as all my lights are Lifx).

1 Like

It’s a device type handler.

And yes, the code in this thread is specifically to allow a Hue motion sensor to connect directly to the smartthings hub without using a hue bridge.

Mine won’t work with that code. It constantly shows motion.

Is it also constantly showing motion in the hue app? If so, it’s either a defective unit or it’s the placement of it, nothing to do with smartthings.

If it shows as inactive in the hue app but active in the smartthings app, then that’s a different issue.

Hi Richard,

I installed the DTH and was able to detect it using SmartThings Classic app, but it is stuck in “PLEASE WAIT” for configuration.

Did you experience the same when you installed it? How long did it take before the app was able to detect its status? If it wasn’t an issue for you, any ideas on what I’m doing wrong? It’s the only Hue Motion Sensor DTH listed under My Device Handlers.

Thanks!

No never had a problem I just installed the dth it just found the sensor and it works fine try deleting it and reinstall

Can i control the sensitivity of the sensor when connected through smartthings rather then the hue bridge?

1 Like

Thank you for attaching the link for newbies like myself. I tried loading the code and running it. What is it supposed to do? How do you link a DH to a physical device? Any guidance would be helpful.
I’m trying to connect my hue sensor directly to the SmartThings hub.

Please read the FAQ, it answers all of the questions you just asked. :sunglasses:

FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic)

Also having the same issue. Using the DTH code, it keeps finding my outdoor motion sensor only as thing, not a motion sensor? Can I manually just change the thing device type to zigbee motion sensor in my api?

Fixed the SML002 got me also

2 Likes

Is the value in your screenshot “1737” the luminance reading? How often is this updated?

Kerry I am at a loss which indoor device handler are you using? I am kind of new at this.

I’m using the Hue indoor device handler. Haven’t checked recently if there’s one for the outdoor model. The only problem i have is you can’t adjust the sensitivity.

1 Like

Hi, are you people adding this just to smartthings or to the hue hub and and then to smartthings aswell, will it work either option or just to smartthings only thank you.

Some people use the hue bridge, some people don’t. It just depends on exactly what you need from it.

If you connect it directly to the smartthings hub, then it will work as a motion sensor for smartthings, but it will not be visible in the hue app and you cannot use it with HomeKit.

If you connect it to the hue bridge, it will be visible to the bridge. If you are using the official smartthings integration, it will not be visible to smartthings.

There is some custom code that was developed by a community member that does allow an accessory device like the hue motion sensor attached to the hue bridge to also show up in smartthings, but there are variable reports as to whether people find that reliable.

[BETA] Hue Accessories and rooms using Hue Bridge (TAP, Motion Sensor, Dimmer Switch)

If you do have it connected to the hue bridge and you have hue bulbs that turn on because of the motion sensor, then you could set it up so that smartthings sees that Bulb come on and then does something. That will work for some use cases, but not others.

So it really comes down to the details of what you were trying to accomplish.

1 Like

At the minute i have the outdoor pirs to turn on 3x tradfri sockets in the loft that have security lights plugged into them, what i now need is them to also activate sonoff minis for my porch lights, so i think i will just have them on smarthings only and have smartthings do the routines, thanks.

1 Like