Updated Commands (markdown)

Theo Arends 2018-03-23 15:49:49 +01:00
parent 1fe29f6704
commit 7b7f566eb5
1 changed files with 5 additions and 4 deletions

@ -61,6 +61,7 @@ The following command tables are available:
- [Main](#main)
- [Sensor](#sensor)
- [Timers](#timers)
- [Management](#management)
- [Wifi](#wifi)
- [MQTT](#mqtt-specific)
@ -183,7 +184,7 @@ WattRes | 0..3 | Set Power Resolution
### Timers
To control a device locally 16 Timers are available. They can be configured with the Timer\<x\> command followed by a JSON string with optional parameters. Full command examples are:
To control a device locally 16 Timers are available. They can be configured with the Timer\<x\> command following by a JSON string with optional parameters. Full command examples are:
```
Timer1 {"Arm":1,"Time":"09:23","Days":"--TW--S","Repeat":1,"Device":1,"Power":1}
Timer4 {"Arm":1,"Time":"16:23","Days":"SM00TF0","Repeat":0,"Device":2,"Power":2}
@ -192,7 +193,7 @@ Each parameter will be documented below.
Command | Payload | Description
---------------|------------|-------------------------------------------------------------------------------
Timer\<x\> | | Show current parameters for Timer 1 to 16
Timer\<x\> | | Show current parameters for Timer\<x\> where x = 1 to 16
Timer\<x\> | { ... } | Set all or individual parameters following example above
Timers | | Show parameters of all 16 timers
@ -201,9 +202,9 @@ JSON Parameter | Value | Description
Arm | 0 | Dis-arm or disable timer
Arm | 1 | Arm or enable timer
Time | "hh:mm" | Set time in hours 0 .. 23 and minutes 0 .. 59
Days | "SMTWTFS" | Set day of weeks where "0" or "-" means Off and all other character means On
Days | "SMTWTFS" | Set day of weeks mask where "0" or "-" = Off and any different character = On
Repeat | 0 | Allow timer only once
Repeat | 1 | Check for timer execution every day
Repeat | 1 | Repeat timer execution
Device | 1 .. 16 | Select one device to be used
Power | 0 | Turn device Off
Power | 1 | Turn device On