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. Some guidance neede...

Some guidance neede...

Scheduled Pinned Locked Moved Controllers
5 Posts 3 Posters 2.0k Views 2 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.
  • barduinoB Offline
    barduinoB Offline
    barduino
    wrote on last edited by barduino
    #1

    Hi Folks

    Let me start by showing some appreciation for this very, very cool library!!!
    You folks@MySensors ROCK!

    Since I've started with arduinos I wanted to go into Home Automation and this library just takes care of most of my needs.

    So, like some I've decided to create my own controller...

    Long story short, I've built a gateway, plugged it in a windows box, run a small nodeJs app which reads from serial and sends whatever gets there to a REST api on a PaaS development tool.

    I was able to use common sense and implemented some of the messages, did find the node 255, S_ARDUINO_RELAY (never saw a S_ARDUINO_NODE), etc....

    All good.

    But how can I be certain I'm implementing what it is supposed to be implemented? I dont want to rely on my common sense. Some of them I just dont have a clue, eg: FIND_PARENT, FIND_PARENT_RESPONSE and a few more...

    Where would I find the protocol documentation it self?

    Cheers

    1 Reply Last reply
    0
    • rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #2

      http://www.mysensors.org/download/serial_api_14

      http://www.mysensors.org/download/sensor_api_14

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • barduinoB Offline
        barduinoB Offline
        barduino
        wrote on last edited by
        #3

        I did go through those...

        It doesn't explain the protocol it self, it explains the api's.

        So for example what message is a node expecting after sending a message with a ack flag on?

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

          For a deeper knowledge, I suggest you open up the MySensors source code. It contains helpful comments.

          FIND_PARENT/ FIND_PARENT_RESPONSE is only used between nodes. The controller won't ever see those.

          1 Reply Last reply
          0
          • barduinoB Offline
            barduinoB Offline
            barduino
            wrote on last edited by
            #5

            Thanks hek, I'll look around the code.

            I've been also looking at the nodeJS controler on https://github.com/mysensors/Arduino/blob/development/NodeJsController/NodeJsController.js

            Cheers

            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