mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-15 03:52:11 +01:00
Updated Integrations (markdown)
parent
b33b1e07f1
commit
ec1432e07e
1 changed files with 13 additions and 4 deletions
|
|
@ -16,15 +16,23 @@ For the command parameter you can use any of the following. ESPSomfy RTS will c
|
|||
* D, DOWN, or down
|
||||
* P, Prog, or prog
|
||||
* M, My, or my
|
||||
* My+Up, or mu
|
||||
* My+Down or md
|
||||
* Up+Down or ud
|
||||
* F, Flag, or flag
|
||||
* S, SunFlag, or sunflag
|
||||
* MyUp, or mu
|
||||
* MyDown or md
|
||||
* UpDown or ud
|
||||
* MyUpDown or mud
|
||||
* StepUp or su (80-bit only thumbwheel)
|
||||
* StepDown or sd (80-bit only thumbwheel)
|
||||
|
||||
When using any of the HTTP methods you can supply the command parameter on the url as follows. The shade Id is displayed on the upper right corner of the Edit Shade screen.
|
||||
|
||||
To send the shade in any direction:
|
||||
`/shadeCommand?shadeId=1&command=up`
|
||||
|
||||
You may also send an optional parameter to instruct the radio to send repeats.
|
||||
`/shadeCommand?shadeId=1&command=prog&repeat=7`
|
||||
|
||||
To set the shade percentage to 35% closed:
|
||||
`/shadeCommand?shadeId=1&target=35`
|
||||
|
||||
|
|
@ -32,7 +40,8 @@ If you use the PUT or POST http methods you can use a JSON object on the body.
|
|||
```
|
||||
{
|
||||
"shadeId":1,
|
||||
"command":"up"
|
||||
"command":"up",
|
||||
"repeat": 2 <= Optional to repeat the command. This will send the command 3 times with the last two being repeats.
|
||||
}
|
||||
```
|
||||
or...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue