SwitchBotAPI
SwitchBotAPI copied to clipboard
Keypad & Keypad Touch new webhook messages
Current Situation
Currently there are no notifications about the keypad usage so we can't log who is using it and if there are hacking attempts.
Proposed Change
Create a webhook for keypad usage that includes the name of the password / fingerprint / card that was used (the name recorded when adding the code, etc), and the method such as password, fingerprint or card. If the method was not recognised then send something like Unknown for the name.
{
"eventType": "usageReport",
"eventVersion": "1",
"context": {
"deviceType": "WoKeypad",
"deviceMac": DEVICE_MAC_ADDR,
"eventName": "usedKey",
"commandId": "CMD-1663558451952-01",
"name": "pascodeName",
"type": "password",
"result": "success",
"timeOfSample": 123456789
}
}
Additional Context
Providing this information would allow further automations based on who has unlocked the door or for notifications to be sent out if the operator is unknown which could be an opportunist trying their luck.
Any idea if this would be possible?
I too am looking for this functionality because you can then:
- Log who actually unlocked the door for security purposes (it's available in the app)
- Use the information to trigger automations specific to the person opening the front door. e.g. different actions for house owners versus a cleaner entering your property
Je valide.... ainsi que le remote, rien dans les webhooks, donc inutilisable :-/
@Minsheng is it planned to enhance Keypad & Keypad Touch requested webhooks like suggested by @AdyRock?? If yes, when we can expect the GA of this APIs?
Wow, nearly a year with no feedback at all - this would be so useful since you could trigger automations based on who unlocked the door...
I also find this very helpful. Please consider this feature.
For me it is a critical feature. It is complete non-sense when this keypad device is "talking" only with a lock.
it would be a huge advantages, and wouldn't be a security impact I think
Please add this feature. And please also include it into scenarios, then you could for instance open the garage door when the lock is opened (my case).
One quarter later, Please consider this since sales for these keypads and locks would increase significantly if this request was implemented. There is a lot of scenarios where it can be used and the hardware is great!
Hi,
Keypad Touch Lock.
I need following feature in API
- List of Passcode, Fingerprint, NFC Cards
- Enable/Disable Lock Button
- Enable/Disable Keypad
I need following event in webhooks.
- Unlock (Passcode + Fingerprint + NFC) - with type and its id
- Locked (Auto + Manually)
- Keypad Removal Alerts
We need API and Webhook for security purpose and making attendance system using this device.
We are making fully automated office using SwitchBot Devices, only above mentioned API + Webhook are missing.
Please update your API and Webhook.
Thanks.