From b8dec591ab4e93c7c89cff9e6ab7e65587adf740 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 14 Jun 2018 16:49:59 +0200 Subject: [PATCH] Restructured config section --- mos.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/mos.yml b/mos.yml index f409f36..b2e6c23 100755 --- a/mos.yml +++ b/mos.yml @@ -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