Closed alvarolobato closed 4 years ago
Hi,
My gateway is constantly going offline and back online, by looking at the messages it seems that the pingOKCount counter is not being properly reset:
Notice how the ping number didn't get reset: 11467 and the next ping fails with 11468 which should have been reseted by https://github.com/souliss/bindingopenhab2/blob/master/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/handler/SoulissGatewayHandler.java#L268
but something seems to be wrong.
2019-09-21 20:13:03.607 [DEBUG] [al.protocol.SoulissBindingUDPDecoder] - Received functional code: 0x35 - Nodes Healthy 2019-09-21 20:13:15.598 [DEBUG] [ouliss.handler.SoulissGatewayJobPing] - Sending ping packet 2019-09-21 20:13:15.604 [DEBUG] [ernal.protocol.SoulissCommonCommands] - sendPing - HEX: [08 00 00 00 00 ], IP: 192.168.1.119 to port 54481 2019-09-21 20:13:15.608 [DEBUG] [ouliss.handler.SoulissGatewayJobPing] - Sent ping packet 2019-09-21 20:13:15.627 [DEBUG] [ouliss.handler.SoulissGatewayHandler] - Gateway do not respond to 11467 ping packet - setting OFFLINE 2019-09-21 20:13:15.856 [DEBUG] [.protocol.SoulissBindingUDPServerJob] - Packet received (port 54481) HEX: [0C 0B 17 78 46 77 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] 2019-09-21 20:13:15.860 [DEBUG] [al.protocol.SoulissBindingUDPDecoder] - Received functional code: 0x18 - Ping answer 2019-09-21 20:13:15.864 [DEBUG] [al.protocol.SoulissBindingUDPDecoder] - decodePing: putIn code: 0, 0 2019-09-21 20:13:15.868 [DEBUG] [ouliss.handler.SoulissGatewayHandler] - Setting Gateway ONLINE 2019-09-21 20:13:25.743 [DEBUG] [ernal.protocol.SoulissCommonCommands] - sendSUBSCRIPTIONframe - HEX: [21 00 00 00 12 ], IP: 192.168.1.119 - port: 54481 2019-09-21 20:13:25.747 [DEBUG] [ouliss.handler.SoulissGatewayHandler] - Sent subscription packet 2019-09-21 20:13:26.015 [DEBUG] [.protocol.SoulissBindingUDPServerJob] - Packet received (port 54481) HEX: [24 23 17 26 48 77 00 31 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] ... ... ... 2019-09-21 20:13:45.639 [DEBUG] [ouliss.handler.SoulissGatewayJobPing] - Sending ping packet 2019-09-21 20:13:45.644 [DEBUG] [ernal.protocol.SoulissCommonCommands] - sendPing - HEX: [08 00 00 00 00 ], IP: 192.168.1.119 to port 54481 2019-09-21 20:13:45.648 [DEBUG] [ouliss.handler.SoulissGatewayJobPing] - Sent ping packet 2019-09-21 20:13:45.651 [DEBUG] [ouliss.handler.SoulissGatewayHandler] - Gateway do not respond to 11468 ping packet - setting OFFLINE 2019-09-21 20:13:45.885 [DEBUG] [.protocol.SoulissBindingUDPServerJob] - Packet received (port 54481) HEX: [0C 0B 17 78 46 77 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ] 2019-09-21 20:13:45.890 [DEBUG] [al.protocol.SoulissBindingUDPDecoder] - Received functional code: 0x18 - Ping answer 2019-09-21 20:13:45.893 [DEBUG] [al.protocol.SoulissBindingUDPDecoder] - decodePing: putIn code: 0, 0 2019-09-21 20:13:45.917 [DEBUG] [ouliss.handler.SoulissGatewayHandler] - Setting Gateway ONLINE
There were two gateways interfering in my configuration.
Hi,
My gateway is constantly going offline and back online, by looking at the messages it seems that the pingOKCount counter is not being properly reset:
Notice how the ping number didn't get reset: 11467 and the next ping fails with 11468 which should have been reseted by https://github.com/souliss/bindingopenhab2/blob/master/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/handler/SoulissGatewayHandler.java#L268
but something seems to be wrong.