enocean
enocean copied to clipboard
[enocean.communicators.SerialCommunicator] Serial port exception! (device disconnected or multiple access on port?)
Hi,
I am using home assistant with the enocean integration. It works just fine for a 1-2 days then regularly I get the following exception: ERROR (Thread-3) [enocean.communicators.SerialCommunicator] Serial port exception! (device disconnected or multiple access on port?)
After that exception I don't see the enocean USB under https://homeassistant.local:8123/hassio/system any more. Without the exception I see there the following: Device path:/dev/ttyUSB0 ID: /dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300_DC_FT5OI4ZR-if00-port0
To get the enocean USB back working a restart of home assistant from within 192....:8123/config/server_control "Restart" is not enough. What helps is in Unraid to do a restart of the VMS completely.
I am not sure what to check in order to get enocean reliably working. So far I have read and found the following: https://community.home-assistant.io/t/enocean-key-tcm310-problem/247868
Plus, I see in the below code exactly the wording of the error messages. https://github.com/kipe/enocean/blob/12da815b58646216550810013ec2380455dc7aee/enocean/communicators/serialcommunicator.py
Do you have an idea what possible error sources could be?
Currently I am scanning the home assistant log for that error and then send me an email, if it occurs. When I then check, I don't see other issues in the log.... Strange. Also the rest of home assistant, other zigbee devices are just working as usual.
Thanks in advance & Best regards Martin
also posted on home assistant community https://community.home-assistant.io/t/enocean-communicators-serialcommunicator-serial-port-exception-device-disconnected-or-multiple-access-on-port/410834
Should be solved, as can be seen here https://community.home-assistant.io/t/enocean-communicators-serialcommunicator-serial-port-exception-device-disconnected-or-multiple-access-on-port/410834/5