-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js
60 lines (46 loc) · 2.4 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* Configuration file */
module.exports = {
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Settings for one or more old (2015-2016) Landroids whose app communicates directly with the mower on the local Wi-Fi
// These must be set correctly regardless of home automation system
localLandroids: [
{
/** If you have multiple Landroids, you will want to give them unique names*/
name: "My Landroid",
/** The PIN code to your Landroid */
pinCode: "YOUR PIN CODE", // <---- MUST ALWAYS BE EDITED!!!
/**
* The URL where your Worx Landroid is accessible by a web browser. Examples: "https://192.168.0.5", "http://mylandroid.dynamic-ip-provider:8080"
* The default "http://Landroid" is how the Landroid identifies itself on the network, and should work in most cases where
* this application and the Landroid are on the same network. (NOTE! No '/' at the end)
*/
url: "http://Landroid"
}
],
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Settings needed if you plan to use Domoticz
/**
* The URL to the Domoticz server. The default setting assumes the server is running on the same unit as this app,
* on the default port (8080)
*/
domoticzUrl: "http://localhost:8080",
/** The URL of your MQTT broker, such as Mosquitto. Public server mqtt://test.mosquitto.org may be used for testing */
mqttBrokerUrl: 'mqtt://localhost',
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Settings needed if you plan to use Home Assistant
/**
* The URL where Home Assistant web UI is available. Defaults to the same computer as this app is run, with the default
* Home Assistant port.
*/
homeAssistantUrl: "http://localhost:8123",
/** The password you have chosen for Home Assistant */
homeAssistantPassword: "YOUR HOME ASSISTANT PASSWORD", // <---- Must be edited if you plan to use Home Assistant!!!
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Settings needed for reporting metrics to InfluxDB 2.x
InfluxDB2: {
url: 'http://localhost:8086',
org: 'my_org',
bucket: 'my_bucket',
token: 'REPLACEME'
}
};