Files @ 7b33cc2da5f0
Branch filter:

Location: HydroBot/hydrobot-software/hydrobot_example.conf - annotation

matthewreed
Added new gas sensing and other stuff from a long time ago
[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_type: digital_output
output_number: 1
input_module: RelayDrive1
input_type: frequency_input
input_number: 1
on_threshold: 50
off_threshold: 1
hysteresis: 5

[alert2]
name: "Light"
type: output_feedback
output_module: RelayDrive1
output_type: digital_output
output_number: 1
input_module: AirSense1
input_type: ambient_light
input_number: 0
on_threshold: 5000
off_threshold: 500
hysteresis: 10

[alert3]
name: "Lamp Dim"
type: output_feedback
output_module: RelayDrive1
output_type: digital_output
output_number: 1
input_module: AirSense1
input_type: ambient_light
input_number: 0
on_threshold: 10000
off_threshold: 0
hysteresis: 10

[alert4]
name: "Air Temperature"
type: measurement
input_module: AirSense1
input_type: air_temp
input_number: 0
high_threshold: 35
low_threshold: 15
hysteresis: 10

[alert5]
name: "Air Humidity"
type: measurement
input_module: AirSense1
input_type: air_humid
input_number: 0
high_threshold: 80
low_threshold: 30
hysteresis: 10

[alert6]
name: "Water Level"
type: measurement
input_module: WaterSense1
input_type: water_level
input_number: 0
high_threshold: 120
low_threshold: 50
hysteresis: 10

[alert7]
name: "Water Temperature"
type: measurement
input_module: WaterSense1
input_type: water_temp
input_number: 0
high_threshold: 30
low_threshold: 20
hysteresis: 10