From 48ba574e9c85efd286e14fe3bcd31d4c34086ed4 Mon Sep 17 00:00:00 2001 From: kazushi Date: Sat, 12 Oct 2024 11:21:08 +0900 Subject: [PATCH] add link to get-encryption-key npm script. --- BLE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/BLE.md b/BLE.md index 4bd7633f..3285a370 100644 --- a/BLE.md +++ b/BLE.md @@ -731,6 +731,7 @@ Actually, the `WoSmartLock ` is an object inherited from the [`SwitchbotDevice`] The `setKey()` method initialises the key information required for encrypted communication with the SmartLock This must be set before any control commands are sent to the device. To obtain the key information you will need to use an external tool - see [`pySwitchbot`](https://github.com/Danielhiversen/pySwitchbot/tree/master?tab=readme-ov-file#obtaining-locks-encryption-key) project for an example script. +Or, use [`switchbot-get-encryption-key`](https://www.npmjs.com/package/switchbot-get-encryption-key) npm script. | Property | Type | Description | | :-------------- | :----- | :----------------------------------------------------------------------------------------------- |