Sending sleeping time to nodes
-
Is it possible to send a variable from a controller or gateway to the node ? Sometime I want to change a sleeping time of my nodes. Can I do it without uploading new sketch ?
Welcome to the MySensors community @dbo !
The excellent NodeManager by community member @user2684 supports configuring sleep time from the controller. See https://forum.mysensors.org/topic/6183/nodemanager-plugin-for-a-rapid-development-of-battery-powered-sensors/ and https://github.com/mysensors/NodeManager for more information.
-
Welcome to the MySensors community @dbo !
The excellent NodeManager by community member @user2684 supports configuring sleep time from the controller. See https://forum.mysensors.org/topic/6183/nodemanager-plugin-for-a-rapid-development-of-battery-powered-sensors/ and https://github.com/mysensors/NodeManager for more information.
@mfalkvidd Thanks. This is exactly what i needed.
-
If you would like to try something simple and you happen to use a serial gateway. You can just write to the USB port of the GW.
For example like this:
$ echo -n "1;1;1;0;24;SP=20.0\n" > /dev/ttyUSB0
See https://www.mysensors.org/download/serial_api_20 for API
node-id;child-sensor-id;command;ack;type;payload\n
The sketch for the receiving node need to "receive" V_VAR1 in this case. -
If you would like to try something simple and you happen to use a serial gateway. You can just write to the USB port of the GW.
For example like this:
$ echo -n "1;1;1;0;24;SP=20.0\n" > /dev/ttyUSB0
See https://www.mysensors.org/download/serial_api_20 for API
node-id;child-sensor-id;command;ack;type;payload\n
The sketch for the receiving node need to "receive" V_VAR1 in this case.@kontrollable said in Sending sleeping time to nodes:
he sketch for the receiving node need to "receive" V_VAR1 in this case.
Thanks, I will try.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login