Set power
set_powerTurn a GREE/EWPE-compatible WiFi air conditioner on or off directly over your LAN.
Instructions
Turn a device on or off.
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_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | true = on, false = off | |
| mac | No | Device MAC (12 hex chars, the canonical identifier). Preferred selector. | |
| name | No | Device name from config, as a convenience alias for mac. |