iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
2,233 lines • 78.1 kB
JavaScript
const powerkitStates = {
bp1: {
string: {
kitNum: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Unique dynamic ID for CAN Mediation',
role: 'info'
},
canId: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Version No.',
role: 'info'
},
moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN#',
role: 'info'
}
},
number: {
oilCloseSoc: {
min: 50,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Smart generator shutoff SOC'
},
amp: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Current mA'
},
fullCap: {
min: 0,
max: 120000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Capacity of full charging'
},
soc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'soc'
},
minCellVol: {
min: 0,
max: 6,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Minimum battery cell voltage'
},
ptcRemainTime: {
min: 0,
max: 360,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Remaining time of PTC heating'
},
vol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Voltage'
},
minCellTemp: {
min: -30,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum battery cell temperature'
},
ptcChgErrCnt: {
min: 0,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Error count of PTC heating'
},
remainCap: {
min: 0,
max: 100000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Remaining capacity'
},
inWatts: {
min: 0,
max: 5000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Input power'
},
temp: {
min: -30,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Showing current temperature'
},
maxMosTemp: {
min: 0,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum MOS temperature'
},
remainTime: {
min: 0,
max: 15000,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Remaining time'
},
maxCellTemp: {
min: -30,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum battery cell temperature'
},
minMosTemp: {
min: 0,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum MOS temperature'
},
lcdStandbyMin: {
min: 0,
max: 3600,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'LCD screen standby time'
},
maxPtcTemp: {
min: -30,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum PTC temperature'
},
maxCellVol: {
min: 0,
max: 6,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Maximum battery cell voltage'
},
dsgSetSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'SOC lower limit when discharging the UPS'
},
minPtcTemp: {
min: 0,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum PTC temperature'
},
chgSetSoc: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'SOC upper limit when charging the UPS'
},
oilOpenSoc: {
min: 0,
max: 60,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Smart generator startup SOC'
},
designCap: {
min: 0,
max: 40000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Design capacity'
},
outWatts: {
min: 0,
max: 6000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Output power'
},
bmsChgUpline: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Upper limit of UPS charging of BMS'
},
totalFullCap: {
min: 0,
max: 120000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Total battery capacity'
},
totalOutWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Total output power'
},
acDcLsplShutdMin: {
min: 0,
max: 7200,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Time to shutoff when both AC and DC enter low power mode'
},
totalInWatts: {
min: 0,
max: 3000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Total input power'
},
lcdOffConfirmS: {
min: 0,
max: 7200,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Screen shutoff time'
},
oilStopUpline: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Upper limit for the smart generator to disable'
},
oilStartDownline: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Lower limit for the smart generator to start'
},
cycles: {
min: 0,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Cycles'
},
totalSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Total SOC'
},
totalAmp: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Total current'
},
totalRemainTime: {
min: 0,
max: 15000,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Total remaining time'
},
bmsDsgDownline: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Lower limit of UPS charging of BMS'
}
},
diagnostic: {
chgDsgMosState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Status of charging and discharging MOS',
role: 'info',
chgDsgMosState: { '0': 'OK?' }
},
ptcHeatingEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PTC stop heating event',
role: 'info',
ptcHeatingEvent: { '0': 'OK?' }
},
upsFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Status of UPS mode',
role: 'info',
upsFlag: { '0': 'OK?' }
},
warnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode: { '0': 'OK?' }
},
openBmsIdex: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Enable the battery or not. 0: not enabled, 1: enabled',
role: 'info',
openBmsIdex: { '0': 'not enabled', '1': 'enabled' }
},
ptcHeatingFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Current status of PTC: 0: stop, 1: heating, in delay due to error',
role: 'info',
ptcHeatingFlag: { '0': 'stop', '1': 'heating, in delay due to error' }
},
proChgDsgMosState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Pre-discharging MOS status',
role: 'info',
proChgDsgMosState: { '0': 'OK?' }
},
ptcMosErr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Heating MOS exception',
role: 'info',
ptcMosErr: { '0': 'OK?' }
},
ptcAllowFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Allow PTC heating indication: 0: not allowed, 1: allowed',
role: 'info',
ptcAllowFlag: { '0': 'not allowed', '1': 'allowed' }
},
eventCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode: { '0': 'OK?' }
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Error code',
role: 'info',
errCode: { '0': 'OK?' }
},
ptcTouchFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PTC triggering event: 0: not triggered, 1: heating by charging, 2: heating by discharging',
role: 'info',
ptcTouchFlag: { '0': 'not triggered', '1': 'heating by charging', '2': 'heating by discharging' }
},
balanceFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Balancing status',
role: 'info',
balanceFlag: { '0': 'OK?' }
},
bmsType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: '0:BP5000 1:BP2000',
role: 'info',
bmsType: { '0': 'BP5000', '1': 'BP2000' }
},
chgState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging/Discharging status',
role: 'info',
chgState: { '0': 'charging?', '1': 'discharging?' }
},
bmsFault: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BMS permanent failure',
role: 'info',
bmsFault: { '0': 'OK?' }
},
doubleOilErrorFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Dual smart generator error',
role: 'info',
doubleOilErrorFlag: { '0': 'OK?' }
},
totalChgDsgState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Overall charging/discharging status, 0: idle, 1: discharging, 2: charging',
role: 'info',
totalChgDsgState: { '0': 'idle', '1': 'discharging', '2': 'charging' }
},
remindDsgPtcFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'HUB under-voltage reminder to heat by charging',
role: 'info',
remindDsgPtcFlag: { '0': 'OK?' }
},
warningEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm event, 0: no warning, 1: charging, shutoff warning not allowed',
role: 'info',
warningEvent: { '0': 'no warning', '1': 'charging, shutoff warning not allowed' }
}
}
},
bbcout: {
number: {
dsgEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'Accumulative power discharged',
state_class: 'total_increasing'
},
ldOutCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Output current'
},
ldOutWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Output power'
},
hs1Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 1 temperature'
},
l1Curr: {
min: 0,
max: 30,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L1 current'
},
batCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Battery current'
},
batWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Battery power'
},
l2Curr: {
min: 0,
max: 30,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L2 current'
},
pcbTemp: {
min: 0,
max: 100,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'PCB temperature'
},
hs2Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 2 temperature(℃)'
},
standbyTime: {
min: 0,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Standby time with open load'
},
batVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Battery voltage'
},
ldOutVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Output voltage'
},
dayEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Daily power discharged'
}
},
diagnostic: {
workMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating mode, 1: charging mode, 2: power supply mode',
role: 'info',
workMode: { '0': 'charging mode', '2': 'power supply mode' }
},
dcOutSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'DC output status',
role: 'info',
dcOutSta: { '0': 'OK?' }
},
warnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode: { '0': 'OK?' }
},
eventCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode: { '0': 'OK?' }
},
cfgVolTag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Configured output voltage type',
role: 'info',
cfgVolTag: { '0': 'OK?' }
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'See the preceding details of error codes.',
role: 'info',
errCode: { '0': 'OK?' }
}
},
string: {
moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN#',
role: 'info'
}
}
},
bmsTotal: {
diagnostic: {
totalChgDsgState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Overall charging/discharging status, 0: idle, 1: discharging, 2: charging',
role: 'info',
totalChgDsgState: { '0': 'idle', '1': 'discharging', '2': 'charging' }
},
doubleOilErrorFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Dual smart generator error',
role: 'info',
doubleOilErrorFlag: { '0': 'OK?' }
},
remindDsgPtcFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'HUB under-voltage reminder to heat by charging',
role: 'info',
remindDsgPtcFlag: { '0': 'OK?' }
},
warningEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm event, 0: no warning, 1: charging, shutoff warning not allowed',
role: 'info',
warningEvent: { '0': 'no warning', '1': 'charging, shutoff warning not allowed' }
}
},
number: {
bmsChgUpline: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Upper limit of UPS charging of BMS'
},
totalFullCap: {
min: 0,
max: 120000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Total battery capacity'
},
totalOutWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Total output power'
},
acDcLsplShutdMin: {
min: 0,
max: 7200,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Time to shutoff when both AC and DC enter low power mode'
},
totalInWatts: {
min: 0,
max: 3000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Total input power'
},
totalSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Total SOC'
},
lcdOffConfirmS: {
min: 0,
max: 7200,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Screen shutoff time'
},
totalAmp: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Total current'
},
totalRemainTime: {
min: 0,
max: 15000,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Total remaining time'
},
oilStartDownline: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Lower limit for the smart generator to start'
},
oilStopUpline: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Upper limit for the smart generator to disable'
},
bmsDsgDownline: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Lower limit of UPS charging of BMS'
}
},
string: {
moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN#',
role: 'info'
}
}
},
kitscc: {
diagnostic: {
pv2ErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 error code',
role: 'info',
pv2ErrCode: { '0': 'OK?' }
},
pv1ErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 error code',
role: 'info',
pv1ErrCode: { '0': 'OK?' }
},
alt1VoltLmtEn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom restricted voltage 1 enable',
role: 'info',
alt1VoltLmtEn: { '0': 'OK?' }
},
pv2WorkMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating mode, 1: solar, 2: adapter',
role: 'info',
pv2WorkMode: { '1': 'solar', '2': 'adapter' }
},
mppt2SwSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'MPPT2 button status',
role: 'info',
mppt2SwSta: { '0': 'OK?' }
},
alt2VoltLmtEn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom restricted voltage 2 enable',
role: 'info',
alt2VoltLmtEn: { '0': 'OK?' }
},
mppt1SwSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'MPPT1 button status',
role: 'info',
mppt1SwSta: { '0': 'OK?' }
},
pv2InputFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 input status',
role: 'info',
pv2InputFlag: { '0': 'OK?' }
},
pv1InputFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 input status',
role: 'info',
pv1InputFlag: { '0': 'OK?' }
},
pv1WorkMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating mode, 1: solar, 2: adapter',
role: 'info',
pv1WorkMode: { '1': 'solar', '2': 'adapter' }
},
eventCode2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode2: { '0': 'OK?' }
},
eventCode1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode1: { '0': 'OK?' }
},
alt1CableUnit: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'ALT power charging cable length unit, 0: meter, 1: foot',
role: 'info',
alt1CableUnit: { '0': 'meter', '1': 'foot' }
},
warnCode2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode2: { '0': 'OK?' }
},
warnCode1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode1: { '0': 'OK?' }
},
//new
pv1_hot_out: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv1_hot_out',
role: 'info',
pv1_hot_out: { '0': 'OK?', '1': '?' }
},
pv2_hot_out: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv2_hot_out',
role: 'info',
pv2_hot_out: { '0': 'OK?', '1': '?' }
}
},
number: {
pv1InWatts: {
min: 0,
max: 1600,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'PV1 input power'
},
pv2InWatts: {
min: 0,
max: 1600,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'PV2 input power'
},
chgEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Accumulative power discharged'
},
l1Curr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L1 current'
},
alt2CableUnit: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Accumulative power discharged'
},
batCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Battery current'
},
batWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 0.01,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Battery power'
},
pv1InCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'PV1 input current'
},
pv2InVol: {
min: 0,
max: 70,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'PV2 input voltage'
},
alt1CableLen: {
min: 1,
max: 30,
unit_of_measurement: 'm',
mult: 0.01,
entity_type: 'sensor',
role: 'value',
name: 'ALT1 power charging cable length: 1 m to 30 m'
},
hs2Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 2 temperature(℃)'
},
alt2CableLen: {
min: 1,
max: 30,
unit_of_measurement: 'm',
mult: 0.01,
entity_type: 'sensor',
role: 'value',
name: 'ALT2 power charging cable length: 1 m to 30 m'
},
dayEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Daily power discharged'
},
alt1VoltLmt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Custom restricted voltage value 1, unit: 100 mV'
},
alt2VoltLmt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Custom restricted voltage value 2, unit: 100 mV'
},
hs1Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 1 temperature'
},
pv2InCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'PV2 input current'
},
l2Curr: {
min: 0,
max: 30,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L2 current'
},
pcbTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'PCB temperature'
},
batVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Battery voltage'
},
pv1InVol: {
min: 0,
max: 70,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'PV1 input voltage'
},
dsgEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Accumulative power discharged'
}
},
string: {
moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN#',
role: 'info'
}
}
},
onLineModuleSnList: {
string: {
m0_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m0_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m0_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m0_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m0_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m0_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m0_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m0_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m1_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m1_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m1_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m1_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m1_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m1_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m1_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m1_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m2_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m2_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m2_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m2_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m2_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m2_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m2_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m2_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m3_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m3_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m3_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m3_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m3_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m3_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m3_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m3_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m4_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m4_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m4_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m4_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m4_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m4_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m4_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m4_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m5_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m5_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m5_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m5_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m5_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m5_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m5_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m5_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m6_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m6_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m6_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m6_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m6_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m6_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m6_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m6_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m7_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m7_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m7_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m7_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m7_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m7_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m7_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m7_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m8_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m8_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m8_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m8_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m8_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m8_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m8_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m8_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
},
m9_customData: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom data',
role: 'info'
},
m9_loaderVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Loader version',
role: 'info'
},
m9_moduleAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module static address',
role: 'info'
},
m9_moduleDAddr: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module dynamic address',
role: 'info'
},
m9_moduleDetail: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module detail',
role: 'info'
},
m9_moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN',
role: 'info'
},
m9_moduleType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module type',
role: 'info'
},
m9_moduleVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module version',
role: 'info'
}
}
},
wireless: {
string: {
scenes: { entity_type: 'text', entity_category: 'diagnostic', name: 'Scenario', role: 'info' }
}
},
bbcin: {
diagnostic: {
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'See the preceding details of error codes.',
role: 'info',
errCode: { '0': 'OK?' }
},
workMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating mode, 1: charging mode, 2: power supply mode',
role: 'info',
workMode: { '1': 'charging mode', '2': 'power supply mode' }
},
dcInState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'DC input status, 0: not connected, 1: connected',
role: 'info',
dcInState: { '0': 'not connected', '1': 'connected' }
},
bpOnlinePos: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BP in place information, BIT0:BP1 in place, BIT1:BP2 in place, BIT2:BP3 in place',
role: 'info',
bpOnlinePos: { '0': 'OK?' }
},
inHwTpe: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Input wire harness type, 0: ALT wire, 1: PV wire',
role: 'info',
inHwTpe: { '0': 'ALT wire', '1': 'PV wire' }
},
chgType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging type, 0: unknown, 1: ALT, 2: PV',
role: 'info',
chgType: { '0': 'unknown', '1': 'ALT', '2': 'PV' }
},
isCarMoving: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating or not, enable after charging and operating',
role: 'info',
isCarMoving: { '0': 'OK?' }
},
chargeMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: '0: charging, 1: discharging',
role: 'info',
chargeMode: { '0': 'charging', '1': 'discharging' }
},
warnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode: { '0': 'OK?' }
},
eventCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode: { '0': 'OK?' }
},
workMode2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Operating mode, 0: charging mode, 1 reverse charging mode',
role: 'info',
workMode2: { '0': 'charging mode', '1': 'reverse charging mode' }
},
allowDsgOn: {
entity_type: 'text',
entity_category: 'diagnostic',
name:
'Operation status: 1: allow to open the discharging switch, 0: not allow to open the discharging switch',
role: 'info',
allowDsgOn: {
'0': 'not allow to open the discharging switch',
'1': 'allow to open the discharging switch'
}
},
chgPause: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Pause of charging, 0: normal, 1: pause charging',
role: 'info',
chgPause: { '0': 'normal', '1': 'pause charging' }
},
shakeCtrlDisable: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Disable vibration detection while operating, 0 enabled, 1 disabled',
role: 'info',
shakeCtrlDisable: { '0': 'enabled', '1': 'disabled' }
},
altCableUnit: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'ALT power charging cable length unit, 0: meter, 1: foot',
role: 'info',
altCableUnit: { '0': 'meter', '1': 'foot' }
},
altVoltLmtEn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Custom restricted voltage enable',
role: 'info',
altVoltLmtEn: { '0': 'OK?' }
}
},
number: {
dcInVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Input voltage'
},
dcInCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Input current'
},
dcInWatts: {
min: 0,
max: 1600,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Input power'
},
batVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Battery voltage'
},
batCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Battery current'
},
batWatts: {
min: 0,
max: 3600,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Battery power'
},
l1Curr: {
min: 0,
max: 30,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L1 current'
},
l2Curr: {
min: 0,
max: 30,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Inductor L2 current'
},
hs1Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 1 temperature'
},
hs2Temp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Radiator 2 temperature(℃)'
},
pcbTemp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'PCB temperature'
},
chgMaxCurr: {
min: 0,
max: 70,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Maximum charging current configured'
},
dayEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Daily power discharged'
},
dsgEnergy: {
min: 0,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
state_class: 'total_increasing',
role: 'value',
name: 'Accumulative power discharged'
},
altCableLen: {
min: 0,
max: 30,
unit_of_measurement: 'm',
mult: 0.01,
entity_type: 'sensor',
role: 'value',
name: 'ALT power charging cable length'
},
altVoltLmt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Custom restricted voltage value, unit: 100 mV'
},
thirdWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'third watts'
}
},
string: {
moduleSn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module SN#',
role: 'info'
}
},
array: {
rsvd: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'reserved',
role: 'list'
}
}
},
iclow: {
diagnostic: {
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Error code',
role: 'info',
errCode: { '0': 'OK?' }
},
warn_code: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm keyword',
role: 'info',
warn_code: { '0': 'OK?' }
},
event_code: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event keyword',
role: 'info',
event_code: { '0': 'OK?' }
},
fanLevel: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Fan level: 0–3',
role: 'info',
fanLevel: { '0': 'OK?' }
},
chgType: {
entity_type: 'text',
entity_category: 'diagnostic',
name:
'Charger type, 0: NULL, 1: AC charging, 2: adapter charging, 3: solar panel charging, 0xff: unknown charger type',
role: 'info',
chgType: {
'0': 'NULL',
'1': 'AC charging',
'2': 'adapter charging',
'3': 'solar panel charging',
'0xff': 'unknown charger type'
}
},
chgDsgState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging/discharging status, bit0~bit1: 00: idle, 01: discharging, 10: charging',
role: 'info',
chgDsgState: { '0': 'OK?' }
},
protectState: {
entity_type: 'text',
entity_category: 'diagnostic',
name:
'Exception information displayed, BIT0: high temperature, BIT1: low temperature, BIT2: overload, BIT3: charging exception, BIT4: fan exception, BIT5: communication exception, BIT6: BMS failure',
role: 'info',
protectState: { '0': 'OK?' }
},
chrgFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: '0: BMS idle or disconnected, 1: allowed to charge 2: not allowed to charge',
role: 'info',
chrgFlag: {
'0': 'BMS idle or disconnected',
'1': 'allowed to charge',
'2': 'not allowed to charge'
}
},
chgInType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Input type of charging and discharging, bit0~bit1: 00: null, 01: AC, 10: MPPT, 11: AC && MPPT',
role: 'info',
chgInType: { '0': 'OK?' }
},
extKitType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'External accessory type, CC/PR/BC(SP), only MR500 is valid',
role: 'info',
extKitType: { '0': 'OK?' }
},
lsplFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Low power indication, 1: enter low power mode, 0: exit low power mode',
role: 'info',
lsplFlag: { '0': 'exit low power mode', '1': 'enter low power mode' }
},
warnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Alarm code',
role: 'info',
warnCode: { '0': 'OK?' }
},
eventCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Event code',
role: 'info',
eventCode: { '0': 'OK?' }
}
},
number: {
batVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Battery voltage'
},
batCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Battery current'
},
busVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.0001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Bus Voltage'
},
dcTemp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'DC temperature'
},
maxChgCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Maximum chargeable current'
},
bmsChgCurr: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'BMS chargeable current'
},
chgBatVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Charging voltage'
},
realSoc: {
min: 0,
max: 100,
unit_of_measurement: '5',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Real SOC'
}
},
icon: {
res: { entity_type: 'text', entity_category: 'diagnostic', role: 'info',