Add lightswitch to this firmware
This commit is contained in:
15
mos.yml
15
mos.yml
@ -46,6 +46,10 @@ config_schema:
|
||||
- ["app.inactivity_timeout", 10]
|
||||
- ["app.battery_calibration", i, {title: "Battery ADC value at 4000mV"}]
|
||||
- ["app.battery_calibration", 2360]
|
||||
- ["app.buttons", "s", {title: "comma-separated list of button pins"}]
|
||||
- ["app.buttons", "0,2"]
|
||||
- ["app.relays", "s", {title: "comma-separated list of relay pins"}]
|
||||
- ["app.relays", "16,12,13,14"]
|
||||
- ["spi.enable", true]
|
||||
- ["spi.cs1_gpio", -1]
|
||||
- ["spi.cs2_gpio", -1]
|
||||
@ -53,7 +57,11 @@ config_schema:
|
||||
- ["stmpe610.cs_index", 1]
|
||||
- ["stmpe610.orientation", 5] # Set to 4 for 2.4" Featherwing, set to 5 for 3.5" Featherwing
|
||||
- ["mqtt.enable", true]
|
||||
- ["mqtt.server", "chbtl01.paphosting.net:1883"]
|
||||
- ["http.enable", true]
|
||||
- ["mqtt.server", "mqtt.ipng.nl:8883"]
|
||||
- ["mqtt.ssl_ca_cert", "mqtt.pem"]
|
||||
- ["rpc.mqtt.enable", true]
|
||||
|
||||
|
||||
conds:
|
||||
- when: mos.platform == "esp32"
|
||||
@ -83,14 +91,15 @@ libs:
|
||||
- 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/prometheus-metrics
|
||||
- origin: https://github.com/mongoose-os-libs/rpc-common
|
||||
- origin: https://github.com/mongoose-os-libs/rpc-service-config
|
||||
- origin: https://github.com/mongoose-os-libs/rpc-mqtt
|
||||
- origin: https://github.com/mongoose-os-libs/mqtt
|
||||
- origin: https://github.com/mongoose-os-libs/pwm
|
||||
- origin: https://github.com/mongoose-os-libs/adc
|
||||
- origin: https://github.com/mongoose-os-libs/spi
|
||||
- origin: https://github.com/mongoose-os-libs/ili9341-spi
|
||||
- origin: https://github.com/mongoose-os-libs/stmpe610-spi
|
||||
- origin: libs/ota-http-client
|
||||
- origin: libs/ota-http-server
|
||||
- origin: libs/rpc-service-ota
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user