switchbot-get-encryption-key

1.0.0 • Public • Published

SwitchBot Get Encryption Key

This is port of only part of get_cncryption_key script from pySwitchbot, just rewrite code on NodeJS.

How to install:

$ npm install switchbot-get-encryption-key

Usage:

$ npx switchbot-get-encryption-key MAC USERNAME
Key ID: xx
Encryption key: xxxxxxxxxxxxxxxx

MAC need to be without colon and upper case (e.g. ABCDE1234567).

Data obtained by this script would be used by WoSmartLock.setKey() function in node-switchbot library, or custom implementation of BLE central which directly communicates to SwitchBot Lock / Lock Pro by encrypted BLE commands.

Package Sidebar

Install

npm i switchbot-get-encryption-key

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

6.24 kB

Total Files

5

Last publish

Collaborators

  • shizuka-na-kazushi