Honeywell CH/DHW via RF - evohome, sundial, hometronics, chronotherm

Once I get it working reliably, I’ll update the wiki. Here’s what I’m using for a single zone:


  - service: ramses_cc.set_zone_schedule
    data:
      entity_id: climate.spare_room_2
      schedule: >-
        [ { "day_of_week": 0, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }, { "day_of_week": 1, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }, { "day_of_week": 2, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }, { "day_of_week": 3, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }, { "day_of_week": 4, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }, { "day_of_week": 5, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] } , { "day_of_week": 6, "switchpoints": [ { "time_of_day": "07:00",
        "heat_setpoint": 18.5 }, { "time_of_day": "22:00", "heat_setpoint": 15 }
        ] }  ]

Oh nice, I didn’t realise you could just inject the json. That aside, the get_zone_schedule service isn’t working for me 0.31.16 ramses_cc.get_zone_schedule service failing · Issue #183 · zxdavb/ramses_cc · GitHub

Stopped working for me too, and I cannot see why!

upgraded to 0.41.19 and getting these below errors.
Going back to 0.41.16 and they disappear.

Anything that I can do ?


2024-04-26 01:59:57.220 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706<<<)
2024-04-26 02:02:20.671 WARNING (MainThread) [ramses_tx.transport] RP --- 10:057706 --:------ --:------ 3EF0 001 008D9 < PacketInvalid(Bad frame: invalid structure: >>>-- 10:057706 --:------ --:------ 3EF0 001 008D9<<<)
2024-04-26 02:02:20.685 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007149 --:------ 01:007149 1F09 003 FF0020  I --- 01:007149 --:------ 01:007149 2309 009 0005AA01044C0201F4 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007149 --:------ 01:007149 1F09 003 FF0020  I --- 01:007149 --:------ 01:007149 2309 009 0005AA01044C0201F4<<<)
2024-04-26 02:17:58.874 WARNING (MainThread) [ramses_tx.transport] 064 RP ---:132627 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP ---:132627 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 02:44:24.195 WARNING (MainThread) [ramses_tx.transport] 064  I ---:------ 10:057706 1FD4 003 000EF0 < PacketInvalid(Bad frame: invalid structure: >>> I ---:------ 10:057706 1FD4 003 000EF0<<<)
2024-04-26 02:47:41.853 WARNING (MainThread) [ramses_tx.transport] 000 627 37:252531 --:------ 22F2 001 00 < PacketInvalid(Bad frame: invalid structure: >>>627 37:252531 --:------ 22F2 001 00<<<)
2024-04-26 02:47:42.334 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=22F2|RQ|37:252531, tx_count=1/4>: echo_timeout=0.5
2024-04-26 02:58:58.715 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:0006 --:------ 3220 005 0000120000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:0006 --:------ 3220 005 0000120000<<<)
2024-04-26 03:24:10.242 WARNING (MainThread) [ramses_tx.transport] 064 RP --- 10:057706 18:132627 C0110000 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 18:132627 C0110000<<<)
2024-04-26 03:37:10.486 WARNING (MainThread) [ramses_tx.transport] 10:057706 18-- 10:057706 RQ --- 18:1327149 10:0577--:------ 3220 005 0000 < PacketInvalid(Bad frame: invalid structure: >>>57706 18-- 10:057706 RQ --- 18:1327149 10:0577--:------ 3220 005 0000<<<)
2024-04-26 03:37:10.505 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 --:------ 3EF0 001 065 RP --- 10:057706 18:132627 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 --:------ 3EF0 001 065 RP --- 10:057706 18:132627 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 03:42:11.027 WARNING (MainThread) [ramses_tx.transport] 4 < PacketInvalid(Bad frame: invalid structure: >>><<<)
2024-04-26 03:42:13.997 WARNING (MainThread) [ramses_tx.transport] 064 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A6000 RQ --- 18:132627 10:057706 --:------ 3220 005 00001B0000 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A6000 RQ --- 18:132627 10:057706 --:------ 3220 005 00001B0000<<<)
2024-04-26 03:42:14.013 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|1B, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 03:43:11.034 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 
064 RP --- 10:057706 18:132627 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 
064 RP --- 10:057706 18:132627 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 03:44:11.182 WARNING (MainThread) [ramses_tx.transport] 0206 --:------ 3EF0 001 00 < PacketInvalid(Bad frame: invalid structure: >>> --:------ 3EF0 001 00<<<)
2024-04-26 03:46:11.384 WARNING (MainThread) [ramses_tx.transport] 064 RP --- 10:057706 01:007149 --09 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149 --09 0000100000FF020A64<<<)
2024-04-26 04:04:03.585 WARNING (MainThread) [ramses_tx.transport] --:------ 3EF0 001 00
 RQ --- 01:007149 10:05770:------ 3EF0 0000000 < PacketInvalid(Bad frame: invalid structure: >>>----- 3EF0 001 00
 RQ --- 01:007149 10:05770:------ 3EF0 0000000<<<)
