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. How data are coded to Controllers

How data are coded to Controllers

Scheduled Pinned Locked Moved Controllers
4 Posts 2 Posters 1.9k 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.
  • pliniosenioreP Offline
    pliniosenioreP Offline
    plinioseniore
    wrote on last edited by
    #1

    Hi,

    probably my question can be easily answered going in detail with documentation and examples, but I would like to collect information and share ideas with the goal of a comparison between MySensors and Souliss (an open source project where I'm involved in). The scope is understand how and if we can build mixed structure with MySensor and Souliss, just because both are great project and together can shine more.

    Let go to the question. How data are coded to a Controller? I saw that MySensor has support for a lot of controllers, that's very nice, but how a Controller known what is behind a node and how it control the node it self?

    An example makes easy to explain, consider a network with a Gateway and a Node with a simple ON/OFF light. Is the Controller able to fetch from the Node that he owns a light, once he know, is it able to control that light?
    Once coding the controller are you manually defining whatever is in your network, or is there a standard? Let say that I want to switch ON my light, all MySensor implementation use the same way to get the result?

    Hope that my question were clear enough, but I wasn't able to find an answer by self looking at the wiki.

    Regards,
    Dario.

    Souliss, Arduino and Android based SmartHome and IoT
    http://www.souliss.net
    @soulissteam

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

      The serial protocol is documented here:

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

      MQTT topics is coded similar.

      1 Reply Last reply
      0
      • pliniosenioreP Offline
        pliniosenioreP Offline
        plinioseniore
        wrote on last edited by
        #3

        Looks more clear now.

        Does the user need to list the devices (light, door, ...) in the Controller, or the Controller can get those directly form the nodes?

        From the protocol, I don't see support for multiple architecture or routing, is it?

        Thanks,
        Dario.

        Souliss, Arduino and Android based SmartHome and IoT
        http://www.souliss.net
        @soulissteam

        hekH 1 Reply Last reply
        0
        • pliniosenioreP plinioseniore

          Looks more clear now.

          Does the user need to list the devices (light, door, ...) in the Controller, or the Controller can get those directly form the nodes?

          From the protocol, I don't see support for multiple architecture or routing, is it?

          Thanks,
          Dario.

          hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @plinioseniore

          The nodes send one or more presentation messages (usually at startup) . It is up to the controller to use these as a hint on how to present the sensor/actuator information at a later stage.

          The serial protocol doesn't specify how the messages should get delivered to the final destination. It is possible to ask for an ack message though.

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


          23

          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