forked from LowPowerLab/RaspberryPi-Gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json5
148 lines (148 loc) · 4.62 KB
/
settings.json5
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
settings: {
credentials: {
editable: true,
exposed: true,
emailservice: {
value: 'gmail',
description: 'default is gmail, see nodemailer reference for other clients - https://github.com/andris9/Nodemailer',
},
email: {
value: '[email protected]',
type: 'email',
description: 'put your gmail address here - this will also be used to send SMS (SMS via email)',
},
emailpass: {
value: '________',
type: 'password',
description: 'put your gmail password or app access code here',
},
emailAlertsTo: {
value: '[email protected]',
type: 'email',
description: 'put your alert/notification email here (can be the same as above)',
},
smsAlertsTo: {
value: '[email protected]',
type: 'email',
description: "if you want SMS notifications, fill this in with your phone number (it's your cell#, domain differs for each carrier, ex: [email protected] for verizon, or [email protected] for at&t)",
},
},
serial: {
editable: true,
exposed: true,
port: {
value: '/dev/ttyAMA0',
description: 'replace this with whatever serial port you have on your Pi/gateway (ttyAMA0 is the default GPIO serial port). If you use a MoteinoUSB then your Pi will emulate a serial port like /dev/ttyUSB0',
},
baud: {
value: 19200,
type: 'number',
description: 'needs to match the Serial baud speed in the sketch running on the Moteino or MightyHat that is attached to this Pi',
},
},
database: {
editable: false,
exposed: false,
name: {
value: 'gateway.db',
description: 'where your node information is stored, should not really be changed',
},
nonMatchesName: {
value: 'gateway_nonmatches.db',
description: 'where non match node information is dumped, should not really be changed',
},
compactDBInterval: {
value: 86400000,
type: 'number',
description: 'the gateway.db database is compacted every this many milliseconds, default = once every day',
},
},
general: {
editable: true,
exposed: true,
consoleLogDateFormat: {
value: 'mm-dd-yy HH:MM:ss.l',
exposed: false,
},
socketPort: {
value: 8080,
type: 'number',
editable: false,
description: 'the port at which the gateway.js socket app is listening',
},
genNodeIfNoMatch: {
value: 'false',
description: 'generate a new node even if the data received does not match any metric definition, default = false',
type: 'checkbox',
},
keepMetricLogsOnDelete: {
value: 'false',
type: 'checkbox',
description: 'keep the metric binary logs when metric is deleted, default = false',
},
graphMaxPoints: {
value: 800,
type: 'number',
description: 'display up to this many points in the UI, should not be more than your monitor resolution',
},
smsRepeatLimit: {
value: 180000,
type: 'number',
description: 'an SMS will only be repeated after this many milliseconds. Helps to limit repeats for things like repeated motion or alerts',
},
lowVoltageValue: {
value: '3.55',
type: 'range',
min: 1,
max: 4,
description: "a warning icon is shown over the node Icon when the node's voltage is less than this value (typically around 3.5v for a standard Moteino)",
},
},
location: {
editable: true,
exposed: true,
latitude: {
value: 42.3,
type: 'range',
min: -90,
max: 90,
},
longitude: {
value: -83.5,
type: 'range',
min: -180,
max: 180,
},
},
radiothermostat: {
editable: true,
exposed: true,
ip: {
value: '192.168.1.100',
description: 'If you have a wifi RadioThermostat CT50/CT80 this is the IP address',
},
},
interface: {
editable: true,
exposed: true,
uiTitle: {
value: 'PiGateway v9.1.0',
type: 'text',
},
responsive: {
value: 'true',
description: 'nodelist becomes a responsive tile grid when screen is larger than [768,1020px]. This settting affects all UI clients.',
type: 'checkbox',
},
},
misc: {
editable: true,
exposed: true,
ipcam_snapURL: {
value: 'http://192.168.1.100/picture/2/current/',
description: 'Snapshot URL of IPCamera',
},
},
},
}