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. Development
  3. [SOLVED] Gateway without radio not working on current development branch

[SOLVED] Gateway without radio not working on current development branch

Scheduled Pinned Locked Moved Development
21 Posts 8 Posters 5.1k Views 6 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.
  • jsiddallJ Offline
    jsiddallJ Offline
    jsiddall
    Plugin Developer
    wrote on last edited by Yveaux
    #1

    I have seen a number of posts from people who have their gateways working without radios. I need this for a remote Ethernet gateway which has local sensors but does not need to talk to any radio nodes.

    From what I have read running without a radio is as simple as commenting all the defines for the radios. Ex:

    // Enable and select radio type attached
    //#define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69

    However, when I do this and compile I get these errors:

    sketch/GatewayW5100.ino.cpp.o: In function sendHeartbeat()': /Software/Arduino/MySensors/libraries/MySensors/core/MySensorsCore.cpp:276: undefined reference to transportGetHeartbeat()'
    collect2: error: ld returned 1 exit status
    exit status 1
    Error compiling for board Arduino/Genuino Uno.

    If I leave the radio defined but not connected it compiles fine but I get runtime errors due to the missing radio and the gateway seems to be continually restarting:

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;!TSM:RADIO:FAIL
    0;255;3;0;9;!TSM:FAILURE
    0;255;3;0;9;TSM:PDT
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;!TSM:RADIO:FAIL
    0;255;3;0;9;!TSM:FAILURE
    0;255;3;0;9;TSM:PDT
    ...

    Any ideas how I can get a gateway without radio working?

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

      Probably some regression. We should probably introduce some new test-sketch with radio disabled to test this during CI.

      jsiddallJ 1 Reply Last reply
      1
      • hekH hek

        Probably some regression. We should probably introduce some new test-sketch with radio disabled to test this during CI.

        jsiddallJ Offline
        jsiddallJ Offline
        jsiddall
        Plugin Developer
        wrote on last edited by
        #3

        Thanks for the insight @hek. So not really knowing anything about GIT is there an easy way I can grab a snapshot of the development branch from some point in the past where this was working? Any ideas how recently that might have been?

        Also, should I report this as a bug somewhere?

        Any pointers would be appreciated.

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

          It'll be patched soon.

          1 Reply Last reply
          0
          • jsiddallJ Offline
            jsiddallJ Offline
            jsiddall
            Plugin Developer
            wrote on last edited by
            #5

            Great, thanks!

            tekkaT 1 Reply Last reply
            0
            • jsiddallJ jsiddall

              Great, thanks!

              tekkaT Offline
              tekkaT Offline
              tekka
              Admin
              wrote on last edited by
              #6

              @jsiddall has been addressed in PR#502.

              jsiddallJ 1 Reply Last reply
              1
              • tekkaT tekka

                @jsiddall has been addressed in PR#502.

                jsiddallJ Offline
                jsiddallJ Offline
                jsiddall
                Plugin Developer
                wrote on last edited by
                #7

                @tekka: TYVM. Tested the fix and it works great, no errors.

                1 Reply Last reply
                1
                • skatunS Offline
                  skatunS Offline
                  skatun
                  wrote on last edited by
                  #8

                  Fyi, I had same problem with serial gateway. I guess that is fixed now aswell as the ethernet gateway?

                  jsiddallJ 1 Reply Last reply
                  0
                  • skatunS skatun

                    Fyi, I had same problem with serial gateway. I guess that is fixed now aswell as the ethernet gateway?

                    jsiddallJ Offline
                    jsiddallJ Offline
                    jsiddall
                    Plugin Developer
                    wrote on last edited by
                    #9

                    @skatun said:

                    Fyi, I had same problem with serial gateway. I guess that is fixed now aswell as the ethernet gateway?

                    Yes, I have tested both serial and ethernet gateways and both work now.

                    1 Reply Last reply
                    0
                    • skatunS Offline
                      skatunS Offline
                      skatun
                      wrote on last edited by
                      #10

                      Is there a smarter way to upgrade the development version on windows instead of download zip file-> extract it-> replace files? Also how can I find out if its outdated or not? I am going to download the new version now to see if the patch works and hence I were wondering the best way to do so:)

                      RFM69R mfalkviddM 2 Replies Last reply
                      0
                      • skatunS skatun

                        Is there a smarter way to upgrade the development version on windows instead of download zip file-> extract it-> replace files? Also how can I find out if its outdated or not? I am going to download the new version now to see if the patch works and hence I were wondering the best way to do so:)

                        RFM69R Offline
                        RFM69R Offline
                        RFM69
                        wrote on last edited by
                        #11

                        @skatun Can you use git, not an expert... but I think thats the way to go... :)

                        1 Reply Last reply
                        0
                        • skatunS skatun

                          Is there a smarter way to upgrade the development version on windows instead of download zip file-> extract it-> replace files? Also how can I find out if its outdated or not? I am going to download the new version now to see if the patch works and hence I were wondering the best way to do so:)

                          mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by
                          #12

                          @skatun said:

                          Is there a smarter way to upgrade the development version on windows instead of download zip file-> extract it-> replace files? Also how can I find out if its outdated or not? I am going to download the new version now to see if the patch works and hence I were wondering the best way to do so:)

                          Yes. Delete the old version first. Then extract (no need to replace since the old files have been deleted)

                          Otherwise you'll most likely get compile errors.

                          skatunS 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @skatun said:

                            Is there a smarter way to upgrade the development version on windows instead of download zip file-> extract it-> replace files? Also how can I find out if its outdated or not? I am going to download the new version now to see if the patch works and hence I were wondering the best way to do so:)

                            Yes. Delete the old version first. Then extract (no need to replace since the old files have been deleted)

                            Otherwise you'll most likely get compile errors.

                            skatunS Offline
                            skatunS Offline
                            skatun
                            wrote on last edited by
                            #13

                            @mfalkvidd

                            On windows 7 it ask me to replace files with new one, when I click yes, everything works fine. The main issue is to detect when new files are available and then do the update. These days I keep downloading the development branch around once a month to make sure I am not working on to old versions.

                            mfalkviddM 1 Reply Last reply
                            0
                            • skatunS skatun

                              @mfalkvidd

                              On windows 7 it ask me to replace files with new one, when I click yes, everything works fine. The main issue is to detect when new files are available and then do the update. These days I keep downloading the development branch around once a month to make sure I am not working on to old versions.

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by
                              #14

                              @skatun yes, that method will work if you are lucky. But if a file has been renamed or something similar you will get warnings and/or errors. Better to delete the old library first.

                              1 Reply Last reply
                              0
                              • chrlyraC Offline
                                chrlyraC Offline
                                chrlyra
                                wrote on last edited by
                                #15

                                Hi,

                                I have the same situation here, I mean, serial gateway with local sensors and no radio. But I'd like to use the 1.5 version as I'm not sure with the new one is compatible with homeassistant. Is this fix only to 2.0 branch?

                                skatunS martinhjelmareM jsiddallJ 3 Replies Last reply
                                0
                                • chrlyraC chrlyra

                                  Hi,

                                  I have the same situation here, I mean, serial gateway with local sensors and no radio. But I'd like to use the 1.5 version as I'm not sure with the new one is compatible with homeassistant. Is this fix only to 2.0 branch?

                                  skatunS Offline
                                  skatunS Offline
                                  skatun
                                  wrote on last edited by
                                  #16

                                  @chrlyra
                                  If I am not completely wrong, this fix is only to 2.0

                                  1 Reply Last reply
                                  0
                                  • chrlyraC chrlyra

                                    Hi,

                                    I have the same situation here, I mean, serial gateway with local sensors and no radio. But I'd like to use the 1.5 version as I'm not sure with the new one is compatible with homeassistant. Is this fix only to 2.0 branch?

                                    martinhjelmareM Offline
                                    martinhjelmareM Offline
                                    martinhjelmare
                                    Plugin Developer
                                    wrote on last edited by
                                    #17

                                    @chrlyra

                                    Version 2.0 of the mysensors library should be compatible with home assistant, but the new sensor s_types and v_types are not yet supported. I'm working on this.

                                    1 Reply Last reply
                                    0
                                    • chrlyraC chrlyra

                                      Hi,

                                      I have the same situation here, I mean, serial gateway with local sensors and no radio. But I'd like to use the 1.5 version as I'm not sure with the new one is compatible with homeassistant. Is this fix only to 2.0 branch?

                                      jsiddallJ Offline
                                      jsiddallJ Offline
                                      jsiddall
                                      Plugin Developer
                                      wrote on last edited by
                                      #18

                                      @chrlyra: I don't think local sensors are in the main branch so you need development for that

                                      martinhjelmareM 1 Reply Last reply
                                      0
                                      • jsiddallJ jsiddall

                                        @chrlyra: I don't think local sensors are in the main branch so you need development for that

                                        martinhjelmareM Offline
                                        martinhjelmareM Offline
                                        martinhjelmare
                                        Plugin Developer
                                        wrote on last edited by martinhjelmare
                                        #19

                                        @jsiddall

                                        Version 2.0, which was just released, supports local sensors on gateway, ie you should not need dev branch anymore for that feature.

                                        jsiddallJ 1 Reply Last reply
                                        0
                                        • martinhjelmareM martinhjelmare

                                          @jsiddall

                                          Version 2.0, which was just released, supports local sensors on gateway, ie you should not need dev branch anymore for that feature.

                                          jsiddallJ Offline
                                          jsiddallJ Offline
                                          jsiddall
                                          Plugin Developer
                                          wrote on last edited by
                                          #20

                                          @martinhjelmare: right you are. I didn't realize 2.0 was out. I guess my post would have made more sense 4 days ago!

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


                                          9

                                          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