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. Troubleshooting
  3. Cannot remotely reboot a node

Cannot remotely reboot a node

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 3.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.
  • C Offline
    C Offline
    coldpower
    wrote on last edited by
    #1

    First of all - thanks a lot for the beatiful library!

    Here is my issue.
    Cannot restart node using MYSController_0_1_2_280.

    Is it only me who has such issue? Where to look in order to find source?

    Here is what i have done:

    • there is serial gateway connected to the computer and one node

    • added section to my arduino ide boards.txt

    • burned MYSBootloader.hex which came with MYSController as a bootloader

    • have uploaded DallasTemperatureSensor example to the node.

    • it seems working fine and sends data to the controlloer

    • it also gets some packets back from the controller;

    • made a minor modification to it to make it sending temperature every 10 seconds even if temperature was not changed and indicate (just print 'starting') the reboot;

    • it seems reporting fine to MYSController;

    • trying to reboot node from the MYSController, i.e. right click node -> click at 'reboot' menu item;

    • node does not restart and continue working;

    I tried to use bootloaders from the MySensor git repository (either Bootloader and MYSBootloader), but result is the same.

    Thanks a lot for the advice!

    tekkaT 1 Reply Last reply
    0
    • C coldpower

      First of all - thanks a lot for the beatiful library!

      Here is my issue.
      Cannot restart node using MYSController_0_1_2_280.

      Is it only me who has such issue? Where to look in order to find source?

      Here is what i have done:

      • there is serial gateway connected to the computer and one node

      • added section to my arduino ide boards.txt

      • burned MYSBootloader.hex which came with MYSController as a bootloader

      • have uploaded DallasTemperatureSensor example to the node.

      • it seems working fine and sends data to the controlloer

      • it also gets some packets back from the controller;

      • made a minor modification to it to make it sending temperature every 10 seconds even if temperature was not changed and indicate (just print 'starting') the reboot;

      • it seems reporting fine to MYSController;

      • trying to reboot node from the MYSController, i.e. right click node -> click at 'reboot' menu item;

      • node does not restart and continue working;

      I tried to use bootloaders from the MySensor git repository (either Bootloader and MYSBootloader), but result is the same.

      Thanks a lot for the advice!

      tekkaT Offline
      tekkaT Offline
      tekka
      Admin
      wrote on last edited by tekka
      #2

      @coldpower
      The node is sleeping during the majority of the time and doesn't process incoming commands.
      Substituting gw.sleep() with gw.wait() should do the trick (gw.wait() calls gw.process() while waiting).

      A second option for battery-powered sensors that saves battery life:

      • add gw.wait(200) after the last send command and keep gw.sleep()
      • in MYSController, select Battery powered in node properties

      What happens now: The node listens during 200ms for incoming commands and then goes to sleep. MYSController will send commands once it receives a message from the node.

      1 Reply Last reply
      1
      • C Offline
        C Offline
        coldpower
        wrote on last edited by
        #3

        I did not realize that sample is for battery powered node. Now it works fine, thank you for the advice!

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


        15

        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