Hue Motion - temperature

Posted on
Fri Apr 02, 2021 2:26 am
marketability offline
User avatar
Posts: 198
Joined: Dec 08, 2015
Location: UK

Hue Motion - temperature

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

Posted on
Fri Apr 02, 2021 2:49 am
marketability offline
User avatar
Posts: 198
Joined: Dec 08, 2015
Location: UK

Re: Hue Motion - temperature

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))

Posted on
Fri Apr 02, 2021 3:12 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Hue Motion - temperature

Hello. Were you able to find the temperature device state you were looking for?

Posted on
Fri Apr 02, 2021 3:15 am
marketability offline
User avatar
Posts: 198
Joined: Dec 08, 2015
Location: UK

Re: Hue Motion - temperature

yes thanks - "sensorValue"

Cheers - have a good one

Posted on
Fri Apr 02, 2021 3:55 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Hue Motion - temperature

Excellent! You too!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests

cron