Skip to content

Commit ebc5b7e

Browse files
authored
Add script description to README (#176)
1 parent 2595875 commit ebc5b7e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# pySwitchbot [![Build Status](https://travis-ci.org/Danielhiversen/pySwitchbot.svg?branch=master)](https://travis-ci.org/Danielhiversen/pySwitchbot)
22
Library to control Switchbot IoT devices https://www.switch-bot.com/bot
33

4+
## Obtaining locks encryption key
5+
Using the script `scripts/get_encryption_key.py` you can manually obtain locks encryption key.
6+
7+
Usage:
8+
```shell
9+
python3 get_encryption_key.py MAC USERNAME
10+
```
11+
Where `MAC` is MAC address of the lock and `USERNAME` is your SwitchBot account username, after that script will ask for your password.
12+
If authentication succeeds then script should output your key id and encryption key.
13+
414
[Buy me a coffee :)](http://paypal.me/dahoiv)

0 commit comments

Comments
 (0)