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. Feature Requests
  3. setup a peer to peer connection

setup a peer to peer connection

Scheduled Pinned Locked Moved Feature Requests
4 Posts 2 Posters 1.8k 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.
  • F Offline
    F Offline
    freeck
    wrote on last edited by
    #1

    Mysensors is a great project!!
    However having built a few motion-sensors and a actuator (part of a building monitoring system), I encountered a missing function. With the master/slave concept used by Mysensors, one introduces 2 single point of failure, ie the gateway and the controller. So my question is how to set up a peer to peer connections between in my case, 1 or more motion sensors with 1or more actuators?
    Programmaticaly I know how to implement that, but that implies that I have to change the programme of each node.....which is from a maintenance/configuration management perspective a nightmare...

    Would it be an idea to extend the management function of the gateway with a function to set up a node to node (or many nodes) connection? I have more wishes, but this is my top priority wish😁

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

      MySensors support sending node-to-node messages. See https://codebender.cc/example/MySensor/PingPongSensor#PingPongSensor.ino for an example. It would be possible to let the controller manage lists of nodes using V_TEXT messages (available in the development version of MySensors) or S_CUSTOM with V_VARx - but that would mean that the controller has to be available when requesting the configuration.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freeck
        wrote on last edited by freeck
        #3

        Thanks for the quick response!
        The ping-pong sketch is more or less the same as what I implemented.
        What do you mean by "that the controller has to be available when requesting the configuration"? At all times, or only once during the configuration of the nodes (which is not a problem) ?
        Great that the development version supports a function to support/enable remote configuration, I will look into it asap.

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

          Only during (re)configuration of nodes.

          1 Reply Last reply
          0
          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