Page 1 of 1

Log sensor value from a z-wave device

PostPosted: Thu Mar 28, 2024 3:05 pm
by SMUSEBY
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))

Re: Log sensor value from a z-wave device

PostPosted: Thu Mar 28, 2024 3:59 pm
by DaveL17
Code: Select all
dev = indigo.devices[123].states['sensorValue'] # z-wave temp
indigo.server.log(f" the byrd temp is {dev}")

Re: Log sensor value from a z-wave device

PostPosted: Thu Mar 28, 2024 4:08 pm
by SMUSEBY
That did it. Thank you.