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. Gateway stops sending data to controller...

Gateway stops sending data to controller...

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 1.1k 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.
  • skywatchS Offline
    skywatchS Offline
    skywatch
    wrote on last edited by skywatch
    #1

    Hello,

    I have been having a recurring problem where the GW simply does not seem to send data to the controller.

    I have tried 3 different pro mini (3,3V 8MHz) as the GW (this serially connected to the pi with the mysensors 2.3.0 gateway sketch on), replaced all cables, built several 3.3V DC regulator boards (662k and ams1117), replaced the pi3, replaced the radio modules (all have caps fitted), replaced the SD card three times with the last 2 being brand new cards.

    The other symptom I get is that the node ID is occasionally corrupted in the controller logs. It just contains junk characters (sometimes quite a few of them!). Again maybe part of the problem or another issue altogether.

    Example is last night. At 21.30 GW was sending data from all nodes to controller, at 22:50 I get 1 'junk' node id and then at 23:45 no more data from any nodes for 10 hours. The junk node ID characters appear on the server logs of mycontroller.

    It happens randomly, sometimes a reboot of the pi will cure it, other times I need to power off the pi completely and re-start before the data returns.

    The only other thing running on the pi is a small python script to control fan speed via gpio pwm pin. It's only a small dc fan to keep the pi cool.

    Has anyone any suggestions as to what to try next? It's really getting to me now!

    Thanks.

    tekkaT 1 Reply Last reply
    0
    • skywatchS skywatch

      Hello,

      I have been having a recurring problem where the GW simply does not seem to send data to the controller.

      I have tried 3 different pro mini (3,3V 8MHz) as the GW (this serially connected to the pi with the mysensors 2.3.0 gateway sketch on), replaced all cables, built several 3.3V DC regulator boards (662k and ams1117), replaced the pi3, replaced the radio modules (all have caps fitted), replaced the SD card three times with the last 2 being brand new cards.

      The other symptom I get is that the node ID is occasionally corrupted in the controller logs. It just contains junk characters (sometimes quite a few of them!). Again maybe part of the problem or another issue altogether.

      Example is last night. At 21.30 GW was sending data from all nodes to controller, at 22:50 I get 1 'junk' node id and then at 23:45 no more data from any nodes for 10 hours. The junk node ID characters appear on the server logs of mycontroller.

      It happens randomly, sometimes a reboot of the pi will cure it, other times I need to power off the pi completely and re-start before the data returns.

      The only other thing running on the pi is a small python script to control fan speed via gpio pwm pin. It's only a small dc fan to keep the pi cool.

      Has anyone any suggestions as to what to try next? It's really getting to me now!

      Thanks.

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

      @skywatch A good starting point for troubleshooting is posting all relevant logs, i.e. from your controller and serial debug logs of affected nodes.

      skywatchS 1 Reply Last reply
      0
      • tekkaT tekka

        @skywatch A good starting point for troubleshooting is posting all relevant logs, i.e. from your controller and serial debug logs of affected nodes.

        skywatchS Offline
        skywatchS Offline
        skywatch
        wrote on last edited by
        #3

        @tekka Thanks for the reply - there was nothing at all in the mycontroller server log at the time the data simply stopped flowing - all nodes are affecte and all stopped at the same time. So I am guessing it is a GW problem, but I can't monitor that while it is plugged into the pi, can I?

        Cheers!

        1 Reply Last reply
        0
        • electrikE Offline
          electrikE Offline
          electrik
          wrote on last edited by
          #4

          Did you try without the fan? Maybe that creates noise on the power supply causing strange effects.

          skywatchS 1 Reply Last reply
          0
          • electrikE electrik

            Did you try without the fan? Maybe that creates noise on the power supply causing strange effects.

            skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by
            #5

            @electrik I can try that, but I have 6xpi with small fan and no problems at all. There are capacitors to help with any issues, but I will power down before bed tonight and remove fan connections and disable the python script and see how it goes....As you can see, I really have given it all a lot of thought and effort and that is why this mystery is bugging me!

            1 Reply Last reply
            0
            • skywatchS Offline
              skywatchS Offline
              skywatch
              wrote on last edited by skywatch
              #6

              Disconnecting the fan made no difference.

              The pi now has a huge heatsink as well. I even added a clip on ferrite choke on the usb power cable as well, but it still seems the gateway just stops sending data to the controller.

              The controller still gets all pi internal data so not the controller hanging - and nothing in the controller logs either, which points toward the GW being the culprit.

              Does a pro mini retain any log info when disconnected from the system and connected to a PC? THat's the only way to really get any idea I think.....

              Anyone have any ideas?

              skywatchS 1 Reply Last reply
              0
              • skywatchS skywatch

                Disconnecting the fan made no difference.

                The pi now has a huge heatsink as well. I even added a clip on ferrite choke on the usb power cable as well, but it still seems the gateway just stops sending data to the controller.

                The controller still gets all pi internal data so not the controller hanging - and nothing in the controller logs either, which points toward the GW being the culprit.

                Does a pro mini retain any log info when disconnected from the system and connected to a PC? THat's the only way to really get any idea I think.....

                Anyone have any ideas?

                skywatchS Offline
                skywatchS Offline
                skywatch
                wrote on last edited by
                #7

                @skywatch Turns out that the Rpi 3B has a 'interesting' serial implementation. It seems that this was the issue with 99% of the problems I was experiencing.

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


                16

                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