https://github.com/Danielhiversen/pySwitchbot
J. Nick Koston effb41616f Add some more logging for disconnections | 1 ano atrás | |
---|---|---|
.github | 1 ano atrás | |
scripts | 1 ano atrás | |
switchbot | 1 ano atrás | |
tests | 1 ano atrás | |
.gitignore | 3 anos atrás | |
.travis.yml | 3 anos atrás | |
LICENSE | 6 anos atrás | |
MANIFEST.in | 3 anos atrás | |
README.md | 1 ano atrás | |
requirements.txt | 1 ano atrás | |
requirements_dev.txt | 1 ano atrás | |
setup.py | 1 ano atrás |
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.