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. Announcements
  3. MySensors 1.5.2 Released

MySensors 1.5.2 Released

Scheduled Pinned Locked Moved Announcements
35 Posts 6 Posters 11.4k Views 4 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.
  • AnticimexA Anticimex

    @carlierd I found a problem there. I have to make a new release. Sorry for the inconvenience!

    carlierdC Offline
    carlierdC Offline
    carlierd
    wrote on last edited by
    #23

    @Anticimex No problem !! Thanks for the support :)

    1 Reply Last reply
    0
    • hekH hek

      @Anticimex
      Yes, I'll have to update the codebender library manually.

      korttomaK Offline
      korttomaK Offline
      korttoma
      Hero Member
      wrote on last edited by
      #24

      @hek said:

      @Anticimex
      Yes, I'll have to update the codebender library manually.

      I have uploaded 1.5.2 library as a Personal Library in codebender. I have not had any trouble doing this before. Just tried 1.5.3 but I get the same error.

      • Tomas
      1 Reply Last reply
      0
      • korttomaK korttoma

        Is there "SOMETHING" missing like this??

        MySensor gw(transport, SOMETHING);
        
        candidate constructor not viable: requires 2 arguments, but 1 was provided
                MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
        

        How do I define "MyHwDriver"??

        hekH Online
        hekH Online
        hek
        Admin
        wrote on last edited by
        #25
        candidate constructor not viable: requires 2 arguments, but 1 was provided
                MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
        

        Weird it finds the MySensors constructor, it has a default value (MyHwDriver) but doesn't use it. Darn compilers.

        korttomaK 1 Reply Last reply
        0
        • AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #26

          And you have selected a atmega328-based target when you build?

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • hekH hek
            candidate constructor not viable: requires 2 arguments, but 1 was provided
                    MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
            

            Weird it finds the MySensors constructor, it has a default value (MyHwDriver) but doesn't use it. Darn compilers.

            korttomaK Offline
            korttomaK Offline
            korttoma
            Hero Member
            wrote on last edited by
            #27

            @hek said:

            Weird it finds the MySensors constructor, it has a default value (MyHwDriver) but doesn't use it. Darn compilers.

            I take it you have managed to reproduce the situation or do you need some more information from me?

            @Anticimex said:

            And you have selected a atmega328-based target when you build?

            Yes, I have an "Arduino Pro Mini 5V 16MHz w/ ATmega328" selected when compiling.

            • Tomas
            1 Reply Last reply
            0
            • hekH Online
              hekH Online
              hek
              Admin
              wrote on last edited by
              #28

              @korttoma said:

              I take it you have managed to reproduce the situation or do you need some more information from me?

              No, I'm currently @work.

              1 Reply Last reply
              0
              • hekH Online
                hekH Online
                hek
                Admin
                wrote on last edited by
                #29

                @korttoma

                Updated codebender lib to 1.5.3 and it fails with the same error you got.

                Seems like codebender doesn't define ARDUINO_ARCH_AVR for the Uno board... which is used to select the correct hw-driver here:
                https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.h#L47

                I've tried to reach Vasilis over at codebender but I guess it's a bit late for a reply today.

                1 Reply Last reply
                1
                • ferpandoF Offline
                  ferpandoF Offline
                  ferpando
                  Hero Member
                  wrote on last edited by
                  #30

                  I updated to 1.5.3 and I get 2 warnings just by opening arduino IDE

                  Warning: platform.txt from core 'MySensors AVR based boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
                  WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
                  

                  I'm using IDE 1.6.6
                  It was working before with MySensors 1.5

                  1 Reply Last reply
                  0
                  • AnticimexA Offline
                    AnticimexA Offline
                    Anticimex
                    Contest Winner
                    wrote on last edited by
                    #31

                    Those warnings are no reason for concern. Everything works like before.

                    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                    ferpandoF 1 Reply Last reply
                    0
                    • AnticimexA Anticimex

                      Those warnings are no reason for concern. Everything works like before.

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

                      @Anticimex
                      Ok, but is there a way to remove them?

                      I can confirm it compiles and uploads correctly.

                      Thanks

                      1 Reply Last reply
                      0
                      • AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by
                        #33

                        Should just be a matter of editing platform.txt I suppose. I have not worked with those aspects. The release only change signing related parts. Those warnings are probably relating to IDE and versions of board support packages.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                        1 Reply Last reply
                        0
                        • hekH Online
                          hekH Online
                          hek
                          Admin
                          wrote on last edited by
                          #34

                          @korttoma

                          1.5.3 in codebender compiles now.

                          They're only compatible with arduino IDE 1.0.5 currently. Which means they don't define ARDUINO_ARCH_AVR which MySensors relies on.

                          Patched the codebender library (manually defining this) as a workaround until they update their things.

                          1 Reply Last reply
                          1
                          • korttomaK Offline
                            korttomaK Offline
                            korttoma
                            Hero Member
                            wrote on last edited by
                            #35

                            @hek how do I Patch my copy of 1.5.3 or where can I download the Patched version? Seems like it is stil 1.4 that is used on codebender unless you upload your own version.

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


                            22

                            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