update docs
This commit is contained in:
@@ -13,4 +13,7 @@
|
||||
- [Alarm clock](alarm.md)
|
||||
- [Timer](timer.md)
|
||||
- [Icons](icons.md)
|
||||
- [Sounds](sounds.md)
|
||||
- [Sounds](sounds.md)
|
||||
|
||||
- MQTT
|
||||
- [Commands](mqtt.md)
|
||||
@@ -1,7 +1,7 @@
|
||||
# Custom Pages & Notifications
|
||||
|
||||
With AWTRIX Light, you can create custom pages or notifications to display your own text and icons.
|
||||
Simply send a JSON object to the topic "awtrixlight/custom/[page]" where [page] is a number from 1-10.
|
||||
Simply send a JSON object to the topic "awtrixlight/custom/[page]" where [page] is a the name of your page (without spaces).
|
||||
|
||||
## JSON Properties
|
||||
|
||||
|
||||
19
docs/mqtt.md
Normal file
19
docs/mqtt.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# MQTT Commands
|
||||
|
||||
### Switch to app
|
||||
**Topic**
|
||||
`[PREFIX]/switch`
|
||||
**Payload**
|
||||
`{"name":"time"}`
|
||||
|
||||
Build-in app names are
|
||||
- `time`
|
||||
- `date`
|
||||
- `temp`
|
||||
- `hum`
|
||||
- `bat`
|
||||
|
||||
For custompages you need to call the name you set in the topic:
|
||||
if
|
||||
`[PREFIX]/custom/test` is your topic,
|
||||
then `test` is the name
|
||||
Reference in New Issue
Block a user