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. Troubleshooting
  3. Skip presentation in case of missing radio comunication

Skip presentation in case of missing radio comunication

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 1.2k Views 3 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.
  • X Offline
    X Offline
    xefil
    wrote on last edited by
    #1

    Hello!

    AFAYK if a node boots and it's able to contact the gateway, it starts the loop() procedure.
    If the radio comunication gets interrupted, the internal procedures are processed anyway.
    It simply gives a fail during the send() command, but the rest works.

    What if the node fails to comunicate with the gateway from the boot?
    Isn't there a way to skip the boot procedure and let it try later but continue to process the loop()?

    The reason is I've a node with some logic inside. It works alone. No interraction from the controller is required. I use the controller to check the status of sensors but it should not stop to work if the radio comunication fails even at boot.

    Is there a way?

    Thanks!

    Simon

    1 Reply Last reply
    0
    • rejoe2R Offline
      rejoe2R Offline
      rejoe2
      wrote on last edited by
      #2

      Hello Simon,

      afaik it is the intention behind the option to define a MY_TRANSPORT_WAIT_READY_MS statement, see hek's post here: https://forum.mysensors.org/post/54403

      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

      1 Reply Last reply
      1
      • X Offline
        X Offline
        xefil
        wrote on last edited by
        #3

        Hello,

        Thanks for the answer.
        I've added the parameter, seems after 7 tries it starts the loop(), thanks!
        Is there a way to reduce the tries?
        I've set this but is ignored:

        MY_REGISTRATION_RETRIES 1
        

        Or seems it's used only after the first cycle of 7 retries.

        Thanks,

        Simon

        1 Reply Last reply
        0
        • rejoe2R Offline
          rejoe2R Offline
          rejoe2
          wrote on last edited by
          #4

          I am sorry, but I didn't analyse this feature in depth. For my personal application, it is sufficient when the node starts the loop(). How long this takes after power on is not too important. My nodes are set to 30, as far as I remember, so this seems not to be a digital option. Maybe, trying to rise this figure may lower the time?

          Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xefil
            wrote on last edited by
            #5

            Hello rejoe2
            I think it's enough for me as well for now.
            Thanks for the support! :)
            Simon

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


            15

            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