i know that a controller is necessary and i have one running. So ID assignment und routing is working.
As i wrote I know that one node can send a message to another node and that is working so far.
I´m just interessted if it is possible for a node to listen for changes on another node.
Like the subscription-principle MQTT uses.
Posts made by pcs
-
RE: Can a Node subscribe to messages from another node?
-
Can a Node subscribe to messages from another node?
Hello,
i want to make a MySensors Network which handles simple tasks without an controller (but with an gateway).
I have a node with a button-sensor and a node with an lightactuator.
If i want to switch on the light with the button i can send a MyMessage direct to the node with the lightsenor.But is it also possible for the node with the lightactuator to "subscribe" to the buttonnode?
The buttonnode sends (if not specified else) its message to the gatewaynode.
Technically also the lightnode see´s this message and should be able to react.
(I know if there are repeaternodes involved it´s not that simple - but we can ignore this)Is it possible to implement this idea with MySensors?
Kind regards
pcs -
RE: MySensors Library for Energia (MSP430 Launchpad) ?
i have put my code on github.
have a look at
https://github.com/pcsquirrel/mysensors_msp430and see Readme for details.
P.S. MSP430G2452 is not supported
PCS
-
RE: MySensors Library for Energia (MSP430 Launchpad) ?
Hi,
i have played arround with the mysensors library on the MSP430 Launchpads.
First - it is possible, but:
- Only as SensorNode and not as gateway
- at least 8KB of Flash - the library needs 7KB without any serial port stuff
so there is a little space left for the core sensor handling
becaus of the flash requirenment there are 2 main µc left:
MSP430G2452 with 8KB Flash
MSP430G2553 with 16KB FlashAt the moment my Sensornode is running an the MSP430G2553 because of the serial debugging.
I was able to compile for G2452 but haven´t tried yet.A little bit of mofification in the mysensors code was necessary, but nothing heavy.
i can share it, but its a rellay "hacked" at the moment - not really well done (no defines, macros, ....)
pcs