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. OTA FW on Repeater Nodes???

OTA FW on Repeater Nodes???

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 3 Posters 6.3k Views 5 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.
  • O Offline
    O Offline
    Oitzu
    wrote on last edited by
    #7

    If you still have access to the node you could try to add wdt_reset(); in the beginning of the setup function.

    R 1 Reply Last reply
    0
    • O Oitzu

      If you still have access to the node you could try to add wdt_reset(); in the beginning of the setup function.

      R Offline
      R Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #8

      @Oitzu , sure I will try it, but only in two weeks. Thanks for the hint!

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • R rvendrame

        Hello everyone,

        I recently enabled repeater function in one of my nodes, and now when I try to update its firmware OTA with MYSController, instead the regular FW update messages, I get thousands of this:

        Captura de tela 2015-10-27 14.02.02.png

        Captura de tela 2015-10-27 14.05.58.png

        The GW is on latest 1.5 master branch version.

        The repeater node is also on 1.5, but a bit lower (I installed it ~4 month ago I think)
        Captura de tela 2015-10-27 14.07.14.png

        I'm using latest 0.1.2.282 MYSController.

        Any ideia about what can be wrong? I rebooted the node after 20k+ messages, it started normally and is responding fine, tough it still not up-to-date.

        I'm sure I was able to OTA-update it before switching repeater ON...

        Help!

        T Offline
        T Offline
        tekka
        Admin
        wrote on last edited by
        #9

        @rvendrame said:

        Hello everyone,

        I recently enabled repeater function in one of my nodes, and now when I try to update its firmware OTA with MYSController, instead the regular FW update messages, I get thousands of this:

        Which board / bootloader? Sensebender or regular Arduino with MYSBootloader?

        R 1 Reply Last reply
        0
        • T tekka

          @rvendrame said:

          Hello everyone,

          I recently enabled repeater function in one of my nodes, and now when I try to update its firmware OTA with MYSController, instead the regular FW update messages, I get thousands of this:

          Which board / bootloader? Sensebender or regular Arduino with MYSBootloader?

          R Offline
          R Offline
          rvendrame
          Hero Member
          wrote on last edited by
          #10

          @tekka , regular Arduino (pro-mini clone) with MYSBootloader.

          Home Assistant / Vera Plus UI7
          ESP8266 GW + mySensors 2.3.2
          Alexa / Google Home

          T 1 Reply Last reply
          0
          • R rvendrame

            @tekka , regular Arduino (pro-mini clone) with MYSBootloader.

            T Offline
            T Offline
            tekka
            Admin
            wrote on last edited by
            #11

            @rvendrame can you upload the MYSController log?

            R 1 Reply Last reply
            0
            • T tekka

              @rvendrame can you upload the MYSController log?

              R Offline
              R Offline
              rvendrame
              Hero Member
              wrote on last edited by rvendrame
              #12

              @tekka , the begin of log is like that:

              10/27/2015 14:31:18 INFO FW "myMultiSensor" assigned to node 9
              10/27/2015 14:31:21 TX 9;0;3;0;13;0
              10/27/2015 14:31:21 RX 0;0;3;0;9;send: 0-0-9-9 s=0,c=3,t=13,pt=0,l=1,sg=0,st=ok:0
              10/27/2015 14:31:21 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
              10/27/2015 14:31:21 CHILD New child discovered, node id=9, child id=internal
              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
              10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
              10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5

              ... and from here on, thousands of repetitions of same messages. It only stops by turning off the power of the node.

              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
              10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
              10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
              10/27/2015 14:31:18 INFO FW "myMultiSensor" assigned to node 9
              10/27/2015 14:31:21 TX 9;0;3;0;13;0
              10/27/2015 14:31:21 RX 0;0;3;0;9;send: 0-0-9-9 s=0,c=3,t=13,pt=0,l=1,sg=0,st=ok:0
              10/27/2015 14:31:21 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
              10/27/2015 14:31:21 CHILD New child discovered, node id=9, child id=internal
              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
              10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
              10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
              10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
              10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
              10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY

              Home Assistant / Vera Plus UI7
              ESP8266 GW + mySensors 2.3.2
              Alexa / Google Home

              T 1 Reply Last reply
              0
              • R rvendrame

                @tekka , the begin of log is like that:

                10/27/2015 14:31:18 INFO FW "myMultiSensor" assigned to node 9
                10/27/2015 14:31:21 TX 9;0;3;0;13;0
                10/27/2015 14:31:21 RX 0;0;3;0;9;send: 0-0-9-9 s=0,c=3,t=13,pt=0,l=1,sg=0,st=ok:0
                10/27/2015 14:31:21 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
                10/27/2015 14:31:21 CHILD New child discovered, node id=9, child id=internal
                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
                10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
                10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5

                ... and from here on, thousands of repetitions of same messages. It only stops by turning off the power of the node.

                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
                10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
                10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
                10/27/2015 14:31:18 INFO FW "myMultiSensor" assigned to node 9
                10/27/2015 14:31:21 TX 9;0;3;0;13;0
                10/27/2015 14:31:21 RX 0;0;3;0;9;send: 0-0-9-9 s=0,c=3,t=13,pt=0,l=1,sg=0,st=ok:0
                10/27/2015 14:31:21 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
                10/27/2015 14:31:21 CHILD New child discovered, node id=9, child id=internal
                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
                10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
                10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY
                10/27/2015 14:31:22 RX 9;255;0;0;18;1.5
                10/27/2015 14:31:22 RX 0;0;3;0;9;read: 9-9-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
                10/27/2015 14:31:22 DEBUG Update child id=255, type=ARDUINO_RELAY

                T Offline
                T Offline
                tekka
                Admin
                wrote on last edited by
                #13

                @rvendrame the node does not seem to reboot upon initiation of the OTA update (bootloader signal is missing). Can you post the rx log when you power-cycle the node?

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  rvendrame
                  Hero Member
                  wrote on last edited by
                  #14

                  @tekka , I'm currently traveling so only in two weeks from now. I posted the 'Info' from the node at first post, maybe it helps some how? Bootloader is 'N/A' there, could be something in there?

                  Captura de tela 2015-10-27 14.07.14.png

                  Home Assistant / Vera Plus UI7
                  ESP8266 GW + mySensors 2.3.2
                  Alexa / Google Home

                  T 1 Reply Last reply
                  0
                  • R rvendrame

                    @tekka , I'm currently traveling so only in two weeks from now. I posted the 'Info' from the node at first post, maybe it helps some how? Bootloader is 'N/A' there, could be something in there?

                    Captura de tela 2015-10-27 14.07.14.png

                    T Offline
                    T Offline
                    tekka
                    Admin
                    wrote on last edited by
                    #15

                    @rvendrame ok, let's wait until your return.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rvendrame
                      Hero Member
                      wrote on last edited by
                      #16

                      @tekka , @Oitzu , I finally managed to have some time for this.

                      This is the serial monitor output from the node, as soon as I request the FW update via MYSController (it is a endless loop):

                      read: 0-0-9 s=0,c=3,t=13,pt=0,l=1,sg=0:0
                      Device Init...
                      ��Sensor start...
                      send: 9-9-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
                      Device Init...
                      ��Sensor start...
                      send: 9-9-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
                      Device Init...
                      

                      And I tried to upload the new FW via FTDI adapter (in order to test with the repeater function off), however I got an error from avrdude (maybe my pro mini is broken somehow?)

                      avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
                               Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                               Copyright (c) 2007-2009 Joerg Wunsch
                      
                               System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
                               User configuration file is "/Users/i007897/.avrduderc"
                               User configuration file does not exist or is not a regular file, skipping
                      
                               Using Port                    : /dev/cu.usbserial-A50285BI
                               Using Programmer              : arduino
                               Overriding Baud Rate          : 57600
                      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbe
                      avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbe
                      avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf2
                      avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe6
                      avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x52
                      avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x9f
                      avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe5
                      avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd2
                      avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x43
                      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd7
                      
                      avrdude done.  Thank you.
                      

                      Thanks!

                      Home Assistant / Vera Plus UI7
                      ESP8266 GW + mySensors 2.3.2
                      Alexa / Google Home

                      T 1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        Oitzu
                        wrote on last edited by
                        #17

                        @rvendrame the mysbootloader doesn't support serial upload.
                        Use an ISP to upload a new sketch.

                        1 Reply Last reply
                        0
                        • R rvendrame

                          @tekka , @Oitzu , I finally managed to have some time for this.

                          This is the serial monitor output from the node, as soon as I request the FW update via MYSController (it is a endless loop):

                          read: 0-0-9 s=0,c=3,t=13,pt=0,l=1,sg=0:0
                          Device Init...
                          ��Sensor start...
                          send: 9-9-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
                          Device Init...
                          ��Sensor start...
                          send: 9-9-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
                          Device Init...
                          

                          And I tried to upload the new FW via FTDI adapter (in order to test with the repeater function off), however I got an error from avrdude (maybe my pro mini is broken somehow?)

                          avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
                                   Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                   Copyright (c) 2007-2009 Joerg Wunsch
                          
                                   System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
                                   User configuration file is "/Users/i007897/.avrduderc"
                                   User configuration file does not exist or is not a regular file, skipping
                          
                                   Using Port                    : /dev/cu.usbserial-A50285BI
                                   Using Programmer              : arduino
                                   Overriding Baud Rate          : 57600
                          avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbe
                          avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbe
                          avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf2
                          avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe6
                          avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x52
                          avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x9f
                          avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe5
                          avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd2
                          avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x43
                          avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd7
                          
                          avrdude done.  Thank you.
                          

                          Thanks!

                          T Offline
                          T Offline
                          tekka
                          Admin
                          wrote on last edited by
                          #18

                          @rvendrame This issue does not seem to be related to MYSBootloader since the log does not show bootloader messages. However, your node seems re-initializing (but not rebooting) over and over. Try changing the hardware (MCU & nRF) and update to the latest (non-dev branch) framework for further testing.

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          13

                          Online

                          12.1k

                          Users

                          11.2k

                          Topics

                          113.4k

                          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