When I reboot my IPX800, OpenHab looses the connection and does not recover.
Expected Behavior
I would expect OpenHab to retry connecting.
Current Behavior
IPX800 relay changes are no more recognized by OpenHab2
Possible Solution
Looking at the code in Ipx800DeviceConnection.java, it seems thatin.readLine() returns a null pointer, raising a NullPointerException which kills the KeepAlive.
Steps to Reproduce (for bugs)
Change IPX800 relays, they are recognized by OH2
Unplug your IPX800, wait 10 seconds
Replug the IPX800, wait for it to reboot
Change IPX800 relays, they are no more detected by OH2
Context
Your Environment
Version used: (e.g., openhab and addon versions)
OpenHab 2
IPX800 1.12.0
Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...):
Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...):
I am using OpenHab2 on Raspbian Jessie
When I reboot my IPX800, OpenHab looses the connection and does not recover.
Expected Behavior
I would expect OpenHab to retry connecting.
Current Behavior
IPX800 relay changes are no more recognized by OpenHab2
Possible Solution
Looking at the code in
Ipx800DeviceConnection.java
, it seems thatin.readLine()
returns anull
pointer, raising aNullPointerException
which kills the KeepAlive.Steps to Reproduce (for bugs)
Context
Your Environment