[system]
name: my-system
log_level: INFO
[database]
host: www.example.org
port: 8086
username: admin
password: admin
database: hydrobot
[timer1]
module: RelayDriveOut
output: Output1
trigger: cron
#day(1-31), weekday(0-6), hour(0-23), minute(0-59), second(0-59)
on_time: [None, None, None, None, 0]
off_time: [None, None, None, None, 30]
[timer2]
module: RelayDriveOut
output: Output2
trigger: interval
#weeks, days, hours, minutes, seconds
on_duration: [0, 0, 0, 0, 20]
off_duration: [0, 0, 0, 0, 10]
[alert1]
name: "Pump"
type: output_feedback
output_module: RelayDrive1
output: output_1
input_module: RelayDrive1
input: input_1
on_threshold: 50
off_threshold: 1
deadband: 5
[alert2]
name: "Light"
type: output_feedback
output_module: RelayDrive1
output: output_1
input_module: AirSense1
input: ambient_light
on_threshold: 5000
off_threshold: 500
deadband: 10
[alert3]
name: "Lamp Dim"
type: output_feedback
output_module: RelayDrive1
output: output_1
input_module: AirSense1
input: ambient_light
on_threshold: 10000
off_threshold: None
deadband: 10
[alert4]
name: "Air Temperature"
type: measurement
input_module: AirSense1
input: air_temp
high_threshold: 35
low_threshold: 15
deadband: 10
[alert5]
name: "Air Humidity"
type: measurement
input_module: AirSense1
input: air_humid
high_threshold: 80
low_threshold: 30
deadband: 10
[alert6]
name: "Water Level"
type: measurement
input_module: WaterSense1
input: water_level
high_threshold: None
low_threshold: 50
deadband: 10
[alert7]
name: "Water Temperature"
type: measurement
input_module: WaterSense1
input: water_temp
high_threshold: 30
low_threshold: 20
deadband: 10