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. General Discussion
  3. Sending sleeping time to nodes

Sending sleeping time to nodes

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 1.7k Views 5 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.
  • D Offline
    D Offline
    dbo
    wrote on last edited by
    #1

    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 ?

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

      Maybe using smart sleep you can have the node process an incoming message when it wakes up, then in the message you could send a value and change the sleep time variable.

      1 Reply Last reply
      0
      • D dbo

        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 ?

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        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.

        D 1 Reply Last reply
        2
        • mfalkviddM mfalkvidd

          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.

          D Offline
          D Offline
          dbo
          wrote on last edited by
          #4

          @mfalkvidd Thanks. This is exactly what i needed.

          1 Reply Last reply
          1
          • K Offline
            K Offline
            kontrollable
            wrote on last edited by
            #5

            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.

            D 1 Reply Last reply
            1
            • K kontrollable

              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.

              D Offline
              D Offline
              dbo
              wrote on last edited by
              #6

              @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.

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              7

              Online

              12.0k

              Users

              11.2k

              Topics

              113.4k

              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