Set oscillation (swing)
set_oscillationToggle air conditioner louver swing on or off using per-device oscillation positions. Control GREE/EWPE-compatible ACs directly over LAN without cloud.
Instructions
Enable or disable louver swing. Applies the per-device configured oscillation positions (no raw swing codes required).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"on": "<on>"
},
"name": "set_oscillation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | true = swing on, false = fixed/default | |
| mac | No | Device MAC (12 hex chars, the canonical identifier). Preferred selector. | |
| name | No | Device name from config, as a convenience alias for mac. |