mirror of https://github.com/xfarrow/tapo-c210.git
Update README.md
This commit is contained in:
parent
c01295993f
commit
fdda37dca9
|
@ -52,6 +52,18 @@ with this `JSON` body
|
||||||
```
|
```
|
||||||
You must provide the value `admin` for `username`, and the MD5 hash of your Tp-Link account's password as the value of `password`. You will get a token named `stok`.
|
You must provide the value `admin` for `username`, and the MD5 hash of your Tp-Link account's password as the value of `password`. You will get a token named `stok`.
|
||||||
|
|
||||||
|
You'll receive something like
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"error_code": 0,
|
||||||
|
"result": {
|
||||||
|
"stok": "*****",
|
||||||
|
"user_group": "root"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Move the camera's motors
|
## Move the camera's motors
|
||||||
Create a `POST` request to `https://ip_of_your_camera/stok={your_stok}/ds`
|
Create a `POST` request to `https://ip_of_your_camera/stok={your_stok}/ds`
|
||||||
with this `JSON` body
|
with this `JSON` body
|
||||||
|
|
Loading…
Reference in New Issue