iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
2,200 lines (2,187 loc) • 300 kB
JavaScript
'use strict';
const models = {
shelly3em: {
identifiers: '012345xxxx',
type: 99, //eventuell auch 75
manufacturer: 'Shelly',
model: 'Shelly 3 EM',
name: 'Shelly 3 EM'
},
pstream600: {
identifiers: 'HW51Zxxxx',
type: 67, //eventuell auch 75
manufacturer: 'Ecoflow',
model: 'Power Stream 600',
name: 'Power Stream'
},
pstream800: {
identifiers: 'HW51Zxxxx',
type: 75,
manufacturer: 'Ecoflow',
model: 'Power Stream 800',
name: 'Power Stream'
},
plug: {
identifiers: 'HW52Zxxxx',
manufacturer: 'Ecoflow',
model: 'Ecoflow Smart Plug',
name: 'Ecoflow Smart Plug'
},
deltamini: {
identifiers: 'DAEBZ5xxx',
manufacturer: 'Ecoflow',
model: 'Delta Mini, 882Wh',
name: 'Delta Mini',
type: 15,
spec: {
capacity: '882Wh, 50,4V',
acInputPower: '900W',
solarInput: '11-75V, 10A, 300W',
carInput: '12/24V, 8A',
acOutput: '1400W',
acOutputPeak: '2100W',
xboost: '2200W',
carOutput: '12,6V, 10A, 126W'
}
},
delta: {
identifiers: 'DAEBZ5xxx',
manufacturer: 'Ecoflow',
model: 'Delta 1260Wh',
name: 'Delta',
spec: {
capacity: '1260Wh, 50,4V',
acInputPower: '1200W',
solarInput: '10-65V, 10A, 400W',
carInput: '12/24V, 10A',
acOutput: '1800W',
acOutputPeak: '3300W',
carOutput: '13,6V, 8A, 108,8W'
}
},
deltamax: {
identifiers: 'DAEBZ5xxx',
manufacturer: 'Ecoflow',
model: 'Delta Max 1600/2000Wh',
name: 'Delta Max',
type: 13,
spec: {
capacity: '2016Wh, 50,4V',
acInputPower: '2000W',
solarInput: '11-100V, 10A, 800W',
carInput: '12/24V, 8A',
acOutput: '2400W',
acOutputPeak: '4600W',
xboost: '3000W',
carOutput: '12,6V, 10A, 126W'
}
},
deltapro: {
identifiers: 'DCExxx',
manufacturer: 'Ecoflow',
model: 'Delta Pro, 3600Wh',
name: 'Delta Pro',
spec: {
capacity: '3600Wh, 48V',
acInputPower: '2875W',
solarInput: '11-150V, 15A, 1600W',
carInput: '12/24V, 8A',
acOutput: '3600W',
acOutputPeak: '7200W',
xboost: '4500W',
carOutput: '12,6V, 10A, 126W',
andersonOutput: '12,6V,30A, 378W'
}
},
delta2: {
identifiers: 'R331Zxxx',
manufacturer: 'Ecoflow',
model: 'Delta 2, 1024Wh',
name: 'Delta 2',
moduleType: {
1: 'PD',
2: 'BMS',
3: 'INV',
4: 'BMS_SLAVE',
5: 'MPPT'
},
type: 80,
spec: {
capacity: '1024Wh, (51,2V)',
acInputPower: '1200W',
solarInput: '11-60V, 15A, 500W',
carInput: '12/24V, 8A',
acOutput: '1800W',
acOutputPeak: '2700W',
xboost: '2200W',
carOutput: '12,6V, 10A, 126W'
}
},
delta2max: {
identifiers: 'R351Zxxxxxx',
manufacturer: 'Ecoflow',
model: 'Delta 2 Max, EFD350,2048Wh',
name: 'Delta 2 Max',
moduleType: {
1: 'PD',
2: 'BMS',
3: 'INV',
4: 'BMS_SLAVE',
5: 'MPPT'
},
type: 81,
spec: {
capacity: '2048Wh',
acInputPower: '2400W',
solarInput: '11-60V, 15A, 500W',
carInput: '12V, 8A, 96W',
acOutput: '2400W',
acOutputPeak: '4800W',
xboost: '3400W',
carOutput: '12,6V, 10A, 126W'
}
},
deltaproultra: {
identifiers: 'R331Zxxx',
manufacturer: 'Ecoflow',
model: 'Delta Pro Ultra, 6000Wh',
name: 'Delta Pro Ultra',
moduleType: {
1: 'PD',
2: 'BMS',
3: 'INV',
4: 'BMS_SLAVE',
5: 'MPPT'
},
type: 89,
spec: {
capacity: '102.4V⎓60A, 6,144Wh',
acInputPower:
'(Charging only) 100-120V~15A; 200-240V~12.5A, 50/60 Hz;(Bypass) 100-120V~ 15A, 50/60 Hz (duration < 3hrs when the current exceeds 12A)',
solarInput: '80-450V⎓15A max, 4,000W max; 30-150V⎓15A max, 1,600W max',
acOutput:
'Discharging only) Pure sine, 7,200W total, 120/240 V~ 60 Hz; (Bypass) 100-120V~30A max, 50/60 Hz',
usbOutput:
'USB-A: 5V⎓2.4A, 12W max per port, total 24W; USB-C: 5/9/12/15/20V⎓5A, 100W max per port, total 200W',
dcInput: '12V 8A max, 48V 20A max',
carOutput: '12.6V⎓30A, 378W max'
}
},
deltapro3: {
identifiers: 'R331Zxxx', //todo
manufacturer: 'Ecoflow',
model: 'Delta Pro 3, 4096Wh',
name: 'Delta Pro 3',
type: 89, //todo
spec: {
capacity: 'V⎓A, 4096Wh',
acInputPower: '(Charging only) 200-240V~12.5A, 50/60 Hz 2900W max',
solarInput: '30-150V⎓15A max, 1600W max; 11-60V⎓20A max, 1000W max',
acOutput: '4000W, (6000W X-Boost), max 8000W',
usbOutput:
'USB-A fast charge: 5V⎓2,4A/9⎓2A/12V⎓1,5A, 2x, 18W max per port; USB-C: 5/9/12/15/20V⎓5A, 2x, 100W max per port',
carOutput: '12.6V⎓30A, 378W max, DC5521 1x 3 A max, Anderson 1x 30A max.'
}
},
delta3plus: {
identifiers: 'MR51xxx', //todo
manufacturer: 'Ecoflow',
model: 'Delta 3 Plus, 1536Wh',
name: 'Delta 3 Plus',
type: 89, //todo
spec: {
capacity: 'V⎓A, 1536Wh',
acInputPower: '(Charging only) 100-120V~15A; 200-240V~12.5A, 50/60 Hz 1500W;',
solarInput: '11-60V⎓ A max, 2x 500W max',
acOutput: '1800W, 3600W X-Boost',
usbOutput:
'USB-A: 5V⎓2.4A, 2x, 12W max per port; USB-A fast charge: 5V⎓2,4A/9⎓2A/12V⎓1,5A 2x, 18W max per port, USB-C: 5/9/12/15/20V⎓5A, 2x, 100W max per port',
carOutput: '12.6V⎓10A, 126W max, DC5521 2 × 12,6 V, 3 A max'
}
},
delta3: {
identifiers: 'R331Zxxx', //todo
manufacturer: 'Ecoflow',
model: 'Delta 3, 1024Wh',
name: 'Delta 3',
type: 89, //todo
spec: {
capacity: 'V⎓ A, 1024Wh',
acInputPower: '(Charging only) 100-120V~A; 200-240V~A, 50/60 Hz, 1500W',
solarInput: '11-60V⎓ A max, 1x 500W max',
acOutput: '1800W, 3600W X-Boost',
usbOutput:
'USB-A fast charge: 5V⎓2,4A/9⎓2A/12V⎓1,5A, 2x, 18W max per port; USB-C: 5/9/12/15/20V⎓5A, 2x, 100W max per port',
carOutput: '12.6V⎓10A, 126W max, DC5521 2 × 12,6 V, 3 A max'
}
},
river2max: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River 2 Max, EFR610, 512Wh ',
name: 'River 2 Max',
type: 71,
spec: {
capacity: '512Wh, (20Ah, 25,6V)',
acInputPower: '10A',
usbcInput: '100W',
solarInput: '11-50V, 13A, 220W',
carInput: '12/24V, 8A, 100W',
acOutput: '500W',
acOutputPeak: '1000W',
carOutput: '12,6V, 10A, 126W'
}
},
rivermax: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River Max, 576Wh ',
name: 'River 2 Max',
spec: {
capacity: '576Wh, (28,8V)',
acInputPower: '500W',
solarInput: '10-25V, 12A, 200W',
carInput: '12V, 8A',
acOutput: '600W',
acOutputPeak: '1200W',
xboost: '1800W',
carOutput: '13,6V, 10A, 136W'
}
},
river2pro: {
identifiers: 'R6xxx',
manufacturer: 'Ecoflow',
model: 'River 2 Pro, EFR620 768Wh ',
name: 'River 2 Pro',
moduleType: {
1: 'PD',
2: 'BMS',
3: 'INV',
5: 'MPPT'
},
type: 72,
spec: {
capacity: '768Wh, (40Ah, 19,2V)',
acInputPower: '8A',
usbcInput: '100W',
solarInput: '11-50V, 13A, 220W',
carInput: '12/24V, 8A, 100W',
acOutput: '800W',
acOutputPeak: '1600W',
carOutput: '12,6V, 10A, 126W'
}
},
riverpro: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River Pro, 720Wh ',
name: 'River Pro',
type: 12,
spec: {
capacity: '720Wh, (28,8V)',
acInputPower: '660W',
usbcInput: '100W',
solarInput: '10-25V, 12A, 200W',
carInput: '12V, 8A',
acOutput: '600W',
acOutputPeak: '1200W',
carOutput: '13,6V, 10A, 136W'
}
},
river3: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River 3, 245Wh ',
name: 'River 3',
spec: {
capacity: '245Wh, (6800mAh)',
acInputPower: '3A',
generatorInput: '100~120V, 6.5A Max, 50/60Hz, 320W; 200-240 V, 3 A max., 50/60 Hz, 300 W',
usbaOutput: '2 ports, 5V⎓2.4A, 12W Max per port, total 24W',
usbcOutput: '1 × 5/9/12/15 V⎓3 A max., 20 V⎓5 A max., 100 W pro Ausgang',
solarInput: '11-50V, 13A, 220W',
carInput: '11-30V, 8A, 100W',
acOutput: '300W',
acOutputPeak: '600W',
carOutput: '12,6V, 10A, 126W'
}
},
river3plus: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River 3 Plus, 286Wh ',
name: 'River 3 Plus',
spec: {
capacity: '286Wh, (9600mAh)',
acInputPower: '10A',
generatorInput: '100~120V, 6.5A Max 50/60Hz, 380W; 200-240 V, 3 A max., 50/60 Hz, 360 W',
usbaOutput: '2 ports, 5V⎓2.4A, 12W Max per port, total 24W',
usbcOutput: '1 × 5/9/12/15 V⎓3 A max., 20 V⎓5 A max., 100 W pro Ausgang',
solarInput: '11-50V, 13A, 220W',
carInput: '11-55V, 8A, 220W',
acOutput: '600W',
acOutputPeak: '1200W',
carOutput: '12,6V, 10A, 126W',
addBatt: { eb300: '286Wh', eb600: '572Wh' }
}
},
river3max: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River 3 Max, 572Wh ',
name: 'River 3 Max',
spec: {
capacity: '572Wh',
}
},
wave2: {
identifiers: 'KT21ZCHxxxx',
manufacturer: 'Ecoflow',
model: 'WAVE 2 Air Conditioner',
name: 'WAVE 2 Air EFKT210',
type: 45,
moduleType: {
1: 'PD',
2: 'POWER',
3: 'MOTOR',
4: 'BMS'
},
spec: {
acInputPower: '820W',
addOnBatteryPower: '700W',
coolInputAC: '550W',
coolInputDC: '495W',
heatInputAC: '600W',
heatInputDC: '540W',
maxCoolPower: '700W',
maxHeatPower: '700W',
coolingCapacity: '1500Wh/5100BTU',
heatingCapacity: '1800Wh/6100BTU',
solarInput: '11-60V, 13A, 400W',
carInput: '12/24V, 8A, 200W'
}
// Zusatzakku 1159Wh
// oder Akku Delta Serie
// Gerät hat selbst keinen Akku
},
glacier: {
identifiers: 'BX11ZCBxxxx',
manufacturer: 'Ecoflow',
model: 'GLACIER Cooler',
name: 'GLACIER',
moduleType: {
1: 'PD',
2: 'BMS',
3: 'INV',
4: 'BMS_SLAVE',
5: 'MPPT'
},
type: 46,
spec: {
comprPower: '120W',
acInputPower: '180W',
batteryPackPower: '100W (USB-C)',
solarInput: '11-60V, 13A, 240W',
carInput: '12/24V, 8A, 96/192W'
}
},
river2: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River 2,EFR600, 256Wh ',
name: 'River 2',
spec: {
capacity: '256Wh, (20Ah, 12,8V)',
acInputPower: '8A',
usbcInput: '60W',
solarInput: '11-30V, 8A, 110W',
carInput: '12/24V, 8A, 100W',
acOutput: '300W',
acOutputPeak: '600W',
carOutput: '12,6V, 8A, 100W'
}
},
river: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River, 288Wh ',
name: 'River',
spec: {
capacity: '288Wh, (28,8V)',
acInputPower: '250W',
usbcInput: '100W',
solarInput: '10-25V, 12A, 200W',
carInput: '12V, 8A',
acOutput: '600W',
acOutputPeak: '1200W',
xboost: '1800W',
carOutput: '13,6V, 10A, 136W'
}
},
rivermini: {
identifiers: 'Rxxx',
manufacturer: 'Ecoflow',
model: 'River Mini, 210Wh ',
name: 'River Mini',
spec: {
capacity: '210Wh, (25,2V)',
acInputPower: '300W',
solarInput: '11-39V, 8A, 100W',
carInput: '12/24V, 8A, 100W',
acOutput: '300W',
acOutputPeak: '600W',
xboost: '600W',
carOutput: '12,6V, 10A, 126W'
}
},
wave: {
identifiers: 'H2xxxx',
manufacturer: 'Ecoflow',
model: 'WAVE Air Conditioner',
name: 'WAVE Air EFH200',
moduleType: {
1: 'PD',
2: 'POWER',
3: 'MOTOR',
4: 'BMS'
},
spec: {
acInputPower: '700W',
addOnBatteryPower: '600W',
coolInputAC: '460W',
coolInputDC: '410W',
maxCoolPower: '600W',
coolingCapacity: '1200Wh',
solarInput: '11-35V, 12A, 200W',
carInput: '12/24V, 8A, 200W'
}
},
tracker: {
identifiers: 'HZ31xxxx',
manufacturer: 'Ecoflow',
model: 'Solar Tracker',
name: 'Solar Tracker'
},
blade: {
identifiers: 'H101Zxxxxx',
manufacturer: 'Ecoflow',
model: 'Blade',
name: 'Blade',
type: 42
},
generator: {
identifiers: 'DGEBZ5Rxxxxx',
manufacturer: 'Ecoflow',
model: 'Smart Generator',
name: 'Smart Generator',
spec: {
acOutput: '1800W',
acOutputPeak: '1900W',
dcOutput: '42–58.8 V, max 32A'
}
},
panel: {
identifiers: 'SH10xxxxx',
manufacturer: 'Ecoflow',
model: 'Smart Home Panel',
name: 'Smart Home Panel',
type: 89 //?
},
panel2: {
identifiers: 'SH20xxxxx',
manufacturer: 'Ecoflow',
model: 'Smart Home Panel 2',
name: 'Smart Home Panel 2'
},
generatordf: {
identifiers: 'Dxxxxx',
manufacturer: 'Ecoflow',
model: 'Smart Generator Dual Fuel',
name: 'Dual Fuel Generator',
spec: {
acOutput: '1800W',
acOutputPeak: '1900W',
dcOutput: '42–58.8 V, max 32A'
}
},
powerkit: {
identifiers: 'M106ZABxxxx',
manufacturer: 'Ecoflow',
model: 'Power Kit & Power Hub',
name: 'Power Kit & Power Hub'
},
powerkitbp2000: {
identifiers: 'M106ZABxxxx',
manufacturer: 'Ecoflow',
model: 'Power Kit & Power Hub 2kWh',
name: 'Power Kit & Power Hub'
},
powerkitbp5000: {
identifiers: 'M106ZABxxxx',
manufacturer: 'Ecoflow',
model: 'Power Kit & Power Hub 5kWh',
name: 'Power Kit & Power Hub'
},
powerocean: {
identifiers: 'HJ31xxxx',
manufacturer: 'Ecoflow',
model: 'Power OCEAN DC FIT',
name: 'Power OCEAN DC FIT'
},
alternator: {
identifiers: 'F371ZEBxxxx',
manufacturer: 'Ecoflow',
model: 'Alternator 800W',
name: 'Alternator 800W'
}
};
const pstationStates = {
bmsMaster: {
number: {
soc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Remaining battery percentage',
role: 'value'
},
temp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Temperature',
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'
},
outputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Output power',
role: 'value'
},
vol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Voltage',
role: 'value'
},
amp: {
min: 0,
max: 25,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Current',
role: 'value'
},
designCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Design capacity',
entity_category: 'diagnostic',
role: 'value'
},
remainCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Remaining capacity',
role: 'value'
},
fullCap: {
min: 0,
max: 80000,
unit_of_measurement: 'mAh',
mult: 1,
entity_type: 'sensor',
name: 'Full capacity',
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'
},
minCellVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Minimum cell voltage',
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'
},
minCellTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Minimum cell temperature',
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'
},
minMosTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Minimum MOS temperature',
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'
},
f32ShowSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'SOC',
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'
},
cycles: {
min: 0,
max: 6000,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
name: 'Number of cycles',
role: 'value'
},
//new for delta2
OCV: {
min: 0,
max: 65,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Open Circuit Voltage',
role: 'value'
},
//new delta 2 max
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'
},
//new riverpro
tagChgVol: {
min: 0,
max: 100,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Target charging voltage',
entity_category: 'diagnostic',
role: 'value'
},
//new wave2
bmsDisplayTime: {
min: 0,
max: 5999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Time displayed in BMS'
},
bmsSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Battery SoC'
},
bmsCur: {
min: 0,
max: 15,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'BMS current'
},
bmsReqVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'BMS request voltage'
},
bmsDsgTime: {
min: 0,
max: 5999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'BMS discharging time'
},
bmsVol: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'BMS voltage'
},
bmsReqCur: {
min: 0,
max: 15,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
role: 'value',
name: 'BMS request current'
},
bmsChgTime: {
min: 0,
max: 5999,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'BMS charging duration'
},
bmsMinDsgSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'UPS minimum discharge SoC'
},
bmsMaxChgSoc: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'UPS maximum charging SOC'
},
//new glacier
minMosTmp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum MOS temperature'
},
tmp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Temperature'
},
outWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Output power'
},
maxMosTmp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum MOS temperature'
},
inWatts: {
min: 0,
max: 600,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Input power'
},
minCellTmp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Minimum cell temperature'
},
maxCellTmp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Maximum cell temperature'
},
diffSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'SOC difference'
},
cellVol: {
min: 0,
max: 10,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Cell voltage'
},
cellTemp: {
min: 0,
max: 60,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
role: 'value',
name: 'Cell temperature'
},
targetSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Target SoC'
},
actSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Actual SoC'
}
},
string: {
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' },
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'
},
bqSysStatReq: {
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' },
sysVer: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'System version' },
//new delta 2 max
recv: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'recv' },
//new wave2
bmsBatErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BMS error code',
role: 'info'
},
bmsHwFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Hardware in place',
role: 'info'
},
bmsSwFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Software in place',
role: 'info'
},
sleepCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of pressing the Sleep button'
},
xt150AccessCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of XT150 connections'
},
awakeCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of pressing button for wakeup'
},
powerOnCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of pressing button for startup'
},
powerOffCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of pressing button for shutdown'
},
usbUseCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of using USB'
},
typecUseCnt: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Count of using AC'
},
//new glacier
err: { entity_type: 'text', entity_category: 'diagnostic', name: 'Global error code', role: 'info' },
bqStatReg: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BQ hardware protection register',
role: 'info'
},
ver: { entity_type: 'text', entity_category: 'diagnostic', name: 'System version', role: 'info' },
cycleSoh: { entity_type: 'text', entity_category: 'diagnostic', name: 'cycle Soh', role: 'info' },
realSoh: { entity_type: 'text', entity_category: 'diagnostic', name: 'real Soh', role: 'info' },
bmsHeartbeatVer: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bms Heartbeat Version',
role: 'info'
},
productDetail: { entity_type: 'text', entity_category: 'diagnostic', name: 'Product Detail', role: 'info' },
sysLoaderVer: { entity_type: 'text', entity_category: 'diagnostic', name: 'sysLoaderVer', role: 'info' },
totalDsgCap: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Total Discharge Capacity',
role: 'info'
}, //4294967295
totalChgCap: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Total Charge Capacity',
role: 'info'
},
ecloudOcv: { entity_type: 'text', entity_category: 'diagnostic', name: 'ecloudOcv', role: 'info' }
},
diagnostic: {
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' }
},
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' }
},
//new delta 2 max
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?' }
},
//new wave2
bmsType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bmsType',
role: 'info',
bmsType: { '0': 'master', '1': 'slave' }
},
bmsChgDsgSts: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'bms Charge Discharge Status',
role: 'info',
bmsChgDsgSts: { '0': 'idle', '1': 'chg', '2': 'dsg' }
},
//new glacier
openBmsIdx: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Battery pack status',
role: 'info',
openBmsIdx: { '0': 'Not enabled', '1': 'Enabled' }
},
//delta pro
chgDsgState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'chg Dsg State',
chgDsgState: { '0': '0?', '1': '1?', '2': '2?' }
},
productType: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Product Type',
productType: { '14': 'Delta Pro?' }
}, //14
calendarSch: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Calendar Schedule',
calendarSch: { '0': '0?', '1': '1?' }
},
sysState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'sys State',
sysState: { '0': '0?', '1': '1?' }
},
allErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'all Err Code',
allErrCode: { '0': '0?', '1': '1?', '2': '2?' }
},
allBmsFault: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'all Bms Faulttype',
allBmsFault: { '0': '0?', '1': '1?', '2': '2?' }
}
},
icon: {
//new delta 2 max
recv: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'recv' },
//new from deltamax
cellSeriesNum: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Cell Series Number'
},
cellNtcNum: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Number of NTC sensors'
},
//new rivermax only at slave
ambientLightColor: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Ambient Light Color'
},
ambientLightBrightness: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Ambient Light Brightness'
},
ambientLightAnimate: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Ambient Light Animate'
},
ambientLightEnabled: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Ambient Light Enabled'
},
//new wave2
bmsResv: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Reserve'
},
resv: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Reserve'
}
},
level: {
//new riverpro
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'
}
},
array: {
cellVol: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'Cell voltage' },
cellTemp: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'Cell temperature' },
hwVersion: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'HW version' },
dsgWattRangeTime: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Length of time (sec) when the discharging power falls in each of the four intervals',
role: 'list'
},
usbWattRangeTime: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Length of time (sec) when the usb power falls in each of the four intervals',
role: 'list'
},
chgWattRangeTime: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Length of time (sec) when the charging power falls in each of the four intervals',
role: 'list'
},
typecWattRangeTime: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Length of time (sec) when the AC power falls in each of the four intervals',
role: 'list'
},
hwEdition: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'HW edition' },
packSn: { entity_type: 'text', entity_category: 'diagnostic', role: 'list', name: 'Pack SN' }
}
},
inv: {
number: {
inputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Charging power',
role: 'value'
},
outputWatts: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Discharging power',
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'
},
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'
},
acInVol: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Inverter input voltage',
role: 'value'
},
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'
},
outTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Inverter 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'
},
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'
},
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)'
},
SlowChgWatts: {
min: 200,
max: 1000,
unit_of_measurement: 'W',
mult: 1,
step: 100,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Maximum charging power for AC slow charging (W)'
},
standbyMins: {
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'
},
//new delta 2 max
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'
},
acChgRatedPower: {
min: 0,
max: 4000,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'AC charge rated power'
},
cfgFastChgWatts: {
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)'
},
//new riverpro
invInAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Inverter input current',
role: 'value'
},
invInFreq: {
min: 0,
max: 62,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Inverter input frequency',
role: 'value'
},
invInVol: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 0.001,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Inverter input voltage',
role: 'value'
},
inTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Inverter temperature',
role: 'value'
}
},
switch: {
//nochmals in diagnostic wegen delta 2
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' }
},
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' }
},
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' }
},
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' }
}
},
level: {
cfgSlowChgWatts: {
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)'
},
cfgStandbyMin: {
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: 'AC standby time /min 0 Never standby 720 Default value'
},
//new delta 2max
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)'
}
},
string: {
errCode: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'Global error code' },
sysVer: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'System version' },
invType: { entity_type: 'text', entity_category: 'diagnostic', role: 'info', name: 'PSDR model code' },
cfgAcOutVoltage: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Inverter output voltage (V): 0xffffffff: ignored'
},
//new delta 2
cfgAcOutVol: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Inverter output voltage (V): 0xffffffff: ignored'
}
//new delta 2 max
},
diagnostic: {
fanState: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Fan state',
fanState: { '0': 'disabled', '1': 'Level 1', '2': 'Level 2', '3': 'Level 3' }
},
chgPauseFlag: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC charging pause flag',
chgPauseFlag: { '0': 'no pause?', '1': 'charging stopped' }
},
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' }
},
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', 0xff: 'ignored' }
},
cfgAcEnabled: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC discharge switch setting',
cfgAcEnabled: { '0': 'off', '1': 'on' }
},
cfgAcXboost: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'X-Boost switch',
cfgAcXboost: { '0': 'off', '1': 'on', ff: 'ignored' }
},
cfgAcWorkMode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC charging mode',
cfgAcWorkMode: { '0': 'full power', '1': 'mute' }
},
acPassByAutoEn: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'acPassByAutoEn',
acPassByAutoEn: { '0': '0?', '1': '1?' }
},
//new delta 2 max
prBalanceMode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'prBalanceMode',
prBalanceMode: { '0': '0=?', '1': '1=?' }
},
acPassbyAutoEn: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'acPassbyAutoEn',
acPassbyAutoEn: { '0': '0?', '1': '1?' }
},
//new riverpro
cfgFanMode: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'Fan mode',
cfgFanMode: { '0': 'disabled', '1': 'Level 1', '2': 'Level 2', '3': 'Level 3' }
},
cfgAcChgModeFlg: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'AC charging mode flag',
cfgAcChgModeFlg: { '0': '?', '1': '?' }
}
},
icon: {
//new delta 2
reserved: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'reserved'
}
}
},
mppt: {
number: {
inVol: {
min: 0,
max: 150,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV input voltage',
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'
},
inWatts: {
min: 0,
max: 500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV input power',
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'
},
outAmp: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.01,
entity_type: 'sensor',
device_class: 'current',
name: 'PV output current',
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'
},
mpptTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'MPPT temperature',
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'
},
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'
},
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'
},
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'
},
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'
},
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'
},
//new delta 2
powStandbyMin: {
min: 0,
max: 720,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'Power standby time /min 0 Never standby 720 Default value ?'
},
scrStandbyMin: {
min: 0,
max: 720,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
role: 'value',
name: 'SCR standby time /min 0 Never standby 720 Default value ?'
},
//new delta 2 max
pv2InVol: {
min: 0,
max: 150,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV input voltage',
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'
},
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: {
cfgDcChgCurrent: {
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'
},
//new delta 2
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'
},
cfgChgWatts: {
min: 0,
max: 2200,
unit_of_measurement: 'W',
mult: 1,
step: 100,
entity_type: 'number',
device_class: 'power',
role: 'level',
name: 'Maximum charging power for charging (W) ?'
},
acStandbyMins: {
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: 'AC standby time /min 0 Never standby 720 Default value'
},
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'
},
//new delta2max
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: {
// bei delta 2 eventuell in pd als switch, dann aber problem?
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' }
},
//new delta 2
beepState: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'Beep status',
payload_off: 'normal',
payload_on: 'quiet',
beepState: { '0': 'Normal', '1': 'Quiet' }
},
cfgAcEnabled: {
entity_type: 'switch',
device_class: 'outlet',
role: 'switch',
name: 'AC discharge switch setting',
payload_off: 'off',
payload_on: 'on',
cfgAcEnabled: { '0': 'off', '1': 'on' }
},
cfgAcXboost: {
entity_type: 'switch',
device_class: 'switch',
role: 'switch',
name: 'X-Boost switch',
payload_off