Zigbee dongle unable to open serial port

Raspberry Pi 4 2gb

Openhab 3.4.4 - Debian
Openhabian

Hi,
i’ve just bought a Aeotec Zi-Stick, and I want to install it on my system that fondamentally has a Aeotec Ziwave 5 installet as the first dongle.

I follow these process:

1- plug the zi-stick into the usb of my raspberry
2- find the tty* with ssh (tty/USB0)
3- install the zigbee binding
4- into intems install embercoordinator as describe into the Aeotec manual, and into the description of the binding (there a difference about the acceleration hardware or not…)
5- But the result is the same:

2024-03-06 22:38:05.625 [INFO ] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee dongle inactivity timer. Reinitializing ZigBee
2024-03-06 22:38:06.649 [ERROR] [nding.zigbee.serial.ZigBeeSerialPort] - Serial Error: Port [/dev/ttyUSB0] does not exist.
2024-03-06 22:38:06.651 [ERROR] [zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP Dongle: Unable to open serial port
==> /var/log/openhab/events.log <==
2024-03-06 22:38:06.656 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:ce52cadfdc' changed from OFFLINE (COMMUNICATION_ERROR) to OFFLINE: Failed to open communications port
2024-03-06 22:38:06.659 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:ce52cadfdc' changed from OFFLINE: Failed to open communications port to OFFLINE (COMMUNICATION_ERROR)
==> /var/log/openhab/openhab.log <==
2024-03-06 22:38:11.658 [INFO ] [bee.handler.ZigBeeCoordinatorHandler] - ZigBee dongle inactivity timer. Reinitializing ZigBee
2024-03-06 22:38:12.684 [ERROR] [nding.zigbee.serial.ZigBeeSerialPort] - Serial Error: Port [/dev/ttyUSB0] does not exist.
2024-03-06 22:38:12.685 [ERROR] [zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP Dongle: Unable to open serial port
==> /var/log/openhab/events.log <==
2024-03-06 22:38:12.691 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:ce52cadfdc' changed from OFFLINE (COMMUNICATION_ERROR) to OFFLINE: Failed to open communications port
2024-03-06 22:38:12.694 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:ce52cadfdc' changed from OFFLINE: Failed to open communications port to OFFLINE (COMMUNICATION_ERROR)
==> /var/log/openhab/openhab.log <==
2024-03-06 22:38:15.493 [INFO ] [org.openhab.rule.22740c0dbc         ] - Il conteggio di energia dalla rete è:
2024-03-06 22:38:15.495 [ERROR] [d4j.internal.RRD4jPersistenceService] - Could not create rrd4j database file '/var/lib/openhab/persistence/rrd4j/SolarLogMeter_ConsumptionPAC.rrd': Invalid file header. File [/var/lib/openhab/persistence/rrd4j/SolarLogMeter_ConsumptionPAC.rrd] is not a RRD4J RRD file
2024-03-06 22:38:15.495 [INFO ] [org.openhab.rule.22740c0dbc         ] - 2469 kWh
2024-03-06 22:38:15.514 [ERROR] [d4j.internal.RRD4jPersistenceService] - Could not create rrd4j database file '/var/lib/openhab/persistence/rrd4j/Solar_Rete_IN.rrd': Invalid file header. File [/var/lib/openhab/persistence/rrd4j/Solar_Rete_IN.rrd] is not a RRD4J RRD file

Some one has a idea how to solve it?

@Xander

I am experiencing the same issue with another setup (link, have you found a solution?

Thanks
Max

Have a look at using zigbee2mqtt instead of the native binding. It’s more of a challenge to setup and get running, but well worth the effort. It also allows you to decouple things, which means you can run say openHAB and HomeAssistant to compliment each other.

Regards,

Garry

Partially…

I’ve changed the setup of the dongle by windows, i’ve changed the serial frequency, …
So the dongle is recognised by OH3 but… because there is a but… I somehow dirtied my code because OH3 begin to give some error…
I see my actuator (IKEA Tredifi) but is not recognised… :frowning:

I will try to do a fresh install with OH4 then I will re-install my dongle and see if i can make it work… :face_with_spiral_eyes:

I’ve tinked about it… but it seems to me that is a turnaraund…
If my first try with the fresh install will not work I will try with this other binding… but it seems a hard setup…

I’d start here and go from there. There are a lot of manual steps to complete, but with that comes a great deal more control over how you configure your devices.

If your using openHABian then this is a good place for you to start.

Good luck.

1 Like