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.
  • 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
          • N Offline
            N Offline
            novicit
            wrote on last edited by
            #284

            @tekka, In thinking about your question .... As the sketch begins execution after OTA'ing, it then asks for a node id to be issued (even though it has received one from the MysController) - and since I am using an ethernet gateway (& Domoticz) which does not automatically issue a node ID, the pro mini just sits there and waits for a node id? Would it then work if I put in a static node ID, even if it is different than the one issued by Myscontroller? And the node then adopts the static ID. ??

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

              @tekka I tried 2 new nodes with static id assigned [gw.begin(incomingMessage, 21, false);] and [gw.begin(NULL, 23, false);] ---- still same frozen response.

              10/5/2015 17:18:46 TX 3;255;4;0;3;1400010000000C9486010C94D81A0C94051B0C94AE01
              10/5/2015 17:18:46 RX 3;255;4;0;2;140001000000
              10/5/2015 17:18:47 INFO BL version=257
              10/5/2015 17:18:47 INFO Send FW info to node 3: type=14, version=1, blocks=0x0570, CRC=0xE30B
              10/5/2015 17:18:47 TX 3;0;4;0;1;1400010070050BE3
              10/5/2015 17:18:47 RX 3;255;4;0;0;1400010070050BE30101
              10/5/2015 17:20:32 RX 1;0;1;0;0;19.5

              and:

              10/5/2015 16:59:29 TX 2;255;4;0;3;1400010000000C9486010C94D11A0C94FE1A0C94AE01
              10/5/2015 16:59:29 RX 2;255;4;0;2;140001000000
              10/5/2015 16:59:29 INFO BL version=257
              10/5/2015 16:59:29 INFO Send FW info to node 2: type=14, version=1, blocks=0x0570, CRC=0x2E9E
              10/5/2015 16:59:29 TX 2;0;4;0;1;1400010070059E2E
              10/5/2015 16:59:29 RX 2;255;4;0;0;1400010070059E2E0101
              10/5/2015 17:00:59 RX 24;1;1;0;0;62.8

              Any idea what the nodes are waiting for?

              I also reset the gateway to see if it sent anything that cleared the freeze, but no response. Hmmm.

              tekkaT 1 Reply Last reply
              0
              • N novicit

                @tekka I tried 2 new nodes with static id assigned [gw.begin(incomingMessage, 21, false);] and [gw.begin(NULL, 23, false);] ---- still same frozen response.

                10/5/2015 17:18:46 TX 3;255;4;0;3;1400010000000C9486010C94D81A0C94051B0C94AE01
                10/5/2015 17:18:46 RX 3;255;4;0;2;140001000000
                10/5/2015 17:18:47 INFO BL version=257
                10/5/2015 17:18:47 INFO Send FW info to node 3: type=14, version=1, blocks=0x0570, CRC=0xE30B
                10/5/2015 17:18:47 TX 3;0;4;0;1;1400010070050BE3
                10/5/2015 17:18:47 RX 3;255;4;0;0;1400010070050BE30101
                10/5/2015 17:20:32 RX 1;0;1;0;0;19.5

                and:

                10/5/2015 16:59:29 TX 2;255;4;0;3;1400010000000C9486010C94D11A0C94FE1A0C94AE01
                10/5/2015 16:59:29 RX 2;255;4;0;2;140001000000
                10/5/2015 16:59:29 INFO BL version=257
                10/5/2015 16:59:29 INFO Send FW info to node 2: type=14, version=1, blocks=0x0570, CRC=0x2E9E
                10/5/2015 16:59:29 TX 2;0;4;0;1;1400010070059E2E
                10/5/2015 16:59:29 RX 2;255;4;0;0;1400010070059E2E0101
                10/5/2015 17:00:59 RX 24;1;1;0;0;62.8

                Any idea what the nodes are waiting for?

                I also reset the gateway to see if it sent anything that cleared the freeze, but no response. Hmmm.

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

                @novicit Can you temporarily use a serial gateway with debug enabled and upload a debug-enabled sketch to see what's going on on both sides? Please post the node and gateway log for further hints.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  azlan
                  wrote on last edited by
                  #287

                  Can I set up Hydroponic Greenhouse automation with MYSController???

                  1 Reply Last reply
                  0
                  • OitzuO Offline
                    OitzuO Offline
                    Oitzu
                    wrote on last edited by
                    #288

                    @tekka just wondering.. is there anywhere a documentation how the OTA works?
                    I'm currently trying to write a little perl-script with OTA support and had a hard time misreading the source code of the MYSController and OTABootloader.

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

                      @tekka, problem solved! I took a debug log from the node per your suggestion and was surprised to get:
                      radio init fail
                      radio init fail
                      radio init fail
                      This of course surprised me after it just finished downloading 20kb+. Turns out after I made the first test of OTA which worked fine, my home network automatically synchronized my laptops & desktop. This brought over a copy of myconfig.h which had softspi enabled! (I had been setting up the gateway on a different computer). So when I went to OTA on the second and third nodes it picked up the synched myconfig.h. Ugh, such little strange things that take so much time to find.
                      @tekka, my apologies for using some of your time. And my Thanks for your great work and sharing with the community!! Hopefully others will avoid similar mistakes by reading this.

                      1 Reply Last reply
                      0
                      • korttomaK Offline
                        korttomaK Offline
                        korttoma
                        Hero Member
                        wrote on last edited by
                        #290

                        Hi @tekka , I'm trying to create a simple thermostat device and I'm usually using your fantastic controller for prototype testing and debugging. Now I would need the possibility to send setpoint values from the controller and the current version of MYSController does not seem to support the following:

                        V_HVAC_SETPOINT_COOL 44 HVAC cold setpoint S_HVAC
                        V_HVAC_SETPOINT_HEAT 45 HVAC/Heater setpoint S_HVAC, S_HEATER
                        V_HVAC_FLOW_MODE 46 Flow mode for HVAC ("Auto", "ContinuousOn", "PeriodicOn") S_HVAC

                        I would greatly appreciate it is these features were implemented to your fantastic controller also.

                        Best regards,
                        Tomas

                        • Tomas
                        tekkaT 1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mvader
                          wrote on last edited by
                          #291

                          sorry if this has been asked before.
                          but I have a nano with mySbootloader installed and when i look at it in the serial monitor its just all gibberish.
                          i tried different speeds, but still the same.
                          is it not possible if you have that bootloader installed? or do i need to do something else.?
                          thx

                          tekkaT 1 Reply Last reply
                          0
                          • korttomaK korttoma

                            Hi @tekka , I'm trying to create a simple thermostat device and I'm usually using your fantastic controller for prototype testing and debugging. Now I would need the possibility to send setpoint values from the controller and the current version of MYSController does not seem to support the following:

                            V_HVAC_SETPOINT_COOL 44 HVAC cold setpoint S_HVAC
                            V_HVAC_SETPOINT_HEAT 45 HVAC/Heater setpoint S_HVAC, S_HEATER
                            V_HVAC_FLOW_MODE 46 Flow mode for HVAC ("Auto", "ContinuousOn", "PeriodicOn") S_HVAC

                            I would greatly appreciate it is these features were implemented to your fantastic controller also.

                            Best regards,
                            Tomas

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

                            @korttoma is implemented in 0.1.2.284 - release pending

                            1 Reply Last reply
                            0
                            • M mvader

                              sorry if this has been asked before.
                              but I have a nano with mySbootloader installed and when i look at it in the serial monitor its just all gibberish.
                              i tried different speeds, but still the same.
                              is it not possible if you have that bootloader installed? or do i need to do something else.?
                              thx

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

                              @mvader this is not related to MYSBootloader. Try doubling the baud rate setting, i.e. 230400....

                              1 Reply Last reply
                              0
                              • AnticimexA Offline
                                AnticimexA Offline
                                Anticimex
                                Contest Winner
                                wrote on last edited by
                                #294

                                @tekka Would it be possible in a future version to have the controller save the detected network nodes? Right know, I have to re-present the nodes in order for them to appear properly in the tree every time MYSController is restarted since it starts up with an empty tree.

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

                                tekkaT 1 Reply Last reply
                                2
                                • R Offline
                                  R Offline
                                  rubal
                                  wrote on last edited by
                                  #295

                                  Hi @tekka , I've gone through the steps in your guide using MQTTGateway as gw sketch.
                                  When I start my new node (burned with mysbootloader) I only see the repeating message "FIND_PARENT" in MySensor Debug window and "RX 0;0;3;0;9;read: 0-0-255 s=255,c=3,t=7,pt=0,l=0,sg=0:" in the MYSController Debug window.
                                  The message appears every time the led is blinking on the node (approx every 2 seconds).

                                  Any idea why it doesn't request node id? Have also tried with AutoID without success.

                                  Thx!

                                  tekkaT 1 Reply Last reply
                                  0
                                  • AnticimexA Anticimex

                                    @tekka Would it be possible in a future version to have the controller save the detected network nodes? Right know, I have to re-present the nodes in order for them to appear properly in the tree every time MYSController is restarted since it starts up with an empty tree.

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

                                    @Anticimex is implemented in the upcoming release :)

                                    AnticimexA 1 Reply Last reply
                                    0
                                    • R rubal

                                      Hi @tekka , I've gone through the steps in your guide using MQTTGateway as gw sketch.
                                      When I start my new node (burned with mysbootloader) I only see the repeating message "FIND_PARENT" in MySensor Debug window and "RX 0;0;3;0;9;read: 0-0-255 s=255,c=3,t=7,pt=0,l=0,sg=0:" in the MYSController Debug window.
                                      The message appears every time the led is blinking on the node (approx every 2 seconds).

                                      Any idea why it doesn't request node id? Have also tried with AutoID without success.

                                      Thx!

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

                                      @rubal MYSController does not support MQTT gw. Please use a different controller or change to a serial/tcp gw.

                                      1 Reply Last reply
                                      0
                                      • tekkaT tekka

                                        @Anticimex is implemented in the upcoming release :)

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

                                        @tekka sweet! Any ETA on the next release?

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

                                        tekkaT 1 Reply Last reply
                                        0
                                        • AnticimexA Anticimex

                                          @tekka sweet! Any ETA on the next release?

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

                                          @Anticimex wanna beta-test? ;)

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


                                          18

                                          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