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. Problem with sending 3 messages at once to one node

Problem with sending 3 messages at once to one node

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 950 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.
  • C Offline
    C Offline
    catcher
    wrote on last edited by catcher
    #1

    Hi,

    Need help with troubleshooting.

    My situation:

    • MySensors protocol version 1.5
    • serial gateway (connected to RaspbrryPI)
    • 1 node controlling lights with relays (4 realys and 4 push buttons - light can be turn on with pushbutton and with a mysensors network + when using pushbuttons message about light state is generated to mysensors network) - (source code)

    Problem:
    When I'm trying to send 3 messages about turning on 3 lights node turn on only 2 lights.
    Sometimes it turn on 3 but very very rare.
    I'm using NodeRED, but also testing with simple python script (link) with the same result.

    Do you have any idea what can cause such symptoms? Where and how to start troubleshoot?

    Thanks in advance.

    Regards,
    Michal

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Start looking at the debug output for the gateway and the node. They will give information whether the messages got through or not. Detailed information is available at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help

      If you get st=fail the message didn't get through. This is most often caused by power issues. See the link above for details on how to troubleshoot power issues.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        boozz
        wrote on last edited by
        #3

        Hi Catcher,

        IMHO it seems a bit odd to send 3 messages for turning on 3 lights connected to 1 node. Why not send a message that sends a byte in which the combination of the lights is set. 8 bits (1byte) can control 8 lights.

        As @mfalkvidd also says, look at the debug to see if you have messages that couldn't be delivered.

        Good luck,

        Boozz

        C 1 Reply Last reply
        0
        • B boozz

          Hi Catcher,

          IMHO it seems a bit odd to send 3 messages for turning on 3 lights connected to 1 node. Why not send a message that sends a byte in which the combination of the lights is set. 8 bits (1byte) can control 8 lights.

          As @mfalkvidd also says, look at the debug to see if you have messages that couldn't be delivered.

          Good luck,

          Boozz

          C Offline
          C Offline
          catcher
          wrote on last edited by
          #4

          @boozz I see your point, maybe I'll do this as you suggest - bit codding.
          My thinking was due to way how I want to do this in Node-RED:alt text

          @mfalkvidd I didn't check this yet, but rememebr that noticed messages st=fail earlier, but I'm using power supply 2.5A, so this should be enough, but will check this once again. And go through the debug guide.

          Anyway thanks guys for help.

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


          20

          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