https://github.com/Danielhiversen/pySwitchbot
J. Nick Koston 809a1bbb5e Handle invalid basic data | 1 jaar geleden | |
---|---|---|
.github | 1 jaar geleden | |
scripts | 1 jaar geleden | |
switchbot | 1 jaar geleden | |
tests | 1 jaar geleden | |
.gitignore | 3 jaren geleden | |
.travis.yml | 3 jaren geleden | |
LICENSE | 6 jaren geleden | |
MANIFEST.in | 3 jaren geleden | |
README.md | 1 jaar geleden | |
requirements.txt | 1 jaar geleden | |
requirements_dev.txt | 1 jaar geleden | |
setup.py | 1 jaar geleden |
Library to control Switchbot IoT devices https://www.switch-bot.com/bot
Using the script scripts/get_encryption_key.py
you can manually obtain locks encryption key.
Usage:
python3 get_encryption_key.py MAC USERNAME
Where MAC
is MAC address of the lock and USERNAME
is your SwitchBot account username, after that script will ask for your password.
If authentication succeeds then script should output your key id and encryption key.