Appearance
Alternator (function 27)
The engine-driven alternator and its regulator. It reports which stage of the charge cycle it is in, what it is producing, and how hard the engine is working for it; commands switch it on, off, into automatic mode, or into boost.
stateenum:off,on,fault,bulk,absorption,float,storage,equalize,assisting,lp.workingModeenum:off,on,generator.
Published
device/27/<i>/life
metadata adds counter; expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
bindToParc | int | — | Parc binding id |
counter | int | — | Frame counter (also in metadata) |
state / stateCode | string / int | — | Alternator state (enum) |
GeneratorAvailable | int (0/1) | — | Generator available |
BoostMode | int (0/1) | — | Boost mode |
workingMode / workingModeCode | string / int | — | Working mode (enum) |
voltage | number (1 dec) | V | Voltage |
current | number (1 dec) | A | Current |
json
{
"data": {
"bindToParc": 1,
"counter": 2,
"state": "bulk",
"stateCode": 3,
"GeneratorAvailable": 1,
"BoostMode": 0,
"workingMode": "on",
"workingModeCode": 1,
"voltage": 28.4,
"current": 80.5
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30,
"counter": 2
}
}device/27/<i>/state
expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
rpm | number (0 dec) | rpm | RPM |
temperature | int | °C | Temperature |
load | int | % | Load |
json
{
"data": {
"rpm": 1800,
"temperature": 65,
"load": 75
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}bash
mosquitto_sub -h 127.0.0.1 -t 'device/27/+/#' -vCommand — device/27/<i>/command
Regex ^device/27/([[:digit:]]+)/command$. OFF/ON/Auto set the command; Alim/Boost set the mode. A flag set to false on ON/Auto reverts to off.
| Field | Type | Description |
|---|---|---|
OFF | bool | Off |
ON | bool | On (false → off) |
Auto | bool | Auto (false → off) |
Alim | bool | Propeller-driven mode |
Boost | bool | Boost mode |
bash
mosquitto_pub -h 127.0.0.1 -t 'device/27/0/command' -m '{"ON":true}'
mosquitto_pub -h 127.0.0.1 -t 'device/27/0/command' -m '{"Auto":true}'
mosquitto_pub -h 127.0.0.1 -t 'device/27/0/command' -m '{"Alim":true}'