mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Remove piped jq command from command examples (#7736)
jq package is not installed by default. It is unnecessary.
This commit is contained in:
parent
7a7558a735
commit
b3acc596ea
@ -43,15 +43,14 @@ eufy:
|
||||
```bash
|
||||
$ curl -H "Content-Type: application/json" \
|
||||
-d '{"client_id":"eufyhome-app", "client_Secret":"GQCpr9dSp3uQpsOMgJ4xQ", "email":"USERNAME", "password":"PASSWORD"}' \
|
||||
https://home-api.eufylife.com/v1/user/email/login \
|
||||
| jq
|
||||
https://home-api.eufylife.com/v1/user/email/login
|
||||
```
|
||||
|
||||
replacing USERNAME and PASSWORD with the Eufy username and password. This will give an `access_token`. Then run:
|
||||
|
||||
```bash
|
||||
$ curl -H token:TOKEN -H category:Home \
|
||||
https://home-api.eufylife.com/v1/device/list/devices-and-groups | jq
|
||||
https://home-api.eufylife.com/v1/device/list/devices-and-groups
|
||||
```
|
||||
|
||||
replacing TOKEN with the `access_token` from the previous command. This will provide the local_code for each device.
|
||||
|
Loading…
x
Reference in New Issue
Block a user