Log sensor value from a z-wave device

Posted on
Thu Mar 28, 2024 3:05 pm
SMUSEBY offline
Posts: 511
Joined: Sep 16, 2009
Location: California

Log sensor value from a z-wave device

How can I modify the following to return the sensorValue to the event log?
dev = indigo.devices[123].states['sensorValue'] # z-wave temp
indigo.server.log(" the byrd temp is".format(dev))

Posted on
Thu Mar 28, 2024 3:59 pm
DaveL17 offline
User avatar
Posts: 6756
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Log sensor value from a z-wave device

Code: Select all
dev = indigo.devices[123].states['sensorValue'] # z-wave temp
indigo.server.log(f" the byrd temp is {dev}")

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Mar 28, 2024 4:08 pm
SMUSEBY offline
Posts: 511
Joined: Sep 16, 2009
Location: California

Re: Log sensor value from a z-wave device

That did it. Thank you.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 18 guests