iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
1,580 lines (1,579 loc) • 87.4 kB
JavaScript
const deviceStates = {
bmsMaster: {
number: {
amp: {
min: 0,
max: 25,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Current',
role: 'value'
},
cycles: {
min: 0,
max: 6000,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
name: 'Number of cycles',
role: 'value'
},
designCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Design capacity',
entity_category: 'diagnostic',
role: 'value'
},
f32ShowSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'SOC',
role: 'value'
},
fullCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Full capacity',
role: 'value'
},
inputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Input power',
role: 'value'
},
maxCellTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Maximum cell temperature',
role: 'value'
},
maxCellVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Maximum cell voltage',
role: 'value'
},
maxMosTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Maximum MOS temperature',
role: 'value'
},
minCellTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Minimum cell temperature',
role: 'value'
},
minCellVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Minimum cell voltage',
role: 'value'
},
minMosTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Minimum MOS temperature',
role: 'value'
},
outputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Output power',
role: 'value'
},
remainCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Remaining capacity',
role: 'value'
},
remainTime: {
min: 0,
max: 143999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Time remaining',
entity_category: 'diagnostic',
role: 'value'
},
soc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Remaining battery percentage',
role: 'value'
},
tagChgAmp: {
min: 0,
max: 100,
unit_of_measurement: 'A',
mult: 0.0001,
entity_type: 'sensor',
device_class: 'current',
name: 'Target charging current',
entity_category: 'diagnostic',
role: 'value'
},
temp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Temperature',
role: 'value'
},
vol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Voltage',
role: 'value'
},
maxVolDiff: {
min: 0,
max: 500,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Maximum cell voltage difference',
role: 'value'
}
},
string: {
bmsFault: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BMS permanent fault'
},
bqSysStatReg: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BQ hardware protection register'
},
num: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BMS number'
},
openBmsIdx: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Battery pack enable state'
},
soh: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Health status'
},
sysVer: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'System version'
}
},
diagnostic: {
cellId: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Battery capacity type',
cellId: {
'1': '2.5 Ah per battery',
'2': '2 Ah per battery'
}
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Global error code',
errCode: {
'0': 'OK?'
}
},
type: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BMS type',
type: {
'1': 'Lithium battery',
'2': 'Oil-powered'
}
},
balanceState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Balance State',
balanceState: {
'0': '0=OK?',
'1': '1?',
'2': '2?'
}
},
mosState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'MOS state',
mosState: {
'0': '0?',
'1': '1?',
'2': '2?',
'3': '3?'
}
}
},
array: {
cellTemp: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'list',
name: 'Cell temperature'
},
cellVol: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'list',
name: 'Cell voltage'
},
hwVersion: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'list',
name: 'HW version'
}
},
icon: {
recv: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'recv'
}
}
},
ems: {
array: {
bmsIsConnt: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BMS online signal',
role: 'info',
bmsIsConnt: {
'0': 'not online',
'1': 'HW online',
'2': 'SW online',
'3': 'HW+SW online'
}
}
},
string: {
bmsModel: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BMS model'
},
fanLevel: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Fan level'
},
maxAvailNum: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Maximum available quantity'
},
openBmsIdx: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Open BMS index'
},
openUpsFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'UPS mode enable flag'
}
},
diagnostic: {
bmsWarState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'BMS warning state',
bmsWarState: {
'0': 'no warning?',
'1': 'hi_temp',
'2': 'low_temp',
'4': 'overload',
'8': 'chg_flag'
}
},
chgCmd: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charge switch',
chgCmd: {
'0': 'off',
'1': 'on',
'2': '2?'
}
},
chgState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charging state',
chgState: {
'0': 'disabled',
'1': 'CC',
'2': 'CV',
'3': 'UPS',
'4': 'PARA 0x55: Charging error'
}
},
dsgCmd: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Discharge switch',
dsgCmd: {
'0': 'off',
'1': 'on',
'2': '2?'
}
},
emsIsNormalFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Energy storage state: 0: sleep; 1: normal',
emsIsNormalFlag: {
'0': 'sleep',
'1': 'normal'
}
}
},
number: {
chgAmp: {
min: 0,
max: 100,
unit_of_measurement: 'A',
mult: 0.0001,
entity_type: 'sensor',
device_class: 'current',
name: 'Charging current',
role: 'value'
},
chgRemainTime: {
min: 0,
max: 143999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Remaining charging time',
role: 'value',
icon: 'mdi:clock-start'
},
chgVol: {
min: 0,
max: 150,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Charging voltage',
role: 'value'
},
dsgRemainTime: {
min: 0,
max: 143999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Remaining discharging time',
role: 'value',
icon: 'mdi:clock-start'
},
f32LcdShowSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'SOC on LCD',
role: 'value'
},
lcdShowSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'SOC on LCD',
role: 'value'
},
paraVolMax: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Maximum parallel voltage',
role: 'value'
},
paraVolMin: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Minimum parallel voltage',
role: 'value'
}
},
level: {
maxChargeSoc: {
min: 50,
max: 100,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
role: 'level',
name: 'Charge upper limit',
icon: 'mdi:battery-charging-90'
},
maxCloseOilEb: {
min: 50,
max: 100,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
role: 'level',
name: 'The lower threshold of smart generator auto off Range: 0~100'
},
minDsgSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
role: 'level',
name: 'Discharge lower limit',
icon: 'mdi:battery-charging-10'
},
minOpenOilEb: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
role: 'level',
name: 'The upper threshold of smart generator auto on Range: 0~100'
}
}
},
inv: {
number: {
FastChgWatts: {
min: 200,
max: 2400,
unit_of_measurement: 'W',
mult: 1,
step: 100,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Maximum charging power for AC fast charging (W)'
},
acInAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Inverter input current',
role: 'value'
},
acInFreq: {
min: 0,
max: 62,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Inverter input frequency',
role: 'value'
},
acInVol: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Inverter input voltage',
role: 'value'
},
dcInAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'DC input current',
role: 'value'
},
dcInTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'DC temperature',
role: 'value'
},
dcInVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'DC input voltage',
role: 'value'
},
inputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Charging power',
role: 'value'
},
invOutAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Inverter output current',
role: 'value'
},
invOutFreq: {
min: 0,
max: 62,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Inverter output frequency',
role: 'value'
},
invOutVol: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Actual inverter output voltage',
role: 'value'
},
outTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Inverter temperature',
role: 'value'
},
outputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Discharging power',
role: 'value'
},
acChgRatedPower: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'AC charge rated power'
},
standbyMin: {
min: 0,
max: 1440,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
AC_TIMEOUT_OPTIONS: {
Never: 0,
'30 min': 30,
'1 hr': 60,
'2 hr': 120,
'4 hr': 240,
'6 hr': 360,
'12 hr': 720,
'24 hr': 1440
},
role: 'value',
name: 'AC standby time /min 0 Never standby 720 Default value'
}
},
level: {
SlowChgWatts: {
min: 200,
max: 1000,
unit_of_measurement: 'W',
mult: 1,
step: 100,
entity_type: 'number',
device_class: 'power',
role: 'level',
name: 'Maximum charging power for AC slow charging (W)'
}
},
diagnostic: {
acDipSwitch: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC fast/slow charging dip switch',
acDipSwitch: {
'0': 'unknown',
'1': 'fast charging mode',
'2': 'slow charging mode'
}
},
cfgAcOutFreq: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Inverter output frequency (Hz)',
cfgAcOutFreq: {
'1': '50 Hz',
'2': '60 Hz',
'255': 'ignored'
}
},
chargerType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charger type',
chargerType: {
'0': 'no charging',
'1': 'AC charging',
'2': 'DC adapter charging',
'3': 'solar charging',
'4': 'CC',
'5': 'BC'
}
},
dischargeType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Discharging type',
dischargeType: {
'0': 'no discharge?',
'1': 'AC discharging',
'2': 'PR',
'3': 'BC'
}
},
fanState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Fan state',
fanState: {
'0': 'disabled',
'1': 'Level 1',
'2': 'Level 2',
'3': 'Level 3'
}
},
acPassbyAutoEn: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'acPassbyAutoEn',
acPassbyAutoEn: {
'0': '0?',
'1': '1?'
}
},
prBalanceMode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'prBalanceMode',
prBalanceMode: {
'0': '0=?',
'1': '1=?'
}
}
},
switch: {
cfgAcEnabled: {
entity_type: 'switch',
device_class: 'outlet',
role: 'switch',
name: 'AC discharge (INV) switch setting',
payload_off: 'off',
payload_on: 'on',
cfgAcEnabled: {
'0': 'off',
'1': 'on'
}
},
cfgAcWorkMode: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'AC charging mode',
payload_off: 'full power',
payload_on: 'mute',
cfgAcWorkMode: {
'0': 'full power',
'1': 'mute'
}
},
cfgAcXboost: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'X-Boost switch',
payload_off: 'off',
payload_on: 'on',
cfgAcXboost: {
'0': 'off',
'1': 'on',
ff: 'ignored'
}
},
chgPauseFlag: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'AC Charging Pause',
payload_off: 'not stopped?',
payload_on: 'charge stopped',
chgPauseFlag: {
'0': 'not stopped?',
'1': 'charge stopped'
}
}
},
string: {
cfgAcOutVol: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Inverter output voltage (V): 0xffffffff: ignored'
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Global error code'
},
invType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'PSDR model code'
},
sysVer: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'System version'
}
},
icon: {
reserved: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'reserved'
}
}
},
mppt: {
number: {
carOutAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'Car charging output current',
role: 'value'
},
carOutVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Car charging output voltage',
role: 'value'
},
carOutWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Car charging output power',
role: 'value'
},
carTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Car charging temperature',
role: 'value'
},
dc24vTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'DCDC24V temperature',
role: 'value'
},
dcdc12vAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'DC12V30A output current, which is valid only for DELTA Pro',
role: 'value'
},
dcdc12vVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'DC12V30A output voltage, which is valid only for DELTA Pro',
role: 'value'
},
dcdc12vWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'DC12V30A output power, which is valid only for DELTA Pro',
role: 'value'
},
inAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'PV input current',
role: 'value'
},
inVol: {
min: 0,
max: 150,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV input voltage',
role: 'value'
},
inWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV input power',
role: 'value'
},
mpptTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'MPPT temperature',
role: 'value'
},
outAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'PV output current',
role: 'value'
},
outVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV output voltage',
role: 'value'
},
outWatts: {
min: 0,
max: 600,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV output power',
role: 'value'
},
pv2InAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'PV input current',
role: 'value'
},
pv2InVol: {
min: 0,
max: 150,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV input voltage',
role: 'value'
},
pv2InWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV input power',
role: 'value'
},
pv2MpptTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'MPPT temperature',
role: 'value'
}
},
level: {
carStandbyMin: {
min: 0,
max: 720,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'select',
device_class: 'duration',
select: ['Never', '30 min', '1 hr', '2 hr', '4 hr', '6 hr', '12 hr', '24 hr'],
select_obj: {
Never: 0,
'30 min': 30,
'1 hr': 60,
'2 hr': 120,
'4 hr': 240,
'6 hr': 360,
'12 hr': 720,
'24 hr': 1440
},
states: {
'0': 'Never',
'30': '30 min',
'60': '1 hr',
'120': '2 hr',
'240': '4 hr',
'360': '6 hr',
'720': '12 hr',
'1440': '24 hr'
},
role: 'level',
subrole: 'timer',
name: 'CAR standby time /min 0 Never standby 720 Default value'
},
dcChgCurrent: {
min: 4,
max: 8,
unit_of_measurement: 'A',
step: 2,
mult: 0.001,
entity_type: 'select',
device_class: 'current',
select: ['4A', '6A', '8A'],
select_obj: {
'4A': 4,
'6A': 6,
'8A': 8
},
states: {
'4': '4A',
'6': '6A',
'8': '8A'
},
name: 'On-board charging current',
role: 'level'
},
pv2DcChgCurrent: {
min: 4,
max: 8,
unit_of_measurement: 'A',
step: 2,
mult: 0.001,
entity_type: 'select',
device_class: 'current',
select: ['4A', '6A', '8A'],
select_obj: {
'4A': 4,
'6A': 6,
'8A': 8
},
states: {
'4': '4A',
'6': '6A',
'8': '8A'
},
name: 'pv2DcChgCurrent',
role: 'level'
}
},
switch: {
carState: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'Car charger switch setting',
payload_off: 'off',
payload_on: 'on',
carState: {
'0': 'off',
'1': 'on'
}
}
},
diagnostic: {
cfgChgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Configured charging type: This parameter is valid when xt60_chg_type is 0.',
cfgChgType: {
'0': 'auto',
'1': 'MPPT',
'2': 'adapter'
}
},
chgPauseFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'PV charging pause flag',
chgPauseFlag: {
'0': 'not stopped ?',
'1': 'charging stopped'
}
},
chgState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charging state',
chgState: {
'0': 'disabled',
'1': 'charging',
'2': 'standby (DC charging stopped during AC charging)'
}
},
chgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Actual charging type',
chgType: {
'0': 'null',
'1': 'adapter (adapter/DC source)',
'2': 'MPPT (solar)',
'3': 'AC (mains supply)',
'4': 'gas',
'5': 'wind'
}
},
dc24vState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'DCDC24 switch state',
dc24vState: {
'0': 'off',
'1': 'on'
}
},
faultCode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Error code',
faultCode: {
'0': 'OK?',
'1': 'mppt_fault',
'2': 'car_fault',
'4': 'dc24v_fault'
}
},
x60ChgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'XT60 charging type',
x60ChgType: {
'0': 'not detected',
'1': 'MPPT',
'2': 'adapter'
}
},
pv2CfgChgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Configured charging type: This parameter is valid when xt60_chg_type is 0.',
pv2CfgChgType: {
'0': 'auto?',
'1': 'MPPT?',
'2': 'adapter?'
}
},
pv2ChgPauseFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'PV charging pause flag',
pv2ChgPauseFlag: {
'0': 'not stopped',
'1': 'charging stopped'
}
},
pv2ChgState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charging state',
pv2ChgState: {
'0': 'disabled',
'1': 'charging',
'2': 'standby (DC charging stopped during AC charging)'
}
},
pv2ChgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Actual charging type',
pv2ChgType: {
'0': 'null',
'1': 'adapter (adapter/DC source)',
'2': 'MPPT (solar)',
'3': 'AC (mains supply)',
'4': 'gas',
'5': 'wind'
}
},
pv2Xt60ChgType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'XT60 charging type',
pv2Xt60ChgType: {
'0': 'not detected',
'1': 'MPPT?',
'2': 'adapter?'
}
}
},
icon: {
res: {}
},
string: {
swVer: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Version number'
}
}
},
pd: {
diagnostic: {
acAutoOnCfg: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC Auto On Cfg',
acAutoOnCfg: {
'0': 'off?',
'1': 'on?'
}
},
beepMode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Beep mode',
beepMode: {
'0': 'normal',
'1': 'quiet'
}
},
carState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'CAR button state',
carState: {
'0': 'off',
'1': 'on'
}
},
chgDsgState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charging/discharging state on screen',
chgDsgState: {
'0': 'discharging',
'1': 'charging'
}
},
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Global error code',
errCode: {
'0': 'OK?'
}
},
wifiAutoRcvy: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Wi-Fi auto mode',
wifiAutoRcvy: {
'0': 'default mode (STA)',
'1': 'The Wi-Fi network is automatically restored to the last mode (STA/AP) after powering on'
}
},
otherKitState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'other Kit State',
otherKitState: {
'0': '0?',
'1': '1?'
}
},
pv1ChargeType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charger type',
pv1ChargeType: {
'0': 'none',
'1': 'adapter',
'2': 'solar panel'
}
},
pv2ChargeType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charger type',
pv2ChargeType: {
'0': 'none',
'1': 'adapter',
'2': 'solar panel'
}
},
pvChargePrioSet: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Charger type',
pvChargePrioSet: {
'0': 'power supply prio?',
'1': 'charge prio?'
}
}
},
level: {
bpPowerSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
role: 'level',
name: 'Backup Power SOC'
},
lcdOffSec: {
min: 0,
max: 1800,
unit_of_measurement: 's',
mult: 1,
entity_type: 'select',
device_class: 'duration',
select: ['Never', '10 sec', '30 sec', '1 min', '5 min', '30 min'],
select_obj: {
Never: 0,
'10 sec': 10,
'30 sec': 30,
'1 min': 60,
'5 min': 300,
'30 min': 1800
},
states: {
'0': 'Never',
'10': '10 sec',
'30': '30 sec',
'60': '1 min',
'300': '5 min',
'1800': '30 min'
},
role: 'level',
subrole: 'timer',
name: 'LCD screen-off duration: 0: never off'
},
standbyMin: {
min: 0,
max: 720,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'select',
device_class: 'duration',
select: ['Never', '30 min', '1 hr', '2 hr', '4 hr', '6 hr', '12 hr'],
select_obj: {
Never: 0,
'30 min': 30,
'1 hr': 60,
'2 hr': 120,
'4 hr': 240,
'6 hr': 360,
'12 hr': 720
},
states: {
'0': 'Never',
'30': '30 min',
'60': '1 hr',
'120': '2 hr',
'240': '4 hr',
'360': '6 hr',
'720': '12 hr'
},
role: 'level',
subrole: 'timer',
name: 'Standby time /min 0 Never standby 720 Default value ?'
}
},
string: {
brightLevel: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'LCD brightness level: 0-3'
},
hysteresisAdd: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Hysteresis SOC'
},
model: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Product model'
},
relaySwitchCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Number of relay disconnections'
},
sysVer: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'System version'
},
wifiRssi: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Wi-Fi signal intensity'
},
wifiVer: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Wi-Fi version'
},
wireWatts: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Wireless charging output power (W)'
},
acAutoPause: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'acAutoPause'
}
},
number: {
carTemp: {
min: 0,
max: 80,