2024-04-26 04:04:03.605 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000064 RP --- 10:057706 18:132627 --:------ 3220 005 0040000200 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 --:------ 3220 005 0000064 RP --- 10:057706 18:132627 --:------ 3220 005 0040000200<<<)
2024-04-26 04:04:04.061 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: echo_timeout=0.5
2024-04-26 04:09:27.121 WARNING (MainThread) [ramses_tx.transport] 065 RP --- 10:05770--:------ 3220 005 00C01A47AB < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:05770--:------ 3220 005 00C01A47AB<<<)
2024-04-26 04:17:06.685 WARNING (MainThread) [ramses_tx.transport] 064  I --- 10:057706 --:------ 10:057700FF020A64 < PacketInvalid(Bad frame: invalid structure: >>> I --- 10:057706 --:------ 10:057700FF020A64<<<)
2024-04-26 04:24:09.179 WARNING (MainThread) [ramses_tx.transport] 065  I --- 10:057706057706 1FD4 003 000F19 < PacketInvalid(Bad frame: invalid structure: >>> I --- 10:057706057706 1FD4 003 000F19<<<)
2024-04-26 04:24:16.921 WARNING (MainThread) [ramses_tx.transport] 06100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>0000FF020A64<<<)
2024-04-26 04:30:17.486 WARNING (MainThread) [ramses_tx.transport] 065 RP --- 10:057706 01:0071- 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:0071- 3EF0 009 0000100000FF020A64<<<)
2024-04-26 04:39:38.910 WARNING (MainThread) [ramses_tx.transport] 0201:007149 10:057706 --:------ 3220 005 0000110000 < PacketInvalid(Bad frame: invalid structure: >>>:007149 10:057706 --:------ 3220 005 0000110000<<<)
2024-04-26 04:44:41.374 WARNING (MainThread) [ramses_tx.transport] 6 01:007149 06 3EF0 009 00001000 --:------ 10:5 RP --- 10:057706 01:007149 --:------ 3EF0 009 000049 --:-----0 RQ --- RQ --- 01:007149 10:057706 --:------ 3220 005 00801A0000 < PacketInvalid(Bad frame: invalid structure: >>>:007149 06 3EF0 009 00001000 --:------ 10:5 RP --- 10:057706 01:007149 --:------ 3EF0 009 000049 --:-----0 RQ --- RQ --- 01:007149 10:057706 --:------ 3220 005 00801A0000<<<)
2024-04-26 04:44:41.388 WARNING (MainThread) [ramses_tx.transport] 020 063 RP --- 10:057706 01:007149 --:------ 3220 005 00C01A47AB < PacketInvalid(Bad frame: invalid structure: >>>063 RP --- 10:057706 01:007149 --:------ 3220 005 00C01A47AB<<<)
2024-04-26 04:44:41.839 WARNING (MainThread) [ramses_tx.transport] 063 RP --- 10:05770--:------ 3220 005 00C01A47AB < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:05770--:------ 3220 005 00C01A47AB<<<)
2024-04-26 04:46:18.973 WARNING (MainThread) [ramses_tx.transport] 066 RP --- 10:057706 01:007149  009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149  009 0000100000FF020A64<<<)
2024-04-26 04:46:21.922 WARNING (MainThread) [ramses_tx.transport] 6 18:132627 --:------ 3EF000000 < PacketInvalid(Bad frame: invalid structure: >>>:132627 --:------ 3EF000000<<<)
2024-04-26 04:46:22.397 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: echo_timeout=0.5
2024-04-26 04:46:22.426 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 --:------ 3220 005 00000000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 --:------ 3220 005 00000000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000<<<)
2024-04-26 04:46:23.403 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=2/4>: echo_timeout=1.0
2024-04-26 05:16:57.888 WARNING (MainThread) [ramses_tx.transport] 065 R6 18:132627 --:------ 3220 005 0040010A00 < PacketInvalid(Bad frame: invalid structure: >>>R6 18:132627 --:------ 3220 005 0040010A00<<<)
2024-04-26 05:22:56.540 WARNING (MainThread) [ramses_tx.transport] P --- 10:05770-:------ 2401 001 00 < PacketInvalid(Bad frame: invalid structure: >>>- 10:05770-:------ 2401 001 00<<<)
2024-04-26 05:22:56.558 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 -064 RP --- 10:057706 18:132627 --:------ 2401 004 00000100 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 -064 RP --- 10:057706 18:132627 --:------ 2401 004 00000100<<<)
2024-04-26 05:22:57.021 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=2401|RQ|10:057706, tx_count=1/4>: echo_timeout=0.5
2024-04-26 05:31:27.897 WARNING (MainThread) [ramses_tx.transport] 00000 < PacketInvalid(Bad frame: invalid structure: >>>0<<<)
2024-04-26 05:31:27.917 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3EF0|RQ|10:057706, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 05:40:02.085 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:0706 --:------ 3220 005 0000120000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:0706 --:------ 3220 005 0000120000<<<)
2024-04-26 05:55:10.388 WARNING (MainThread) [ramses_tx.transport] RQ --- 18:132627 10:057706 --:------ 3EF0 001 07149 10:0575 0040191380 < PacketInvalid(Bad frame: invalid structure: >>>-- 18:132627 10:057706 --:------ 3EF0 001 07149 10:0575 0040191380<<<)
2024-04-26 05:55:10.563 WARNING (MainThread) [ramses_tx.transport] 064 RP --- 10:057706 01:007149 --:------ 3220 00020 RQ --- 01:007149 10:057706 --:------ 3220 005 00801A0000 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149 --:------ 3220 00020 RQ --- 01:007149 10:057706 --:------ 3220 005 00801A0000<<<)
2024-04-26 05:57:32.357 WARNING (MainThread) [ramses_tx.transport] 020 RQ ---:057706 --:------ 3EF0 001 00 < PacketInvalid(Bad frame: invalid structure: >>>RQ ---:057706 --:------ 3EF0 001 00<<<)
2024-04-26 06:08:28.498 WARNING (MainThread) [ramses_tx.transport] 000 RQ  01:007149 --:------ 2349 001 01 < PacketInvalid(Bad frame: invalid structure: >>>RQ  01:007149 --:------ 2349 001 01<<<)
2024-04-26 06:08:28.978 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=2349|RQ|01:007149|01, tx_count=1/4>: echo_timeout=0.5
2024-04-26 06:09:36.458 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057705 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057705 0000000000<<<)
2024-04-26 06:09:36.483 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 06:17:06.877 WARNING (MainThread) [ramses_tx.transport] 01:007149 10--- 18:1326276 --:------ 3220 00 003 000606 < PacketInvalid(Bad frame: invalid structure: >>>07149 10--- 18:1326276 --:------ 3220 00 003 000606<<<)
2024-04-26 06:17:09.714 WARNING (MainThread) [ramses_tx.transport] 065  I --- 04:204425 --:------ 04:204425 30C9000 RQ --- 18:132627 10:057706 --:------ 3220 005 0080010000 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:204425 --:------ 04:204425 30C9000 RQ --- 18:132627 10:057706 --:------ 3220 005 0080010000<<<)
2024-04-26 06:17:09.739 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|01, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 06:23:34.786 WARNING (MainThread) [ramses_tx.transport] 4 < PacketInvalid(Bad frame: invalid structure: >>><<<)
2024-04-26 06:23:39.574 WARNING (MainThread) [ramses_tx.transport] 066 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A6000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A6000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000<<<)
2024-04-26 06:23:39.593 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 06:37:24.295 WARNING (MainThread) [ramses_tx.transport] 0 01:007149 18:132627 --:------ 12B0 003 020000 < PacketInvalid(Bad frame: invalid structure: >>>:007149 18:132627 --:------ 12B0 003 020000<<<)
2024-04-26 06:38:40.784 WARNING (MainThread) [ramses_tx.transport] 20 RP ---- 01:007149 10:057706 --:------ 3EF0 001 00 < PacketInvalid(Bad frame: invalid structure: >>>P ---- 01:007149 10:057706 --:------ 3EF0 001 00<<<)
2024-04-26 06:38:40.803 WARNING (MainThread) [ramses_tx.transport] 020 RQ --065 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RQ --065 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 06:51:32.785 WARNING (MainThread) [ramses_tx.transport] 49 12B0 003 000000 < PacketInvalid(Bad frame: invalid structure: >>>2B0 003 000000<<<)
2024-04-26 06:51:34.286 WARNING (MainThread) [ramses_tx.transport] 050  I --- 04:204423 --:------ 01:0071050  I --- 04:204423 --:------ 01:007149 12B0 003 000000 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:204423 --:------ 01:0071050  I --- 04:204423 --:------ 01:007149 12B0 003 000000<<<)
2024-04-26 06:51:41.469 WARNING (MainThread) [ramses_tx.transport] 066 --- 34:195026 30C9 003 0005F5 < PacketInvalid(Bad frame: invalid structure: >>>--- 34:195026 30C9 003 0005F5<<<)
2024-04-26 07:02:45.621 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 --:------ 3EF0064 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706 --:------ 3EF0064 RP --- 10:057706 01:007149 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 07:02:48.583 WARNING (MainThread) [ramses_tx.transport] --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>----- 3220 005 0000000000<<<)
2024-04-26 07:02:49.061 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: echo_timeout=0.5
2024-04-26 07:02:49.089 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000<<<)
2024-04-26 07:02:49.109 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=2/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 07:12:35.701 WARNING (MainThread) [ramses_tx.transport] 062  I --- 04:204407 7149 2309 003 0005AA < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:204407 7149 2309 003 0005AA<<<)
2024-04-26 07:16:53.188 WARNING (MainThread) [ramses_tx.transport] 064 RP --- 10:057706 18:132627 --:---0 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 18:132627 --:---0<<<)
2024-04-26 07:22:22.350 WARNING (MainThread) [ramses_tx.transport] --:------ 01:00--- 3220 005 00C03146000000 < PacketInvalid(Bad frame: invalid structure: >>>----- 01:00--- 3220 005 00C03146000000<<<)
2024-04-26 07:22:24.354 WARNING (MainThread) [ramses_tx.transport] 020 RP --- 01:007149 18:132627 --:------ 12B0 003 0000 RQ --- 18:132627 01:007149 --:------ 12B0 001 02 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 01:007149 18:132627 --:------ 12B0 003 0000 RQ --- 18:132627 01:007149 --:------ 12B0 001 02<<<)
2024-04-26 07:22:24.366 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=12B0|RQ|01:007149|02, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 07:35:50.468 WARNING (MainThread) [ramses_tx.transport] 05 0080130000 < PacketInvalid(Bad frame: invalid structure: >>>080130000<<<)
2024-04-26 07:35:50.493 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 --:------ 3220 0067 RP --- 10:057706 01:007149 --:------ 3220 005 00C01347AB < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706 --:------ 3220 0067 RP --- 10:057706 01:007149 --:------ 3220 005 00C01347AB<<<)
2024-04-26 07:36:12.249 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: str object has no element -2') while processing template 'Template<template=({% set oemcode = state_attr("sensor.remeha_status", "oem_code") %} {% set hex = '%0x' % oemcode | int %} {% set lowstr = "0x" + hex[-2] + hex[-1] %} {{ lowstr | int(base=16,default=0) }}) renders=202>' for attribute 'substatus_code' in entity 'sensor.remeha_status'
2024-04-26 08:18:55.283 WARNING (MainThread) [ramses_tx.transport] 074 RP ---1:007149 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP ---1:007149 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 08:21:10.142 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 0- 3220 005 00801A0000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 0- 3220 005 00801A0000<<<)
2024-04-26 08:31:12.286 WARNING (MainThread) [ramses_tx.transport] 069 RP --- 10:0577 --:------ 22D9 003 0003E8 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:0577 --:------ 22D9 003 0003E8<<<)
2024-04-26 08:35:56.871 WARNING (MainThread) [ramses_tx.transport] 071 RP --- 10:057706 01:007149EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149EF0 009 0000100000FF020A64<<<)
2024-04-26 08:47:36.053 WARNING (MainThread) [ramses_tx.transport] 000 RQ7 10:057706 --:------ 3220 005 0080010000 < PacketInvalid(Bad frame: invalid structure: >>>RQ7 10:057706 --:------ 3220 005 0080010000<<<)
2024-04-26 08:47:36.530 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|01, tx_count=1/4>: echo_timeout=0.5
2024-04-26 08:53:49.025 WARNING (MainThread) [ramses_tx.transport] 10:057706 01:007149 10:057706 --:-----06 01:007149 --:------ 3 --- 18:132620005AA01044C0201F4 < PacketInvalid(Bad frame: invalid structure: >>>57706 01:007149 10:057706 --:-----06 01:007149 --:------ 3 --- 18:132620005AA01044C0201F4<<<)
2024-04-26 08:53:49.032 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007149 --:------ 01:007149 2309 009 020  I --- 01:007149 --:------ 01:007149 30C9 009 0006180105FB020641 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007149 --:------ 01:007149 2309 009 020  I --- 01:007149 --:------ 01:007149 30C9 009 0006180105FB020641<<<)
2024-04-26 09:03:35.728 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:13262----- 2349 001 01 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:13262----- 2349 001 01<<<)
2024-04-26 09:03:35.744 WARNING (MainThread) [ramses_tx.protocol_fsm] <ProtocolContext state=WantEcho cmd_=2349|RQ|01:007149|01, tx_count=1/4>: Invalid state to receive a reply (expecting echo)
2024-04-26 09:05:08.513 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007149 --:------ 01:0005AA01044C0201F4 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007149 --:------ 01:0005AA01044C0201F4<<<)
2024-04-26 09:21:48.127 WARNING (MainThread) [ramses_tx.transport] 067  I --- 04:204407 --:------ 04:204407 30C9 003 00059F
000 RQ --- 18:132627 10:057706 --:------ 2401 001 00 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:204407 --:------ 04:204407 30C9 003 00059F
000 RQ --- 18:132627 10:057706 --:------ 2401 001 00<<<)
2024-04-26 09:21:48.608 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=2401|RQ|10:057706, tx_count=1/4>: echo_timeout=0.5
2024-04-26 09:23:01.192 WARNING (MainThread) [ramses_tx.transport] 061 RP --- 10:0627 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:0627 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 09:29:34.047 WARNING (MainThread) [ramses_tx.transport] 073  I --- 34:195026 --:------ 34:1
080  I --- 34:094165 --:------ 34:094165 30C9 003 000640 < PacketInvalid(Bad frame: invalid structure: >>> I --- 34:195026 --:------ 34:1
080  I --- 34:094165 --:------ 34:094165 30C9 003 000640<<<)
2024-04-26 09:53:06.996 WARNING (MainThread) [ramses_tx.transport] 7 01:007149 --:-07149 2309 009 0
57706 18:13295026 30C9 003 000614
 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>:007149 --:-07149 2309 009 0
