OpenWonderLabs / SwitchBotAPI

SwitchBot Open API Documents
876 stars 73 forks source link

API Control of Air Conditioner Not Functioning Properly Since 11/8 (JST) #363

Open yyverse opened 2 days ago

yyverse commented 2 days ago

Current Situation

Since last week, starting on November 8th at 5:00 PM JST, I've been unable to control my air conditioner via the API using infrared commands. However, controlling the air conditioner from the SwitchBot app works fine. I kindly request you to investigate this issue.

Logs

My script attempts to operate the air conditioner every 5 minutes, and it has been functioning normally for over a year without any issues like this. I can determine whether the operations are successful by checking the history in the SwitchBot app.

Configuration

The following command is being used:

parameter = "2,1,1,on"
commands = dict(
    command = 'setAll',
    parameter = parameter,
    commandType = 'command',
)
set_commands(deviceId, commands)


### Environment

- OS: Debian GNU/Linux 11 (bullseye)
- Software: Python3.9
- Node: PC
- npm:

### Additional Context

Please assist in identifying and resolving the issue affecting API-based operations.
tcavin commented 20 hours ago

Hi, I can also confirm there is something wrong with the API when sending command to my Air Conditioner I didn't change any line of my code Whatever command requested to the API (see below for mine), It always seems to transmit a default command (25, cold, ...)

My command :

{
    "command": "setAll",
    "parameter": "22,5,1,off",
    "commandType": "command"
}

I checked this behavior with v1.0 of the API, but also with v1.1 Thanks for your help solving this issue

Michel-Bos-HA commented 1 hour ago

Hi there, I encountered this issue since this morning, 16th November, starting around 10.45 AM.

Any command from within Homey resukts in "Cold, 25".