Skip to content

Communication issues - Openhab 3.0 issue #14

Description

@gbleite

Hello,

Whenever I have the system up and running, in case of communication issues (Arduino reboot or USB cable reconnection), the system is unable to recover.
Arduino reboot:

2023-06-19 11:10:22.843 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:23.844 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:23.847 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:24.848 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:24.851 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:25.853 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:25.854 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:26.856 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:26.859 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:27.861 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:27.862 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:28.864 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301
2023-06-19 11:10:28.866 [INFO ] [ernal.core.SimpleBinaryGenericDevice] - Port /dev/ttyUSB0 - Device 1 not responding
2023-06-19 11:10:29.868 [WARN ] [inary.internal.core.SimpleBinaryUART] - Port /dev/ttyUSB0 - Device1 - Receiving data timeouted. Thread=1301

In this situation, I can see Arduino TX led blinking but nothing on RX side. When connection is reestablished, both leds are blinking without issue.

When cable is removed, i can reestablish the communication only disabling the Thigs and reenabling in a specific order: first bridge, once it is online, the generic thing. The issue is not 100% but the workaround works all the time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions