Restructured config section

This commit is contained in:
Dirk Jahnke 2018-06-14 16:49:59 +02:00
parent a140597aa8
commit b8dec591ab
1 changed files with 7 additions and 11 deletions

18
mos.yml
View File

@ -14,22 +14,18 @@ platform: esp32
config_schema:
- ["higrow", "o", {title: "LilyGo HiGrow ESP32 Plant Sensor v1 App Settings"}]
- ["higrow.deviceId", "s", "", {title: "DeviceId"}]
- ["higrow.temperature", "d", 0.0, {title: "Temperature"}]
- ["higrow.humidity", "d", 0.0, {title: "Humidity"}]
- ["higrow.moisture", "i", 0, {title: "Moisture"}]
- ["higrow.connected", "b", false, {title: "Connected"}]
- ["wifi.sta.enable", false]
- ["wifi.sta.ssid", ""]
- ["wifi.sta.pass", ""]
- ["wifi.ap.enable", false]
- ["device.id", "HiGrow_??????"]
- ["bt.dev_name", "HiGrowBT_??????"]
- ["mqtt.enable", true]
- ["higrow.send_mqtt", "b", true, {title: "Send data using MQTT"}]
- ["higrow.send_http", "b", false, {title: "Send data using HTTP"}]
- ["higrow.send_http_url", "s", "http://example.org/what/ever", {title: "Send data using HTTP"}]
- ["higrow.sample_time", "i", 300, {title: "Take a sample after that amount of seconds"}]
- ["higrow.wait_after_last_action_before_sleep", "i", 10, {title: "Wait this number of seconds before we go into deep sleep"}]
- ["wifi.sta.enable", true]
#- ["wifi.sta.ssid", ""]
#- ["wifi.sta.pass", ""]
- ["wifi.ap.enable", false]
- ["device.id", "HiGrow_??????"]
- ["bt.dev_name", "HiGrowBT_??????"]
- ["mqtt.enable", true]
filesystem:
- fs