SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Tilt down;0 fails

Open AdyRock opened this issue 3 years ago • 4 comments

Analysis

When I send asetPosition: down;0 the blind doesn't move and the command returns an error code 400. All other positions seem to work, but I don't have a Tilt motor so I'm relying on user feedback.

Expected Behavior

The blind should fully close down and return success.

Steps To Reproduce

Send the setPosition command with "down;0" as the parameters

Logs

Below is the log from my app:

 * 2023-01-18T20:25:21.877Z
* Sending {
  "command": "setPosition",
  "parameter": "down;0",
  "commandType": "command"
} to xxxxxxxxxxxx using OAuth

* 2023-01-18T20:25:22.569Z
!!!!!! Failed to send command to CE5C69785559 using OAuth: 400

* 2023-01-18T20:25:26.846Z
* Sending {
  "command": "setPosition",
  "parameter": "down;30",
  "commandType": "command"
} to xxxxxxxxxxxx using OAuth

* 2023-01-18T20:25:27.652Z
* Success sending command to CE5C69785559 using OAuth

Configuration

N/A

Environment

  • OS: Homey
  • Software: JavaScript
  • Node: v 6

Additional Context

The user is using my Homey app.

AdyRock avatar Jan 19 '23 17:01 AdyRock

Any news?

AdyRock avatar Jan 29 '23 18:01 AdyRock

It seems to be still broken, unfortunately. However, you can work around this by sending command: 'closeDown'.

AndreasVerhoeven avatar Feb 07 '23 21:02 AndreasVerhoeven

That's what I have changed it to as a work around..

AdyRock avatar Feb 07 '23 21:02 AdyRock

Sorry for the delay! Would you mind submit feedback from the SwitchBot app so we can debug a bit? Thanks! You can say something like Blind Tilt OpenAPI breaks.

Minsheng avatar Mar 22 '23 08:03 Minsheng