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. Issues with many sensors on one node

Issues with many sensors on one node

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

    I am using MySensors along with Vera to control all the lights in my house. This has lead to many sensors on a single Mega 2560 node. For example: 16 relays, 5 PWM LEDs, and a scene controller with 7 scenes.

    I've had a lot of problems where messages clobber each other, particularly when e.g. a scene is triggered that changes several of the relays or PWM LEDs. From what I can tell, when the gateway sends a command to change a light value, it requests an ACK in response. This causes the sensor node to reply back to each command. When many commands are sent in a row, these ACK messages end up (I think) colliding with the messages that the gateway is trying to send. This results in dropped commands that are never received by the sensor.

    An easy example is to create a scene in Vera that turns on all 16 relays. The first few commands make it to the sensor and their acknowledgements are sent back. The next few commands never make it to the sensor. Then a few more make it through.

    I had assumed that the MySensors library had some form of message queuing, but perhaps that is not the case? I never have any issues when just one command is sent (radio is very stable, etc.).

    In case you are curious, my code is here: https://github.com/TheOriginalAndrobot/Arduino_Projects/blob/master/Living_Room_Controller/Living_Room_Controller.ino

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

      No there is no queuing. Try delaying some of the actions in your vera scene.

      Screen Shot 2014-09-26 at 20.51.18.png

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


      11

      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