set_actuator
Control a greenhouse actuator by setting its state (ON/OFF) over CCM UDP multicast, with options for priority and automatic shut-off timer.
Instructions
Control a greenhouse actuator via CCM packet.
SAFETY: Only allowed actuator types can be controlled. Irrigation has a maximum duration of 3600 seconds. Minimum 1 second between commands.
Args: actuator: CCM actuator type (e.g., "Irri", "VenFan", "VenRfWin", "ThCrtn"). state: True=ON/OPEN, False=OFF/CLOSE. priority: CCM priority (1=emergency, 10=normal, 30=low). duration_seconds: Auto-OFF timer in seconds. If set, actuator turns OFF automatically after this duration. house_id: House identifier (e.g., "h1").
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": {
"actuator": "<actuator>",
"state": "<state>"
},
"name": "set_actuator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| actuator | Yes | ||
| house_id | No | h1 | |
| priority | No | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |