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.1k 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.
  • pit007P Offline
    pit007P Offline
    pit007
    wrote on last edited by
    #82

    The included TimeReporter (I don't know where to find the sketch) has a small problem.
    In the minutes and the seconds the leading zero is missing - i.e. 11h 9 min 5 sevc is shown as: 11:9:5 instead of 11:09:05.

    -Pit

    1 Reply Last reply
    0
    • D Offline
      D Offline
      diamantmatch
      wrote on last edited by
      #83

      i tried using the OTA FW update by following your guide a few posts up and i must say i like it a lot!
      i just cant figure out how to upload FW from the software. every time it starts uploading FW by responding on FW requests my gateway seems to freeze, i use a usb ttl converter and arduino pro mini with radio as gw. i also uploaded the log. by the time the server responds to the FW req i have assigned FW to the node. then the GW just stops recieving and transmitting for no apearent reason so there is no communication back and forth, then when i reset the GW ( by pushing the reset button on the GW the comm is back up.. when the GW is frosen the led (pin 13, clock) is also completely off.. and yes, i also tried a radio with capacitor.
      MySensors_20150318-202006.log

      tekkaT 1 Reply Last reply
      0
      • D diamantmatch

        i tried using the OTA FW update by following your guide a few posts up and i must say i like it a lot!
        i just cant figure out how to upload FW from the software. every time it starts uploading FW by responding on FW requests my gateway seems to freeze, i use a usb ttl converter and arduino pro mini with radio as gw. i also uploaded the log. by the time the server responds to the FW req i have assigned FW to the node. then the GW just stops recieving and transmitting for no apearent reason so there is no communication back and forth, then when i reset the GW ( by pushing the reset button on the GW the comm is back up.. when the GW is frosen the led (pin 13, clock) is also completely off.. and yes, i also tried a radio with capacitor.
        MySensors_20150318-202006.log

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

        @diamantmatch The link to the log file is broken (currently, the forum experiences some issues with uploading files / pictures. Can you share it on e.g. dropbox and post the link?).
        I've come across similar issues with debug mode activated on the GW sketch - try reflashing the GW with debug mode disabled and give it another shot.

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by hek
          #85

          @tekka said:

          the forum experiences some issues with uploading files

          @diamantmatch
          I have cherry-picked a couple of patches that should fix file-uploads now. Please try to re-upload your log file. Downloading your logfile works again.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            diamantmatch
            wrote on last edited by
            #86

            @tekka
            Awesome! everything now works like a charm! many thanks for your help!

            1 Reply Last reply
            0
            • 5546dug5 Offline
              5546dug5 Offline
              5546dug
              wrote on last edited by
              #87

              @tekka I am still a bit confused after rereading this thread.

              I have a humidity sensor plugged by usb and using config and debug see this sensor.
              Question is for the full gui do I need to unplug serial usb from gw and plug it into computer and start your program?

              If this is correct, then it will be temporarily disconnected from vera3 controller while I study and learn to understand what is being presented to me, when I again config and debug.

              After reviewing then reconfigure gw back to vera?

              tekkaT 1 Reply Last reply
              0
              • FrancoisF Offline
                FrancoisF Offline
                Francois
                wrote on last edited by Francois
                #88

                @tekka I update my bootloader to MYSbootloader and the fuses as per the doc but now when I try to program the Arduino mini pro I get this error can you help?

                upload-42f4e020-3b06-4acb-90b2-87beaeebdcac

                tekkaT 1 Reply Last reply
                0
                • 5546dug5 5546dug

                  @tekka I am still a bit confused after rereading this thread.

                  I have a humidity sensor plugged by usb and using config and debug see this sensor.
                  Question is for the full gui do I need to unplug serial usb from gw and plug it into computer and start your program?

                  If this is correct, then it will be temporarily disconnected from vera3 controller while I study and learn to understand what is being presented to me, when I again config and debug.

                  After reviewing then reconfigure gw back to vera?

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

                  @5546dug MYSController connects directly to the gw to interact with the nodes.

                  1 Reply Last reply
                  0
                  • FrancoisF Francois

                    @tekka I update my bootloader to MYSbootloader and the fuses as per the doc but now when I try to program the Arduino mini pro I get this error can you help?

                    upload-42f4e020-3b06-4acb-90b2-87beaeebdcac

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

                    @Francois said:

                    @tekka I update my bootloader to MYSbootloader and the fuses as per the doc but now when I try to program the Arduino mini pro I get this error can you help?

                    upload-42f4e020-3b06-4acb-90b2-87beaeebdcac

                    That's correct: with the MYSBootloader you can upload the firmware OTA only - use MYSController to upload new fw

                    1 Reply Last reply
                    1
                    • 5546dug5 Offline
                      5546dug5 Offline
                      5546dug
                      wrote on last edited by
                      #91

                      thank you @tekka , will try it.

                      1 Reply Last reply
                      0
                      • pit007P Offline
                        pit007P Offline
                        pit007
                        wrote on last edited by
                        #92

                        @tekka A further small bug or misunerstanding by us - the unix time:

                        API:
                        I_TIME 1 Sensors can request the current time from the Controller using this message. The time will be reported as the seconds since 1970 = unix time ?

                        The MYSController send the local time, but not the unix time (the unix time is the same all over te world)

                        1 Reply Last reply
                        0
                        • 5546dug5 Offline
                          5546dug5 Offline
                          5546dug
                          wrote on last edited by
                          #93

                          @tekka what does the dc =1 mean in this example?
                          I understand the s c t pt and l but not dScreenshot (40).png c

                          is the humidity sensor ok?
                          pro mini
                          serial gw nano to win 8.1 via usb interface
                          ver 1.4
                          lib 1.4
                          humidity sketch mysensors

                          readings seem accurate

                          also have temp read 30 sec and hum read when changes only

                          is all well or issues?

                          thanks

                          tekkaT 2 Replies Last reply
                          0
                          • 5546dug5 5546dug

                            @tekka what does the dc =1 mean in this example?
                            I understand the s c t pt and l but not dScreenshot (40).png c

                            is the humidity sensor ok?
                            pro mini
                            serial gw nano to win 8.1 via usb interface
                            ver 1.4
                            lib 1.4
                            humidity sketch mysensors

                            readings seem accurate

                            also have temp read 30 sec and hum read when changes only

                            is all well or issues?

                            thanks

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

                            @5546dug dc=1 indicates that the message is truncated (i.e. you lack the first part of the telegram, see below). Please make sure, that you are running the most recent version of the library, i.e. 1.4.1.

                            Your messages lack the bytes in bold:

                            3/25/2015 23:24:29 RECV: **5;0;1;0;1;**send: 5-5-0-0...etc

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              JeJ
                              wrote on last edited by
                              #95

                              You seem to have a sensor connected to your MYSController and not a gateway.
                              Maybe wrong serialport?

                              /J

                              1 Reply Last reply
                              0
                              • 5546dug5 5546dug

                                @tekka what does the dc =1 mean in this example?
                                I understand the s c t pt and l but not dScreenshot (40).png c

                                is the humidity sensor ok?
                                pro mini
                                serial gw nano to win 8.1 via usb interface
                                ver 1.4
                                lib 1.4
                                humidity sketch mysensors

                                readings seem accurate

                                also have temp read 30 sec and hum read when changes only

                                is all well or issues?

                                thanks

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

                                "
                                @JeJ indeed, you are right. thanks!

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  Mouridsen
                                  wrote on last edited by
                                  #97

                                  Hi guys! I'm still a newbie but i'm very interested in this tool and I'm quite confused how to install it. I'm only interested in see the communication to start with.

                                  Is there an installation instruction somewhere?

                                  I have tried to install it but I can't see any serial ports in the config window. Here is what I have done:

                                  1. Downloaded the package and run the program (I'm using Wine on a Mac)
                                  2. Uploaded a the standard SerialGateway sketch from Mysensor to a Nano board and have it connected to the computer. I can see from the serial monitor in the Arduino IDE that it sees the communication fine from the various sensors.
                                    I haven't done anything to the Gateway that's connected to the Vera. Is it that one I should use and connect to the computer???

                                  Sorry for the newbie questions..

                                  M 1 Reply Last reply
                                  0
                                  • M Mouridsen

                                    Hi guys! I'm still a newbie but i'm very interested in this tool and I'm quite confused how to install it. I'm only interested in see the communication to start with.

                                    Is there an installation instruction somewhere?

                                    I have tried to install it but I can't see any serial ports in the config window. Here is what I have done:

                                    1. Downloaded the package and run the program (I'm using Wine on a Mac)
                                    2. Uploaded a the standard SerialGateway sketch from Mysensor to a Nano board and have it connected to the computer. I can see from the serial monitor in the Arduino IDE that it sees the communication fine from the various sensors.
                                      I haven't done anything to the Gateway that's connected to the Vera. Is it that one I should use and connect to the computer???

                                    Sorry for the newbie questions..

                                    M Offline
                                    M Offline
                                    Mouridsen
                                    wrote on last edited by
                                    #98

                                    Well I found an old Windows laptop and it worked on that, so I guess it's the Mac computer :disappointed_relieved:
                                    Yesterday I tried to make a Repeater with the standard sketch as instructed. Now I can see that it says: Undefined firmware/type. What is the reason for that???

                                    30-03-2015 15:03:38 NODE: New node discovered, node id=34
                                    30-03-2015 15:03:38 CHILD: New child discovered, node id=34, child id=internal
                                    30-03-2015 15:03:38 DEBUG: Update child id=255, type=ARDUINO_RELAY
                                    30-03-2015 15:03:38 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=6,pt=1,l=1:0
                                    30-03-2015 15:03:38 RECV: 34;255;3;0;6;0
                                    30-03-2015 15:03:38 SEND: 34;255;3;0;6;M
                                    30-03-2015 15:03:38 RECV: 0;0;3;0;9;send: 0-0-34-34 s=255,c=3,t=6,pt=0,l=1,st=ok:M
                                    30-03-2015 15:03:40 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=11,pt=0,l=13:Repeater Node
                                    30-03-2015 15:03:40 RECV: 34;255;3;0;11;Repeater Node
                                    30-03-2015 15:03:40 DEBUG: Undefined firmware/type for node=34
                                    30-03-2015 15:03:40 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=12,pt=0,l=3:1.0
                                    30-03-2015 15:03:40 RECV: 34;255;3;0;12;1.0
                                    30-03-2015 15:03:40 DEBUG: Undefined firmware/type for node=34

                                    I think it works because when I disconnect it stops sending messages to MYSController so all communication to this is done via the repeater.
                                    Is it something to worry about???

                                    tekkaT 1 Reply Last reply
                                    0
                                    • M Mouridsen

                                      Well I found an old Windows laptop and it worked on that, so I guess it's the Mac computer :disappointed_relieved:
                                      Yesterday I tried to make a Repeater with the standard sketch as instructed. Now I can see that it says: Undefined firmware/type. What is the reason for that???

                                      30-03-2015 15:03:38 NODE: New node discovered, node id=34
                                      30-03-2015 15:03:38 CHILD: New child discovered, node id=34, child id=internal
                                      30-03-2015 15:03:38 DEBUG: Update child id=255, type=ARDUINO_RELAY
                                      30-03-2015 15:03:38 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=6,pt=1,l=1:0
                                      30-03-2015 15:03:38 RECV: 34;255;3;0;6;0
                                      30-03-2015 15:03:38 SEND: 34;255;3;0;6;M
                                      30-03-2015 15:03:38 RECV: 0;0;3;0;9;send: 0-0-34-34 s=255,c=3,t=6,pt=0,l=1,st=ok:M
                                      30-03-2015 15:03:40 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=11,pt=0,l=13:Repeater Node
                                      30-03-2015 15:03:40 RECV: 34;255;3;0;11;Repeater Node
                                      30-03-2015 15:03:40 DEBUG: Undefined firmware/type for node=34
                                      30-03-2015 15:03:40 RECV: 0;0;3;0;9;read: 34-34-0 s=255,c=3,t=12,pt=0,l=3:1.0
                                      30-03-2015 15:03:40 RECV: 34;255;3;0;12;1.0
                                      30-03-2015 15:03:40 DEBUG: Undefined firmware/type for node=34

                                      I think it works because when I disconnect it stops sending messages to MYSController so all communication to this is done via the repeater.
                                      Is it something to worry about???

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

                                      @Mouridsen MYSController should work using Wine on Mac - for the serial communication, just type e.g. /dev/ttyUSB0 or whatever your GW is assigned to in the serial edit field. The "undefined firmware/type" message appears, if you use the standard arduino bootloader (e.g. optiboot). For OTA functionality, you can use MYSBootloader which will also transmit the firmware type/version to MYSController.

                                      M 1 Reply Last reply
                                      0
                                      • tekkaT tekka

                                        @Mouridsen MYSController should work using Wine on Mac - for the serial communication, just type e.g. /dev/ttyUSB0 or whatever your GW is assigned to in the serial edit field. The "undefined firmware/type" message appears, if you use the standard arduino bootloader (e.g. optiboot). For OTA functionality, you can use MYSBootloader which will also transmit the firmware type/version to MYSController.

                                        M Offline
                                        M Offline
                                        Mouridsen
                                        wrote on last edited by
                                        #100

                                        @tekka Thanks, it works perfect. That was a quite easy fix :)

                                        1 Reply Last reply
                                        0
                                        • tekkaT Offline
                                          tekkaT Offline
                                          tekka
                                          Admin
                                          wrote on last edited by tekka
                                          #101

                                          MYSController Version 0.1.2.278 released

                                          New features:

                                          • Support MYSBootloader 2.0 / SHA (signing bootloader) ==> will be released in the nearest future
                                          • Support 1.5 framework (dev branch)
                                          • Parse MySensors log/debug messages
                                          • Div. options

                                          Changelog:

                                          • Moved send message dialog to main window
                                          • Handler adjustments
                                          • Bugfix FW upload in GW debug mode
                                          • Bugfix message logging

                                          Update via update button in MYSController or download here.

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


                                          9

                                          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