57706 18:13295026 30C9 003 000614
 0000000000<<<)
2024-04-26 09:53:07.469 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: echo_timeout=0.5
2024-04-26 09:53:07.496 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 --:------ 3220 005000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706 --:------ 3220 005000 RQ --- 18:132627 10:057706 --:------ 3220 005 0000000000<<<)
2024-04-26 09:53:08.473 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=2/4>: echo_timeout=1.0
2024-04-26 09:54:13.010 WARNING (MainThread) [ramses_tx.transport] 01062202063B < PacketInvalid(Bad frame: invalid structure: >>>2202063B<<<)
2024-04-26 09:54:51.642 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007149 --:------ 01:007149 30C9 009 00061D000 RQ --- 18:132627 10:057706 --:------ 2401 001 00 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007149 --:------ 01:007149 30C9 009 00061D000 RQ --- 18:132627 10:057706 --:------ 2401 001 00<<<)
2024-04-26 09:54:52.122 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=2401|RQ|10:057706, tx_count=1/4>: echo_timeout=0.5
2024-04-26 09:57:04.407 WARNING (MainThread) [ramses_tx.transport] 072 RP --- 10:057706 :------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 :------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 10:16:54.860 WARNING (MainThread) [ramses_tx.transport] 073 RP --- 10:0149 --:------ 3220 005 00C01347AB < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:0149 --:------ 3220 005 00C01347AB<<<)
2024-04-26 10:26:57.607 WARNING (MainThread) [ramses_tx.transport] 076 R6 01:007149 --:------ 3220 005 00C00500FF < PacketInvalid(Bad frame: invalid structure: >>>R6 01:007149 --:------ 3220 005 00C00500FF<<<)
2024-04-26 10:28:11.498 WARNING (MainThread) [ramses_tx.transport] 01:007149 --57706 01:007P --- 10:05770149 --:------ 01:007149 30C9 009 00062C01064102063A < PacketInvalid(Bad frame: invalid structure: >>>07149 --57706 01:007P --- 10:05770149 --:------ 01:007149 30C9 009 00062C01064102063A<<<)
2024-04-26 10:28:11.977 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007064  I --- 04:221381 --:------ 04:221381 30C9 003 000614 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007064  I --- 04:221381 --:------ 04:221381 30C9 003 000614<<<)
2024-04-26 10:42:05.968 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:0006 --:------ 3220 005 0080730000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:0006 --:------ 3220 005 0080730000<<<)
2024-04-26 10:52:11.378 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:0577060080730000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:0577060080730000<<<)
2024-04-26 11:02:10.041 WARNING (MainThread) [ramses_tx.transport] *** sync cycle stats: 0.094, avg: 0.069, lower: 0.032, upper: 0.095, times: ['0.065', '0.095', '0.035', '0.095', '0.032', '0.094']
2024-04-26 11:17:19.107 WARNING (MainThread) [ramses_tx.transport] 7149 10:0577 --:------ 3220 005  3220 005 0000120000 < PacketInvalid(Bad frame: invalid structure: >>> 10:0577 --:------ 3220 005  3220 005 0000120000<<<)
2024-04-26 11:17:19.132 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 --:------076 RP --- 10:057706 01:007149 --:------ 3220 005 00C0120180 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706 --:------076 RP --- 10:057706 01:007149 --:------ 3220 005 00C0120180<<<)
2024-04-26 11:39:15.901 WARNING (MainThread) [ramses_tx.transport] 063  I --- 04:221381 --:------ 01:0
000 RQ --- 18:132627 10:057706 --:------ 3EF0 001 00 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:221381 --:------ 01:0
000 RQ --- 18:132627 10:057706 --:------ 3EF0 001 00<<<)
2024-04-26 11:44:21.716 WARNING (MainThread) [ramses_tx.transport] 07149 12B0 003 000000
:------ 01:007149 2309 003 01044C < PacketInvalid(Bad frame: invalid structure: >>>9 12B0 003 000000
:------ 01:007149 2309 003 01044C<<<)
2024-04-26 11:44:21.731 WARNING (MainThread) [ramses_tx.transport] 080  I --- 04:221385 --079  I --- 04:221385 --:------ 01:007149 12B0 003 010000 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:221385 --079  I --- 04:221385 --:------ 01:007149 12B0 003 010000<<<)
2024-04-26 11:47:29.877 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:0 3220 005 00801C0000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:0 3220 005 00801C0000<<<)
2024-04-26 11:59:36.485 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 057706 --:------ 3220 005 0000000000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 057706 --:------ 3220 005 0000000000<<<)
2024-04-26 11:59:36.961 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|00, tx_count=1/4>: echo_timeout=0.5
2024-04-26 12:21:26.436 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:007149 --:----9 2309 009 0005AA01044C0201F4 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:007149 --:----9 2309 009 0005AA01044C0201F4<<<)
2024-04-26 12:27:47.072 WARNING (MainThread) [ramses_tx.transport] 07357706 01:007149 --:------ 3220 005 00C00500FF < PacketInvalid(Bad frame: invalid structure: >>>7706 01:007149 --:------ 3220 005 00C00500FF<<<)
2024-04-26 12:27:47.878 WARNING (MainThread) [ramses_tx.transport] 072 RP --- 10:057706 01:007149 0191B33 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 10:057706 01:007149 0191B33<<<)
2024-04-26 12:30:41.907 WARNING (MainThread) [ramses_tx.transport] 074  I --- 10:057706 --:--- 000FE1 < PacketInvalid(Bad frame: invalid structure: >>> I --- 10:057706 --:--- 000FE1<<<)
2024-04-26 12:47:51.924 WARNING (MainThread) [ramses_tx.transport] 020  I --- :------ 01:007149 2309 009 0005AA01044C0201F4 < PacketInvalid(Bad frame: invalid structure: >>> I --- :------ 01:007149 2309 009 0005AA01044C0201F4<<<)
2024-04-26 12:47:51.997 WARNING (MainThread) [ramses_tx.transport] *** sync cycle stats: 0.032, avg: 0.064, lower: 0.032, upper: 0.095, times: ['0.065', '0.095', '0.035', '0.095', '0.032', '0.094', '0.032']
2024-04-26 12:54:23.202 WARNING (MainThread) [ramses_tx.transport] 071 RP --- 1007149 --:------ 3EF0 009 0000100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 1007149 --:------ 3EF0 009 0000100000FF020A64<<<)
2024-04-26 12:59:11.405 WARNING (MainThread) [ramses_tx.transport] 020  I --- 01:0---- 01:007149 1F09 003 FF08D9 < PacketInvalid(Bad frame: invalid structure: >>> I --- 01:0---- 01:007149 1F09 003 FF08D9<<<)
2024-04-26 13:23:08.568 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 00050000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706 00050000<<<)
2024-04-26 13:23:08.770 WARNING (MainThread) [ramses_tx.transport] 57706 --:------18:132627 10:-- 01:00714 RP --- 10:0--:------ 3220 005 004--- 10:057706 1FD4 00301:007149 --:057706 01:007149 --:----:------ 3220 005 00-:------ 3220 005 0000110000 < PacketInvalid(Bad frame: invalid structure: >>>6 --:------18:132627 10:-- 01:00714 RP --- 10:0--:------ 3220 005 004--- 10:057706 1FD4 00301:007149 --:057706 01:007149 --:----:------ 3220 005 00-:------ 3220 005 0000110000<<<)
2024-04-26 13:23:08.794 WARNING (MainThread) [ramses_tx.transport] 020 RQ --- 01:007149 10:057706 -074 RP --- 10:057706 01:007149 --:------ 3220 005 00C0110000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 01:007149 10:057706 -074 RP --- 10:057706 01:007149 --:------ 3220 005 00C0110000<<<)
2024-04-26 13:28:11.689 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:1326 --:------ 3220 005 0080730000 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:1326 --:------ 3220 005 0080730000<<<)
2024-04-26 13:28:12.155 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=3220|RQ|10:057706|73, tx_count=1/4>: echo_timeout=0.5
2024-04-26 13:28:44.185 WARNING (MainThread) [ramses_tx.transport] 000 RQ --- 18:132627 10:057706 < PacketInvalid(Bad frame: invalid structure: >>>RQ --- 18:132627 10:057706<<<)
2024-04-26 13:28:44.664 WARNING (MainThread) [ramses_tx.protocol_fsm] TOUT = <ProtocolContext state=WantEcho cmd_=2401|RQ|10:057706, tx_count=1/4>: echo_timeout=0.5
2024-04-26 13:29:28.543 WARNING (MainThread) [ramses_tx.transport] 0700100000FF020A64 < PacketInvalid(Bad frame: invalid structure: >>>100000FF020A64<<<)
2024-04-26 13:30:25.157 WARNING (MainThread) [ramses_tx.transport] 020 RP --- 01:007149 18:132627 --:------ 0418 000000000000000000007FFFFF7000000000 < PacketInvalid(Bad frame: invalid structure: >>>RP --- 01:007149 18:132627 --:------ 0418 000000000000000000007FFFFF7000000000<<<)
2024-04-26 13:35:52.635 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /ingress/validate_session request 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('http://172.30.32.2/ingress/validate_session')
2024-04-26 13:35:52.635 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/validate_session - 
2024-04-26 13:38:16.378 WARNING (MainThread) [ramses_tx.transport] 072 R06 01:007149 --:------ 3220 005 00C01347AB < PacketInvalid(Bad frame: invalid structure: >>>R06 01:007149 --:------ 3220 005 00C01347AB<<<)
2024-04-26 13:46:05.402 WARNING (MainThread) [ramses_tx.transport] 080  I --- 34:094165 --:------062C < PacketInvalid(Bad frame: invalid structure: >>> I --- 34:094165 --:------062C<<<)
2024-04-26 13:47:27.223 WARNING (SyncWorker_24) [homeassistant.loader] We found a custom integration ramses_cc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-26 13:47:27.231 WARNING (SyncWorker_24) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

