• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

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

    scheduled pinned locked moved General Discussion
    5 posts 2 posters 4.2k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • T offline
      Tag MOD
      global:last-edited-by,

      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.

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @Tag
        global:last-edited-by,

        @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

        one-reply-to-this-post last-reply-time reply quote 0
        • T offline
          Tag MOD
          global:last-edited-by, Tag

          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

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @Tag
            global:last-edited-by,

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

            T one-reply-to-this-post last-reply-time reply quote 0
            • T offline
              Tag MOD @jkandasa
              global:last-edited-by, Tag

              @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

              one-reply-to-this-post last-reply-time reply quote 1
              • first-post
                last-post

              0

              online

              644

              users

              532

              topics

              3.4k

              posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization