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.5k 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.
  • greglG Offline
    greglG Offline
    gregl
    Hero Member
    wrote on last edited by
    #10

    Wow...really nice. Cant wait to give it a go!

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

      wow, this is something!
      would really love to set this up at home!
      i also can't wait for your link to appear, really exited !

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tibus
        wrote on last edited by
        #12

        Yeah, really looks nice!
        Can't wait too for the link and more info about de OTA bootloader.
        I'm making some industrial opensources sensor based on MySensor and my current bootloader don't have an OTA Bootloader. So it would be greate with your Bootloader and your application!

        1 Reply Last reply
        1
        • P Offline
          P Offline
          p0lar
          wrote on last edited by
          #13

          Nice.... Following

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jribera
            wrote on last edited by
            #14

            This looks very interesting. Seems like it will make remote debugging easy, ie can run this on a PC at home and RDP into it.

            1 Reply Last reply
            1
            • C Offline
              C Offline
              chris021
              wrote on last edited by
              #15

              Also Following. Very keen to try this!

              1 Reply Last reply
              0
              • RJ_MakeR Offline
                RJ_MakeR Offline
                RJ_Make
                Hero Member
                wrote on last edited by
                #16

                Will this program act like a controller (take the place of Vera?) and handle automation logic?

                RJ_Make

                1 Reply Last reply
                3
                • tekkaT Offline
                  tekkaT Offline
                  tekka
                  Admin
                  wrote on last edited by tekka
                  #17

                  hi all,

                  here is the first alpha version of the MYSController (I changed the name).

                  http://goo.gl/9DCWNo

                  There are still lots of things that need to be done and some bugs :), but feel free to give it a try. I included the modified bootloader (flash according to the settings in the fuses.txt file) and two example .hexs for testing/uploading. From my experience, the OTA works better/faster using the serial gateway.

                  Cheers,
                  tekka

                  1 Reply Last reply
                  1
                  • C Offline
                    C Offline
                    chris021
                    wrote on last edited by
                    #18

                    Got it working first try! Can see data coming back from my Temp and Hum sensors!

                    Looks like a great tool.

                    Thank you!

                    1 Reply Last reply
                    0
                    • daulagariD Offline
                      daulagariD Offline
                      daulagari
                      Hero Member
                      wrote on last edited by
                      #19

                      @tekka

                      here is the first alpha version of the MYSController

                      :+1:

                      Saw it was a Windows executable but did give it a try on Linux:

                      wine MYSController.exe
                      

                      And the GUI comes up nicely!

                      I can not select the serial port yet, so could not test it further, likely have to do some mapping in wine.

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

                        Yepp.. GUI comes up on mac using wine as well. Will try tomorrow when I have an Arduino nearby.

                        Screen Shot 2015-01-22 at 23.50.37.png

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Tibus
                          wrote on last edited by
                          #21

                          is it possible tu use the ota bootloader on 8Mhz?

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

                            For OTA should be ok, for AVRDUDE not tested

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              Tibus
                              wrote on last edited by
                              #23

                              OK, Thank's!

                              The GUI doesn't work on mac with wine. The program is running good but do not recognize the usb device (even with a symbolic link to wine,...). Is it possible to get the program on mac?

                              tekkaT 1 Reply Last reply
                              0
                              • T Tibus

                                OK, Thank's!

                                The GUI doesn't work on mac with wine. The program is running good but do not recognize the usb device (even with a symbolic link to wine,...). Is it possible to get the program on mac?

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

                                @Tibus
                                I will look into that. Meanwhile, can you try to link the serial gateway to localhost (e.g. ser2net or socat) and connect via tcp?

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  Tibus
                                  wrote on last edited by
                                  #25

                                  ok, I'll try that. Really looking forward to play with it ;D

                                  1 Reply Last reply
                                  0
                                  • daulagariD Offline
                                    daulagariD Offline
                                    daulagari
                                    Hero Member
                                    wrote on last edited by
                                    #26

                                    I can not select the serial port yet, so could not test it further, likely have to do some mapping in wine.

                                    Took some time to find out but after:

                                    • Adding a mapping from the Linux serial port to the Wine dosdevice configuration:
                                      ln -s /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_* ~/.wine/dosdevices/COM3

                                    • Adding to ~/.wine/system.reg:

                                        [Hardware\\Devicemap\\Serialcomm] 1231984861
                                        @=""
                                        "Serial0"="COM1"
                                        "Serial1"="COM2"
                                        "Serial2"="COM3" 
                                    

                                    I could start MYSController.exe and select COM3 and get:

                                    File_not_open.png

                                    But after pressing OK things look to work however:

                                    Gateway_startup_complete.png

                                    @tekka : Thanks!

                                    tekkaT 1 Reply Last reply
                                    2
                                    • daulagariD daulagari

                                      I can not select the serial port yet, so could not test it further, likely have to do some mapping in wine.

                                      Took some time to find out but after:

                                      • Adding a mapping from the Linux serial port to the Wine dosdevice configuration:
                                        ln -s /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_* ~/.wine/dosdevices/COM3

                                      • Adding to ~/.wine/system.reg:

                                          [Hardware\\Devicemap\\Serialcomm] 1231984861
                                          @=""
                                          "Serial0"="COM1"
                                          "Serial1"="COM2"
                                          "Serial2"="COM3" 
                                      

                                      I could start MYSController.exe and select COM3 and get:

                                      File_not_open.png

                                      But after pressing OK things look to work however:

                                      Gateway_startup_complete.png

                                      @tekka : Thanks!

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

                                      @daulagari thanks for the workaround. Success with OTA?

                                      1 Reply Last reply
                                      0
                                      • daulagariD Offline
                                        daulagariD Offline
                                        daulagari
                                        Hero Member
                                        wrote on last edited by
                                        #28

                                        Doing OTA did work once but trying a second time did not work out yet.

                                        I found that it is important the user that runs "wine MYSController.exe" must have access to the port ~/.wine/dosdevices/COMx links to:

                                        $ ls -als /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_*
                                        0 lrwxrwxrwx 1 root root 13 25 jan 09:38 /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9SZN99X-if00-port0 -> ../../ttyUSB0
                                        

                                        Is not good ("root root"), I changed the link to to:

                                        $ ls -asl /dev/ttyUSB0 
                                        0 crw-rw---- 1 root dialout 188, 0 25 jan 11:34 /dev/ttyUSB0
                                        

                                        In the debug log I see the 0;0;3;0;14;Gateway startup complete. message but no messages from the sensor.

                                        Looks like the "File not open." window I am getting and:

                                        fixme:comm:set_queue_size insize 4096 outsize 0 unimplemented stub
                                        

                                        I am seeing on the command line has something to do with it.

                                        NB: Seems like the GUI is programmed using TK. How about compiling it for Linux?

                                        tekkaT 1 Reply Last reply
                                        0
                                        • daulagariD daulagari

                                          Doing OTA did work once but trying a second time did not work out yet.

                                          I found that it is important the user that runs "wine MYSController.exe" must have access to the port ~/.wine/dosdevices/COMx links to:

                                          $ ls -als /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_*
                                          0 lrwxrwxrwx 1 root root 13 25 jan 09:38 /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9SZN99X-if00-port0 -> ../../ttyUSB0
                                          

                                          Is not good ("root root"), I changed the link to to:

                                          $ ls -asl /dev/ttyUSB0 
                                          0 crw-rw---- 1 root dialout 188, 0 25 jan 11:34 /dev/ttyUSB0
                                          

                                          In the debug log I see the 0;0;3;0;14;Gateway startup complete. message but no messages from the sensor.

                                          Looks like the "File not open." window I am getting and:

                                          fixme:comm:set_queue_size insize 4096 outsize 0 unimplemented stub
                                          

                                          I am seeing on the command line has something to do with it.

                                          NB: Seems like the GUI is programmed using TK. How about compiling it for Linux?

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

                                          @daulagari
                                          interesting, do you get the "File not open" message with AutoFW disabled? Also, what happens if you reboot the gateway several times (reset button), does the "Gateway startup complete" message re-appear? I recall that I had problems with OTA with the debug-mode enabled in config.h, the gateway kept freezing when sending OTA messages.
                                          The controller is written in lazarus/fpc - porting to mac or *nix should be straight forward, I'll have a look.

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


                                          21

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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