-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpinned
Description
Do you have any plans to support SwitchBots with password? Otherwise I'll try to implement it myself, my current notes to this topic are:
- It seems that using a password is quite simple, see this, by sending command
0x5711 + password + on/offinstead of0x5701 + on/offat this point in your code - The
+ passwordthing is also not a real challenge to implement, see here
In Python the password string is generated by
data = password.encode()
crc = zlib.crc32(data)
self.password = crc.to_bytes(4, 'big')Copilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpinned