0.8.1 AES errors, 0.7.48 works fine

Hi,

I’ve got a lot of devices:

  • HM-TC-IT-WM-W-EU
  • HM-CC-RT-DN
  • HM-LC-Sw4-WM
  • HM-WDS30-OT2-SM-2
  • HM-Sec-RHS
  • HM-Sec-SD-2
  • HM-Sec-SCo

Under 0.7.48, everything works fine. But because it’s old and not maintained, I tried upgrading to 0.8.1.

Most devices work under 0.8.1, but all HM-Sec-RHS stopped working and are returing AES handshake failures. Here’s a brief selection:

09/24/22 22:01:52.606 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C02A2415FBF82FD1337010200D6
09/24/22 22:06:06.855 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0EAFA0105FBF82FD13370100000000E0
09/24/22 22:06:25.675 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A6415FBF82FD13370104C8CC
09/24/22 22:06:26.549 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A2415FBF82FD13370104C8D0
09/24/22 22:06:27.809 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A2415FBF82FD13370104C8CE
09/24/22 22:06:30.076 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A2415FBF82FD13370104C8D6
09/24/22 22:07:52.921 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0EAFA0105FBF82FD13370100000000E2
09/24/22 22:08:20.356 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A6415FBF82FD13370101C8D8
09/24/22 22:08:20.859 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A2415FBF82FD13370101C8DA
09/24/22 22:08:21.613 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A2415FBF82FD13370101C8D8
09/24/22 22:08:22.873 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A2415FBF82FD13370101C8DA
09/24/22 22:08:25.142 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A2415FBF82FD13370101C8DA
09/24/22 22:08:29.428 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A2415FBF82FD13370101C8D8
09/24/22 22:08:29.931 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED8
09/24/22 22:08:34.937 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:08:36.191 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:08:38.455 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:08:42.736 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:08:51.057 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED0
09/24/22 22:09:35.221 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Info: AES handshake failed for packet, because either the response data of the last handshake packet didn't match or the last handshake packet wasn't received: 10D5A001FD13375FBF8200050000000000
09/24/22 22:09:57.072 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A6415FBF82FD13370101C8DE
09/24/22 22:09:57.576 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:10:02.590 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:10:03.844 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:10:04.451 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:05.058 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:05.560 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:06.063 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:06.566 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:07.069 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0DE2A610673581FD13370601000022
09/24/22 22:10:10.144 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED6
09/24/22 22:10:18.470 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:10:23.968 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C02A6415FBF82FD13370102C8D2
09/24/22 22:10:36.824 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Info: AES handshake failed for packet, because either the response data of the last handshake packet didn't match or the last handshake packet wasn't received: 10D5A001FD13375FBF8200050000000000
09/24/22 22:10:41.903 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A6415FBF82FD13370104C8D4
09/24/22 22:10:50.674 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A6415FBF82FD13370101C8D6
09/24/22 22:10:51.178 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED6
09/24/22 22:10:55.933 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EDC
09/24/22 22:10:57.187 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EDC
09/24/22 22:10:59.451 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EDC
09/24/22 22:11:03.736 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EDC
09/24/22 22:11:28.224 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Info: AES handshake failed for packet, because either the response data of the last handshake packet didn't match or the last handshake packet wasn't received: 10D5A001FD13375FBF8200050000000000
09/24/22 22:11:35.287 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A6415FBF82FD13370101C8D2
09/24/22 22:11:35.791 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EDA
09/24/22 22:11:44.148 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C00A6415FBF82FD13370101C8E6
09/24/22 22:11:44.652 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80EE6
09/24/22 22:11:49.658 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:11:50.913 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:11:53.178 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:11:57.460 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED2
09/24/22 22:12:05.783 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0D01A6105FBF82FD13370601C80ED4
09/24/22 22:12:06.489 Info: Ignoring broadcast packet from peer 43, because AES handshakes are enabled for this peer and AES handshakes are not possible for broadcast packets.
09/24/22 22:12:28.885 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C03A6415FBF82FD13370103C8D4
09/24/22 22:12:34.190 Module HomeMatic BidCoS: HM-MOD-RPI-PCB "rpi-homematic-pcb": Warning: AES handshake failed for packet: 0C04A6415FBF82FD13370104C8D4

After downgrading to 0.7.48 and restoring the backup, all of these work fine again.

Is HM-Sec-RHS not supported under 0.8 and higher?

Or should I factory reset all devices and stop using AES? If so, how do i make sure AES is not going to be configured?

I have in mind, the AES handling changed, so the AES key only accept characters from 0 to 9 and A to F in the new version … So if you have other characters in your key, you must change it …

That’s not it. My key is in 0-9A-F range.