08.07.2025, 08:23
Most likely you need to specify manufacturer code when reading these attributes. Try 0x1224 or 0x125D:
You can adjust the script sleep interval as needed instead of checking the time in the script.
Another option is to monitor report messages coming from ZigBee: https://kb.logicmachine.net/libraries/zi...al-devices
Code:
local manufcode = 0x1224
local temp, err_temp = zb.cmdsync('getrawattribute', mac, endpoint, cluster, 65506, manufcode)
You can adjust the script sleep interval as needed instead of checking the time in the script.
Another option is to monitor report messages coming from ZigBee: https://kb.logicmachine.net/libraries/zi...al-devices