Hi all,
I’m failing on getting the Roomba iRobot binding to work. I´m running
- Raspberry 4
- Openhabian
- OH3 3.0.2
- iRobot Binding 3.0.2
When I install the binding the Roomba 971 is immediately detected, but then binding fails to connect.
The message in the OH UI says
COMMUNICATION_ERROR
Read Timeout
and then
COMMUNICATION_ERROR
Connection refused (Connection refused)
I have tried
log:set DEBUG org.openhab.binding.irobot
but the log did not show the cause of the problem.
2021-05-08 17:42:20.264 [DEBUG] [nal.discovery.IRobotDiscoveryService] - Starting broadcast for /192.168.2.255
2021-05-08 17:42:22.957 [DEBUG] [robot.internal.handler.RoombaHandler] - Connecting to 192.168.2.124
2021-05-08 17:42:22.968 [DEBUG] [robot.internal.handler.RoombaHandler] - BLID is: 80B446247073XXXX
2021-05-08 17:42:27.974 [DEBUG] [robot.internal.handler.RoombaHandler] - Connecting to 192.168.2.124
2021-05-08 17:42:27.976 [DEBUG] [robot.internal.handler.RoombaHandler] - BLID is: 80B446247073XXXX
2021-05-08 17:42:32.994 [DEBUG] [robot.internal.handler.RoombaHandler] - Connecting to 192.168.2.124
2021-05-08 17:42:32.995 [DEBUG] [robot.internal.handler.RoombaHandler] - BLID is: 80B446247073XXXX
2021-05-08 17:42:38.013 [DEBUG] [robot.internal.handler.RoombaHandler] - Connecting to 192.168.2.124
After some digging I found out that there was an issue with the TLS connection (dh_key_too_small), which I could fix in /etc/ssl/openssl.cnf with “CipherString = DEFAULT@SECLEVEL=1”
Now I can connect with the Python implementation (GitHub - NickWaterton/Roomba980-Python: Python program and library to control iRobot Roomba 980 Vacuum Cleaner)
and also directly with the MQTT broker of the Roomba with MQTT Explorer.
Only the binding does not connect.
Am I missing something?
Jens