mirror of
https://github.com/Luzifer/tasmota-config.git
synced 2024-11-09 15:20:00 +00:00
Document config format
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
514a6e2860
commit
f01c6ebac0
1 changed files with 36 additions and 0 deletions
36
README.md
36
README.md
|
@ -10,3 +10,39 @@
|
||||||
|
|
||||||
- Settings defined in the config are fetched through MQTT
|
- Settings defined in the config are fetched through MQTT
|
||||||
- If the setting does not match an update is issued as `BackLog` command
|
- If the setting does not match an update is issued as `BackLog` command
|
||||||
|
|
||||||
|
## Example config
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
|
||||||
|
settings:
|
||||||
|
TelePeriod: 30
|
||||||
|
Timezone: +00:00
|
||||||
|
|
||||||
|
devices:
|
||||||
|
|
||||||
|
bedroom:
|
||||||
|
topic: bedroom
|
||||||
|
settings:
|
||||||
|
DeviceName: Bedroom Sensor
|
||||||
|
Module: 0
|
||||||
|
Template: '{"NAME":"DevRoom 1 Mov 1 BME","GPIO":[0,0,0,0,6,5,0,0,0,0,9,0,0],"FLAG":0,"BASE":19}'
|
||||||
|
|
||||||
|
fridge:
|
||||||
|
topic: fridge
|
||||||
|
settings:
|
||||||
|
DeviceName: Fridge
|
||||||
|
Module: 6
|
||||||
|
PowerCal: 13769
|
||||||
|
VoltageCal: 2127
|
||||||
|
|
||||||
|
phonecharge:
|
||||||
|
topic: phonecharge
|
||||||
|
settings:
|
||||||
|
DeviceName: Phone Charger
|
||||||
|
LedState: 0 # Don't shine on my during night
|
||||||
|
Module: 8
|
||||||
|
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue