UNPKG

axpert-monitor

Version:

Monitor Voltronic/Axpert inverter via USB

16 lines (13 loc) 236 B
const MODES = { P: "Power On", S: "Standby", L: "Line", B: "Battery", F: "Fault", H: "Power Savings", }; function format(rawResponse) { return MODES[rawResponse]; } module.exports = format; module.exports.MODES = MODES;