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. Queued send commands?

Queued send commands?

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 1.0k Views 1 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.
  • G Offline
    G Offline
    gigaguy
    wrote on last edited by
    #1

    I use openhab and serial gw (ethernet component on its way). What is the best way to ensure a command gets sent if the node has a gw.wait or gw.sleep? I can see openhab sending the command, but if the node is sleeping it obviously doesnt get it.

    Could I just enable ack? would that force the gw to retry until it gets ack?

    Or should I just keep sending until I get the ack?

    TIA

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      gw.wait is ok. It keeps node awake and process incoming messages.

      If you sleep the node it becomes more complicated. You could send something to the controller when waking up (and keep the node awake for a short time to receive new commands). And the controller buffers outgoing commands until it receives this "woke-up-message".

      If you enable ack on outgoing commands from the controller (and the node is sleeping) you won't get and ack message back... which indicates the node is down or is sleeping.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      12

      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