Compare commits
1 Commits
d81aedc9bc
...
91f98414d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91f98414d1 |
@@ -12,7 +12,7 @@ module.exports = [
|
|||||||
topic: 'set.mode',
|
topic: 'set.mode',
|
||||||
aliases: ['setMode'],
|
aliases: ['setMode'],
|
||||||
payloadSchema: { type: 'string' },
|
payloadSchema: { type: 'string' },
|
||||||
description: 'Switch the valve group between auto / manual control modes.',
|
description: 'Switch the operating mode. Allowed: `auto`, `virtualControl`, `fysicalControl`, `maintenance` (schema-validated in `valveGroupControl.json` → `mode.current`).',
|
||||||
handler: handlers.setMode,
|
handler: handlers.setMode,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ The registry lives in `src/commands/index.js`. Each descriptor maps a canonical
|
|||||||
|
|
||||||
| Canonical topic | Aliases | Payload | Unit | Effect |
|
| Canonical topic | Aliases | Payload | Unit | Effect |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| `set.mode` | `setMode` | `string` | — | Switch the valve group between auto / manual control modes. |
|
| `set.mode` | `setMode` | `string` | — | Switch the operating mode. Allowed: `auto`, `virtualControl`, `fysicalControl`, `maintenance` (schema-validated in `valveGroupControl.json` → `mode.current`). |
|
||||||
| `set.position` | `setpoint` | any | — | Set the group-level valve position (currently a no-op pending Phase 7). |
|
| `set.position` | `setpoint` | any | — | Set the group-level valve position (currently a no-op pending Phase 7). |
|
||||||
| `child.register` | `registerChild` | `string` | — | Register a child valve with this group. |
|
| `child.register` | `registerChild` | `string` | — | Register a child valve with this group. |
|
||||||
| `cmd.execSequence` | `execSequence` | `object` | — | Run a group-wide sequence (startup / shutdown / emergencystop). |
|
| `cmd.execSequence` | `execSequence` | `object` | — | Run a group-wide sequence (startup / shutdown / emergencystop). |
|
||||||
|
|||||||
Reference in New Issue
Block a user