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. Controllers
  3. Node-RED
  4. Update my controller to MySensors 2.0

Update my controller to MySensors 2.0

Scheduled Pinned Locked Moved Node-RED
5 Posts 4 Posters 2.8k 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.
  • F Offline
    F Offline
    FotoFieber
    Hardware Contributor
    wrote on last edited by
    #1

    Updated my controller to MySensors 2.0.

    I switched to a serial gateway (no code changes needed, only added serial input and output to the flow), as handling one tcp channel is not as reliable, as I need it.

    Found some bugs, nobody reported.... (wrong IDs of V_ and S_) :smile:

    I really would like to post the code but....

    Please enter a shorter post. Posts can't be longer than 32767 character(s).
    

    If someone is interested, I will find a solution to post the code.

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

      If you find a bug in the nodered module, you should create a pull request to @tbowmo repository found here:

      https://github.com/tbowmo/node-red-contrib-mysensors

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tbowmo
        Admin
        wrote on last edited by
        #3

        @FotoFieber

        Just published a new module version, with the latest message ids added in mysensors 2.0.1 (dev branch)

        1 Reply Last reply
        0
        • F Offline
          F Offline
          FotoFieber
          Hardware Contributor
          wrote on last edited by
          #4

          It is my :smile: controller, not the module from tbowmo:

          https://forum.mysensors.org/topic/700/node-red-as-controller/28

          1 Reply Last reply
          0
          • rcaridadeR Offline
            rcaridadeR Offline
            rcaridade
            wrote on last edited by
            #5

            Hi,

            The code that is here:"https://github.com/tbowmo/node-red-contrib-mysensors" as a problem with latest mysensors with arduino 1.6.13 and NodeRed v0.15.02.

            These line:
            pl = msg.nodeId + ";" + msg.childSensorId + ";" + msg.messageType + ";" + msg.ack + ";" + msg.subType + ";" + msg.payload;

            Should be:
            pl = msg.nodeId + ";" + msg.childSensorId + ";" + msg.messageType + ";" + msg.ack + ";" + msg.subType + ";" + msg.payload + "\n";

            This way the message gets to the node, the first one doesn't get there.

            Thanks,
            Rui.

            1 Reply Last reply
            1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            16

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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