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.0k 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.
  • tekkaT tekka

    @mvader please upload the entire log file to check a few things. Also, if the node is next to (or too close) you will get RF interferences (this has been observed for the large antenna and max tx power).

    EDIT: before I forget, also upload the log from the node - this will help to elicit the problem...

    M Offline
    M Offline
    mvader
    wrote on last edited by mvader
    #264

    @mvader said:
    i'm not sure how to grab the log from the node, please advise.
    here is the MYSController debug log in full.
    MySensors_20150930-203313.log

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

      @tekka MYSBootloader is a great gift for us. With zero touch we can upgrade our firmware in to target board.

      In some cases I want to recompile the source code for 8 MHz or lesser frequency or different boards. As this is not a Arduino code, I do not know how to recompile this software. I hope many people facing issue with recompiling. Could you please add some document how to recompile this source code under https://github.com/mysensors/Arduino/tree/master/MYSBootloader

      Also can you post source code of MYSBootloader 1.5 version?

      Thank you!

      tekkaT 1 Reply Last reply
      0
      • J jkandasa

        @tekka MYSBootloader is a great gift for us. With zero touch we can upgrade our firmware in to target board.

        In some cases I want to recompile the source code for 8 MHz or lesser frequency or different boards. As this is not a Arduino code, I do not know how to recompile this software. I hope many people facing issue with recompiling. Could you please add some document how to recompile this source code under https://github.com/mysensors/Arduino/tree/master/MYSBootloader

        Also can you post source code of MYSBootloader 1.5 version?

        Thank you!

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

        @jkandasa The source code for 1.5 will be available upon release (mid-end October if time allows).

        1 Reply Last reply
        0
        • M mvader

          @mvader said:
          i'm not sure how to grab the log from the node, please advise.
          here is the MYSController debug log in full.
          MySensors_20150930-203313.log

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

          @mvader For the node log: simply connect a serial adapter to the sensebender node and retrieve the serial output.

          1 Reply Last reply
          0
          • AnticimexA Anticimex

            @tekka I think I might have found a bug (or perhaps this is considered a feature request):
            The GW "version" (1.5) is not shown in the node info although it has sent a response to a version request as shown here:
            upload-59d5fea8-52ae-4f8c-8bfa-bdb9ebac82a2
            upload-fbd28c37-06f4-46d5-bba4-be8e6f6ad412

            Also, I am not sure what the "signing" field is intended for. Showing signing request status? It says "Unknown" for both my GW and my "secure" node. The node require signing and the gw is signing messages sent to it. Perhaps reserved for future functionality?

            Still a great and very useful tool!

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

            @Anticimex No, not a bug and in the feature request list (I_VERSION handling). The signing field is updated once the node sends its signing preferences.

            AnticimexA 1 Reply Last reply
            0
            • tekkaT tekka

              @Anticimex No, not a bug and in the feature request list (I_VERSION handling). The signing field is updated once the node sends its signing preferences.

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #269

              @tekka Ok, but then I believe I found a bug, because I have reset my node and it did send its presentation messages, but the field did not update. I'm not at home right now so I can't get you the logs but I will see if I can replicate the steps and send you later on.

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              tekkaT 1 Reply Last reply
              0
              • petewillP Offline
                petewillP Offline
                petewill
                Admin
                wrote on last edited by
                #270

                @tekka Thanks for this great tool! I have been using it to monitor my nodes successfully for over a day. It's great. I do have a couple of questions.

                Is there a way to see Variables that are sent from my controller (Vera)? I see the request sent from the node but not the response from Vera. Here is a screenshot. I would expect to see numbers sent back from Vera but maybe I'm missing something.
                Variables.png

                Is there a way to send a message to a node that hasn't checked in with the controller yet? I tried to manually type in a Node and Sensor but was unable to. I'd like to be able to send commands to nodes that haven't checked in if possible. For example, if the controller wasn't running for a while but I want to start it up to send a reboot command to a node that is no longer communicating. Or, if I have a relay node that doesn't check in often but I need to change the state.

                Thanks again!!

                My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                tekkaT 1 Reply Last reply
                0
                • petewillP petewill

                  @tekka Thanks for this great tool! I have been using it to monitor my nodes successfully for over a day. It's great. I do have a couple of questions.

                  Is there a way to see Variables that are sent from my controller (Vera)? I see the request sent from the node but not the response from Vera. Here is a screenshot. I would expect to see numbers sent back from Vera but maybe I'm missing something.
                  Variables.png

                  Is there a way to send a message to a node that hasn't checked in with the controller yet? I tried to manually type in a Node and Sensor but was unable to. I'd like to be able to send commands to nodes that haven't checked in if possible. For example, if the controller wasn't running for a while but I want to start it up to send a reboot command to a node that is no longer communicating. Or, if I have a relay node that doesn't check in often but I need to change the state.

                  Thanks again!!

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

                  @petewill said:

                  Is there a way to see Variables that are sent from my controller (Vera)?

                  No, not to my knowledge - anybody?

                  Is there a way to send a message to a node that hasn't checked in with the controller yet? I tried to manually type in a Node and Sensor but was unable to.

                  You can manually add a node, but not a sensor: in the node tree view: right click | Add node | enter ID.

                  I will add the manual sensor adding to the feature requests.

                  petewillP 1 Reply Last reply
                  0
                  • AnticimexA Anticimex

                    @tekka Ok, but then I believe I found a bug, because I have reset my node and it did send its presentation messages, but the field did not update. I'm not at home right now so I can't get you the logs but I will see if I can replicate the steps and send you later on.

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

                    @Anticimex Just had a quick look at the library code: if signing is enabled (in the GW), the I_REQUEST_SIGNING message is not published. This field is only updated if signing is disabled (in the GW). However, MYSController will reply with a "signing not supported" message.

                    AnticimexA 1 Reply Last reply
                    0
                    • tekkaT tekka

                      @Anticimex Just had a quick look at the library code: if signing is enabled (in the GW), the I_REQUEST_SIGNING message is not published. This field is only updated if signing is disabled (in the GW). However, MYSController will reply with a "signing not supported" message.

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #273

                      @tekka right. Signing exchange is currently only done in the rf protocol, not to the controller. So are there currently any ways for the controller to populate that field?
                      A future addition of a I_CONFIG message is under discussion where node properties such as signing and other things can be published to a controller, so I suppose that field in the ui is for future use then :)

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      tekkaT 1 Reply Last reply
                      0
                      • AnticimexA Anticimex

                        @tekka right. Signing exchange is currently only done in the rf protocol, not to the controller. So are there currently any ways for the controller to populate that field?
                        A future addition of a I_CONFIG message is under discussion where node properties such as signing and other things can be published to a controller, so I suppose that field in the ui is for future use then :)

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

                        @Anticimex ~yup :)

                        1 Reply Last reply
                        0
                        • tekkaT tekka

                          @petewill said:

                          Is there a way to see Variables that are sent from my controller (Vera)?

                          No, not to my knowledge - anybody?

                          Is there a way to send a message to a node that hasn't checked in with the controller yet? I tried to manually type in a Node and Sensor but was unable to.

                          You can manually add a node, but not a sensor: in the node tree view: right click | Add node | enter ID.

                          I will add the manual sensor adding to the feature requests.

                          petewillP Offline
                          petewillP Offline
                          petewill
                          Admin
                          wrote on last edited by
                          #275

                          @tekka said:

                          I will add the manual sensor adding to the feature requests.

                          Great, thanks!

                          As for the variables, I don't think I was clear in what I was asking. The variable is a MySensors variable. It just doesn't look like it's picked up by the MYSController. I am doing a horrible job describing this but here is that I see in the log file:

                          50	10/02/15 7:30:16.689	luup_log:27: Arduino: Request: 1;2;2;0;24;Front Yard <0x308de680>
                          50	10/02/15 7:30:16.689	luup_log:27: Arduino: Requesting status for: 1;2 <0x308de680>
                          50	10/02/15 7:30:16.690	luup_log:27: Arduino: Request status for Variable1 <0x308de680>
                          50	10/02/15 7:30:16.690	luup_log:27: Arduino: Sending: 1;2;1;0;24;8 <0x308de680>
                          

                          I'm not seeing the '8' in the MYSController though. Hopefully that makes a little more sense.

                          Thanks again for all the hard work!

                          My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                          tekkaT 1 Reply Last reply
                          0
                          • tekkaT tekka

                            @mvader please upload the entire log file to check a few things. Also, if the node is next to (or too close) you will get RF interferences (this has been observed for the large antenna and max tx power).

                            EDIT: before I forget, also upload the log from the node - this will help to elicit the problem...

                            M Offline
                            M Offline
                            mvader
                            wrote on last edited by
                            #276

                            @tekka said:

                            @mvader please upload the entire log file to check a few things. Also, if the node is next to (or too close) you will get RF interferences (this has been observed for the large antenna and max tx power).

                            EDIT: before I forget, also upload the log from the node - this will help to elicit the problem...

                            I have to do more testing over the weekend, but i updated my gateway to 1.5, as my nodes where 1.5 but gate was 1.4, the 1st one i tried, worked without issue.
                            dont know if it was a fluke/lucky or updating to 1.5 on the gateway solved my issue.. i'll post more as i test more nodes

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mvader
                              wrote on last edited by
                              #277
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • petewillP petewill

                                @tekka said:

                                I will add the manual sensor adding to the feature requests.

                                Great, thanks!

                                As for the variables, I don't think I was clear in what I was asking. The variable is a MySensors variable. It just doesn't look like it's picked up by the MYSController. I am doing a horrible job describing this but here is that I see in the log file:

                                50	10/02/15 7:30:16.689	luup_log:27: Arduino: Request: 1;2;2;0;24;Front Yard <0x308de680>
                                50	10/02/15 7:30:16.689	luup_log:27: Arduino: Requesting status for: 1;2 <0x308de680>
                                50	10/02/15 7:30:16.690	luup_log:27: Arduino: Request status for Variable1 <0x308de680>
                                50	10/02/15 7:30:16.690	luup_log:27: Arduino: Sending: 1;2;1;0;24;8 <0x308de680>
                                

                                I'm not seeing the '8' in the MYSController though. Hopefully that makes a little more sense.

                                Thanks again for all the hard work!

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

                                @petewill said:

                                As for the variables, I don't think I was clear in what I was asking. The variable is a MySensors variable. It just doesn't look like it's picked up by the MYSController. I am doing a horrible job describing this but here is that I see in the log file:

                                50	10/02/15 7:30:16.689	luup_log:27: Arduino: Request: 1;2;2;0;24;Front Yard <0x308de680>
                                50	10/02/15 7:30:16.689	luup_log:27: Arduino: Requesting status for: 1;2 <0x308de680>
                                50	10/02/15 7:30:16.690	luup_log:27: Arduino: Request status for Variable1 <0x308de680>
                                50	10/02/15 7:30:16.690	luup_log:27: Arduino: Sending: 1;2;1;0;24;8 <0x308de680>
                                

                                I'm not seeing the '8' in the MYSController though. Hopefully that makes a little more sense.

                                The controller receives messages from the GW but does not intercept messages sent from other controllers (due to the architecture). Similarly, messages sent with MYSController won't appear in Vera.

                                But this leads me to an interesting idea...let's see :)

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

                                  looking for some help with OTA and a sensebender board.
                                  if i manually reset the board, then it will take the OTA and that works fine.
                                  however, that's the only way i can get it to work.
                                  it doesn't respond to a reboot command (I assume this is because it's sleeping)
                                  and even if i select the battery/sleeping option, when a transmission does come in, it doesn't reset or start an OTA.
                                  the only way so far is to physically PF the device and then the OTA works.
                                  what am i missing?
                                  thanks!

                                  EDIT: so this does seems to work.. i spent all morning trying to come up with hack-y ways to get this to work.
                                  using the default sensebender sketch the OTA wait time is set to 300 milli seconds. which is like .3 seconds.
                                  i changed that 3000 (3 seconds) set the FW and waited for the next transmission..boom off it went (the OTA).
                                  so for anyone running into this issue. try this solution.
                                  I cant imagine 3 seconds vs .3 seconds is going to make a huge difference in battery life.

                                  1 Reply Last reply
                                  1
                                  • N Offline
                                    N Offline
                                    novicit
                                    wrote on last edited by
                                    #280

                                    Looking for help to interpret log data after an OTA update. I am just learning, and successfully OTA'ed a simple DS18B temperature sketch to a node using MysController. Now I am trying to OTA an DHT22 node (the example sketch in 1.5 version, no changes to it.) The firmware OTA seems to go fine, but the Pro Mini never seems to start. Below is the log, I have bolded the log entries I don't understand. As shown, the first bold section comes right after the OTA. The second 16 minutes later is because I pushed the reset button on the pro mini. Any help understanding the log entry is appreciated.

                                    10/5/2015 7:04:01 RX 2;255;4;0;2;820001000200
                                    10/5/2015 7:04:01 TX 2;255;4;0;3;8200010001000C94AE010C94AE010C94ED020C94AE01
                                    10/5/2015 7:04:01 RX 2;255;4;0;2;820001000100
                                    10/5/2015 7:04:01 TX 2;255;4;0;3;8200010000000C9486010C94D11A0C94FE1A0C94AE01
                                    10/5/2015 7:04:01 RX 2;255;4;0;2;820001000000
                                    10/5/2015 7:04:01 INFO BL version=257
                                    10/5/2015 7:04:01 INFO Send FW info to node 2: type=82, version=1, blocks=0x0570, CRC=0x9AEC
                                    10/5/2015 7:04:01 TX 2;0;4;0;1;820001007005EC9A
                                    10/5/2015 7:04:01 RX 2;255;4;0;0;820001007005EC9A0101

                                    10/5/2015 7:07:23 RX 24;1;1;0;0;60.5
                                    10/5/2015 7:07:23 RX 24;2;1;0;1;59
                                    10/5/2015 7:11:41 RX 24;1;1;0;0;60.5
                                    10/5/2015 7:11:41 RX 24;2;1;0;1;59
                                    10/5/2015 7:13:24 RX 23;0;1;0;1;55.7
                                    10/5/2015 7:15:59 RX 24;1;1;0;0;60.5
                                    10/5/2015 7:15:59 RX 24;2;1;0;1;59
                                    10/5/2015 7:18:27 CHILD New child discovered, node id=23, child id=1
                                    10/5/2015 7:18:27 RX 23;1;1;0;0;63.0
                                    10/5/2015 7:18:27 RX 23;0;1;0;1;55.9
                                    10/5/2015 7:20:14 INFO BL version=257
                                    10/5/2015 7:20:14 INFO Send FW info to node 2: type=82, version=1, blocks=0x0570, CRC=0x9AEC
                                    10/5/2015 7:20:14 TX 2;0;4;0;1;820001007005EC9A
                                    10/5/2015 7:20:14 RX 2;255;4;0;0;820001007005EC9A0101

                                    10/5/2015 7:21:50 TX 2;0;3;0;13;0
                                    10/5/2015 7:23:32 RX 23;0;1;0;1;56.0
                                    10/5/2015 7:24:26 RX 24;3;1;0;24;78

                                    tekkaT 1 Reply Last reply
                                    0
                                    • tekkaT tekka

                                      @petewill said:

                                      As for the variables, I don't think I was clear in what I was asking. The variable is a MySensors variable. It just doesn't look like it's picked up by the MYSController. I am doing a horrible job describing this but here is that I see in the log file:

                                      50	10/02/15 7:30:16.689	luup_log:27: Arduino: Request: 1;2;2;0;24;Front Yard <0x308de680>
                                      50	10/02/15 7:30:16.689	luup_log:27: Arduino: Requesting status for: 1;2 <0x308de680>
                                      50	10/02/15 7:30:16.690	luup_log:27: Arduino: Request status for Variable1 <0x308de680>
                                      50	10/02/15 7:30:16.690	luup_log:27: Arduino: Sending: 1;2;1;0;24;8 <0x308de680>
                                      

                                      I'm not seeing the '8' in the MYSController though. Hopefully that makes a little more sense.

                                      The controller receives messages from the GW but does not intercept messages sent from other controllers (due to the architecture). Similarly, messages sent with MYSController won't appear in Vera.

                                      But this leads me to an interesting idea...let's see :)

                                      petewillP Offline
                                      petewillP Offline
                                      petewill
                                      Admin
                                      wrote on last edited by
                                      #281

                                      @tekka said:

                                      The controller receives messages from the GW but does not intercept messages sent from other controllers (due to the architecture). Similarly, messages sent with MYSController won't appear in Vera.

                                      But this leads me to an interesting idea...let's see :)

                                      Oh, sorry. I thought it did. I can see my light (relays) messages when turning on/off with my Vera but maybe that's the ACKs?

                                      My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                      1 Reply Last reply
                                      0
                                      • N novicit

                                        Looking for help to interpret log data after an OTA update. I am just learning, and successfully OTA'ed a simple DS18B temperature sketch to a node using MysController. Now I am trying to OTA an DHT22 node (the example sketch in 1.5 version, no changes to it.) The firmware OTA seems to go fine, but the Pro Mini never seems to start. Below is the log, I have bolded the log entries I don't understand. As shown, the first bold section comes right after the OTA. The second 16 minutes later is because I pushed the reset button on the pro mini. Any help understanding the log entry is appreciated.

                                        10/5/2015 7:04:01 RX 2;255;4;0;2;820001000200
                                        10/5/2015 7:04:01 TX 2;255;4;0;3;8200010001000C94AE010C94AE010C94ED020C94AE01
                                        10/5/2015 7:04:01 RX 2;255;4;0;2;820001000100
                                        10/5/2015 7:04:01 TX 2;255;4;0;3;8200010000000C9486010C94D11A0C94FE1A0C94AE01
                                        10/5/2015 7:04:01 RX 2;255;4;0;2;820001000000
                                        10/5/2015 7:04:01 INFO BL version=257
                                        10/5/2015 7:04:01 INFO Send FW info to node 2: type=82, version=1, blocks=0x0570, CRC=0x9AEC
                                        10/5/2015 7:04:01 TX 2;0;4;0;1;820001007005EC9A
                                        10/5/2015 7:04:01 RX 2;255;4;0;0;820001007005EC9A0101

                                        10/5/2015 7:07:23 RX 24;1;1;0;0;60.5
                                        10/5/2015 7:07:23 RX 24;2;1;0;1;59
                                        10/5/2015 7:11:41 RX 24;1;1;0;0;60.5
                                        10/5/2015 7:11:41 RX 24;2;1;0;1;59
                                        10/5/2015 7:13:24 RX 23;0;1;0;1;55.7
                                        10/5/2015 7:15:59 RX 24;1;1;0;0;60.5
                                        10/5/2015 7:15:59 RX 24;2;1;0;1;59
                                        10/5/2015 7:18:27 CHILD New child discovered, node id=23, child id=1
                                        10/5/2015 7:18:27 RX 23;1;1;0;0;63.0
                                        10/5/2015 7:18:27 RX 23;0;1;0;1;55.9
                                        10/5/2015 7:20:14 INFO BL version=257
                                        10/5/2015 7:20:14 INFO Send FW info to node 2: type=82, version=1, blocks=0x0570, CRC=0x9AEC
                                        10/5/2015 7:20:14 TX 2;0;4;0;1;820001007005EC9A
                                        10/5/2015 7:20:14 RX 2;255;4;0;0;820001007005EC9A0101

                                        10/5/2015 7:21:50 TX 2;0;3;0;13;0
                                        10/5/2015 7:23:32 RX 23;0;1;0;1;56.0
                                        10/5/2015 7:24:26 RX 24;3;1;0;24;78

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

                                        @novicit The bold section is the bootloader sending/requesting the current node configuration. Did you set a static node ID in your sketch?

                                        1 Reply Last reply
                                        0
                                        • N Offline
                                          N Offline
                                          novicit
                                          wrote on last edited by
                                          #283

                                          @tekka Thank you for your response. The sketch does not have a static ID - the line is "gw.begin();" So it should receive a node ID. I had MysController set to "AutoID" and it successfully issued the next free ID, which was 2. How would I test further to see why it does not begin execution. (I am using ethernet gateway with authentication, but the configuration is set to 'false', so a node not asking for Atsha response does not get one. Other non-atsha nodes work fine-as shown in the log. Don't know if this would make a difference.)

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


                                          14

                                          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