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. The gateway mqtt restarts when the node is absent

The gateway mqtt restarts when the node is absent

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 5 Posters 2.8k Views 5 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.
  • M Offline
    M Offline
    miclane
    wrote on last edited by
    #6

    Arduino IDE : 1.8.2
    API MySensors : 2. 1. 1

    I rephrase my question:

    When the remote node is powered on, the gateway receives the MQTT message and transmits it to the node. It's OK.

    When the remote node is not powered on, the gateway receives the message MQTT but reboots immediately.
    It would seem that the remote node not powered up disturbs the gateway.

    Thank you.

    1 Reply Last reply
    0
    • rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #7

      Yeah, and what seems to be is almost never what it actually is ;)

      1 Reply Last reply
      0
      • rozpruwaczR Offline
        rozpruwaczR Offline
        rozpruwacz
        wrote on last edited by
        #8

        Oh, and my suspicion is that the gateway send much more packets when node is not responding which make it consume more power and this couses the voltage to drop and restarts the gateway.

        rejoe2R 1 Reply Last reply
        1
        • rozpruwaczR rozpruwacz

          Oh, and my suspicion is that the gateway send much more packets when node is not responding which make it consume more power and this couses the voltage to drop and restarts the gateway.

          rejoe2R Offline
          rejoe2R Offline
          rejoe2
          wrote on last edited by
          #9

          @rozpruwacz said in The gateway mqtt restarts when the node is absent:

          Oh, and my suspicion is that the gateway send much more packets when node is not responding which make it consume more power and this couses the voltage to drop and restarts the gateway.

          This sounds also logic to me.

          Wrt. to the Point Board-Def:
          1.8.2 is the IDE Version, but not the relevant Board Def. version. As already mentionned, to get this info you have to look inside the board manager (should be in tools menue).

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            miclane
            wrote on last edited by
            #10

            Maybe that's the explanation ...
            My gateway is mains powered with 9V and 500mA power.

            Nobody found this problem?

            It is true that a node relay type should normally be always powered if you want to control ...

            I will see if I can test with a more powerful diet.
            Thank you.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              miclane
              wrote on last edited by
              #11

              Board def :

              BN: Carte inconnue
              VID: 1A86
              PID: 7523
              SN: Envoyez un croquis pour l'obtenir

              rejoe2R 1 Reply Last reply
              0
              • M miclane

                Board def :

                BN: Carte inconnue
                VID: 1A86
                PID: 7523
                SN: Envoyez un croquis pour l'obtenir

                rejoe2R Offline
                rejoe2R Offline
                rejoe2
                wrote on last edited by
                #12

                @miclane said in The gateway mqtt restarts when the node is absent:

                Board def :

                BN: Carte inconnue
                VID: 1A86
                PID: 7523
                SN: Envoyez un croquis pour l'obtenir

                This is also not what I ment. Please click "Tools > Board > Board Manager" and then look for the Uno (or whatever you have chosen as target for compiling). Pictures you may find here: https://learn.sparkfun.com/pages/CustomBoardsArduino

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

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  miclane
                  wrote on last edited by
                  #13

                  Arduino AVR Boards Built-In by Arduino version 1.6.18

                  zboblamontZ 1 Reply Last reply
                  0
                  • M miclane

                    Arduino AVR Boards Built-In by Arduino version 1.6.18

                    zboblamontZ Offline
                    zboblamontZ Offline
                    zboblamont
                    wrote on last edited by
                    #14

                    @miclane ![alt text](0_1512066961355_upload-eea51e95-1285-485f-842e-1e70998b00b5 image url)

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      miclane
                      wrote on last edited by
                      #15

                      Arduino/Genuino Uno :blush:

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        miclane
                        wrote on last edited by
                        #16

                        The 2.2.0-rc.1 version in development seems to solve the problem.
                        See also the message : https://forum.mysensors.org/topic/6684/serial-gateway-restarting/30
                        Can you explain the change in the new version?
                        Thank you.

                        1 Reply Last reply
                        1
                        • M Offline
                          M Offline
                          Manuel Bardea
                          wrote on last edited by
                          #17

                          I had the gateway reboot problem since 2.1.1. After initial startup, the gateway would keep rebooting after receiving messages from nodes. After a while it seems to stabilize.

                          I tried 2.2.0-rc.1 as you suggested and I don't see that problem any more. Thank you!

                          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