Files
@ 195dbcc38137
Branch filter:
Location: HydroBot/hydrobot-software/hydrobot_example.conf - annotation
195dbcc38137
1.6 KiB
text/plain
Working on alerts - loading alerts from config and alert objects
a5b830d92afd a5b830d92afd 4ccedc2f8509 a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd 22b6999f8bdd 22b6999f8bdd 22b6999f8bdd a5b830d92afd a5b830d92afd a5b830d92afd a5b830d92afd 653da092aa96 653da092aa96 653da092aa96 653da092aa96 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 195dbcc38137 | [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
|