Skip to content

Power source interconnection (function 3) ​

Battery interconnection / parallel bus manager.

  • Input state enum (inputN): off, on, over-current, over-voltage (string only, no Code).

Published ​

device/3/<i>/life ​

expireAfterSec: 30.

data fieldTypeUnitDescription
input0..input3string—Input state (enum)
countActiveBatteryint—Active batteries
countTotalBatteryint—Total batteries
temperatureMinimumBatteryint°CMin battery temp
temperatureMaximumBatteryint°CMax battery temp
outputCurrentnumber (1 dec)AOutput current (signed)
outputTensionnumber (1 dec)VOutput 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 fieldTypeDescription
battery0..battery15boolPer-battery connected flag
currentBatterynumber (1 dec) ABattery 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 fieldTypeUnitDescription
current0..current3number (1 dec)APer-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/+/#' -v

Command — 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.

FieldTypeDescription
channelint 0-15Target channel
requestOnboolEnable channel
requestOffboolDisable channel
clearErrorboolClear 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}'

Integration of multiplexed solutions
MUXEN and the MUXEN logo are trademarks of MUXEN SAS.