Help troubleshooting Ethernet Gateway
-
Hi Friends, I started upgrading my system to Openhab2
I was using Openhab 1.8 with a MQTT gateway working fine. Now with same hardware I flashed the gateway to be Ethernet gateway, but I'm not able to make it work. I think the Gateway is not connecting with OpenhabIn Openhab is always in offline state and if I disable startup check it appears as online but Opebhab debug shows like connections retries.
This is console output from my gateway
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP: 192.168.88.205
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1and this is the DEBUG output from Openhab
21:01:31.744 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: []
21:01:31.744 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Failed connecting to bridge...next retry in 10 seconds (Retry No.:44)
21:01:31.744 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Disconnecting from IP bridge ...
21:01:31.745 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Stopping Writer thread
21:01:31.753 [WARN ] [rsAbstractConnection$MySensorsWriter] - Interrupted MySensorsWriter
21:01:31.759 [DEBUG] [rsAbstractConnection$MySensorsReader] - Stopping Reader thread
21:01:31.762 [WARN ] [rsAbstractConnection$MySensorsReader] - Interrupted MySensorsReader
21:01:31.767 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Writing on cache given_ids, content: []
21:01:41.770 [DEBUG] [al.protocol.ip.MySensorsIpConnection] - Connecting to IP bridge [192.168.88.205:5003]
21:01:41.777 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
21:01:42.774 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
21:01:43.775 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
21:01:44.775 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
21:01:45.775 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 0;0;3;0;2;
21:01:46.775 [ERROR] [al.protocol.ip.MySensorsIpConnection] - Cannot start reading/writing thread, probably sync message (I_VERSION) not received. Try set skipStartupCheck to trueAny Ideas
Any help will be appreciated.
-
May I ask why you changed from mqtt to ethernet? Did you change the connector type in Openhab?
-
Hi gohan.
Sorry If I did not explain correctly. I upgraded to OpenHab 2.1.0
I was previously using RaspberryPi with OpenHab 1.8 + MQTT gateway.Now I switched to a VM with Debian and OpenHab 2.1.0. and as I read that the MQTT gateway was not working with OH2.1 I flashed my gateway as an ethernet gw.
Regarding the logs.
I turned off the OpenHab machine and the gateway still repeats the output. Is it possible that the gateway is continuosly restarting?
-
it looks like it has a problem, try using the library version 2.2 from development branch
-
Ok, I'll try that.
Are you refering to the mySensors library, right?
-
yes, I didn't thought about the version being similar number to OpenHab
-
Hi, It worked. using the 2.2 library solved my issue. Now I'll setup openhab. thanks for your quick and effective answer
Suggested Topics
-
OpenHAB 2.1 keeps showing light level as 0 with BH1750 and V_LEVEL
Troubleshooting • 9 Jul 2017, 20:52 • George Laynes 11 Jul 2017, 18:41 -
OpenHAB binding is crashing
OpenHAB • 30 May 2018, 22:53 • Avamander 4 Jun 2018, 16:47 -
Ethernet gateaway with wemos D1 (ESP8266)
Feature Requests • 4 Oct 2016, 16:36 • jopebe 20 Oct 2016, 13:54 -
Ethernet shield help
Troubleshooting • 13 Mar 2015, 17:16 • blutak 13 Mar 2015, 18:32 -
MySensors MQTT gateway and serial rs485 sensor node communication
Development • 5 Aug 2017, 06:31 • ehome 5 Aug 2017, 08:15 -
EthernetGateway hangs after "Gateway startup complete"
Troubleshooting • 3 Jan 2015, 22:18 • Heinz 4 Jan 2015, 18:39 -
Power sensors stopped working
Development • 4 Jan 2018, 22:30 • jocke4u 7 Jan 2018, 10:43