Those ‘errors’ (actually, they’re warnings) are probably be there in both 0.41.16 and 0.41.19:

  • it is simply that in 0.41.19 there is more logging

If nothing else is going on, you could just turn them off in configuration.yaml:

logger:
  logs:
    ramses_tx.transport: error

Or, better still, look at why your USB dongle may be getting poor reception.

Having said that, this is odd:

2024-04-26 09:21:48.127 WARNING (MainThread) [ramses_tx.transport] 067  I --- 04:204407 --:------ 04:204407 30C9 003 00059F
000 RQ --- 18:132627 10:057706 --:------ 2401 001 00 < PacketInvalid(Bad frame: invalid structure: >>> I --- 04:204407 --:------ 04:204407 30C9 003 00059F
000 RQ --- 18:132627 10:057706 --:------ 2401 001 00<<<)

… which looks like it is treating this as a single packet:

067  I --- 04:204407 --:------ 04:204407 30C9 003 00059F
000 RQ --- 18:132627 10:057706 --:------ 2401 001 00

Instead of two separate packets:

067  I --- 04:204407 --:------ 04:204407 30C9 003 00059F

… and:

000 RQ --- 18:132627 10:057706 --:------ 2401 001 00

But this is an isolated example - the remainder all appear to be simply corrupted packets.

