-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.yml
111 lines (111 loc) · 2.33 KB
/
config-sample.yml
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
camera:
type: v4l
device: "/dev/video0"
delay: 2
latitude: '43.4873066'
longitude: "-80.4841633"
elevation: 400
rotation: 180
sensors:
temperature:
enabled: true
type: bmp280
device: 1-0076
rounding: 1
light:
enabled: true
type: bh1750
device: 1-0023
rounding: 1
voltage:
enabled: true
type: ina219
address: '0x40'
rounding: 1
ledred:
enabled: true
gpiopin: 17
ledgreen:
enabled: false
gpiopin: 18
hwmon:
shutdown_enabled: false
twilio:
enabled: true
account_sid: ACCOUNT_SID
auth_token: AUTH_TOKEN
phone_number: PHONE_NUMBER
message:
warning: KW Geesecam is under voltage! Currently %%VOLTS%%V
shutdown: KW Geesecam is dead! Currently %%VOLTS%%V. Shutting down!
smslimit: 1800
phone_numbers:
- "+12262345678"
- "+15192345678"
min_voltage:
warning: 10
shutdown: 9.1
timefile: "/tmp/trailcamlastcheck.json"
thingspeak:
enabled: true
writekey: WRITEKEY
channelid: 1
timeout: 15
annotate:
enabled: true
font: "/usr/share/fonts/truetype/freefont/FreeSans.ttf"
size: 18
format: 'Hydrocut Status (%%DATE%%): %%TEMP%%C %%LIGHT%%Lux (Internet by @WorldlineCanada)'
format_twitter: 'Hydrocut Status: %%TEMP%%C %%LIGHT%%Lux (Internet by @WorldlineCanada)'
position: bottom
image:
archive: true
width: 1440
height: 810
filename: "webcam"
extension: "png"
directory: "/var/cache/webcam"
tmpfilename: "/tmp/webcam.png"
ftp:
enabled: true
server: servername
user: webcam
password: password
remotefile: webcam/webcam.png
archive_dir: archive
twitter:
enabled: false
ConsumerKey: CONSUMER KEY
ConsumerSecret: CONSUMER SECRET
AccessKey: ACCESS KEY
AccessSecret: ACCESS SECRET
restapi:
enabled: true
host: http://kwgeesecam.ca
camera_id: 1
api_key: API_KEY4
trailapi:
enabled: true
host: https://api.trailstatusapp.com/status?trailId=instagram%7C17841402338843416%7Cdefault
scheduler:
interval: 60
processes:
- enabled: true
description: 'Every Minute: Sensors'
count: 1
functions:
- sensors
- senddata
- checkvalues
- enabled: true
description: 'Every 5 Minutes: Take photo and upload'
count: 5
functions:
- annotate
- photo
- ftpupload
- enabled: true
description: 'Every hour: Twitter post'
count: 60
functions:
- twitterupload