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. MySensor gateway + Vera suddenly acting up (packet flooding)

MySensor gateway + Vera suddenly acting up (packet flooding)

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.0k Views 1 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
    Muxje
    wrote on last edited by
    #1

    I have a MySensor network with 4 nodes (3 window openers and 1 node to monitor a doorlock, rain, and temperature), using an Ethernet Arduino as a gateway, and the MySensors plugin on a Vera (UI5). This setup has worked flawlessly for about 6 months. No downtime, no resets required, no transmission or range issues, and instant response.

    This week, one of the nodes stopped responding. As it turns out, that Arduino had somehow forgotten its sketch, and reverted to the default sketch (blinking light). I reloaded the correct sketch into the node, and after that it was working again. The node appears to have retained its settings, and no re-inclusion into the MS network was necessary.

    Soon after that, everything stopped working correctly. Symptoms:

    • Nodes no longer responding to commands from Vera.
    • Vera no longer receiving temperature and status updates.
    • Resetting the Gateway and Vera seems to fix things for a short while. Soon after a reset, the nodes will respond only intermittently and/or after a delay.
    • After a reset, the Rcv led on the Gateway will sometimes blink for minutes on end. When reading the serial port I can see hundreds of packets coming in. During this flood, transmissions may or may not work.

    All nodes and gateway running the 1.4 MS sketches.

    It seems one node is responsible for the network flooding. It's the node with the rain sensor, having another node as parent. The sketch for that node already has flood control built in (rain sensors have a tendency to rapidly flip between states), and the Tx led on that node shows that the high level code is not actively making transmissions (not sure about the low level MS network libraries though). If I do make the node send an update (by opening / closing the lock for instance), the node shows a successful transmission.

    Unplugging this node returns the rest of the network to a working state.

    What could be causing this network flooding? As I've already established, there's nothing in my code that causes a multitude of packets to be sent. Could it be an issue with the mesh network? I've no idea how to diagnose the issue much less repair it.

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

      A broken eeprom on one node cold mess upp routing?
      A NRF-radio going crazy?

      Hard to say... Not sure why it would result in flooding though.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Muxje
        wrote on last edited by
        #3

        After looking at the flood of packets more closely, it turns out it was a combination of factors: a faulty IR sensor in the lock caused rapid flipping of the sensor's state, and the flood control timeout was set to 0...

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


        14

        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