Hi,

Ill see if I can optimize the location and go back to 0.41.19.
Thanks for looking into it.

All: for the life of me, I can no longer get this to work:

client execute /dev/ttyACM0 --get-schedule 01:145038 00

It doesn’t matter if I use evofw3, or ESP (via MQTT or serial). I can see the RQ packets on the RF, but I never get any RP.

I’m tearing my hair out!!

So, does anyone have it working? If so, what dongle / version of ramses_rf are you using?

Or do you have the get_schedule service call working in HA? Please let me know what version you have.

If you’re curious, the latest commit to the master branch has this working:

client execute /dev/ttyACM0 --get-faults 01:145038

@zxdavb see your previous comment? It was working on v0.31.7 and I confirmed that in my testing.

Thanks. It doesn’t work for me any more.

I think I’ve confused my controller.

To move forward with schedules, I’ll have to wait until I can reset it, or pull my other controller out of storage.

1 Like

Interestingly this is one of things that finally made me find time to upgrade today from 0.22.1 to 0.31.19. I found that the service call to grab schedules had stopped working, but unfortunately I can’t tell you exactly when. It had been working for many months prior to that. I made the assumption that an update to HA had changed something low level.

I’m using ramses cc and I have a strange issue where I can receive information from the dongle (i.e. zone state, desired temperature, etc), but when I try to change anything from home assistant, there is no change in the system.

