refactor: unify moisture handling, update config structure, and add peer dependencies
This commit is contained in:
172
Software/MainBoard/d1.json
Normal file
172
Software/MainBoard/d1.json
Normal file
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"hardware": {
|
||||
"board": "V4",
|
||||
"battery": "Disabled"
|
||||
},
|
||||
"network": {
|
||||
"max_wait": 10000,
|
||||
"ap_ssid": "PlantCtrl Init",
|
||||
"ssid": "private",
|
||||
"password": "wertertzu",
|
||||
"mqtt_url": "",
|
||||
"mqtt_user": null,
|
||||
"mqtt_password": null,
|
||||
"base_topic": ""
|
||||
},
|
||||
"tank": {
|
||||
"tank_allow_pumping_if_sensor_error": true,
|
||||
"tank_empty_percent": 5,
|
||||
"tank_full_percent": 95,
|
||||
"tank_sensor_enabled": false,
|
||||
"tank_useable_ml": 50000,
|
||||
"tank_warn_percent": 40,
|
||||
"ml_per_pulse": 0
|
||||
},
|
||||
"night_lamp": {
|
||||
"night_lamp_hour_start": 19,
|
||||
"night_lamp_hour_end": 2,
|
||||
"night_lamp_only_when_dark": true,
|
||||
"enabled": true,
|
||||
"low_soc_cutoff": 30,
|
||||
"low_soc_restore": 50
|
||||
},
|
||||
"plants": [
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
},
|
||||
{
|
||||
"mode": "Off",
|
||||
"target_moisture": 40,
|
||||
"min_moisture": 30,
|
||||
"pump_time_s": 30,
|
||||
"pump_cooldown_min": 60,
|
||||
"pump_hour_start": 9,
|
||||
"pump_hour_end": 20,
|
||||
"sensor_b": false,
|
||||
"sensor_a": true,
|
||||
"max_consecutive_pump_count": 10,
|
||||
"moisture_sensor_min_frequency": null,
|
||||
"moisture_sensor_max_frequency": null,
|
||||
"min_pump_current_ma": 10,
|
||||
"max_pump_current_ma": 3000,
|
||||
"ignore_current_error": true
|
||||
}
|
||||
],
|
||||
"timezone": "Europe/Berlin"
|
||||
}
|
||||
Reference in New Issue
Block a user