upgrading to 2.0



  • Hi,
    I wanted to start upgrading my nodes to 2.0.
    From my understanding, all combinations are valid, right?
    My gateway is still on 1.x and I just compiled and uploaded for one node 2.0
    I wanted to find out how hard it is and estimate the effort.

    Do I need a 2.0 gateway in order to have a 2.0 node working?
    I am getting some response which seems that the GW does not work with the node but then on the controller (OpenHab) I am receiving messages from the new node (even nothing to work with).

    Anyhow, here is what I am getting in serial debug:

    Starting sensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=105)
    TSM:FPAR
    TSP:MSG:SEND 105-105-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 112-112-105 s=255,c=3,t=8,pt=1,l=1,sg=0:1
    TSP:MSG:FPAR RES (ID=112, dist=1)
    TSP:MSG:PAR OK (ID=112, dist=2)
    TSP:MSG:READ 113-113-105 s=255,c=3,t=8,pt=1,l=1,sg=0:1
    TSP:MSG:FPAR RES (ID=113, dist=1)
    TSP:MSG:READ 115-115-105 s=255,c=3,t=8,pt=1,l=1,sg=0:2
    TSP:MSG:FPAR RES (ID=115, dist=2)
    TSP:MSG:READ 114-114-105 s=255,c=3,t=8,pt=1,l=1,sg=0:2
    TSP:MSG:FPAR RES (ID=114, dist=2)
    TSP:MSG:READ 0-0-105 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)
    TSP:MSG:READ 102-102-105 s=255,c=3,t=8,pt=1,l=1,sg=0:1
    TSP:MSG:FPAR RES (ID=102, dist=1)
    TSM:FPAR:OK
    TSM:ID
    TSM:CHKID:OK (ID=105)
    TSM:UPL
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 105-105-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:CHKUPL:FAIL (hops=255)
    !TSM:UPL:FAIL
    TSM:FPAR
    

    Thanks,
    SJ


  • Hardware Contributor

    @parachutesj - I couldnt get my old gateway to work with 2.0 nodes and tekka wrote its recommended to upgrade all. In my case i started at the gateway and then repeaters and that did work. I still have some nodes from 1.4 and 1.6 that works with the 2.0gw and repeaters.


  • Contest Winner

    @parachutesj Today I had to upgrade to MySensors 2.0 as well. As @sundberg84 you should use a MS 2.0 gateway. MS 2.0 sketched don't work with an older gateway, as I've experienced. And it seems to be logic to update the repeater nodes as well.

    So far I haven't update any of the nodes and seems to work fine. But I'll be upgrading them a.s.a.p.

    Hope this helps you.



  • @sundberg84 & @TheoL
    Thank you both. I have quite a few nodes out there and "ruining" the gateway would be not so great. However flashing it back with another PC might work, so will prepare that before there is no point of return 😉
    But good to know that a 2.0 GW seems to be working with 1.x nodes well.


  • Contest Winner

    @parachutesj My strategy was using a second arduino uno as the new gateway. So that I could keep my original gateway in tact.

    At the moment everything still seems to work (incl the MS 1.5 nodes)



  • @TheoL & @sundberg84
    I updated my serial GW to 2.0 successfully. Just uploaded the code from the samle page and adjusted to my environment. All 1.x sensors seem to work after 24h.
    The issue from above is also solved, so 2.0 sketch works as well now.


  • Contest Winner

    @parachutesj I'm running a 2.0 gateway a couple of weeks now. It's stable and all 1.5 nodes still work flawless. Of course no guaranty that the all 1.5 nodes will keep working for others as well, once they've updated the gateway to 2.0. So I bumped one of my 1.5 nodes to 2.0 tonight. Will continue to do so with the others.

    First the easy ones (like temp and humidity sensors) then the others. Also great possibility to refactor the older ones to my current insights 😉

    Already started some interesting projects with the new 2.0 features. Did I already mentioned that I love 2.0?


Log in to reply
 

Suggested Topics

25
Online

11.2k
Users

11.1k
Topics

112.5k
Posts