Hi, It worked. using the 2.2 library solved my issue. Now I'll setup openhab. thanks for your quick and effective answer
Posts made by matias53
-
RE: Help troubleshooting Ethernet Gateway
-
RE: Help troubleshooting Ethernet Gateway
Ok, I'll try that.
Are you refering to the mySensors library, right? -
RE: Help troubleshooting Ethernet Gateway
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? -
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.
-
RE: MQTT Gw - Request time
Hi.
When I use MQTTFx to see that the gateway is asking to OpenHab I see this.MyMQTT/25/255/V_SKETCH_NAME
RTC ClockMyMQTT/25/255/V_SKETCH_VERSION
1.0MyMQTT/25/255/V_
(no data)I saw in the library API that the time request is an internal command, maybe I´m wrong, but shouldn´t I expect a I_TIME instead
Does anyone know how to respond to this request?
Thank you.
-
MQTT Gw - Request time
Hi, I´m planning using request time to display some info and current date time
But I can get response from gateway about requestTimeI´m using MQTT gateway with OpenHab
Should I do something on Openhab?
-
RE: RealTimeClockDisplaySensor.ino - no fetch time from controller
Hi, did you find a solution for this. same conditions as you.
OpenHab + MQTT gwI can´t get time from the controller.
-
st=fail help please
Hi my name is Matias, I´m addicted to this website. I´m building my sensor network and now getting this common error.
I have MQTT Gateway with OpenHab as controller
MySensor vesion is 1.5 and using Arduino 1.6.5
Working on the same room, gateway and 2 sensors are not talking as they should. I´m getting ST=Fail
Here is the Log of one of my Sensors
send: 21-21-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=fail:1.5
send: 21-21-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
repeater started, id=21, parent=0, distance=1
send: 21-21-0-0 s=255,c=3,t=11,pt=0,l=16,sg=0,st=fail:Relay + Humidity
send: 21-21-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.1
send: 21-21-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,st=fail:
send: 21-21-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,st=fail:
find parent
send: 21-21-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
send: 21-21-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=fail:
send: 21-21-0-0 s=2,c=0,t=3,pt=0,l=0,sg=0,st=fail:
send: 21-21-0-0 s=3,c=0,t=3,pt=0,l=0,sg=0,st=fail:
send: 21-21-0-0 s=4,c=0,t=3,pt=0,l=0,sg=0,st=fail:Here is my gateway debug
0;0;3;0;9;gateway started, id=0, parent=0, distance=0
Ok!
<<10 12 00 06 4D 51 49 73 64 70 03 02 00 3C 00 04 4D 51 54 5420 02 00 00
<<82 17 00 E2 00 12 4D 79 4D 51 54 54 2F 32 30 2F 31 2F 56 5F 54 45 4D 50 0090 03 00 E2 00
MyMQTT/20/1/V_TEMP
0;0;3;0;9;send: 0-0-20-20 s=1,c=1,t=0,pt=0,l=0,sg=0,st=fail:
<<82 16 00 E3 00 11 4D 79 4D 51 54 54 2F 32 30 2F 30 2F 56 5F 48 55 4D 0090 03 00 E3 00
MyMQTT/20/0/V_HUM
0;0;3;0;9;send: 0-0-20-20 s=0,c=1,t=1,pt=0,l=0,sg=0,st=fail:
<<82 17 00 E4 00 12 4D 79 4D 51 54 54 2F 32 31 2F 31 2F 56 5F 54 45 4D 50 0090 03 00 E4 00
MyMQTT/21/1/V_TEMP
0;0;3;0;9;send: 0-0-21-21 s=1,c=1,t=0,pt=0,l=0,sg=0,st=fail:
<<82 16 00 E5 00 11 4D 79 4D 51 54 54 2F 32 31 2F 30 2F 56 5F 48 55 4D 0090 03 00 E5 00
MyMQTT/21/0/V_HUM
0;0;3;0;9;send: 0-0-21-21 s=0,c=1,t=1,pt=0,l=0,sg=0,st=fail:
0;0;3;0;9;read: 21-21-0 s=0,c=1,t=1,pt=7,l=5,sg=0:39.0
MyMQTT/21/0/V_HUM30 17 00 11 4D 79 4D 51 54 54 2F 32 31 2F 30 2F 56 5F 48 55 4D 33 39 2E 30
0;0;3;0;9;read: 21-21-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;0;3;0;9;send: 0-0-21-21 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0and this is what happended on my gateway when I send a command from OpenHab
MyMQTT/21/2/V_LIGHT
0;0;3;0;9;send: 0-0-21-21 s=2,c=1,t=2,pt=0,l=1,sg=0,st=fail:1Sensor does not get any message
The 3 radios have the 4.7uF 35v capacitor.
The Gateway has a 3.3 voltage regulator,
I´m using 3 identical 3.3v 8 Mhz Arduino pro miniI don´t know what else to check.
Hope you can help me.
Thank you very much.