43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
n_zones = 5 # Anzahl Bewässerungszonen
|
|
db_path = "" # Pfad der Datenbankdatei
|
|
manual_time = 300 # Manuelle Bewaesserungszeit in Sekunden
|
|
grpc_port = "localhost:50052" # Port für GRPC-Kommunikation
|
|
log_debug = false # Debug-Ausgaben loggen
|
|
|
|
[io]
|
|
i2c_bus_id = 0 # ID des I2C-Bus
|
|
gpio_interrupt = 17 # GPIO-Pin, mit dem der Interrupt-Pin des MCP23017 verbunden ist
|
|
gpio_delay = 0.05 # Entprellzeit in Sekunden
|
|
|
|
[output_devices] # Ausgaenge
|
|
VALVE_1 = "0x27/B0/!"
|
|
VALVE_2 = "0x27/B1/!"
|
|
VALVE_3 = "0x27/B2/!"
|
|
VALVE_4 = "0x27/B3/!"
|
|
VALVE_5 = "0x27/B4/!"
|
|
VALVE_6 = "0x27/B5/!"
|
|
VALVE_7 = "0x27/B6/!"
|
|
LED_Z_1 = "0x27/A0"
|
|
LED_Z_2 = "0x27/A1"
|
|
LED_Z_3 = "0x27/A2"
|
|
LED_Z_4 = "0x27/A3"
|
|
LED_Z_5 = "0x27/A4"
|
|
LED_Z_6 = "0x27/A5"
|
|
LED_Z_7 = "0x27/A6"
|
|
LED_M_AUTO = "0x23/B0"
|
|
LED_M_MAN = "0x23/B1"
|
|
|
|
[input_devices] # Eingaenge
|
|
BT_Z_1 = "0x23/A0/!"
|
|
BT_Z_2 = "0x23/A1/!"
|
|
BT_Z_3 = "0x23/A2/!"
|
|
BT_Z_4 = "0x23/A3/!"
|
|
BT_Z_5 = "0x23/A4/!"
|
|
BT_Z_6 = "0x23/A5/!"
|
|
BT_Z_7 = "0x23/A6/!"
|
|
BT_MODE = "0x23/A7/!"
|
|
|
|
[timecfg] # Befehle für Konfiguration von Datum/Uhrzeit
|
|
cmd_set_datetime = "date -s '%Y-%m-%d %H:%M:%S'" # Datum/Uhrzeit setzen. Verwende Python-strftime()-Platzhalter.
|
|
cmd_get_timezone = "cat /etc/timezone" # Zeitzone im Unix-Format abrufen
|
|
cmd_set_timezone = "timedatectl set-timezone '{TZ}'" # Zeitzone setzen. Verwende {TZ} als Platzhalter für die Zeitzone.
|