mirror of
https://github.com/xfarrow/tapo-c210.git
synced 2025-02-16 12:10:41 +01:00
Update README.md
This commit is contained in:
parent
115c49e0ce
commit
4d1de7b653
@ -60,9 +60,16 @@ with this `JSON` body
|
|||||||
"method": "do",
|
"method": "do",
|
||||||
"motor": {
|
"motor": {
|
||||||
"movestep": {
|
"movestep": {
|
||||||
"direction": "0"
|
"direction": "(direction_value)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
`direction` is a value between `0` and `360`. I have yet to understand how it works because it seems moving on the X-axis only or Y-axis only.
|
`direction` can be one of these values
|
||||||
|
|
||||||
|
direction | description
|
||||||
|
-------|:-----------
|
||||||
|
0 | It will move horizontally to 0°
|
||||||
|
90 | It will move vertically to the uppermost point
|
||||||
|
180 | It will move horizontally to 360° (yes)
|
||||||
|
270 | Il will move vertically to the bottommost point
|
||||||
|
Loading…
x
Reference in New Issue
Block a user