-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
76 lines (59 loc) · 2.75 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
author: Richard Lyon <richardlyon@fastmail.com>
description: Send HDC1080 readings by MQTT
version: 0.21
name: Livingroom environment sensor
tags:
- c
- HDC1080
- SCD30
sources:
- src
config_schema:
- ["uart.baud_rate", 115200]
- ["provision.led.pin", 2]
- ["dash.enable", true]
- ["dash.token", "91qXvM90ieNSi90RiMFyuG03g"]
- ["dash.server", "wss://mdash.net/api/v2/rpc"]
- ["i2c.enable", true]
- ["i2c.scl_gpio", "i", 5, { title: "scl" }]
- ["i2c.sda_gpio", "i", 4, { title: "sda" }]
- ["wifi.sta.enable", true]
- ["wifi.ap.enable", false]
- ["wifi.sta.ssid", "Kingswood"]
- ["wifi.sta.pass", "wbtc0rar"]
- ["mqtt.enable", true]
- ["mqtt.server", 192.168.1.30:1883]
- ["keep_alive", 60]
- ["mqtt.topic_root", "s", "livingroom", { title: "MQTT topic root" }] # SET THIS TO DEVICE LOCATION
- ["mqtt.will_message", "livingroom/OFFLINE"]
- ["mqtt.will_topic", "status"] # updated programmatically with topic root
- ["mqtt.will_retain", true]
- ["json", "o", { title: "JSON data " }]
- ["json.protocol_version", "s", "1.0", { title: "JSON protocol version" }]
- ["sensor", "o", { title: "Sensor custom settings" }]
- ["sensor.interval", "i", 3000, { title: "Data refresh period (milliseconds)" }]
- ["sensor.scd30.refreshIntervalSecs", "i", 3, { title: "Data refresh period (milliseconds" }]
- ["sensor.scd30.defaultAmbientPressureMbar", "i", 1023, { title: "Data refresh period (milliseconds" }]
- ["device.type", "s", "NODEMCUDEVKIT", { title: "MCU typye" }]
- ["device.location", "s", "Living Room", { title: "Location of device" }]
- ["device.firmware.name", "s", "Environment Sensor", { title: "Firmware name" }, ]
- ["device.firmware.version", "s", "0.2", { title: "Firmware version" }]
- ["device.firmware.slug", "s", "sensor-environment-livingroom-NODEMCUDEVKIT-mongoose", { title: "Device firmware slug" }]
- ["device.firmware.os", "s", "mongoose", { title: "Firmware operating system" }]
- ["device.battery.active", "b", true, { title: "True if the device is on battery power" }]
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/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/wifi
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/provision
- origin: https://github.com/kingswood-monitor/mgos_hdc1080
version: 1.3
- origin: https://github.com/kingswood-monitor/mgos_scd30
version: 1.3
- origin: https://github.com/kingswood-monitor/mgos_utilities
version: 1.0
manifest_version: 2017-09-29