iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
1,505 lines • 155 kB
JavaScript
const deviceStates = {
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: 100000,
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: 300000,
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' },
},
},
},
bp2: {
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: 100000,
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' },
},
},
},
bp3: {
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: 100000,
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