This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.yaml
45 lines (45 loc) · 1.6 KB
/
config.yaml
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
ospi:
password: "YOUR_OSPI_PASSWORD" # Needs to be hashed. View README for help
port: "8080"
programs:
notify:
start: "yes"
stop: "yes"
messages: # Bracket the begin and end of a program
start: "Program started"
stop: "Program ended"
stations: # Station activity notifications for start and stop. Valid options are "yes" or "no"
notify:
start: "yes"
stop: "yes"
messages: # Use {} as the place where the station name will be displayed
start: "{} is now active"
stop: "{} is now idle"
rain: # Rain sensor notifications for active or cleared. Valid options are "yes" or "no"
notify: "yes"
messages:
active: "Rain sensor has detected rain"
clear: "Rain sensor has cleared"
waterlevel: # Water level notifications? Valid options are "yes" or "no"
notify: "yes"
message: "The water level is now {}%"
push:
service: "instapush" # Acceptable options are "instapush" or "pushover" or "ifttt"
instapush:
appID: "YOUR_INSTAPUSH_APPID"
appSecret: "YOUR_INSTAPUSH_APPSECRET"
pushover:
userKey: "YOUR_PUSHOVER_USERKEY"
appToken: "YOUR_PUSHOVER_APPTOKEN"
sound: "pushover"
ifttt:
eventName: "YOUR_IFTTT_EVENT_NAME"
userKey: "YOUR_IFTTT_USER_KEY"
email:
from: "[email protected]"
to: "[email protected]"
subject: "OSPi Push Notification Script Failure"
text: "The OSPi push notification script has crashed, or stopped. The error reported was: {}"
server: "localhost" # Valid options are "localhost" or "gmail". Using GMail will reduce the email being flagged as spam
gmailUsername: "YOUR_GMAIL_USERNAME"
gmailPassword: "YOUR_GMAIL_PASSWORD"