Version 2.0 isn't working...



  • Everything was working fine, before I copied the new version to the arduino libraries
    I tried the clear eeprom sketch without success.
    When I try the pingpongsensors sketch I get this:

    Starting sensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    !TSP:ASSIGNID:FAIL (ID=0)
    !TSM:FAILURE
    TSM:PDT
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    !TSM:FPAR:FAIL
    !TSM:FAILURE
    TSM:PDT
    TSM:INIT
    TSM:RADIO:OK
    !TSP:ASSIGNID:FAIL (ID=0)
    !TSM:FAILURE
    TSM:PDT
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:```

  • Admin

    Have you updated both GW and node to 2.0.0? If I remember right, a node on 2.0.0 requires a GW on 2.0.0.

    From the logs the node is trying to get a nodeid from GW.



  • I'm using the pingpongsensors sketch on both nodes


  • Hero Member

    @mk55 You would still need the nodeid from the gateway.



  • @AWI Even when I try different sketches It just won't work...
    Reverting back makes everything works again..
    This what I get when I try 1 node with GatewaySerial sketch and 1 node with Relayactuator

    TSM:FPAR
    Starting repeater (RNNRA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    !TSP:ASSIGNID:FAIL (ID=0)
    !TSM:FAILURE
    TSM:PDT
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    !TSM:FPAR:FAIL
    !TSM:FAILURE
    TSM:PDT
    TSM:INIT
    TSM:RADIO:OK
    !TSP:ASSIGNID:FAIL (ID=0)
    !TSM:FAILURE
    TSM:PDT
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:

  • Hero Member

    @mk55 as @tbowmo mentioned the node is not getting an id. For me the new debug output is also not complete clear. It could indicate that you have a transmission problem. A way to find out is look at the debug output from both nodes.


  • Admin

    @mk55 The issue here is, that the node has ID 0 which is not allowed, hence

    !TSP:ASSIGNID:FAIL (ID=0)
    

    How did you clear the EEPROM? It looks like you used the Arduino eeprom_clr example - this is not compatible with the MySensors setup. Instead, you should use the MySensors ClearEepromConfig.

    Next step, if you do not have a controller that assigns ID, you can assign a static ID , e.g. 1, using

    #define MY_NODE_ID 1
    
    


  • @tekka Omg tekka you're awsome!!
    I did used the arduino eeprom_clr example, and when tried the ClearEepromConfig everything magically worked! πŸ™‚
    Thanks all!


  • Admin

    @mk55 Excellent, happy to hear πŸ™‚


Log in to reply
 

Suggested Topics

10
Online

11.4k
Users

11.1k
Topics

112.7k
Posts