Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. Upgrading Plugin and Libraries

Upgrading Plugin and Libraries

Scheduled Pinned Locked Moved Vera
22 Posts 4 Posters 9.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ferpandoF Offline
    ferpandoF Offline
    ferpando
    Hero Member
    wrote on last edited by
    #3

    I guess you have to reprogram all arduinos with the new code right?

    hekH 1 Reply Last reply
    0
    • ferpandoF ferpando

      I guess you have to reprogram all arduinos with the new code right?

      hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #4

      @ferpando

      Between versions where over-the-air protocol has changed, yes. But we try to only change this between major version updates.

      BulldogLowellB 1 Reply Last reply
      0
      • hekH hek

        @ferpando

        Between versions where over-the-air protocol has changed, yes. But we try to only change this between major version updates.

        BulldogLowellB Offline
        BulldogLowellB Offline
        BulldogLowell
        Contest Winner
        wrote on last edited by
        #5

        @hek

        so, what is the 'latest' library version? Is it 1.2?

        Screen Shot 2014-05-29 at 4.27.29 PM.png

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #6

          Latest public version is 1.3b3 (xxxxxx)
          There should also be a hash value after version. We auto-update this hash value each time a library file is modified to keep track of the exact version used when someone needs support etc.

          https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/Version.h

          BulldogLowellB 1 Reply Last reply
          0
          • hekH hek

            Latest public version is 1.3b3 (xxxxxx)
            There should also be a hash value after version. We auto-update this hash value each time a library file is modified to keep track of the exact version used when someone needs support etc.

            https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/Version.h

            BulldogLowellB Offline
            BulldogLowellB Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by
            #7

            @hek said:

            Latest public version is 1.3b3 (xxxxxx)
            There should also be a hash value after version. We auto-update this hash value each time a library file is modified to keep track of the exact version used when someone needs support etc.

            https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/Version.h

            so forgive me if I am being thick, but I updated the latest from the links here and here. I installed them and I still have Lib Version 1.2+?

            wrong places?

            hekH 1 Reply Last reply
            0
            • BulldogLowellB BulldogLowell

              @hek said:

              Latest public version is 1.3b3 (xxxxxx)
              There should also be a hash value after version. We auto-update this hash value each time a library file is modified to keep track of the exact version used when someone needs support etc.

              https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/Version.h

              so forgive me if I am being thick, but I updated the latest from the links here and here. I installed them and I still have Lib Version 1.2+?

              wrong places?

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #8

              @BulldogLowell

              Those links should work fine.

              Double check the path where the Arduino libraries should be copied. Follow the guide how to locate library path on the page you linked.

              BulldogLowellB 1 Reply Last reply
              0
              • hekH hek

                @BulldogLowell

                Those links should work fine.

                Double check the path where the Arduino libraries should be copied. Follow the guide how to locate library path on the page you linked.

                BulldogLowellB Offline
                BulldogLowellB Offline
                BulldogLowell
                Contest Winner
                wrote on last edited by
                #9

                @hek

                I did that, got it in my Arduino folder, restarted the IDE, updated a device and it still shows old Lib Version.

                I also downloaded and updated the latest Vera files.

                So, must I recompile and upload the Gateway to show the updated version number in the the gateway and all the nodes?

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #10

                  Yes, update both gateway and nodes. If you just updated one of the nodes (and not gateway) communication might be broken thus new version for node is not showing up.

                  BulldogLowellB 1 Reply Last reply
                  0
                  • hekH hek

                    Yes, update both gateway and nodes. If you just updated one of the nodes (and not gateway) communication might be broken thus new version for node is not showing up.

                    BulldogLowellB Offline
                    BulldogLowellB Offline
                    BulldogLowell
                    Contest Winner
                    wrote on last edited by
                    #11

                    @hek said:

                    Yes, update both gateway and nodes. If you just updated one of the nodes (and not gateway) communication might be broken thus new version for node is not showing up.

                    hmmm... I updated the gateway, with the files I just downloaded and no luck.

                    Screen Shot 2014-05-29 at 5.39.46 PM.png

                    ferpandoF 1 Reply Last reply
                    0
                    • BulldogLowellB BulldogLowell

                      @hek said:

                      Yes, update both gateway and nodes. If you just updated one of the nodes (and not gateway) communication might be broken thus new version for node is not showing up.

                      hmmm... I updated the gateway, with the files I just downloaded and no luck.

                      Screen Shot 2014-05-29 at 5.39.46 PM.png

                      ferpandoF Offline
                      ferpandoF Offline
                      ferpando
                      Hero Member
                      wrote on last edited by
                      #12

                      @BulldogLowell
                      Take a look at mine

                      Captura de pantalla 2014-05-30 a la(s) 08.57.04.png

                      BulldogLowellB 1 Reply Last reply
                      0
                      • ferpandoF ferpando

                        @BulldogLowell
                        Take a look at mine

                        Captura de pantalla 2014-05-30 a la(s) 08.57.04.png

                        BulldogLowellB Offline
                        BulldogLowellB Offline
                        BulldogLowell
                        Contest Winner
                        wrote on last edited by
                        #13

                        @ferpando said:

                        @BulldogLowell
                        Take a look at mine

                        I cannot understand what is happening here

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #14

                          Check the Version.h file of your downloaded library files and assure it contains the newer version before building/uploading the sketch.

                          BulldogLowellB 1 Reply Last reply
                          0
                          • hekH hek

                            Check the Version.h file of your downloaded library files and assure it contains the newer version before building/uploading the sketch.

                            BulldogLowellB Offline
                            BulldogLowellB Offline
                            BulldogLowell
                            Contest Winner
                            wrote on last edited by
                            #15

                            @hek said:

                            Check the Version.h file of your downloaded library files and assure it contains the newer version before building/uploading the sketch.

                            Now I'm more perplexed.

                            I am going to try to recompile and upload the Gateway, again.

                            Screen Shot 2014-05-30 at 12.18.40 PM.png

                            1 Reply Last reply
                            0
                            • BulldogLowellB Offline
                              BulldogLowellB Offline
                              BulldogLowell
                              Contest Winner
                              wrote on last edited by BulldogLowell
                              #16
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                bluman
                                wrote on last edited by
                                #17

                                I've just built a new Ubuntu 1404 64 bit environment and installed the Arduino IDE 1.05 as per the instructions on Arduino Playground here.
                                I downloaded the Arduino libraries from the MySensors website and followed the guide unzipping into the sketchbook directory (/home/<myuser>/sketchbook) as detailed here.
                                After restarting the IDE I am presented with the attached error stating that there is a problem with the Arduino libraries, bad library name.

                                Has anyone else come across this error before?

                                Bluman

                                I tried moving the Arduino-master folder in to the libraries folderArduino_IDE_Lib_error.png

                                1 Reply Last reply
                                0
                                • hekH Offline
                                  hekH Offline
                                  hek
                                  Admin
                                  wrote on last edited by
                                  #18

                                  Move the content of library folder inside "Arduino-master" into libraries.

                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    bluman
                                    wrote on last edited by
                                    #19

                                    Thanks Henk that worked.

                                    1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      bluman
                                      wrote on last edited by
                                      #20

                                      OK, I've just uploaded the new plugin files to Vera and restarted, all appears to be working. The new format is now shown in the devices view.

                                      I've hit a snag when trying to compile the serial gateway sketch where it's complaining about the avr/program.h file is missing.

                                      avr/progmem.h: No such file or directory

                                      I noticed the lib directory under Arduino-Master/AVR so I attempted to copy (merge and replace) this into the sketckbook/libraries folder. Unfortunately I'm getting two additional errors relating to the RF24 and SPI libraries.

                                      In file included from /home/hp2540p/sketchbook/libraries/RF24/RF24.h:788:0,
                                      from SerialGateway.ino:26:
                                      /home/hp2540p/sketchbook/libraries/RF24/RF24.c:27:21: fatal error: spi/spi.h: No such file or directory
                                      #include <spi/spi.h>

                                      I'm not in a good place and need to understand the difference with these different library locations.

                                      If others have felt my pain, how did you resolve this issue? HELP!

                                      bluman

                                      1 Reply Last reply
                                      0
                                      • B Offline
                                        B Offline
                                        bluman
                                        wrote on last edited by
                                        #21

                                        OK, I started from scratch by removing all library folders under the sketchbook directory and copying over from the Arduino-master/libraries folder.

                                        Now I just see the avr/progmem.h file missing error.

                                        SerialGateway.ino:31:25: fatal error: avr/progmem.h: No such file or directory
                                        compilation terminated.

                                        I noticed it is referenced to the avr directory relative to the base sketchbook directory so I searched through the entire Arduino-master folder structure and do not see this file.

                                        Does this need to be downloaded separately from Github or have I missed a step somewhere?

                                        I'm using Unbuntu 1404 with Arduino IDE 1.05+dfsg2-2.

                                        bluman

                                        1 Reply Last reply
                                        0
                                        • B Offline
                                          B Offline
                                          bluman
                                          wrote on last edited by
                                          #22

                                          I commented out the avr/progmem.h include line and it compiled correctly and appears to be working now plugged back into the Vera USB port.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          13

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular