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.
  • ch3b7C Offline
    ch3b7C Offline
    ch3b7
    wrote on last edited by
    #41

    You need upload the serialgateway sketch to the arduino connected with the nrf24 the n connect the usb to pc and select the correct com port in the program

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

      " It works in connection with the modified optiboot/OTA bootloader mentioned in a previous post. "

      can someone link to that post? I couldn't find it
      Thanks

      tekkaT 1 Reply Last reply
      0
      • ch3b7C Offline
        ch3b7C Offline
        ch3b7
        wrote on last edited by
        #43

        You add ethernet support? Im add ethernet support in my program in .net its work good.

        1 Reply Last reply
        0
        • M mvader

          " It works in connection with the modified optiboot/OTA bootloader mentioned in a previous post. "

          can someone link to that post? I couldn't find it
          Thanks

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

          @mvader this is the MYSBootloader from the library.

          M 1 Reply Last reply
          0
          • tekkaT tekka

            @mvader this is the MYSBootloader from the library.

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

            @tekka said:

            @mvader this is the MYSBootloader from the library.

            okay thanks!

            1 Reply Last reply
            0
            • HeinzH Offline
              HeinzH Offline
              Heinz
              Hero Member
              wrote on last edited by
              #46

              @tekka cool software! btw the sorting of the child sensors in the tree could be optimized.
              Right now the nodes are sorted like string instead of numbers:

              0 - ...
              1 - ...
              10 -
              11 -
              ...
              2 -
              21-
              ...

              tekkaT 1 Reply Last reply
              0
              • tekkaT tekka

                New version available with bug fixes 0.1.2.256:

                • "File not open" error fixed
                • Display errors fixed
                • Mac users: use wine to run program, no remapping of serial ports necessary - use e.g. /dev/ttyUSB0 in config window

                To update hit the update button or download here.


                S Offline
                S Offline
                samppa
                wrote on last edited by
                #47

                @tekka said:


                To update hit the update button or download here.


                Chrome blocks the download since it is "malicious".

                tekkaT 1 Reply Last reply
                0
                • S samppa

                  @tekka said:


                  To update hit the update button or download here.


                  Chrome blocks the download since it is "malicious".

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

                  @samppa read my previous post::

                  @AWI My guess is because of the upx-packed executable (MYSController.exe) in the archive being recognized as false positive.

                  I didn't face a warning with IE or Firefox, but indeed, Chrome reports it.

                  1 Reply Last reply
                  0
                  • HeinzH Heinz

                    @tekka cool software! btw the sorting of the child sensors in the tree could be optimized.
                    Right now the nodes are sorted like string instead of numbers:

                    0 - ...
                    1 - ...
                    10 -
                    11 -
                    ...
                    2 -
                    21-
                    ...

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

                    @Heinz thanks. I will add the number sorting in the next build.

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      Baran
                      wrote on last edited by
                      #50

                      Greetings Tekka,

                      I am teaching myself programming while learning about the NRF24L01+ and various controllers and sensors. I have tried to download several free software controllers but yours is the only one that was straightforward enough for me to be successful. I have used it to monitor communication to and from my gateway but I am at a loss as to how to use your creation as a controller. It is the most wonderful tool for visualizing and debugging node-to-gateway communications because of the exceptional work you have done translating the command codes into real command words.

                      Is there a way to input data through your GUI or is it best used as an output device? If input is accepted, would you be so kind as to elaborate on the subject enough to get me moving?

                      Respectfully - Baran

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

                        Right click on a node and click Send Msg:

                        upload-470b8000-35d1-49b5-8917-27fb9cf5934f

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          Baran
                          wrote on last edited by
                          #52

                          Thanks Eric - Way too cool!

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            dzairo
                            wrote on last edited by
                            #53

                            Hi.
                            I try your project ..and find problem in my side..
                            I use MCU with USB - UART converter what possible set speed max 38kBps .. is possible in your MYSController set lower speed ??
                            I thinks that you now use 115200 ..

                            regards.

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              Dirk_H
                              Contest Winner
                              wrote on last edited by
                              #54

                              I'm looking some days into this topic, although I found not the time to test your very good looking software - The issue mentioned by dzairo would also be important for me. As I run my nodes at 8MHz I cannot use the default 115200kbps and use (also) 38kbps - so it would be important for me to change the BAUD rate too.

                              Anyways - nice work!

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                dzairo
                                wrote on last edited by
                                #55

                                ... some other problem is if you want run MCU in 3.3V then not possible use higher frequency .. then all use internal 8 Mhz RC oscillator and maximum speed is 38k ..
                                this is reason why use 38k ..

                                best regards.

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

                                  @Dirk_H , @dzairo: yup, will include this option in the next update. Thanks for reporting.

                                  tekkaT 1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    therik
                                    wrote on last edited by
                                    #57

                                    Thank you for this excellent work. I look forward to using it in my network. I just have a couple questions regarding setting up the GUI. I've read through this thread several times, but still have a couple of gaps in my understanding.

                                    1. Is the gateway that interfaces with the GUI an additional gateway which listens to, and sends node messages and updates? That is, additional to one that is interfaced with the controller (in my case a serial gateway connected to a Vera controller)?

                                    2. If my the answer to my first question is, yes, it is an additional gateway, is the code defining the operation different such that is does not interfere with the 'true' gateway? Or is the code the same (standard serial gateway sketch) but simply does not interfere?

                                    3. Do the nodes require the MYSBootloader in order to show up in the 'messages' tab, or will 'messages' tab show all node traffic regardless of bootloader? Of course for over the air (OTA) sketch updates it needs the MYSBootloader.

                                    4. Are these the correct steps to setup operation:

                                    a) download and extract the files.

                                    'b) place the bootloader folder into /arduino/hardware path such that the MYSBootloader and the associated boards show up in the 'tools->boards' menu.

                                    c) connect an Arduino with the gateway sketch to a computer using a USB cable (for the serial connection).

                                    d) run MYSController.exe (on windows) and select the COM port of the serial gateway in the configuration.

                                    e) hit connect and node traffic will show up in the 'messages' tab.

                                    If this is correct (and now that I write it down) it seems pretty straightforward, but I didn't see it explicitly described elsewhere. Sorry to be such a beginner, and thanks for straightening me out if I'm incorrect in any step.

                                    tekkaT 1 Reply Last reply
                                    2
                                    • T therik

                                      Thank you for this excellent work. I look forward to using it in my network. I just have a couple questions regarding setting up the GUI. I've read through this thread several times, but still have a couple of gaps in my understanding.

                                      1. Is the gateway that interfaces with the GUI an additional gateway which listens to, and sends node messages and updates? That is, additional to one that is interfaced with the controller (in my case a serial gateway connected to a Vera controller)?

                                      2. If my the answer to my first question is, yes, it is an additional gateway, is the code defining the operation different such that is does not interfere with the 'true' gateway? Or is the code the same (standard serial gateway sketch) but simply does not interfere?

                                      3. Do the nodes require the MYSBootloader in order to show up in the 'messages' tab, or will 'messages' tab show all node traffic regardless of bootloader? Of course for over the air (OTA) sketch updates it needs the MYSBootloader.

                                      4. Are these the correct steps to setup operation:

                                      a) download and extract the files.

                                      'b) place the bootloader folder into /arduino/hardware path such that the MYSBootloader and the associated boards show up in the 'tools->boards' menu.

                                      c) connect an Arduino with the gateway sketch to a computer using a USB cable (for the serial connection).

                                      d) run MYSController.exe (on windows) and select the COM port of the serial gateway in the configuration.

                                      e) hit connect and node traffic will show up in the 'messages' tab.

                                      If this is correct (and now that I write it down) it seems pretty straightforward, but I didn't see it explicitly described elsewhere. Sorry to be such a beginner, and thanks for straightening me out if I'm incorrect in any step.

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

                                      @therik said:

                                      Is the gateway that interfaces with the GUI an additional gateway which listens to, and sends node messages and updates? That is, additional to one that is interfaced with the controller (in my case a serial gateway connected to a Vera controller)?

                                      No, but certainly a good idea to look into.

                                      Do the nodes require the MYSBootloader in order to show up in the 'messages' tab, or will 'messages' tab show all node traffic regardless of bootloader? Of course for over the air (OTA) sketch updates it needs the MYSBootloader.

                                      No, the MYSBootloader is required for OTA updates with MYSController or compatible controllers.

                                      Are these the correct steps to setup operation:

                                      a) download and extract the files.

                                      'b) place the bootloader folder into /arduino/hardware path such that the MYSBootloader and the associated boards show up in the 'tools->boards' menu.

                                      c) connect an Arduino with the gateway sketch to a computer using a USB cable (for the serial connection).

                                      d) run MYSController.exe (on windows) and select the COM port of the serial gateway in the configuration.

                                      e) hit connect and node traffic will show up in the 'messages' tab.

                                      Yes, that's pretty much it. Copying the bootloader directory is only needed for updating to MYSBootloader via ISP.

                                      1 Reply Last reply
                                      1
                                      • tekkaT tekka

                                        @Dirk_H , @dzairo: yup, will include this option in the next update. Thanks for reporting.

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

                                        @Dirk_H , @dzairo BAUD option included in the latest release. Update via software or here.

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

                                          @tekka Hello, I check your great software and do my first steps with mySensors.

                                          It looks very amazing!

                                          Here are my first comments:

                                          1. I must program the MYSBootloader with the H-fuse setting H:0xD8 (2048 word), the value H:0xDE (in your fuses.txt) or H:0xDA (in your boards.txt) didn't work for me.
                                          2. The blink.hex seems to be the normal blink sketch, it didn't have nrf24 functionality. Needs a local hardreset to flash other firmware.
                                          3. The Arduino IDE (with the enhanced boards.txt) isn't able to program a firmware with the MYSBootloader - think this results in the higher baud rate (115200 vs. 57600) and my case to have the Arduino running in a VM !?
                                          4. The update function in MYSController isn't working because it needs a proxy configuration (not imported).
                                          5. I got a warning sign on the nodes-tree, don't know what it mean, but node is working (no info in the context menu).
                                          6. The interrupt line of the ner24L01 isn't needed.
                                          7. A right click in the open context menu ( e.g. on clear firmware) forces a software error.
                                            8 ) After connecting the Serial GW the MYSController doesn't responce for a while (searching for nodes?) Maybe a background task or an indicater would be a idea ?!
                                            9)On XP (or XP style) a selected row in the mesages or nodes tab is not readable - the selection is in dark blue, the text in black.

                                          It should be possible to use the MYSBootloder (.hex) without changes also for 8Mhz nodes (internal RC L:0xE2), OTA only.
                                          The SPI is independent from the clock, Uart is not used, delays are 2 times longer but this should be no problem.

                                          Is there a scenario to keep your MYSController connected and have the mash working at the same time?
                                          For example, with a gateway connected at Raspberry PI and a TCP connection from MYSController to the RPI? Or with two gateways ?

                                          Looking forward for the next features :-),
                                          regards Pit

                                          tekkaT 1 Reply Last reply
                                          0
                                          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