Appearance
Wind turbine — EOL (function 11)
A wind generator. It reports whether it is running, what it is delivering, its temperature and its rotation speed. The command enables it, disables it, or hands it back to automatic control.
stateenum:off,on.
Published
device/11/<i>/life
expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
state / stateCode | string / int | — | Turbine state (enum) |
voltage | number (1 dec) | V | Output voltage |
current | number (1 dec) | A | Output current (signed) |
temperature | int | °C | Temperature |
rpm | int | rpm | Rotation speed (signed) |
json
{
"data": {
"state": "on",
"stateCode": 1,
"voltage": 13.8,
"current": 4.2,
"temperature": 24,
"rpm": 850
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}bash
mosquitto_sub -h 127.0.0.1 -t 'device/11/+/life' -vCommand — device/11/<i>/command
Regex ^device/11/([[:digit:]]+)/command$. If both true → requestOn cleared. {"requestOn":false} selects automatic mode.
| Field | Type | Description |
|---|---|---|
requestOn | bool | Enable (false = auto mode) |
requestOff | bool | Disable |
bash
mosquitto_pub -h 127.0.0.1 -t 'device/11/0/command' -m '{"requestOn":true}'
mosquitto_pub -h 127.0.0.1 -t 'device/11/0/command' -m '{"requestOff":true}'
mosquitto_pub -h 127.0.0.1 -t 'device/11/0/command' -m '{"requestOn":false}'