Appearance
Power source interconnection (function 3)
Battery interconnection / parallel bus manager.
- Input state enum (
inputN):off,on,over-current,over-voltage(string only, noCode).
Published
device/3/<i>/life
expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
input0..input3 | string | — | Input state (enum) |
countActiveBattery | int | — | Active batteries |
countTotalBattery | int | — | Total batteries |
temperatureMinimumBattery | int | °C | Min battery temp |
temperatureMaximumBattery | int | °C | Max battery temp |
outputCurrent | number (1 dec) | A | Output current (signed) |
outputTension | number (1 dec) | V | Output voltage |
json
{
"data": {
"input0": "on",
"input1": "on",
"input2": "off",
"input3": "over-current",
"countActiveBattery": 2,
"countTotalBattery": 3,
"temperatureMinimumBattery": 18,
"temperatureMaximumBattery": 24,
"outputCurrent": 85.3,
"outputTension": 25.9
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}device/3/<i>/state
expireAfterSec: 30.
data field | Type | Description |
|---|---|---|
battery0..battery15 | bool | Per-battery connected flag |
currentBattery | number (1 dec) A | Battery current (signed) |
json
{
"data": {
"battery0": true,
"battery1": true,
"battery2": false,
"battery3": false,
"battery4": false,
"battery5": false,
"battery6": false,
"battery7": false,
"battery8": false,
"battery9": false,
"battery10": false,
"battery11": false,
"battery12": false,
"battery13": false,
"battery14": false,
"battery15": false,
"currentBattery": 42.0
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}device/3/<i>/current
expireAfterSec: 30.
data field | Type | Unit | Description |
|---|---|---|---|
current0..current3 | number (1 dec) | A | Per-source current (signed) |
json
{
"data": {
"current0": 40.0,
"current1": 45.3,
"current2": 0.0,
"current3": -5.2
},
"metadata": {
"rxdate": "2026-06-17T14:30:45.123Z",
"rxTimestamp": 1781793045,
"expireAfterSec": 30
}
}bash
mosquitto_sub -h 127.0.0.1 -t 'device/3/+/#' -vCommand — device/3/<i>/command
Regex ^device/3/([[:digit:]]+)/command$. channel must be a JSON integer 0-15 or the command is dropped. If requestOn and requestOff both true → requestOn cleared.
| Field | Type | Description |
|---|---|---|
channel | int 0-15 | Target channel |
requestOn | bool | Enable channel |
requestOff | bool | Disable channel |
clearError | bool | Clear channel error |
bash
mosquitto_pub -h 127.0.0.1 -t 'device/3/0/command' -m '{"channel":2,"requestOn":true}'
mosquitto_pub -h 127.0.0.1 -t 'device/3/0/command' -m '{"channel":2,"requestOff":true}'