add ability to override frequency per plant and adjust timezone, fix missing workhour for plants

This commit is contained in:
2025-05-06 22:33:33 +02:00
parent f8274ea7a8
commit 5fe1dc8f40
10 changed files with 257 additions and 94 deletions

View File

@@ -69,6 +69,7 @@ interface PlantControllerConfig {
tank: TankConfig,
night_lamp: NightLampConfig,
plants: PlantConfig[]
timezone?: string,
}
interface PlantConfig {
@@ -80,6 +81,9 @@ interface PlantConfig {
pump_hour_end: number,
sensor_b: boolean,
max_consecutive_pump_count: number,
moisture_sensor_min_frequency?: number;
moisture_sensor_max_frequency?: number;
}