update docs

This commit is contained in:
Stephan Mühl
2023-03-23 14:27:06 +01:00
parent 7b5a4d3aba
commit 4ef505fde8
3 changed files with 24 additions and 2 deletions

19
docs/mqtt.md Normal file
View 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