SwitchBotAPI-BLE icon indicating copy to clipboard operation
SwitchBotAPI-BLE copied to clipboard

Add encryption for contact sensor

Open Rendarion opened this issue 2 years ago • 1 comments

Current Situation

Currently there is no known way to enable encryption for the contact sensor functions.

Proposed Change

If encryption is enabled, other parties can not read motion data and button press data. If encryption is enabled, other parties can not spoof door opening events, motion data and button press data

Additional Context

In case any events are used for sensitive actions, they may currently be spoofed. For example an alarm or camera my be turned off. Also currently motion sensor information my be gathered. It may be unwanted for privacy and home security reasons to broadcast this information publicly.

Rendarion avatar Apr 15 '23 19:04 Rendarion

I am also looking for this. In the BLE API there is a encryption mode mentioned, but I can't find any information how to enable it.

NPohl avatar Apr 24 '23 11:04 NPohl