Yet an other RFM69 installation problem



  • Hello,
    I'm trying to get working my gateway and node with my new RFM69HW. I first tried everything with the gateway and node example from lowpowerlab, it's working like a charm.
    The trouble comes when I upload the sketch for Mysensor gateway and a dummy node.

    Here is what I get in the com port on the gateway side :
    0;255;3;0;9;Starting gateway (RRNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.0.0
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSP:MSG:BC
    0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
    0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL)
    0;255;3;0;9;TSP:MSG:GWL OK
    0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
    0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;
    0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
    255;255;3;0;3;

    on the node side, I get 4 times
    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0, ft=0, st=bc:
    TSM:FPAR
    ... and at the end
    !TSM:FPAR:FAIL
    !TSM:FAILURE

    any idea what all this means ? because on my side i'm stuck with that issue;
    thanks guys


  • Admin

    Looks like your dummy node is searching for a parent. The broadcast is picked up by the gateway, but the response sent by the gateway back to the dummy node didn't get through.

    Try increasing the distance between the two nodes.



  • @hek said:

    I had the same problem. connecting the controller to the gateway solved it!



  • @hek Thanks hek, it was indeed the problem.

    Now I connected the gateway to the Jeedom box, and on the node side I get this :
    Starting sensor (RRNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=165)
    TSM:FPAR
    TSP:MSG:SEND 165-165-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 0-0-165 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    TSP:MSG:FPAR RES (ID=0, dist=0)
    TSP:MSG:PAR OK (ID=0, dist=1)
    TSM:FPAR:OK
    TSM:ID
    TSM:CHKID:OK (ID=165)
    TSM:UPL
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:MSG:READ 0-0-165 s=255,c=3,t=25,pt=1,l=1,sg=0:1
    TSP:MSG:PONG RECV (hops=1)
    TSP:CHKUPL:OK
    TSM:UPL:OK
    TSM:READY
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
    !TSP:MSG:SEND 165-165-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=ok:0
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=ok:Temperature Sensor
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1
    TSP:MSG:SEND 165-165-0-0 s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
    Request registration...
    TSP:MSG:SEND 165-165-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
    TSP:MSG:READ 0-0-165 s=255,c=3,t=27,pt=1,l=1,sg=0:1
    Node registration=1
    Init complete, id=165, parent=0, distance=1, registration=1
    TSP:MSG:SEND 165-165-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:22.5

    I see the gateway led blinking so its receiving the messages but the jeedom box doesn't recognize the node.

    !TSP:MSG:SEND 165-165-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0
    I can't understand what this st=fail means, and if it can be the root of my problem ? any idea please


Log in to reply
 

Suggested Topics

  • 87
  • 2
  • 1
  • 6
  • 8
  • 3

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts