PlantCtrl/esp32/host/config-example.json

50 lines
1.1 KiB
JSON
Raw Normal View History

2020-09-07 18:18:46 +02:00
{
"name": "PlantControl",
"device_id": "PlantCtrl1",
"device_stats_interval": 60,
"wifi": {
"ssid": "SSID",
"bssid" : "BSSID",
"password": "mysecretPassword",
"channel": 1
},
"mqtt": {
"host": "[0-255].[0-255].[0-255].[0-255]",
"port": 1883,
"base_topic": "mqtt/topic/",
"auth": false
},
"ota": {
"enabled": true
},
"settings": {
2020-10-13 21:22:21 +02:00
"deepsleep" : 60000,
"nightsleep" : 60000,
2020-09-12 16:47:58 +02:00
"pumpdeepsleep": 1000,
"watermaxlevel": 50,
"watermin" : 5,
2020-09-07 18:18:46 +02:00
"plants" : 3,
2020-10-13 21:22:21 +02:00
"moist0" : 2000,
2020-09-07 18:18:46 +02:00
"moist1" : 2000,
"moist2" : 2000,
2020-09-12 16:47:58 +02:00
"moist3" : 2000,
2020-10-13 21:22:21 +02:00
"moist4" : 2000,
"moist5" : 2000,
"moist6" : 2000,
"plant0MaxPumpTime": 1000,
2020-09-12 16:47:58 +02:00
"plant1MaxPumpTime": 1000,
"plant2MaxPumpTime": 1000,
"plant3MaxPumpTime": 1000,
2020-10-13 21:22:21 +02:00
"plant4MaxPumpTime": 1000,
"plant5MaxPumpTime": 1000,
"plant6MaxPumpTime": 1000,
"plant0MinPumpIdle": 10000,
2020-09-12 16:47:58 +02:00
"plant1MinPumpIdle": 10000,
"plant2MinPumpIdle": 10000,
2020-10-13 21:22:21 +02:00
"plant3MinPumpIdle": 10000,
"plant4MinPumpIdle": 10000,
"plant5MinPumpIdle": 10000,
"plant6MinPumpIdle": 10000
2020-09-07 18:18:46 +02:00
}
}