For example changing the desired temperature to 20C gives me the following entries in the log:

2024-04-29 15:00:43.478 INFO (MainThread) [ramses_rf.dispatcher] ||  18:262143 |  01:085159 |  W | setpoint         |  00  || {'zone_idx': '00', 'setpoint': 20.0}
2024-04-29 15:00:55.887 INFO (MainThread) [ramses_tx.transport] Rx: b'054  I --- --:------ --:------ 10:062086 1FD4 003 0018D9\r\n'
2024-04-29 15:00:55.887 INFO (MainThread) [ramses_tx.protocol] Recv'd: 054  I --- --:------ --:------ 10:062086 1FD4 003 0018D9

but nothing changes on the thermostat and a short while later I see the original desired temperature being received in the logs again:

2024-04-29 15:01:12.009 INFO (MainThread) [ramses_tx.transport] Rx: b'071  I --- 01:085159 --:------ 01:085159 2309 003 00076C\r\n'
2024-04-29 15:01:12.009 INFO (MainThread) [ramses_tx.protocol] Recv'd: 071  I --- 01:085159 --:------ 01:085159 2309 003 00076C
2024-04-29 15:01:12.009 INFO (MainThread) [ramses_rf.dispatcher] ||  01:085159 |            |  I | setpoint         |  00  || {'zone_idx': '00', 'setpoint': 19.0}

