group_toggle
Toggle specific relays via a 16-bit mask: invert their state (open to closed, closed to open) while leaving other channels unchanged.
Instructions
组翻转:按掩码翻转指定继电器状态(断开→吸合, 吸合→断开),其余通道保持不变。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | Yes | 16 位掩码 (0-65535)。bit0=第1路, bit1=第2路, …, bit15=第16路。1=操作, 0=保持原状。 | |
| address | No | 设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。 |