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. Controllers
  3. MYSController OTA update battery sensor that has no gw.wait(); at the end

MYSController OTA update battery sensor that has no gw.wait(); at the end

Scheduled Pinned Locked Moved Controllers
myscontroller
3 Posts 2 Posters 1.9k 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.
  • D Offline
    D Offline
    dakipro
    wrote on last edited by
    #1

    Hi, I am using OTA and have a few sensors, but on the last node I forgot to add gw.wait(200); after gw.send();
    This now leads to me not being able to update the node OTA, and I have unfortunately "sealed" the arduino and it would be quite difficult to get physically to the node.
    I tried rebooting the node manually, marking all sort of things in the MysController, but I cannot get the node to start receiving the new firmware over the air.

    Any tips or procedures about how to "get" the node to accept new firmware over the air?

    C: OpenHAB2 with node-red on linux laptop
    GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
    GW: Arduino Mega, RFLink 433Mhz

    tekkaT 1 Reply Last reply
    0
    • D dakipro

      Hi, I am using OTA and have a few sensors, but on the last node I forgot to add gw.wait(200); after gw.send();
      This now leads to me not being able to update the node OTA, and I have unfortunately "sealed" the arduino and it would be quite difficult to get physically to the node.
      I tried rebooting the node manually, marking all sort of things in the MysController, but I cannot get the node to start receiving the new firmware over the air.

      Any tips or procedures about how to "get" the node to accept new firmware over the air?

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

      @dakipro I'm afraid, the only option is to power-cycle the node since your sketch won't wait for incoming commands.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dakipro
        wrote on last edited by
        #3

        Powering sketch off and on again began the "booting-upgrading procedure".
        Which unfortunately got messed up somehow (I suspect some other node on the network was interrupting constantly). Node suddenly not visible to the mysensors network, restarting or rebooting, it didn't start. probably i messed up the loader or something, don't know how I did it.
        I however managed to access the board and reflash mysbootloader and then was able to upload sketch with the wait() at the end. This update process was stuck in the loop, but then I turned off some of the universal sensor nodes, the update finished successfully.

        Not sure how, but I keep messing things up somehow, good news is that eventually I learn a bit more each time :)

        Thanks for the help

        C: OpenHAB2 with node-red on linux laptop
        GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
        GW: Arduino Mega, RFLink 433Mhz

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


        32

        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