- Payload
- ≥ 11 bytes, variable
- Packet
- ≥ 33 bytes
- Source
- vehicle, ccu
This message allows controlling power channels.
#Fields
| Offset |
Field | Type | Unit | Range | Description |
| 0 |
#nameChannel Name |
plaintext |
– |
–
|
The name of the power channel.
|
| var |
#opOperation |
uint8_t |
Enumerated |
≤ 6
|
0 | PCC_OP_TURN_OFF | Turn OffTurn off power channel specified in field 'id'. |
1 | PCC_OP_TURN_ON | Turn OnTurn on power channel specified in field 'id'. |
2 | PCC_OP_TOGGLE | ToggleToggle power channel specified in field 'id'. |
3 | PCC_OP_SCHED_ON | Schedule Turn OnTurn on power channel specified in field 'id' in 'sched_time' seconds. |
4 | PCC_OP_SCHED_OFF | Schedule Turn OffTurn off power channel specified in field 'id' in 'sched_time' seconds. |
5 | PCC_OP_SCHED_RESET | Reset SchedulesReset all scheduled operations for the channel specified in field 'id'. |
6 | PCC_OP_SAVE | Save Current StateSave the current state of the channel 'id' to persistent storage. |
7 | PCC_OP_RESTART | RestartRestart power channel specified in field 'id'. |
|
| var |
#sched_timeScheduled Time |
fp64_t |
s |
–
|
Scheduled time of operation.
|