Same goes for system and zone mode changes. I’ve checked the packet log and see plenty of ‘RQ’ lines, like

2024-04-29T15:46:51.500461 000 RQ --- 18:262143 10:062086 --:------ 3220 005 0000000000

but I don’t see any ‘RP’ lines, which would suggest to me that the dongle is not sending correctly.

My config is:

serial_port: /dev/ttyUSB0
restore_cache: true

packet_log:
  file_name: packet.log
  rotate_backups: 14

ramses_rf:
  enforce_known_list: false
  use_native_ot: prefer # always, prefer (default), avoid, never

01:085159: # Temperature control system (e.g. evohome)
  system:
    appliance_control: 10:062086
  zones:
    "00": { sensor: 01:085159 }

known_list:
  01:085159: # controller
  18:262143: # gateway_interface
  10:062086: # opentherm_bridge

Can anyone point me in the right direction on how I can analyze and fix this issue?

P.S. I’ve just upgraded to the beta version of ramses_rf, with no change in this problem unfortunately.

Is the service call working for you with v0.31.19?

Your post wasn’t clear to me, either way.

Sorry, that was very unclear. No, the service call is not working - I get timeout errors in the log from ramses_rf

2024-05-01 17:46:20.169 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Failed to obtain schedule within 15 secs
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 250, in _get_schedule
    await self.tcs._obtain_lock(self.idx)  # maybe raise TimeOutError
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/heat.py", line 622, in _obtain_lock
    await asyncio.sleep(0.005)  # gives the other zone enough time
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
    return await future
           ^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 219, in get_schedule
    await asyncio.wait_for(
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 507, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 742, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 705, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 971, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1043, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/ramses_cc/climate.py", line 482, in async_get_zone_schedule
    await self._device.get_schedule()
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/zones.py", line 153, in get_schedule
    await self._schedule.get_schedule(force_io=force_io)
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 223, in get_schedule
    raise TimeoutError(
TimeoutError: Failed to obtain schedule within 15 secs
2024-05-01 17:46:20.185 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281472773568448] Error handling message: Timeout (timeout) Lloyd from 192.168.98.11 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0)

