Running 0.16.14 getting these AssertionError. I noticed my climate sensors don’t get the attribute zone_idx anymore.
2021-11-24 10:17:51 WARNING (MainThread) [ramses_rf.protocol.frame] I 007 03:201565 --:------ 03:201565 30C9 003 01073A # Expecting payload index to be 00
2021-11-24 10:17:51 ERROR (MainThread) [ramses_rf.protocol.transport] Exception in callback to message layer
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/transport.py", line 393, in _pkt_received
self._callback(pkt) # only wanted PKTs to the MSG transport's handler
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/protocol.py", line 181, in _pkt_receiver
msg = Message(self._gwy, pkt) # trap/logs all invalid msgs appropriately
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/message.py", line 128, in __init__
self._payload = self._validate(self._pkt.payload) # ? raise InvalidPacketError
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/message.py", line 388, in _validate
return result if isinstance(result, list) else {**self._idx, **result}
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/message.py", line 240, in _idx
assert self._pkt._idx == "00", "What!! (00)"
AssertionError: What!! (00)
After running the system for a hour, I noticed that the almost every sensor isn’t updated anymore with new information. Only the heat_demand of my HCE80, the schema en config sensor are updated.
Also getting a warning on corrupt payload. Followed up by a Coding error
2021-11-24 09:30:56 WARNING (MainThread) [ramses_rf.protocol.message] RP --- 01:024170 18:009231 --:------ 0005 003 000800 < Corrupt payload: Payload doesn't match '^00[01][0-9A-F]{5}$': 000800 (will be ignored)
2021-11-24 09:30:56 ERROR (MainThread) [ramses_rf.protocol.message] RP --- 01:024170 18:009231 --:------ 0005 003 000800 << Coding error: IndexError(index out of range)
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/message.py", line 358, in _validate
result = PAYLOAD_PARSERS.get(self.code, parser_unknown)(
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/parsers.py", line 131, in wrapper
return func(*args, **kwargs)
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/parsers.py", line 237, in parser_0005
return _parser(payload)
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/parsers.py", line 218, in _parser
zone_mask = flag8(seqx[4:6], lsb=True) + flag8(seqx[6:8], lsb=True)
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/helpers.py", line 124, in flag8
return [(bytes.fromhex(byte)[0] & (1 << x)) >> x for x in range(8)]
File "/srv/homeassistant/lib/python3.9/site-packages/ramses_rf/protocol/helpers.py", line 124, in <listcomp>
return [(bytes.fromhex(byte)[0] & (1 << x)) >> x for x in range(8)]
IndexError: index out of range