OpenWonderLabs / SwitchBotAPI

SwitchBot Open API Documents
843 stars 70 forks source link

Air Conditioner in remote IR - add Swing bool value in `parameter` #115

Closed nekonora closed 2 years ago

nekonora commented 2 years ago

Current Situation

If making a POST request to issue a command for an air conditioner it's possible to "only" set hvac, fan state and temperature, but it's not possible to send a value indicating how to set swing functionality. This results in the air conditioner always turning on swinging for every command set on some models (i.e. Electrolux portable).

Proposed Change

Add a value true/false as an additional parameter for IR controlled air conditioners.

Example:

{
  "command": "setAll",
  "parameter": "25,1,1,on,false" // false here indicates to deactivate swing
}

Additional Context

No response

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.