Who is using this integration with proxmox please?

Who had tried and failed to get it working?

Who has got it working OK? What settings are you using, what dongle?

On proxmox here, using HAOS qemu VM - no issues. Just basic USB passthrough, has worked fine with nanocul, SSM-D2 and busware. Can’t speak for HA core running venv or via docker in an LXC container - I can see that throwing up gremlins.

Was 0.31.19 supposed to address this as I’m still seeing the same errors?

Versions 0.x.20 have been released today.

Other than that, you’ll have to provide me with more context before I can answer your question.

Sorry. Replied to your earlier post in response to mine and that wasn’t clear.

When trying to write schedules, I’m still getting:


Logger: homeassistant.components.script.normal_heating_script
Source: helpers/script.py:501
integration: Scripts (documentation, issues)
First occurred: 20:44:57 (3 occurrences)
Last logged: 20:52:01

Normal heating schedule: Error executing script. Unexpected error for call_service at pos 3: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0303, tx_count=4/4>: Exceeded maximum retries
Normal heating schedule: Error executing script. Unexpected error for call_service at pos 3: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0302, tx_count=4/4>: Exceeded maximum retries
Normal heating schedule: Error executing script. Unexpected error for call_service at pos 2: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0702, tx_count=4/4>: Exceeded maximum retries
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 501, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 736, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 699, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/ramses_cc/climate.py", line 473, in async_set_zone_schedule
    await self._device.set_schedule(json.loads(schedule))
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/zones.py", line 171, in set_schedule
    await self._schedule.set_schedule(schedule)  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 404, in set_schedule
    await put_fragment(num, len(self._fragments), frag)
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/system/schedule.py", line 373, in put_fragment
    await self._gwy.async_send_cmd(
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 619, in async_send_cmd
    return await super().async_send_cmd(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/gateway.py", line 328, in async_send_cmd
    return await self._protocol.send_cmd(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 707, in send_cmd
    pkt = await super().send_cmd(  # may: raise ProtocolError/ProtocolSendFailed
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 481, in send_cmd
    return await super().send_cmd(cmd, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 225, in send_cmd
    return await self._send_cmd(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol.py", line 656, in _send_cmd
    return await self._context.send_cmd(send_cmd, cmd, priority, qos)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/protocol_fsm.py", line 333, in send_cmd
    await asyncio.wait_for(fut, timeout=timeout)
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
ramses_tx.exceptions.ProtocolSendFailed: <ProtocolContext state=WantEcho cmd_=0404| W|01:065252|0303, tx_count=4/4>: Exceeded maximum retries

I’m now on 0.41.20

Hi just updated to latest version and all Ramses devices say unavailable. All previous updates seem to be fine. I am on Proxmox not sure if thats the problem.
Get the following errors:

Logger: homeassistant.config_entries
Source: config_entries.py:575
First occurred: 12:20:47 (1 occurrences)
Last logged: 12:20:47

Error setting up entry RAMSES RF for ramses_cc
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ramses_cc/__init__.py", line 89, in async_setup_entry
    await broker.async_setup()
  File "/config/custom_components/ramses_cc/broker.py", line 146, in async_setup
    await self.client.start(cached_packets=cached_packets())
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 183, in start
    load_schema(self, known_list=self._include, **self._schema)  # create faked too
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 353, in load_schema
    load_tcs(gwy, ctl_id, schema)  # type: ignore[arg-type]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 394, in load_tcs
    ctl = _get_device(gwy, ctl_id)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 336, in _get_device
    check_filter_lists(dev_id)
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 332, in check_filter_lists
    raise LookupError(
LookupError: Can't create 01:000730: it is in the schema, but not in the known_list (check the lists and the schema)

Well, is 01:000730 in your known_list? If not, you could try adding it?