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. Start sketch without gateway registration

Start sketch without gateway registration

Scheduled Pinned Locked Moved Development
7 Posts 3 Posters 1.6k 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.
  • heyjay82H Offline
    heyjay82H Offline
    heyjay82
    wrote on last edited by
    #1

    Hi everyone!
    I have several sensors and some of them are quite autonomous. I mean they work without the absolute need of the mySensors layer.
    My problem is that at the start of the sketch, the node waits until the gateway is found but never start if no gateway found...
    So is there any possibility to start the node even if the gateway is not found after all the tries?
    I tried to disable the flag MY_REGISTRATION_FEATURE but it is probably aimed to something else...
    Thanks!

    mfalkviddM 1 Reply Last reply
    1
    • heyjay82H heyjay82

      Hi everyone!
      I have several sensors and some of them are quite autonomous. I mean they work without the absolute need of the mySensors layer.
      My problem is that at the start of the sketch, the node waits until the gateway is found but never start if no gateway found...
      So is there any possibility to start the node even if the gateway is not found after all the tries?
      I tried to disable the flag MY_REGISTRATION_FEATURE but it is probably aimed to something else...
      Thanks!

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

      @heyjay82 I think you are looking for MY_TRANSPORT_WAIT_READY_MS
      The forum has some good threads on this, for example
      https://forum.mysensors.org/topic/5745/my_transport_dont_care_mode/
      https://forum.mysensors.org/topic/6413/node-to-node-communication-fails-if-gateway-is-not-reachable/
      https://forum.mysensors.org/topic/6557/switch-is-not-working-when-gateway-is-unavailable/

      heyjay82H 1 Reply Last reply
      3
      • mfalkviddM mfalkvidd

        @heyjay82 I think you are looking for MY_TRANSPORT_WAIT_READY_MS
        The forum has some good threads on this, for example
        https://forum.mysensors.org/topic/5745/my_transport_dont_care_mode/
        https://forum.mysensors.org/topic/6413/node-to-node-communication-fails-if-gateway-is-not-reachable/
        https://forum.mysensors.org/topic/6557/switch-is-not-working-when-gateway-is-unavailable/

        heyjay82H Offline
        heyjay82H Offline
        heyjay82
        wrote on last edited by
        #3

        @mfalkvidd Thank you. Maybe this option can be added in the quick summary table of the config options in the api page since it seems this issue comes back quite often. I refer it regularly, it is very usefull for configuration.

        mfalkviddM 1 Reply Last reply
        1
        • heyjay82H heyjay82

          @mfalkvidd Thank you. Maybe this option can be added in the quick summary table of the config options in the api page since it seems this issue comes back quite often. I refer it regularly, it is very usefull for configuration.

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

          @heyjay82 good point. I have added it to the table at https://www.mysensors.org/view/167#configuration

          1 Reply Last reply
          0
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            Information is also available at https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/development/Doxygen_HTML/group__RoutingNodeSettingGrpPub.html#ga45b4f1c868b8cb5d7396cdfb4939559c (thanks to @Anticimex for his great job on getting the documentation into Doxygen and enabling guest access to Jenkins).

            In the future, we might remove the table and just use Doxygen, since keeping the table up to date requires tedious manual work.

            AnticimexA 1 Reply Last reply
            0
            • mfalkviddM mfalkvidd

              Information is also available at https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/development/Doxygen_HTML/group__RoutingNodeSettingGrpPub.html#ga45b4f1c868b8cb5d7396cdfb4939559c (thanks to @Anticimex for his great job on getting the documentation into Doxygen and enabling guest access to Jenkins).

              In the future, we might remove the table and just use Doxygen, since keeping the table up to date requires tedious manual work.

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #6

              @mfalkvidd even better, use https://www.mysensors.org/apidocs-beta/index.html for navigating documentation (in this case, the docs from the development branch). Use https://www.mysensors.org/apidocs/index.html for the released version.

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

              mfalkviddM 1 Reply Last reply
              0
              • AnticimexA Anticimex

                @mfalkvidd even better, use https://www.mysensors.org/apidocs-beta/index.html for navigating documentation (in this case, the docs from the development branch). Use https://www.mysensors.org/apidocs/index.html for the released version.

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

                @Anticimex cool, thanks! In that case the relevant link is https://www.mysensors.org/apidocs-beta/group__RoutingNodeSettingGrpPub.html#ga45b4f1c868b8cb5d7396cdfb4939559c

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


                20

                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