author: Dirk Jahnke # forked from: Jason Harrell #original author Luca Fabbri description: LilyGo HiGrow ESP32 Plant Sensor with MQTT (HW v1) # arch: PLATFORM version: 1.0 libs_version: ${mos.version} modules_version: ${mos.version} mongoose_os_version: ${mos.version} platform: esp32 config_schema: - ["higrow", "o", {title: "LilyGo HiGrow ESP32 Plant Sensor v1 App Settings"}] - ["higrow.deviceId", "s", "", {title: "DeviceId"}] - ["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 libs: - origin: https://github.com/mongoose-os-libs/ca-bundle - origin: https://github.com/mongoose-os-libs/bt-service-config - origin: https://github.com/mongoose-os-libs/rpc-service-config - origin: https://github.com/mongoose-os-libs/rpc-service-fs - origin: https://github.com/mongoose-os-libs/rpc-uart - origin: https://github.com/mongoose-os-libs/rpc-mqtt - origin: https://github.com/mongoose-os-libs/wifi - origin: https://github.com/mongoose-os-libs/dht - origin: https://github.com/mongoose-os-libs/mjs - origin: https://github.com/mongoose-os-libs/adc - origin: https://github.com/mongoose-os-libs/mqtt tags: - js - hardware - higrow - esp32 - ble - plant - lilygo build_vars: ESP_IDF_SDKCONFIG_OPTS: "${build_vars.ESP_IDF_SDKCONFIG_OPTS} CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=500" # Used by the mos tool to catch mos binaries incompatible with this file format manifest_version: 2017-05-18