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 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
                            • F Offline
                              F Offline
                              Fabien
                              wrote on last edited by Fabien
                              #242

                              @Tekka Same "bug" here" with MYSBootloader 1.1 (hex from github) on arduino nano. Try to change ID of node N°1, Log :

                               [2015-09-21 21:52:57.053 Info] INFO	*** Logging START ***
                               [2015-09-21 21:52:57.053 Info] VERSION	MYSController 0.1.2.282
                               [2015-09-21 21:52:57.053 Info] STARTUP	INI file loaded
                               [2015-09-21 21:52:57.053 Info] STARTUP	Loading FW repository...
                               [2015-09-21 21:52:57.054 Info] REPO	FW "Blink" loaded. t=10, v=1, blocks=72, crc=0xD098
                               [2015-09-21 21:52:57.064 Info] REPO	FW "TimeReporter" loaded. t=20, v=1, blocks=840, crc=0x4AC5
                               [2015-09-21 21:52:57.076 Info] REPO	FW "Motion" loaded. t=30, v=1, blocks=1024, crc=0xD1BF
                               [2015-09-21 21:52:57.092 Info] REPO	FW "Sensebender Micro" loaded. t=100, v=1, blocks=1344, crc=0x3482
                               [2015-09-21 21:52:57.108 Info] REPO	FW "Sensebender Blink" loaded. t=110, v=1, blocks=768, crc=0x1314
                               [2015-09-21 21:52:57.108 Info] REPO	FW repository loaded. Items=5
                               [2015-09-21 21:52:57.111 Info] STARTUP	Initialize message types
                               [2015-09-21 21:52:57.111 Info] NODE	New node discovered, node id=0
                               [2015-09-21 21:52:57.111 Info] NODE	New node discovered, node id=255
                               [2015-09-21 21:52:59.606 Info] INFO	Connected to 192.168.1.90:5003
                               [2015-09-21 21:53:04.373 Info] NODE	New node discovered, node id=1
                               [2015-09-21 21:53:04.376 Info] CHILD	New child discovered, node id=1, child id=internal
                               [2015-09-21 21:53:04.379 Info] INFO	BL version=257
                               [2015-09-21 21:53:04.380 Info] INFO	No FW assigned
                               [2015-09-21 21:53:04.383 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                               [2015-09-21 21:53:04.681 Info] NODE	New node discovered, node id=4
                               [2015-09-21 21:53:04.685 Info] CHILD	New child discovered, node id=4, child id=1
                               [2015-09-21 21:53:04.688 Info] RX	4;1;1;0;0;21.6
                               [2015-09-21 21:53:04.691 Info] CHILD	New child discovered, node id=4, child id=2
                               [2015-09-21 21:53:04.694 Info] RX	4;2;1;0;1;71
                               [2015-09-21 21:53:06.421 Info] INFO	BL version=257
                               [2015-09-21 21:53:06.424 Info] INFO	No FW assigned
                               [2015-09-21 21:53:06.427 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                               [2015-09-21 21:53:08.470 Info] INFO	BL version=257
                               [2015-09-21 21:53:08.472 Info] INFO	No FW assigned
                               [2015-09-21 21:53:08.476 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                               [2015-09-21 21:53:14.903 Info] UPDATE	4295098650
                               [2015-09-21 21:53:14.906 Info] INFO	BL version=257
                               [2015-09-21 21:53:14.909 Info] INFO	No FW assigned
                               [2015-09-21 21:53:14.913 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                               [2015-09-21 21:53:14.916 Info] INFO	BL version=257
                               [2015-09-21 21:53:14.918 Info] INFO	No FW assigned
                               [2015-09-21 21:53:14.922 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                               [2015-09-21 21:53:14.925 Info] DEBUG	Update child id=255, type=ARDUINO_NODE
                               [2015-09-21 21:53:14.929 Info] RX	1;255;0;0;17;1.5
                               [2015-09-21 21:53:14.933 Info] TX	1;255;3;0;6;M
                               [2015-09-21 21:53:14.937 Info] RX	1;255;3;0;6;0
                               [2015-09-21 21:53:14.945 Info] CHILD	New child discovered, node id=0, child id=0
                               [2015-09-21 21:53:14.950 Info] RX	0;0;3;0;14;Gateway startup complete.
                               [2015-09-21 21:53:16.680 Info] RX	1;255;3;0;11;Motion Sensor
                               [2015-09-21 21:53:16.691 Info] RX	1;255;3;0;12;1.0
                               [2015-09-21 21:53:16.695 Info] CHILD	New child discovered, node id=1, child id=1
                               [2015-09-21 21:53:16.701 Info] DEBUG	Update child id=1, type=MOTION
                               [2015-09-21 21:53:16.714 Info] RX	1;1;0;0;1;
                               [2015-09-21 21:53:16.718 Info] RX	1;1;1;0;16;0
                               [2015-09-21 21:53:38.779 Info] INFO	Node trigger set, node=1, trigger=1
                               [2015-09-21 21:53:39.793 Info] INFO	Retained message triggered for release, node=1
                               [2015-09-21 21:53:39.796 Info] CHILD	New child discovered, node id=1, child id=1
                               [2015-09-21 21:53:39.800 Info] TX	1;0;3;0;13;0
                               [2015-09-21 21:53:39.805 Info] RX	1;1;1;0;16;1
                               [2015-09-21 21:53:39.808 Info] CHILD	New child discovered, node id=1, child id=internal
                               [2015-09-21 21:53:39.811 Info] DEBUG	Update child id=255, type=ARDUINO_NODE
                               [2015-09-21 21:53:39.815 Info] RX	1;255;0;0;17;1.5
                               [2015-09-21 21:53:56.729 Info] INFO	Disconnected
                               [2015-09-21 21:53:58.924 Info] INFO	*** Logging STOP ***```
                              tekkaT 1 Reply Last reply
                              0
                              • F Fabien

                                @Tekka Same "bug" here" with MYSBootloader 1.1 (hex from github) on arduino nano. Try to change ID of node N°1, Log :

                                 [2015-09-21 21:52:57.053 Info] INFO	*** Logging START ***
                                 [2015-09-21 21:52:57.053 Info] VERSION	MYSController 0.1.2.282
                                 [2015-09-21 21:52:57.053 Info] STARTUP	INI file loaded
                                 [2015-09-21 21:52:57.053 Info] STARTUP	Loading FW repository...
                                 [2015-09-21 21:52:57.054 Info] REPO	FW "Blink" loaded. t=10, v=1, blocks=72, crc=0xD098
                                 [2015-09-21 21:52:57.064 Info] REPO	FW "TimeReporter" loaded. t=20, v=1, blocks=840, crc=0x4AC5
                                 [2015-09-21 21:52:57.076 Info] REPO	FW "Motion" loaded. t=30, v=1, blocks=1024, crc=0xD1BF
                                 [2015-09-21 21:52:57.092 Info] REPO	FW "Sensebender Micro" loaded. t=100, v=1, blocks=1344, crc=0x3482
                                 [2015-09-21 21:52:57.108 Info] REPO	FW "Sensebender Blink" loaded. t=110, v=1, blocks=768, crc=0x1314
                                 [2015-09-21 21:52:57.108 Info] REPO	FW repository loaded. Items=5
                                 [2015-09-21 21:52:57.111 Info] STARTUP	Initialize message types
                                 [2015-09-21 21:52:57.111 Info] NODE	New node discovered, node id=0
                                 [2015-09-21 21:52:57.111 Info] NODE	New node discovered, node id=255
                                 [2015-09-21 21:52:59.606 Info] INFO	Connected to 192.168.1.90:5003
                                 [2015-09-21 21:53:04.373 Info] NODE	New node discovered, node id=1
                                 [2015-09-21 21:53:04.376 Info] CHILD	New child discovered, node id=1, child id=internal
                                 [2015-09-21 21:53:04.379 Info] INFO	BL version=257
                                 [2015-09-21 21:53:04.380 Info] INFO	No FW assigned
                                 [2015-09-21 21:53:04.383 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                                 [2015-09-21 21:53:04.681 Info] NODE	New node discovered, node id=4
                                 [2015-09-21 21:53:04.685 Info] CHILD	New child discovered, node id=4, child id=1
                                 [2015-09-21 21:53:04.688 Info] RX	4;1;1;0;0;21.6
                                 [2015-09-21 21:53:04.691 Info] CHILD	New child discovered, node id=4, child id=2
                                 [2015-09-21 21:53:04.694 Info] RX	4;2;1;0;1;71
                                 [2015-09-21 21:53:06.421 Info] INFO	BL version=257
                                 [2015-09-21 21:53:06.424 Info] INFO	No FW assigned
                                 [2015-09-21 21:53:06.427 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                                 [2015-09-21 21:53:08.470 Info] INFO	BL version=257
                                 [2015-09-21 21:53:08.472 Info] INFO	No FW assigned
                                 [2015-09-21 21:53:08.476 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                                 [2015-09-21 21:53:14.903 Info] UPDATE	4295098650
                                 [2015-09-21 21:53:14.906 Info] INFO	BL version=257
                                 [2015-09-21 21:53:14.909 Info] INFO	No FW assigned
                                 [2015-09-21 21:53:14.913 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                                 [2015-09-21 21:53:14.916 Info] INFO	BL version=257
                                 [2015-09-21 21:53:14.918 Info] INFO	No FW assigned
                                 [2015-09-21 21:53:14.922 Info] RX	1;255;4;0;0;1E0001000004BFD10101
                                 [2015-09-21 21:53:14.925 Info] DEBUG	Update child id=255, type=ARDUINO_NODE
                                 [2015-09-21 21:53:14.929 Info] RX	1;255;0;0;17;1.5
                                 [2015-09-21 21:53:14.933 Info] TX	1;255;3;0;6;M
                                 [2015-09-21 21:53:14.937 Info] RX	1;255;3;0;6;0
                                 [2015-09-21 21:53:14.945 Info] CHILD	New child discovered, node id=0, child id=0
                                 [2015-09-21 21:53:14.950 Info] RX	0;0;3;0;14;Gateway startup complete.
                                 [2015-09-21 21:53:16.680 Info] RX	1;255;3;0;11;Motion Sensor
                                 [2015-09-21 21:53:16.691 Info] RX	1;255;3;0;12;1.0
                                 [2015-09-21 21:53:16.695 Info] CHILD	New child discovered, node id=1, child id=1
                                 [2015-09-21 21:53:16.701 Info] DEBUG	Update child id=1, type=MOTION
                                 [2015-09-21 21:53:16.714 Info] RX	1;1;0;0;1;
                                 [2015-09-21 21:53:16.718 Info] RX	1;1;1;0;16;0
                                 [2015-09-21 21:53:38.779 Info] INFO	Node trigger set, node=1, trigger=1
                                 [2015-09-21 21:53:39.793 Info] INFO	Retained message triggered for release, node=1
                                 [2015-09-21 21:53:39.796 Info] CHILD	New child discovered, node id=1, child id=1
                                 [2015-09-21 21:53:39.800 Info] TX	1;0;3;0;13;0
                                 [2015-09-21 21:53:39.805 Info] RX	1;1;1;0;16;1
                                 [2015-09-21 21:53:39.808 Info] CHILD	New child discovered, node id=1, child id=internal
                                 [2015-09-21 21:53:39.811 Info] DEBUG	Update child id=255, type=ARDUINO_NODE
                                 [2015-09-21 21:53:39.815 Info] RX	1;255;0;0;17;1.5
                                 [2015-09-21 21:53:56.729 Info] INFO	Disconnected
                                 [2015-09-21 21:53:58.924 Info] INFO	*** Logging STOP ***```
                                tekkaT Offline
                                tekkaT Offline
                                tekka
                                Admin
                                wrote on last edited by
                                #243

                                @Fabien I have an idea what is going wrong here: To confirm please enable DEBUG in the gateway and kindly re-post the full log again. The issue is related to signing...

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

                                  @tekka, I can't enable debug if I'm right. Not enouch space for the sketch.

                                  tekkaT 1 Reply Last reply
                                  0
                                  • F Fabien

                                    @tekka, I can't enable debug if I'm right. Not enouch space for the sketch.

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

                                    Issue is signing-related and fixed in the new version. MYSBootloader 1.5. release pending. Thanks to @Fabien for testing.

                                    1 Reply Last reply
                                    0
                                    • J Offline
                                      J Offline
                                      jkandasa
                                      Plugin Developer
                                      wrote on last edited by
                                      #246

                                      @tekka Is it possible to upgrade MYSbootloader from 1.1 to 1.5 via OTA?

                                      tekkaT 1 Reply Last reply
                                      0
                                      • J jkandasa

                                        @tekka Is it possible to upgrade MYSbootloader from 1.1 to 1.5 via OTA?

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

                                        @jkandasa Technically possible but tricky...

                                        1 Reply Last reply
                                        0
                                        • J Offline
                                          J Offline
                                          jkandasa
                                          Plugin Developer
                                          wrote on last edited by
                                          #248

                                          @tekka Could you please explain the steps. Otherwise on next upgrade I have open all the boxes and play with soldering iron :(

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


                                          20

                                          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