OpenWonderLabs / SwitchBotAPI

SwitchBot Open API Documents
887 stars 73 forks source link

Creating a password using the interface of Keypad did not return a commandId #367

Open sycsky opened 3 days ago

sycsky commented 3 days ago

Analysis

API:https://api.switch-bot.com/v1.1/devices/{deviceId}/commands

This is the requested message:

  {
  "command": "createKey",
  "commandType": "command",
  "parameter":
      {
      "endTime": 1732284539,
      "name": "eee1",
      "password": "777777",
      "startTime": 1732283939,
      "type": "timeLimit"
      }
  }

This is a response:

{"statusCode":100,"body":{},"message":"success"}

Currently, the webhook is unable to receive any information, including lock status information and password creation information for the keypad

Expected Behavior

#

Steps To Reproduce

#

Logs

#

Configuration

#

Environment

#

Additional Context

No response

Larsene commented 8 hours ago

Already reported here #345