(07.01.2025, 13:29)admin Wrote: This is monitor data, not logs.
ah, sorry.
Log:
Code:
2025-01-07 14:37:14 ZB: sending ZCL message to a49e69fffe7d394b, cluster 0201, dst EP 1:
{ FrameControl = [ "FrameTypeGlobal", "DirectionToServer" ], TransactionSequenceNumber = 7, GeneralCommandFrame = { CommandIdentifier = "WriteAttributes", WriteAttributes = { WriteAttributeRecords = [ { AttributeIdentifier = 1043, Attribute = { Type = "bool" } } ] } } }
Code:
2025-01-07 14:37:14 ZB: could not encode ZCL data, error: /tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:315: no value for Value
stack traceback:
[C]: in function 'assert'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:315: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:246: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function 'encode'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:94: in function </tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/lib/codec.lua:78>
[C]: in function 'xpcall'
...tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/core.lua:49: in function 'tx_zcl'
.../tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/zcl.lua:118: in function <.../tmp.jOqIz9XAnc/files/store/daemon/zigbee/zigbee/zcl.lua:46>
[C]: in function 'pcall'
/tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/app.lua:295: in function </tmp/tmp.jOqIz9XAnc/files/store/daemon/zigbee/app.lua:294>
Code:
2025-01-07 14:39:41 ZB: sending ZCL message to a49e69fffe7d394b, cluster 0201, dst EP 1:
{ FrameControl = [ "FrameTypeGlobal", "DirectionToServer" ], TransactionSequenceNumber = 9, GeneralCommandFrame = { CommandIdentifier = "WriteAttributes", WriteAttributes = { WriteAttributeRecords = [ { AttributeIdentifier = 1043, Attribute = { Type = "bool", Value = true } } ] } } }
when sending "true" it actually sends the value true. As far as I can see, that is not the case when false is transmitted.