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).
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. |