hueMotionSensor icon indicating copy to clipboard operation
hueMotionSensor copied to clipboard

Illuminance Measurement for automation

Open NowyQuei opened this issue 5 years ago • 8 comments

Really good work it seems that all works fine!

can you please add the feature that we can use the Illuminance Measurements for automation?

for example: if the lux falls under 20 the light should go on.

NowyQuei avatar Jul 04 '19 07:07 NowyQuei

This issue seems to only be a problem with the new app. Could someone take a look at the code to see how to fix this. The illuminance is not exposed for use in automations.

coolhand72 avatar Nov 17 '19 12:11 coolhand72

Hi @coolhand72 ! It seems that this DH does not get any support from the developer anymore, isn't it? I could't connect a Hue Motion Sensor to ST hub using this DH, and I even opened an issue about that. Let's hope that someone with enough knowledge is available.

MAFFPT avatar Dec 13 '19 02:12 MAFFPT

Any updates regarding this issue? New ST app supports Illuminance Measurement as capability. https://smartthings.developer.samsung.com/docs/api-ref/capabilities.html#Illuminance-Measurement Also, there is no Illuminance Measurement tile available ( I have only Motion detection, Temp and Battery) Any suggestion on how to make this work?

Ra7t0r avatar Mar 11 '20 10:03 Ra7t0r

I've implemented illuminance support for the new app. It just needed a small change in the vid.

Pull request: https://github.com/bogdanalexe90/hueMotionSensor/pull/5

ilGianfri avatar Apr 05 '20 16:04 ilGianfri

Hi, thanks for this. I've just bought a Hue Motion Sensor, and I'm not seeing any readings for illuminance in the old or new app, or in device logs. Additionally there is an error. Log lines below. I don't have a Hue Bridge to test that the illuminance sensor actually works in my device.

13:44:05: debug Updating illuminance value: 0 13:40:06: error groovy.lang.GroovyRuntimeException: Could not find matching constructor for: physicalgraph.device.HubAction(java.util.ArrayList) @line -1 (doCall)

Andobi avatar Apr 07 '20 12:04 Andobi

I had the same issue! You should update firmware on your hue motion sensor via hue bridge. Everything should work fine after that

Ra7t0r avatar Apr 07 '20 13:04 Ra7t0r

I don’t have a hue bridge so can’t do that. Is there another way?

EDIT: ok, weirdly it has started working. Not sure what that was about.

On 7 Apr 2020, at 14:00, Ra7t0r [email protected] wrote:

 I had the same issue! So should update firmware on your hue motion sensor via hue bridge. Everything will should work fine after that

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Andobi avatar Apr 07 '20 13:04 Andobi

The illuminance value works perfectly in WebCore. I can now get rid of Hesperus, and I only need a couple of HomeKit automations for switching Nest Cams and Thermostat on and off. Not so many complex automations to lose whenever HomeKit decides to wipe them.

bakergb avatar May 19 '20 13:05 bakergb