This document provides a reference for all MQTT topics used in the system, including payload structures and expected values.
Publishes the current status of a server, including CPU, RAM, disk usage, and IP information.
{
"status": "active",
"ip": "192.168.1.54",
"cpuLoad": "67",
"ram": "45",
"internalDisk": "83",
"raidDisk": "71",
"cpuTemp": "45"
}status:"active"or"inactive"ip: IPv4 addresscpuLoad: CPU usage percentageram: RAM usage percentageinternalDisk: Internal disk usage percentageraidDisk: RAID disk usage percentagecpuTemp: CPU temperature in Celsius
Publishes the power status for each individual PoE port on a midspan device.
{
"id": "midspan-001",
"port": 3,
"status": "active",
"power": "12.30W",
"maxPower": "60.00W",
"class": 4
}id: Unique midspan ID (e.g.,midspan-001)port: Port number (1–24 or 1–12)status:"active"or"inactive"power: Current power draw in wattsmaxPower: Maximum supported power drawclass: PoE class (0–8)
Publishes overall metrics of each midspan device.
{
"id": "midspan-001",
"totalPowerConsumption": "83.20W",
"maxAvailablePowerBudget": "500W",
"systemVoltage": "48V",
"temperature": "35.60°C",
"status": "active"
}id: Unique midspan IDtotalPowerConsumption: Sum of all port power drawmaxAvailablePowerBudget: Device's power budgetsystemVoltage: System voltagetemperature: Device temperaturestatus:"active"or"inactive"
Publishes the power metrics per PDU port.
{
"id": "pdu-001",
"port": 8,
"status": "active",
"current": "3.15A",
"voltage": "230V",
"power": "140.25W"
}id: PDU ID (e.g.,pdu-001)port: Port numberstatus: active/inactivecurrent: Current draw in ampsvoltage: Line voltagepower: Current power draw
Publishes total metrics per PDU device.
{
"id": "pdu-001",
"systemCurrent": "23.42A",
"systemVoltage": "230V",
"systemPower": "560.30W",
"frequency": "50Hz",
"status": "active"
}id: PDU device IDsystemCurrent: Total currentsystemVoltage: System voltagesystemPower: Total power usagefrequency: AC frequency (e.g., 50Hz)status: active/inactive
Publishes live metrics from each Raspberry Pi.
{
"id": "A05",
"cpuLoad": "10.20%",
"ram": "0.92GB",
"diskUsage": "6.42GB",
"cpuTemp": "48.0",
"ip": "192.168.1.77"
}id: Raspberry Pi IDcpuLoad: CPU usageram: RAM useddiskUsage: Disk usedcpuTemp: CPU temperature (Celsius)ip: IP address