-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_example.yaml
More file actions
92 lines (86 loc) · 1.76 KB
/
config_example.yaml
File metadata and controls
92 lines (86 loc) · 1.76 KB
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
display:
width: 128
height: 32
top_padding: -2
left_padding: 4
spacing: 8
data_logger:
loop_interval: 300 # Seconds
plotting:
filename_root: pisces/static/temperature_plot
temp_limits:
- 18
- 30
duration: 24 # Hours
lights_control:
time_on: '07:30'
time_off: '19:30'
lights: 22
button: 23
loop_interval: 60
temperature_control:
temperature_sensors:
water_temp: /sys/devices/w1_bus_master1/28-0114379715aa/w1_slave
air_temp: /sys/devices/w1_bus_master1/28-011437ed87aa/w1_slave
target_max: 26
target_min: 25
hysteresis: 0.125
fan: 27
button: 24
loop_interval: 60
water_control:
water_level_sensor:
gain: 4
target_max: 99.9
target_min: -99.9
hysteresis: 50
pump: 5
button: 25
overflow: 6
loop_interval: 60
webapp:
host: 0.0.0.0
refresh_interval: 150
logging:
version: 1
formatters:
short:
style: '{'
format: '{levelname:<8} {message}'
long:
style: '{'
format: '{asctime} {levelname:8} {module:10} {message}'
data:
style: '{'
format: '{asctime} {message}'
datefmt: '%Y-%m-%dT%H:%M:%S%z'
handlers:
console:
class: logging.StreamHandler
formatter: short
level: INFO
stream: ext://sys.stdout
file:
class: logging.handlers.TimedRotatingFileHandler
formatter: long
level: DEBUG
filename: logs/pisces.log
when: midnight
backupCount: 0
data:
class: logging.handlers.TimedRotatingFileHandler
formatter: data
level: DEBUG
filename: data/pisces.dat
when: midnight
backupCount: 0
loggers:
pisces_system:
level: DEBUG
handlers:
- console
- file
pisces_data:
level: DEBUG
handlers:
- data