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. MyController.org
  4. Help with Windows Installation - Server and Serial Activation

Help with Windows Installation - Server and Serial Activation

Scheduled Pinned Locked Moved MyController.org
6 Posts 2 Posters 2.6k Views 2 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.
  • landpattersonL Offline
    landpattersonL Offline
    landpatterson
    wrote on last edited by
    #1

    Re: Help with Windows Installation
    I have read and reread the installation instructions and still cannot figure out how to get the Mycontroller server to activate and launch. I have unpacked Release 0.0.3 alpha 1 here: C:\Program Files (x86)\MyController.
    When I go to the MyController properties file there are no parameters for the serial connection.
    When I double click the "start" batch file, a terminal window opens for a split second, then closes.
    Any help with the set up would be very appreciated. Thank you

    J 1 Reply Last reply
    0
    • landpattersonL landpatterson

      Re: Help with Windows Installation
      I have read and reread the installation instructions and still cannot figure out how to get the Mycontroller server to activate and launch. I have unpacked Release 0.0.3 alpha 1 here: C:\Program Files (x86)\MyController.
      When I go to the MyController properties file there are no parameters for the serial connection.
      When I double click the "start" batch file, a terminal window opens for a split second, then closes.
      Any help with the set up would be very appreciated. Thank you

      J Offline
      J Offline
      jkandasa
      Plugin Developer
      wrote on last edited by
      #2

      @landpatterson Recently MyController.org starts to support multiple gateways. Hence we removed gateway settings from mycontroller.properties, Which is currently available at in UI (Resources-->Gateways).
      In your system you should have java 1.8 or later version.

      To know your java version run on cmd line -> java -version, if you don't have version >1.8, download and install from here

      MyController.org from downloads location is bit outdated. Currently I am working for 0.0.3.Alpha2 version, which is available here.

      You can check log files for errors(mycontroller/logs/). If you do not find any error there, run the command (mycontroller/bin.start.bat) on command line.

      1 Reply Last reply
      0
      • landpattersonL Offline
        landpattersonL Offline
        landpatterson
        wrote on last edited by
        #3

        Thanks for the quick response!
        I have upgraded to Java 1.8. The command start.bat file ran and then left the terminal window open. I did not see any errors in the log file. It appears the server was running. But no web page launched. Do I need to select a file to launch the web page, or should it launch automatically?

        One other note is sometimes the temp file does not want to be created, the log file says "cannot create at this location". Where do you suggest creating the temp file? Is it OK to create it in the MySensor folder?

        I went ahead and downloaded and installed 0.0.3.Alpha2 as you suggested. It appears to be a step backwards as the terminal window does not open any more and the log file has stopped being created.

        Sorry for all the questions, I am quite new to this and trying to get up to speed as quickly as I can. I am running Win10 on this PC. Will that impact any of the operation?

        Thanks for your help! Les

        J 1 Reply Last reply
        0
        • landpattersonL landpatterson

          Thanks for the quick response!
          I have upgraded to Java 1.8. The command start.bat file ran and then left the terminal window open. I did not see any errors in the log file. It appears the server was running. But no web page launched. Do I need to select a file to launch the web page, or should it launch automatically?

          One other note is sometimes the temp file does not want to be created, the log file says "cannot create at this location". Where do you suggest creating the temp file? Is it OK to create it in the MySensor folder?

          I went ahead and downloaded and installed 0.0.3.Alpha2 as you suggested. It appears to be a step backwards as the terminal window does not open any more and the log file has stopped being created.

          Sorry for all the questions, I am quite new to this and trying to get up to speed as quickly as I can. I am running Win10 on this PC. Will that impact any of the operation?

          Thanks for your help! Les

          J Offline
          J Offline
          jkandasa
          Plugin Developer
          wrote on last edited by
          #4

          @landpatterson terminal window left open looks like MyController.org started successfully. MyController.org is a web application server. You have to launch it on browser. If you do not touch on default settings (mycontroller/conf/mycontroller.properties) url will be https://localhost:8443 and default username is admin and default password is admin. You have to add new gateway to control your MySensors.

          I didn't test the latest version on windows (I do not have windows machine ;)) Only one MyController.org instance is allowed in a operating system. When you try latest version, STOP the old version of MyController. For temp file issue just leave it as is. I will check it in Windows machine. For now it will not disturb you.

          To know more about MyController click here-readme-file file(it is not fully completed, but have some information)

          1 Reply Last reply
          0
          • landpattersonL Offline
            landpattersonL Offline
            landpatterson
            wrote on last edited by
            #5

            Thank you @jkandasa . I am now able to get the webserver running and access the mycontroller.org web page.

            Can you provide some guidance on how to set up the serial gateway? I have checked the support document and it doesn't answer the following questions:
            How do I choose which one of the four drivers?
            What are the criteria around setting the port name? I know the USB device has set up as COM 5. I am not sure what the example "/dev/ttyUSB0" indicates.
            Baud rate and frequency should be OK at the suggested default values, I think

            Thanks!

            J 1 Reply Last reply
            1
            • landpattersonL landpatterson

              Thank you @jkandasa . I am now able to get the webserver running and access the mycontroller.org web page.

              Can you provide some guidance on how to set up the serial gateway? I have checked the support document and it doesn't answer the following questions:
              How do I choose which one of the four drivers?
              What are the criteria around setting the port name? I know the USB device has set up as COM 5. I am not sure what the example "/dev/ttyUSB0" indicates.
              Baud rate and frequency should be OK at the suggested default values, I think

              Thanks!

              J Offline
              J Offline
              jkandasa
              Plugin Developer
              wrote on last edited by jkandasa
              #6

              @landpatterson Great! /dev/ttyUSBx is Linux machine id for serial port. In windows it would be like COMx. So you can enter as follows,

              0_1469502462112_upload-a9851556-5fbe-4c66-b365-e83789a78019

              Driver: For windows you can select either jssc or jSerialComm. I would recommend you to leave it as Auto. It will select best driver for your OS. We no need to specify a driver until there is a situation.

              I guess in windows port name should be without space COM5.

              Retry frequency: When there is a loss in serial port connection between MyController and your gateway, MyController will try to reconnect after this x seconds. here I have mentioned 120 seconds.

              After successful connection, you can see debug logs on Status >> Resources logs

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


              15

              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