iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
1,502 lines (1,501 loc) • 104 kB
JavaScript
const deviceStates = {
CloudBmsInfoReport: {
number: {
bpPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Battery power',
},
bpSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Battery SOC',
},
bpSoh: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Battery SOH',
},
bpTemp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'bp temp',
subrole: 'number',
},
bpCellMaxVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp cell max vol',
subrole: 'number',
},
bpCellMinVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp cell min vol',
subrole: 'number',
},
bpVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Battery Voltage',
},
bpAmp: {
min: 0,
max: 60,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'Battery Current',
},
bpBusVol: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Bus voltage',
},
bpBusAmp: {
min: 0,
max: 100,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'bp bus amp',
subrole: 'number',
},
bpCellVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp cell vol',
subrole: 'number',
},
bpHvMosTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'High voltage Mos temperature',
},
bpLvMosTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Low voltage Mos temparature',
},
bpPtcTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'PTC temperature',
},
bpHtsTemp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Hts temperature',
},
bpBusNegTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Bus neg. temperature',
},
bpBusPosTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Bus pos. temperature',
},
bpEnvTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Env. temperature',
},
bpAccuChgCap: {
min: 0,
max: 7500000,
unit_of_measurement: 'mAh',
mult: 0.001,
entity_type: 'sensor',
//device_class: 'capacity',
role: 'value',
name: 'Accu charge capacity',
},
bpAccuDsgCap: {
min: 0,
max: 7500000,
unit_of_measurement: 'mAh',
mult: 0.001,
entity_type: 'sensor',
//device_class: 'capacity',
role: 'value',
name: 'Accu discharge capacity',
},
bpDesignCap: {
min: 0,
max: 110000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
//device_class: 'capacity',
role: 'value',
name: 'Design cpapcity',
},
bpFullCap: {
min: 0,
max: 110000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
//device_class: 'capacity',
role: 'value',
name: 'Full capacity',
},
bpMaxCellTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Battery maximum cell temperature',
},
bpMinCellTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Battery minimum cell temperature',
},
bpMaxMosTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum Mos temperature',
},
bpMinMosTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum Mos temperature',
},
bpEcloundSoc: {
min: 0,
max: 60,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp eclound soc',
subrole: 'number',
},
bpRealSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Real SOC',
},
bpRealSoh: {
min: 0,
max: 110,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'REAL SOH',
},
bpDownLimitSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Discharge limit SOC',
},
bpUpLimitSoc: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Charge limit SOC',
},
bpRemainWatth: {
min: 0,
max: 7000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'Remain energy',
},
bpTargetSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Target SOC',
},
bpDiffSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Diff. SOC',
},
bpMaxSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Maximum SOC',
},
bpMinSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Minimum SOC',
},
bpLimitSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Limit SOC',
},
bpCalendarSoh: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Calendar SOH',
},
bpCycleSoh: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Cycle SOH',
},
bpSop: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Battery SOP',
},
bpChgSop: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'ChgSop',
},
bpDsgSop: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'DsgSop',
},
},
string: {
bpSop: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp sop', role: 'info' },
bpDsrc: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp dsrc', role: 'info' },
bpSn: { entity_type: 'text', entity_category: 'diagnostic', name: 'Battery serial number', role: 'info' },
bpCycles: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp cycles', role: 'info' },
bpHeartbeatVer: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Heartbeat version',
role: 'info',
},
bpGlobalProtect: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp global protect',
role: 'info',
},
moduleProductInfo: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module product info',
role: 'info',
},
moduleAplSwVer: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module Aplication SW version',
role: 'info',
},
moduleLoaderSwVer: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module Loader SW version',
role: 'info',
},
bpChgSop: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp chg sop', role: 'info' },
bpDsgSop: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp dsg sop', role: 'info' },
bpPtcExitEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp ptc exit event',
role: 'info',
},
bpEcloundSoc: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Eclound Soc' },
bpTimestamp: { entity_type: 'text', entity_category: 'diagnostic', name: 'Timestamp', role: 'info' },
},
diagnostic: {
bpRunSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Baattery Run Status',
role: 'info',
bpRunSta: { 0: 'RUNSTA_STANDBY', 1: 'RUNSTA_RUN', 2: 'RUNSTA_STOP' },
},
bpErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Battery Error Code',
role: 'info',
bpErrCode: { 0: 'OK?' },
},
bpBalanceState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Balance state',
role: 'info',
bpBalanceState: { 0: 'OK?' },
},
bpBmsFault: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BMS fault',
role: 'info',
bpBmsFault: { 0: 'OK?' },
},
bpActiveCalReqStat: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Active Cal. request status',
role: 'info',
bpActiveCalReqStat: { 0: 'OK?' },
},
bpActiveCalRunStat: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'active Cal. run status',
role: 'info',
bpActiveCalRunStat: { 0: 'OK?' },
},
moduleProgramSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Module program start',
role: 'info',
moduleProgramSta: { 0: 'OK?' },
},
bmsRunSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Running status bms',
role: 'info',
bmsRunSta: {
0: 'PB_BMS_STATE_SHUTDOWN',
1: 'PB_BMS_STATE_NORMAL',
2: 'PB_BMS_STATE_CHARGEABLE',
3: 'PB_BMS_STATE_DISCHARGEABLE',
4: 'PB_BMS_STATE_FAULT',
},
},
bmsChgDsgSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charge/Discharge status',
role: 'info',
bmsChgDsgSta: { 0: 'PB_STANDBY_STATE ', 1: 'PB_DSG_STATE', 2: 'PB_CHG_STATE' },
},
dabModSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'dabModSta',
role: 'info',
dabModSta: { 0: 'PB_MOD_STA_NORMAL', 1: 'PB_MOD_STA_WARNNING', 3: 'PB_MOD_STA_FAULT' },
},
bpAcRechargeFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'AC recharge flag',
role: 'info',
bpAcRechargeFlag: { 0: 'no AC recharge', 1: 'AC recharge' },
},
bpPtcHeatFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PTC heat flag',
role: 'info',
bpPtcHeatFlag: { 0: 'OK?' },
},
bpDsrc: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bpDsrc',
role: 'info',
bpDsrc: { 0: 'OK?', 1: '1?', 2: '2?' },
},
bpGlobalProtect: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Global Protect',
role: 'info',
bpGlobalProtect: { 0: 'OK?' },
},
bpPtcExitEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PTC Exit event',
role: 'info',
bpPtcExitEvent: {
0: 'PB_PTC_OT_STATE',
1: 'HEAT_EVENT_TEMP_OK',
2: 'HEAT_EVENT_ABNORMAL',
3: 'HEAT_EVENT_TEMP_DIFF',
4: 'HEAT_EVENT_BMS_FAULT',
5: 'HEAT_EVENT_OVERTIME',
6: 'HEAT_EVENT_CHG_DISABLE',
7: 'HEAT_EVENT_POWER_LOW',
8: 'HEAT_EVENT_AB_DSG',
9: 'HEAT_EVENT_DSG_SOC_LOW',
10: 'HEAT_EVENT_DSG_VOL_LOW',
11: 'HEAT_EVENT_DSG_DISABLE',
12: 'HEAT_EVENT_AFE_FAULT',
13: 'HEAT_EVENT_FTOP_FAULT',
14: 'HEAT_EVENT_FVOP_FAULT',
15: 'HEAT_EVENT_PWR_FAULT',
16: 'HEAT_EVENT_PTC_SC',
17: 'HEAT_EVENT_MOS_SC',
18: 'HEAT_EVENT_PTC_TEMP_FAULT',
19: 'HEAT_EVENT_PTC_TEMP_SOT',
},
},
},
array: {
bpTemp: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'Battery tremperatures' },
bpCellVol: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'list',
mult: 0.001,
name: 'Battery Cell voltages',
},
},
},
EMSHeartbeatReport: {
diagnostic: {
sysWorkSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'sys work sta',
role: 'info',
sysWorkSta: { 0: 'OK?' },
},
bpChgDsgSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp chg dsg sta',
role: 'info',
bpChgDsgSta: { 0: 'OK?' },
},
emsErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'ems err code',
role: 'info',
emsErrCode: { 0: 'OK?' },
},
sysErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'sys err code',
role: 'info',
sysErrCode: { 0: 'OK?' },
},
epoSwitchState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'epo switch state',
role: 'info',
epoSwitchState: { 0: 'OK?' },
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'err code',
role: 'info',
errCode: { 0: 'OK?' },
},
meterType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'meter type',
role: 'info',
meterType: { 0: 'OK?' },
},
emsSystemState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'ems system state',
role: 'info',
emsSystemState: { 0: 'OK?' },
},
appCtrlState: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'app ctrl state',
role: 'info',
appCtrlState: { 0: 'OK?' },
},
pvInvWiringMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv inv wiring mode',
role: 'info',
pvInvWiringMode: { 0: 'OK?' },
},
workingMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'working mode',
role: 'info',
workingMode: { 0: 'OK?' },
},
emsErrorCodeMask: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'ems error code mask',
role: 'info',
emsErrorCodeMask: { 0: 'OK?' },
},
bpErrorCodeMask: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp error code mask',
role: 'info',
bpErrorCodeMask: { 0: 'OK?' },
},
pv1ErrorCodeMask: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv1 error code mask',
role: 'info',
pv1ErrorCodeMask: { 0: 'OK?' },
},
pv2ErrorCodeMask: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv2 error code mask',
role: 'info',
pv2ErrorCodeMask: { 0: 'OK?' },
},
pvaErrorCodeMask: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pva error code mask',
role: 'info',
pvaErrorCodeMask: { 0: 'OK?' },
},
pvWiringType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'pv wiring type',
role: 'info',
pvWiringType: { 0: 'OK?' },
},
invWiringType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'inv wiring type',
role: 'info',
invWiringType: { 0: 'OK?' },
},
appConfigFinish: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'app config finish',
role: 'info',
appConfigFinish: { 0: 'OK?' },
},
currentNetif: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'current netif',
role: 'info',
currentNetif: { 0: 'OK?' },
},
isPvToInvDirectly: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'isPvToInvDirectly',
role: 'info',
isPvToInvDirectly: { 0: 'OK?' },
},
autoDetectStartPowerEn: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'auto detect start power en',
role: 'info',
autoDetectStartPowerEn: { 0: 'OK?' },
},
},
number: {
bpRemainWatth: {
min: 0,
max: 25000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'bp remain watth',
subrole: 'number',
},
bpSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp soc',
subrole: 'number',
},
bpDsgTime: {
min: 0,
max: 159990,
unit_of_measurement: 'h',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'bp dsg time',
subrole: 'number',
},
sysRateCtrlTime: {
min: 0,
max: 60,
unit_of_measurement: 'h',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'sys rate ctrl time',
subrole: 'number',
},
meterTotalPower: {
min: 0,
max: 50000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'meter total power',
subrole: 'number',
},
meterAVoltage: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'meter a voltage',
subrole: 'number',
},
meterBVoltage: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'meter b voltage',
subrole: 'number',
},
meterCVoltage: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'meter c voltage',
subrole: 'number',
},
meterACurrent: {
min: 0,
max: 120,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'meter a current',
subrole: 'number',
},
meterBCurrent: {
min: 0,
max: 120,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'meter b current',
subrole: 'number',
},
meterCCurrent: {
min: 0,
max: 120,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'meter c current',
subrole: 'number',
},
bp1SocCoefficient: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 100,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp1 soc coefficient',
subrole: 'number',
},
bp2SocCoefficient: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 100,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp2 soc coefficient',
subrole: 'number',
},
bp3SocCoefficient: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 100,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp3 soc coefficient',
subrole: 'number',
},
bpBusVoltCoefficient: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 100,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp bus volt coefficient',
subrole: 'number',
},
pvInDayEnergy: {
min: 0,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'pv in day energy',
subrole: 'number',
},
bpInDayEnergy: {
min: 0,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'bp in day energy',
subrole: 'number',
},
bpOutDayEnergy: {
min: -25000,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'bp out day energy',
subrole: 'number',
},
gridInDayEnergy: {
min: 0,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'grid in day energy',
subrole: 'number',
},
gridOutDayEnergy: {
min: -25000,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'grid out day energy',
subrole: 'number',
},
loadDayEnergy: {
min: -25000,
max: 100000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
role: 'value',
name: 'load day energy',
subrole: 'number',
},
batterySocUpperLimit: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'battery soc upper limit',
subrole: 'number',
},
batterySocLowerLimit: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'battery soc lower limit',
subrole: 'number',
},
mpptVoltageMaximum: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'mppt voltage maximum',
subrole: 'number',
},
mpptVoltageMinimum: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'mppt voltage minimum',
subrole: 'number',
},
mpptRatePower: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'mppt rate power',
subrole: 'number',
},
mpptWithstandVoltage: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'mppt withstand voltage',
subrole: 'number',
},
bpSocBaseCoefficient: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 100,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp soc base coefficient',
subrole: 'number',
},
bpBusVoltageBaseCoefficient: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp bus voltage base coefficient',
subrole: 'number',
},
sysRunMeterTakePower: {
min: -25000,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'sys run meter take power',
subrole: 'number',
},
sysRunMeterFeedPower: {
min: 0,
max: 50000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'sys run meter feed power',
subrole: 'number',
},
gridFeedPowerMinimum: {
min: 0,
max: 2000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'grid feed power minimum',
subrole: 'number',
},
manualSetStartChargePower: {
min: 0,
max: 2000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'manual set start charge power',
subrole: 'number',
},
startDischargePower: {
min: 0,
max: 2000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'start discharge power',
subrole: 'number',
},
underVoltageProtectPoint: {
min: 0,
max: 500,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'under voltage protect point',
subrole: 'number',
},
gridFeedRate: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'grid feed rate',
subrole: 'number',
},
},
string: {
meterAddress: { entity_type: 'text', entity_category: 'diagnostic', name: 'meter address', role: 'info' },
inverterBand: { entity_type: 'text', entity_category: 'diagnostic', name: 'inverter band', role: 'info' },
bpDichargeAbilityAdjustValueLv1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp dicharge ability adjust value lv1',
role: 'info',
},
bpDichargeAbilityAdjustValueLv2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp dicharge ability adjust value lv2',
role: 'info',
},
bpRunDelay: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp run delay', role: 'info' },
bpStopDelay: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp stop delay', role: 'info' },
disOrChargeAbilityStepValue: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'dis or charge ability step value',
role: 'info',
},
reportCycleTime: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'report cycle time',
role: 'info',
},
bpSaveSocStopDelay: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp save soc stop delay',
role: 'info',
},
},
array: {
meterRatio: { entity_type: 'text', entity_category: 'diagnostic', name: 'meter ratio', role: 'list' },
meterPhasePower: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'meter phase power',
role: 'list',
},
meterPowerFactor: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'meter power factor',
role: 'list',
},
},
},
EnergyStreamItem: {
number: {
gridPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'grid pwr',
subrole: 'number',
},
dcdcPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'dcdc pwr',
subrole: 'number',
},
bpPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp pwr',
subrole: 'number',
},
pvPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'pv pwr',
subrole: 'number',
},
timezone: {
min: -1200,
max: 1200,
unit_of_measurement: 'h',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'timezone',
subrole: 'number',
},
bpSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp soc',
subrole: 'number',
},
loadPwr: {
min: 0,
max: 25000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'load pwr',
subrole: 'number',
},
bpHeatingPower: {
min: 0,
max: 1000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp heating power',
subrole: 'number',
},
heatingPower: {
min: 0,
max: 1000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'heating power',
subrole: 'number',
},
},
string: {
timestamp: { entity_type: 'text', entity_category: 'diagnostic', name: 'bp timestamp', role: 'info' },
},
},
bpInfo0: {
number: {
bpPwr: {
min: 0,
max: 20000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp pwr',
subrole: 'number',
},
bpSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp soc',
subrole: 'number',
},
bpVol: {
min: 0,
max: 100,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp vol',
subrole: 'number',
},
bpAmp: {
min: 0,
max: 100,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'bp amp',
subrole: 'number',
},
bpRemainWatth: {
min: 0,
max: 40000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp remain watth',
subrole: 'number',
},
bpBusVol: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp bus vol',
subrole: 'number',
},
bpBusAmp: {
min: 0,
max: 100,
unit_of_measurement: 'A',
mult: 1,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'bp bus amp',
subrole: 'number',
},
bpDownLimitSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp down limit soc',
subrole: 'number',
},
bpUpLimitSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'bp up limit soc',
subrole: 'number',
},
bpBusVolFilter: {
min: 0,
max: 1000,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'bp bus vol filter',
subrole: 'number',
},
bpModuleChgMaxPwr: {
min: 0,
max: 20000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp module chg max pwr',
subrole: 'number',
},
bpModuleDsgMaxPwr: {
min: 0,
max: 10000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'bp module dsg max pwr',
subrole: 'number',
},
},
diagnostic: {
bpRunSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp run sta',
role: 'info',
bpRunSta: { 0: 'OK?' },
},
bpModSta: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp mod sta',
role: 'info',
bpModSta: { 0: 'OK ? ' },
},
bpChgDsgStat: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bp chg dsg stat',
role: 'info',
bpChgDsgStat: { 0: 'OK?' },
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'err code',
role: 'info',
errCode: { 0: 'OK ? ' },
},
bpSpinSwitch: {
entity_type: 'text',
entity_category: 'diagnostic',