@s.w.webb1
Steve, you have sent me a packet log, which is not what I had asked for… Nonetheless, in this instance, the packet log has the answer you need (it just may not have the whole answer).
First, can I ask: have you not seen errors similar to these in your error log:
CorruptStateError: schema is inconsistent: 04:041292 (TRV): cant change parent (01:220768_01 to 01:220768_05 (try restarting the client library)
If you have not - then you should have - I’ll have to work out why - let me know.
In short, what the above says is that:
04:041292
was bound to a zone (zone_idx = 0x01), then without destroying that zone,
- it was added to another zone (zone_idx = 0x05)
NOTE: It is a common misconception that controllers will remove a TRV from its old zone when it is bound to a new zone - this is incorrect.
In this case, the TRV will tell you it is bound to zone 5, but the controller thinks it is bound to both zones, and send a packet to ramses_rf saying so. Rightfully, ramses_rf won’t accept that - the packet is not processed, and any other data is that packet is ignored.
In detail (using data from your packet log):
The gateway asks (RQ, request) the controller for the actuators of zone 0x01, and gets the following response (RP):
RQ --- 18:137484 01:220768 --:------ 000C 002 0100
RP --- 01:220768 18:137484 --:------ 000C 018 01000010A14A01000010A15601000010A14C
This translates to:
RQ | zone_devices | 0100 || {'zone_type': '00', 'zone_idx': '01', 'device_role': 'zone_actuator'}
RP | zone_devices | 0100 || {'zone_type': '00', 'zone_idx': '01', 'device_role': 'zone_actuator', 'devices': ['04:041290', '04:041302', '04:041292']}
… you’ll see that the controller believes that TRV 04:041292
is an actuator in that zone.
But later, we have 04:041292
popping up again:
RP | zone_devices | 0508 || {'zone_type': '08', 'zone_idx': '05', 'device_role': 'rad_actuator', 'devices': ['04:041292']}
This latter packet, being processed after the former, is considered corrupt. If they were processed in the reverse order (and they could be), then the packet for zone 0x01 would be dropped instead.
Your next step, assuming 04:041292
should be in zone 5, and not zone 1, is to destroy zone 1 and re-create it, then restart HA without restoring the cache.
There may be other issues, but I cann see such in the packet log you have sent me.