Hue Motion - temperature

This forum is archived topics from before the plugin was moved to the new owner. All topics are locked, but are preserved here for future reference.
User avatar
marketability
Posts: 204
Joined: Tue Dec 08, 2015 11:41 am
Location: UK

Hue Motion - temperature

Post by marketability »

Hi Nathan
Hope you're well

I'm trying to get the outdoor motion detector temperature value into a script (average temp. across multiple motion detectors) and failing :-)
is there an attribute name I can use? Indigo is telling me there is no "value" attribute

Cheers
User avatar
marketability
Posts: 204
Joined: Tue Dec 08, 2015 11:41 am
Location: UK

Re: Hue Motion - temperature

Post by marketability »

sorry... just remembered I can query a devices attributes

Code: Select all

device_id = 144746875
dev = indigo.devices[device_id]
indigo.server.log(unicode(dev))
nsheldon
Posts: 2469
Joined: Mon Aug 09, 2010 2:12 pm
Location: CA
Contact:

Re: Hue Motion - temperature

Post by nsheldon »

Hello. Were you able to find the temperature device state you were looking for?
User avatar
marketability
Posts: 204
Joined: Tue Dec 08, 2015 11:41 am
Location: UK

Re: Hue Motion - temperature

Post by marketability »

yes thanks - "sensorValue"

Cheers - have a good one
nsheldon
Posts: 2469
Joined: Mon Aug 09, 2010 2:12 pm
Location: CA
Contact:

Re: Hue Motion - temperature

Post by nsheldon »

Excellent! You too!
Locked

Return to “Archives”