SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Parameter Error for the S10 selfClean Command

Open hsakoh opened this issue 1 year ago • 0 comments

Analysis

I'm developing an add-on for HomeAssistant and received user feedback regarding the selfClean command for the new S10. When executing the selfClean command, the following response occurs:

{"statusCode":190,"body":{},"message":"parameters error"}

The actual payload implemented is:

{"commandType":"command","command":"selfClean","parameter":"2"}

Do you have any idea what might be causing this issue?

Expected Behavior

Command can be executed with status code 100

Steps To Reproduce

Execute selfClean command with parameter "2"

Logs

None

Configuration

None

Environment

  • OS:
  • Software:
  • Node:
  • npm:

Additional Context

No response

hsakoh avatar May 18 '24 11:05 hsakoh