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. MyController.org
  4. [SOLVED] Update Firmware - Not working, it seems?

[SOLVED] Update Firmware - Not working, it seems?

Scheduled Pinned Locked Moved MyController.org
4 Posts 2 Posters 2.0k 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.
  • S Offline
    S Offline
    Samuel235
    Hardware Contributor
    wrote on last edited by Samuel235
    #1

    I've added my node into MyController, it is running MYSBootloader with a example light sensor sketch on. Powered up and MyController has found it perfectly. So i assign it a firmware (after adding a firmware into the controller along with type and version) and then selected the node, then issued a firmware update command. However, it doesn't seem to be doing anything.

    The MyController resource logs are showing a single line with a "[Firmware config response] 01000100F00367F1" label. But after that the node keeps sending back the light level. I'm attempting to upload a relay sketch, so i know if the firmware has been sent or not.

    I have uploaded the "RelayActuator.ino.hex" file, not the "RelayActuator.ino.with_bootloader.hex", which one was i supposed to upload for firmware to MyController?

    I have changed a log line in the logback.xml file:

    <logger level="DEBUG" name="org.mycontroller.standalone.mysensors"/>
    

    with the hope that it would show me more info on the MyController GUI, but nothing.

    Am I doing something blatantly obvious that I can't see myself?

    MySensors 2.1.1
    Controller - OpenHAB (Virtual Machine)
    Gateway - Arduino Mega MQTT Gateway W5100

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Samuel235
      Hardware Contributor
      wrote on last edited by
      #2

      It successfully updates the firmware if i initiate a manual reboot. So, it would seem for some reason it is unable to send a reboot command to the node. It can communicate to the node because the firmware has been sent to it after a manual reboot, so i don't think the issue is the gateway not passing on a message to the node.

      MySensors 2.1.1
      Controller - OpenHAB (Virtual Machine)
      Gateway - Arduino Mega MQTT Gateway W5100

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kluszczyn
        wrote on last edited by
        #3

        Run command "Reboot" from MyController instead of "Upload firmware". Node will reboot and pick-up new firmware. I'm using MyController just for OTA updates (with MQTT gateway). Working like a charm!
        For monitoring MQTT messages I recommend mqtt-spy. Just subscribe for particular node and you will see update progress - gateway and node exchanging messages during OTA.

        MySensors 1.5 - 2.1.1
        MQTT Gateway based on Uno with W5100
        Openhab 2 & Node-Red

        S 1 Reply Last reply
        0
        • K kluszczyn

          Run command "Reboot" from MyController instead of "Upload firmware". Node will reboot and pick-up new firmware. I'm using MyController just for OTA updates (with MQTT gateway). Working like a charm!
          For monitoring MQTT messages I recommend mqtt-spy. Just subscribe for particular node and you will see update progress - gateway and node exchanging messages during OTA.

          S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by Samuel235
          #4

          @kluszczyn - I was doing that last night and it wasn't working. However, it has started to work this morning. I have no idea why it wasn't doing it last night (Probably user error, admittedly). I have the issue sorted this morning. Will update the title of this thread now. MODs are welcome to remove the post if needed.

          I personally use MQTT.fx to monitor my MQTT channels, just in case you ever needed to change for some reason or would like to check out the if it has any features you require.

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

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


          23

          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