LiliyGo-HiGrow-Sensor/mos.yml

62 lines
2.1 KiB
YAML
Executable File

author: Jason Harrell <info@latitude17.io>
#original author Luca Fabbri <luca@higrow.tech>
description: LilyGo HiGrow ESP32 Plant Sensor 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.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", 60, {title: "Take a sample after that amount of seconds"}]
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