Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (30 loc) · 1.82 KB

config.md

File metadata and controls

40 lines (30 loc) · 1.82 KB

Below are all of the config settings for the goHOME application.

By default goHOME will look in the directory where the gohome executable is located for a file called config.json If it can't find one it will create default values for all the settings, so if you want to change the defaults you will need to create a config.json file in the executable directory.

NOTE: If you change the contents on config.json, you will need to stop and start the gohome process for the changes to take effect. Also you should look in the app output on the terminal when it starts after making a change to make sure there are no issues.

{
  //The full path to the file that contains all of your system configuration, such as lights, shades etc
  //By default if not set gohome creates a file called gohome.json in the same directory as the gohome executable
  systemPath: "",

  //The full path to where the event log will be written. By default a file called events.json is create in the 
  //same directory as the gohome executable
  eventLogPath: "",

  //The path where goHOME will look for your automation scripts. By default it will look for a directory called
  //"automation" in the directory where the gohome executable is located
  automationPath: "",

  //The IP address for the WWW server. By default gohome looks for the first non loopback address
  wwwAddr: "",

  //The port to use for the WWW server, defaults to "8000"
  wwwPort: "",

  //The IP address used for a UPNP notify server, gohome looks for the first non loopback address
  upnpNotifyAddr: "",

  //The port used for the UPNP notification server, defaults to "5001"
  upnpNotifyPort: "",

  //If you want sunset/sunrise events to have the correct time, you have to specify the location where the 
  //gohome server is located
  location: {
    latitude: 0.0,
    longitude: 0.0
  }
}