Appearance
Magic trim (function 24)
A trim actuator. It reports whether its motor is present and turning, at what speed, what it is drawing, and the pressure measured on the port and starboard sides.
Published only (no commands). All frames expireAfterSec: 30.
Published
device/24/<i>/life
metadata adds counter.
data field | Type | Unit | Description |
|---|---|---|---|
motorspinning | bool | — | Motor spinning |
motorpresent | bool | — | Motor present |
rpm | number (0 dec) | rpm | Motor RPM |
current | number (1 dec) | A | Current |
voltage | number (1 dec) | V | Voltage |
json
{
"data": {
"motorspinning": true,
"motorpresent": true,
"rpm": 1500,
"current": 12.5,
"voltage": 24.3
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30,
"counter": 7
}
}device/24/<i>/state
data field | Type | Description |
|---|---|---|
pression_babord | number (0 dec) | Port pressure (raw) |
pression_tribord | number (0 dec) | Starboard pressure (raw) |
json
{
"data": {
"pression_babord": 120,
"pression_tribord": 118
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}bash
mosquitto_sub -h 127.0.0.1 -t 'device/24/+/#' -v