setup a peer to peer connection
-
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
-
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.
-
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.
-
Only during (re)configuration of nodes.
Suggested Topics
-
Controlling Blinds.com RF Dooya Motors with Arduino and Vera
My Project • 24 Mar 2014, 13:27 • petewill 12 Aug 2023, 16:39 -
ESP32 Wired (no WiFi)
Feature Requests • 15 Nov 2024, 10:39 • Marcin 29 days ago -
ESP32 with builtin Ethernet as Gateway - f.e. WT32-ETH01
Feature Requests • 15 Mar 2023, 15:01 • gryzli133 15 Mar 2023, 21:25 -
is there a solution for a relay with button that also works offline?
Feature Requests • 31 Mar 2023, 16:04 • Branther 4 Apr 2023, 11:37 -
debug serial gateway (homeassistant raspberry py 4)
Feature Requests • 2 May 2023, 09:01 • Branther 8 Jun 2023, 12:38 -
ota-configuration
Feature Requests • 8 Mar 2023, 09:28 • pbw 8 Mar 2023, 09:28