I am running OpenHAB 4.2.0 on a Raspberry Pi Model 3 B Rev 1.2 1Gb.
I have just plugged in a Sonoff ZBDongle-E as my Zigbee coordinator. It is running firmware 6.10.3.0
It initialises fine, comes online but eventually goes offline due to a communication error. I haven’t configured any channels. I only have the dongle connected, and no other Zigbee devices yet.
Setup and error below.
I’m not sure what I am missing, and hope someone can help.
2024-09-26 13:23:13.828 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:coordinator_ember:1fc61926dc’ changed from OFFLINE (COMMUNICATION_ERROR) to OFFLINE: Failed to open communications port
2024-09-26 13:23:13.831 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:coordinator_ember:1fc61926dc’ changed from OFFLINE: Failed to open communications port to OFFLINE (COMMUNICATION_ERROR)
2024-09-26 13:23:26.829 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:coordinator_ember:1fc61926dc’ changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE
Hi check your setting
Based on what you posted you have flow control set incorrectly
refer to this documentation and confirm you have it all configured as specified.
Serial port Configuration
If you are using a config file, the serial port needs to be configured as shown in the above example. Below is a list of the relevat settings concerning the serial port.
I have tried the correct settings and it never comes online. If I turn off flow control, OpenHAB reads the Zigbee mac address and firmware version and comes online, and then of and on again until it’s permanently offline. If I use the correct settings, it never comes online. Using no flow control, and then getting it online and adding the correct settings makes it go offline immediately.
I have just received the latest dongle from Sonoff so will look into this soon. Unfortunately I’m travelling abroad from Monday so it might become a “hotel task” for late next week or the following week… I can confirm though that it communicates fine within the standalone console that the zigbee binding uses for testing, and stays online, but that’s as far as I’ve got with testing this.