Hi,
I'm trying to log the value of some Zigbee temperature and humidiy sensors in the HS4 log via the &nhs.writelog command. I've got it working fine referencing the values with hs.devicevalue:


But if I use hs.devicevaluebyname (which would be my preference), then I always get a value of -1:


I've tried multiple iterations of the device name, but always get the same results. I believe this is a problem with the device name I'm using since I get the same -1 result even if I use garbage for the device name. Hoping someone can point out what I'm doing wrong.
I'm trying to log the value of some Zigbee temperature and humidiy sensors in the HS4 log via the &nhs.writelog command. I've got it working fine referencing the values with hs.devicevalue:
But if I use hs.devicevaluebyname (which would be my preference), then I always get a value of -1:
I've tried multiple iterations of the device name, but always get the same results. I believe this is a problem with the device name I'm using since I get the same -1 result even if I use garbage for the device name. Hoping someone can point out what I'm doing wrong.
Comment