-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmos.yml
39 lines (33 loc) · 1.45 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
author: Utkarsh Verma <utkarshverma@pm.me>
description: Power-efficiently send ESP32/ESP8266 temperature sensor readings via MQTT periodically.
version: 2.0
platform: esp32
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
config_schema:
- ["temperature", "o", {title: "Temperature related configurations"}]
- ["temperature.basis", "d", 24, {title: "Ambient temperature to act as reference:"}]
- ["temperature.unit", "s", "celsius", {title: "Temperature unit:"}]
- ["led", "o", {title: "LED configurations"}]
- ["led.gpio", "i", 2, {title: "Built-in LED GPIO:"}]
- ["sleep_duration", "d", 10, {title: "Time in minutes after for which the device should (deep) sleep:"}]
- ["mqtt.enable", "b", true, {title: "Enable MQTT service:"}]
- ["mqtt.server", "s", "broker.losant.com:8883", {title: "MQTT server to publish to."}]
- ["mqtt.ssl_ca_cert", "s", "ca.pem", {title: "Path to trusted CA certificate, relative to 'fs'."}]
filesystem:
- fs
libs:
- origin: https://github.com/mongoose-os-libs/boards
- origin: https://github.com/mongoose-os-libs/ca-bundle
- origin: https://github.com/mongoose-os-libs/mjs
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/wifi
tags:
- cloud
- core
- js
- temperature
manifest_version: 2017-05-18