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. Windows GUI/Controller for MySensors

Windows GUI/Controller for MySensors

Scheduled Pinned Locked Moved Controllers
myscontrollermysbootloader
486 Posts 101 Posters 348.2k Views 73 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.
  • E Offline
    E Offline
    ericvdb
    wrote on last edited by
    #222

    @tekka What kind of SPI flash is needed for this OTA stuff? Can you provide part numbers?

    tekkaT 1 Reply Last reply
    0
    • E ericvdb

      @tekka What kind of SPI flash is needed for this OTA stuff? Can you provide part numbers?

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

      @ericvdb MYSBootloader works without external flash, in contrary to the sensebender board and dualoptiboot bootloader

      1 Reply Last reply
      0
      • tekkaT tekka

        @allysmith please provide more information about the setup and upload the MYSController log for further troubleshooting

        A Offline
        A Offline
        allysmith
        wrote on last edited by
        #224

        @tekka Thanks for getting back to me. This is my my first go at this bootloader. Hope I am not doing something daft!

        I have Arduino IDE 1.6.5, MySensors 1.5, MYSBootloader 1.1, MYSController_0_1_2_282 running on Windows 8, USBasp to urn bootloader.

        Arduino Pro Mini 3.3v 8mhz board. I am using the standard settings in your write up for the boards.txt

        Log file hopefully attached.

        MySensors_20150901-185920.log

        tekkaT 1 Reply Last reply
        0
        • A allysmith

          @tekka Thanks for getting back to me. This is my my first go at this bootloader. Hope I am not doing something daft!

          I have Arduino IDE 1.6.5, MySensors 1.5, MYSBootloader 1.1, MYSController_0_1_2_282 running on Windows 8, USBasp to urn bootloader.

          Arduino Pro Mini 3.3v 8mhz board. I am using the standard settings in your write up for the boards.txt

          Log file hopefully attached.

          MySensors_20150901-185920.log

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

          @allysmith Try clearing EEPROM via MYSBootloader command, assign blink FW and upload the entire log again....

          A 1 Reply Last reply
          0
          • tekkaT tekka

            @allysmith Try clearing EEPROM via MYSBootloader command, assign blink FW and upload the entire log again....

            A Offline
            A Offline
            allysmith
            wrote on last edited by
            #226

            @tekka As requested, cleared EEPROM via MYSBootloader, assigned blink FW.
            Attached is the log.
            Device shows up in the nodes window as Booting: 65535:65535 (BL1.1)

            MySensors_20150902-055736.log

            A 1 Reply Last reply
            0
            • A allysmith

              @tekka As requested, cleared EEPROM via MYSBootloader, assigned blink FW.
              Attached is the log.
              Device shows up in the nodes window as Booting: 65535:65535 (BL1.1)

              MySensors_20150902-055736.log

              A Offline
              A Offline
              allysmith
              wrote on last edited by
              #227

              @tekka Have made a change to how I was powering the NRF and now straight from battery.

              Looks like it was a power issue. Sufficient for transmit from the node ut not for receiving the updates.

              See attached log.

              Now got a different issue when I tried to reassign the FW from link to Timereporter.

              I think I am moving in the right direction now.

              Thanks for your help so far.

              Keep up this great work.Deug.txt

              1 Reply Last reply
              0
              • E Offline
                E Offline
                ericvdb
                wrote on last edited by ericvdb
                #228

                WOOOHOOO, i got OTA working :dancers:
                This is awesome guys

                BTW, I guess OTA will not work if there's a repeater in the middle?

                tekkaT 1 Reply Last reply
                0
                • E ericvdb

                  WOOOHOOO, i got OTA working :dancers:
                  This is awesome guys

                  BTW, I guess OTA will not work if there's a repeater in the middle?

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

                  @ericvdb said:

                  WOOOHOOO, i got OTA working :dancers:
                  This is awesome guys

                  BTW, I guess OTA will not work if there's a repeater in the middle?

                  congrats! :)
                  OTA updates will also work with repeating nodes in between...

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    ericvdb
                    wrote on last edited by
                    #230

                    @tekka i guess OTA is not available when using a MQTT gateway?

                    I would like to switch my whole setup to MQTT, but don't wanna loose the super fantastic OTA feature.

                    tekkaT 1 Reply Last reply
                    0
                    • E ericvdb

                      @tekka i guess OTA is not available when using a MQTT gateway?

                      I would like to switch my whole setup to MQTT, but don't wanna loose the super fantastic OTA feature.

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

                      @ericvdb in theory possible, but AFAIK not supported by any controller...at the moment :)

                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        ericvdb
                        wrote on last edited by
                        #232

                        @tekka would you mind describing in detail the process (on the controller side) how the OTA works?

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          cdr
                          wrote on last edited by
                          #233

                          Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.

                          ID's keep the same after reboots or power cycles, with or without the AutoID option on.

                          SparkmanS tekkaT 2 Replies Last reply
                          0
                          • C cdr

                            Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.

                            ID's keep the same after reboots or power cycles, with or without the AutoID option on.

                            SparkmanS Offline
                            SparkmanS Offline
                            Sparkman
                            Hero Member
                            wrote on last edited by
                            #234

                            @cdr IDs are assigned the first time the node starts up and then stored in the Arduino EEPROM. To get a new ID, you would have to clear (that portion of) the EEPROM, or you can upload a copy of the sketch with the ID hard-coded.

                            Cheers
                            Al

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              Fabien
                              wrote on last edited by
                              #235

                              It's possible to reassign ID if you use MYSBootloader.

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                cdr
                                wrote on last edited by
                                #236

                                I use MYSbootloader, but can neither get "reassign ID", nor "clear eeprom" functions to work.

                                I guess I could make a cleareeprom hex, but that feels like a workaround.

                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  Fabien
                                  wrote on last edited by
                                  #237

                                  I just try (never before) and it doens't work for me too.

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    mvader
                                    wrote on last edited by mvader
                                    #238

                                    quite a few post. so apologies if this has been asked before.
                                    I'm trying to upload a sketch(hex) to one of my nano's
                                    it's going but froze at 70%
                                    i had to reboot the gateway.
                                    this time it got to 87% and seems froze again.
                                    any thoughts/suggestions on why the gateway is freezing up?

                                    edit: i can't seem to get a sketch to upload. it gets to some random % and then the gateway freezes.
                                    a push of the gateway reset button seems to start it over. but then freezes at random.

                                    edit 2: must have been a distance thing.. i put the bridge right next to the gateway and the code uploaded quickly without freezing.
                                    however, i still am curious as to why the gateway fails to respond/freezes if the firmware is not able to be uploaded.

                                    M 1 Reply Last reply
                                    0
                                    • C cdr

                                      Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.

                                      ID's keep the same after reboots or power cycles, with or without the AutoID option on.

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

                                      @cdr said:

                                      Can somebody explain to me how the "Reassing ID" function works in MYScontroller? I haven't been able to change a ID remotely.

                                      ID's keep the same after reboots or power cycles, with or without the AutoID option on.

                                      Reassign ID & clear EEPROM are commands implemented in MYSBootloader 1.1: A special ST_FIRMWARE_CONFIG_RESPONSE sequence (see the source code for detail) will instruct the bootloader to either change the ID in EEPROM or clear the EEPROM. The reassign ID command will only have effect, if the firmware has does not have static a ID setting. In order to use the bootloader commands the controller should be able to reboot the node.

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        cdr
                                        wrote on last edited by
                                        #240

                                        Hi @tekka,

                                        Thanks for the reply, I created a "clear eeprom" hex and after uploading it is working as expected, the ID resets.

                                        Using the function in Mycontroller however, does not work. Not sure if this is a bug, or perhaps an error caused by an Arduino clone, but the "reassign ID" function is not working as intended here.

                                        Anyone here that got it working as intended?

                                        tekkaT 1 Reply Last reply
                                        0
                                        • C cdr

                                          Hi @tekka,

                                          Thanks for the reply, I created a "clear eeprom" hex and after uploading it is working as expected, the ID resets.

                                          Using the function in Mycontroller however, does not work. Not sure if this is a bug, or perhaps an error caused by an Arduino clone, but the "reassign ID" function is not working as intended here.

                                          Anyone here that got it working as intended?

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

                                          @cdr please post the MYScontroller log to figure out what's going on. Thanks

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


                                          6

                                          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