Move from mysensors 1.5 to 2.0 (or not.....)



  • Hi all,

    Just a small thing i was thinking about and was wondering how the mycontroller community is handling this....

    I have a setup with 5 remote sensor nodes,

    1. Humidity(DHT22)/temperature(DHT22)/lightlevel
    2. Temperature inside(BMP085)/ temperature outside (NTC) / Barometric pressure(BMP085)
    3. Central heating system temperature (DS18B20)
    4. Arduino promini 3.3v battery operated (2AA batteries) with DHT11
    5. Clock node with a i2c connected 16x4 display attached which receives information from other nodes directly and 1 variable which gets pushed from the mycontroller software.

    All is connected trough a serial gateway connected to a raspberry PI.

    Now that I introduced my setup, this is my question.

    • I am currently using mysensors 1.5, and a might want to upgrade to mysensors 2.0, does anyone have experience with this change?
      It seems that 2.0 has a completely different sketch setup, so this will take a lot of reprogramming i guess. I have no doubt that it will work like a charm with mycontroller.....

    Please let me know if you have any doubts / experience

    Thanks!

    Tag.


  • ADMIN

    @Tag I have converted for two nodes. one is monitoring water level with HC-SR04 and another is Relay node. Both works good. I'm using serial gateway. I changed gateway also to version 2.0

    You can follow this https://forum.mysensors.org/topic/4276/converting-a-sketch-from-1-5-x-to-2-0-x



  • Hi Jkandasa,

    Thanks for the info!, think i just need to change everything to the new library....
    In your setup, do you use a "mixed" environment with 1.x and 2.0 nodes?

    Kind regards,
    Tag


  • ADMIN

    @Tag No, I moved everything to 2.0. I have very less nodes.



  • @jkandasa

    Well, now using a mixed environment!, a Mysensors 2.0 gateway and 1 Mysensors 2.0 node. Rest is still Mysensors 1.5 and will be moved to 2.0 over time.

    Mycontroller still works like a charm and recognised the library version in the node information so it is possible to have a mixed environment.

    Again many thanks for this link! https://forum.mysensors.org/topic/4276/converting-a-sketch-from-1-5-x-to-2-0-x
    I used it to rewrite my sketch from 1.5 to 2.0.

    Keep up the good work!!
    Tag


Log in to reply
 

5
Online

309
Users

206
Topics

1216
Posts

Looks like your connection to MYCONTROLLER.ORG was lost, please wait while we try to reconnect.