Files
        @ d1c603090b0c
    
        
              Branch filter: 
        
    Location: HydroBot/hydrobot-software/hydrobot_example.conf
        
            
            d1c603090b0c
            1.8 KiB
            text/plain
        
        
    
    Added alert evalutation
    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  | [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
 |