Repeater nood keeps looping... and doesnt reach gw.
-
Hello!
Anyone else experienced this? My network goes down due to this...
I have static/solid nodeIDs and a repeater due to distance and big walls.
I have also set the fourth argument in gw.begin on my nodes so they will use my repeater and not find their way by their own.
Repeater -> gw.begin(incomingMessage, NODEID, true, ParentID);All nodes not using the repeater works fine.
When i open the serial log on the repater the messages keep repeating and never reach the gw.'
Example: (0 = Ethernet GW (unchanged code) 100 = repeater (unchanged code), 103=relay (unchanged code from MySensors)
Relay startup:read: 103-103-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5 send: 103-100-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5 read: 103-103-0 s=255,c=3,t=6,pt=1,l=1,sg=0:100 send: 103-100-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:100 read: 0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:M send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M read: 0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:M send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M read: 0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:M send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M read: 0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:M send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M read: 0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:MState change:
read: 103-103-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0 send: 103-100-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0 read: 0-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0:0 send: 0-100-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0 read: 0-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0:0 send: 0-100-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0 read: 0-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0:0 send: 0-100-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0 read: 0-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0:0 send: 0-100-0-103 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0I will try to remove the fourght argument i gw.begin and see if thats the problem...
This will keep looping until either st=fail or another node/message comes in.
Any thoughts or had this problem and know what to do?(Edit: Posted in the wrong place)
-
Tried to remove the fourth argument to a relay node (after clearing EEPROM)
Now: gw.begin(incomingMessage, NODEID, true);Same result :( Repeater (Node 100) keeps looping same message over and over again and doesnt reach GW (even if it says st:OK)
It seems to work with some nodes which i can see passing by... -
It is not...and the problem isnt from the relay.
The message keeps looping in the repeater even if the relay is plugged out. The problem is in the repeater (which also is powered from USB and not arduino) -
@sundberg84 said:
0-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0:M
send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:MLooks like gateway (read from node 0) is sending out multiple values that gets repeated by repeater.
Weird. Do you have the same type/brand of NRF radio on all nodes/gateway? Could the controller be involved here somehow? Do you have a log from gateway?
-
Well, on the GW and Repeater i use a radio with long antenna... the other one is same batch normal nrf radio.
The log from domoticz or gateway is pretty much nothing/no unusual activity... :(
Atleast there is not multiple send from the GW and i dont see anything in MYSController either.Next step is to try to rebuild the repeater to exclude hardware (as the radio...) and also blank new installation of domoticz.
I'll keep you posted...MysLOG
13 2015-08-14 13:20:45 RX 102 INTERNAL PRESENTATION NO ARDUINO_RELAY 1.5
14 2015-08-14 13:20:45 RX 102 INTERNAL INTERNAL NO CONFIG 0
15 2015-08-14 13:20:45 TX 102 INTERNAL INTERNAL NO CONFIG M
16 2015-08-14 13:20:49 RX 102 INTERNAL INTERNAL NO SKETCH_NAME Relay - 103
17 2015-08-14 13:20:49 RX 102 INTERNAL INTERNAL NO SKETCH_VERSION 1.5
18 2015-08-14 13:20:49 RX 102 1 - LIGHT PRESENTATION NO LIGHTDomoticz log
2015-08-14 13:20:50.264 MySensors: Node: 102, Sketch Name: Relay - 103
2015-08-14 13:20:50.266 MySensors: Node: 102, Sketch Version: 1.5 -
-Clean domoticz install - only two nodes installed (Relay 103, Repeter 100 and GW) but same error.
-Changed radio but no effect (and i guess there should not since i have st=ok)I notised that it loops also in the GW.
Logs:
Repeter (Same as above, loops until a st=fail or another/new info comes inGW (Ethernet)
0;0;3;0;14;Gateway startup complete. 0;0;3;0;9;read: 100-100-0 s=1,c=1,t=16,pt=0,l=1:1 100;1;1;0;16;1 0;0;3;0;9;read: 100-100-0 s=255,c=0,t=18,pt=0,l=3:1.5 100;255;0;0;18;1.5 0;0;3;0;9;read: 100-100-0 s=255,c=3,t=6,pt=1,l=1:0 100;255;3;0;6;0 100;255;3;0;6;M0;0;3;0;9;send: 0-0-100-100 s=255,c=3,t=6,pt=0,l=1,st=ok:M 0;0;3;0;9;read: 100-100-0 s=255,c=3,t=11,pt=0,l=15:Repeater+ - 100 100;255;3;0;11;Repeater+ - 100 0;0;3;0;9;read: 100-100-0 s=255,c=3,t=12,pt=0,l=3:1.0 100;255;3;0;12;1.0 0;0;3;0;9;read: 100-100-0 s=1,c=0,t=1,pt=0,l=0: 100;1;0;0;1; 0;0;3;0;9;read: 102-100-0 s=255,c=0,t=18,pt=0,l=3:1.5 102;255;0;0;18;1.5 0;0;3;0;9;read: 102-100-0 s=255,c=3,t=6,pt=1,l=1:100 102;255;3;0;6;100 102;255;3;0;6;M0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M 0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M 0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M 0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M 0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M 0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M 0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M 0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M --keeps looping Switch change: 0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0 0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0 0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0 0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0 0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0 0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0 0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0 0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0This affects my relays and my outdoor sensor (all powered with 5 volt usb chargers...) either there was some sort of thunderstorm killing them all at the same time or i dont know what... :( (all volts are within range though)
Power Issues i guess becuase now i cant read the serial-logs from the relays anymore... just wingdings letters... all i can see there is that it does not loop.
:boom:
-
I have the same problem:
MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1 MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1 MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1 MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1 MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1 ....It happens when the gateway tries to send a new state to a node.
Also, I have a similar problem sending sketch name and version for some nodes:
MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi MySensors Debug receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name MySensors Debug receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket ....I use Indigo as a controller, with connected Mysensors serial gateway.
-
I have the same problem.
If someone could try to replicate this:
- Default SerialGW (from examples)
- Default RepeaterNode (from examples)
- Send message from GW to another node (254;4;1;0;2;1)
This is what i get
Startup GW
0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete.Startup repeater
send: 253-253-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5 send: 253-253-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0 repeater started, id=253, parent=0, distance=1 send: 253-253-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=ok:Repeater Node send: 253-253-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0Gatweway after repeater started
0;0;3;0;9;read: 253-253-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 253;255;3;0;6;0 0;0;3;0;9;read: 253-253-0 s=255,c=3,t=11,pt=0,l=13,sg=0:Repeater Node 253;255;3;0;11;Repeater Node 0;0;3;0;9;read: 253-253-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0 253;255;3;0;12;1.0Then I type 254;4;1;0;2;1 on the gatweway serial log and press send
I get hundresds of these on the gateway
0;0;3;0;9;send: 0-0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 0;0;3;0;9;read: 0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1 0;0;3;0;9;send: 0-0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 0;0;3;0;9;read: 0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1and the same on the repeater node
read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1 send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1 send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1 send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1There is no controller here, manually assigned ID's.
Cheers
-
@barduino I have tried new hardware on repeater and my next thought was to clean GW eeprom and reload scetch.
Im just guessing here - but maybe an old route stored in eeprom thats causing problem?
Since three people now report this - i guess its inside the code somewhere...Its frustrating - all my sensors not using the repeater works fine... but my networks isnt much of a network without my repeater.
-
Maybe I should try adding some log/debug lines in the lib files... @hek do you have any good start point/specific file that you think i should look in?
-
and i can also comfirm @uandy that this is working here as well.
Ethernet 1.4, Repeater 1.4.2 and Sensor 1.5So the problem must be in the 1.5 repeater routing.
-
@hek and @celonunes GREAT job - thank you.
You have saved my homeautomation system :)