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. Development
  3. Reset node from gateway

Reset node from gateway

Scheduled Pinned Locked Moved Development
1 Posts 1 Posters 979 Views 2 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.
  • JapioJ Offline
    JapioJ Offline
    Japio
    Hardware Contributor
    wrote on last edited by
    #1

    Hi,

    As part of my ESP8266 MQTT gateway with web page project I added an overview of all presented nodes with timestamp of presentation and so forth. And a button to reset that specific node. Might come in handy for whatever reason.

    My code looks like this:

      MyMessage rstMsg(255, C_INTERNAL);
      mSetCommand(rstMsg, C_INTERNAL);
      rstMsg.type = I_REBOOT;
      rstMsg.destination = node;
    

    and the resulting info in the serial monitor is:

    0;255;3;0;9;TSF:MSG:SEND,0-0-20-20,s=255,c=1,t=13,pt=0,l=0,sg=0,ft=0,st=OK:
    

    But still the node does not reset (and send a new presentation packet) What am I doing wrong here?

    Note: This is for node 20, and I send the command to sensor 255 (arduino sensor)

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


    25

    Online

    11.7k

    Users

    11.2k

    Topics

    113.0k

    Posts


    Copyright 2019 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