iobroker.ecoflow-mqtt
Version:
connects to ecoflow products
2,308 lines (2,293 loc) • 381 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',
carOutput: '12.6V⎓30A, 378W 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'
}
},
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'
}
};
const pstreamStates = {
inverter_heartbeat: {
number: {
pv1InputVolt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV1 input voltage',
unique_id: 'efstream_pv1InputVolt',
role: 'value'
},
pv1OpVolt: {
min: 0,
max: 62,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV1 operation voltage',
unique_id: 'efstream_pv1OpVolt',
role: 'value'
},
pv1InputCur: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.1,
entity_type: 'sensor',
device_class: 'current',
name: 'PV1 input current',
unique_id: 'efstream_pv1InputCur',
role: 'value'
},
pv1InputWatts: {
min: 0,
max: 600,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV1 input power',
unique_id: 'efstream_pv1InputWatts',
role: 'value'
},
pv1Temp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 0.1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'PV1 mppt temperature',
unique_id: 'efstream_pv1Temp',
role: 'value'
},
pv2InputVolt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV2 input voltage',
unique_id: 'efstream_pv2InputVolt',
role: 'value'
},
pv2OpVolt: {
min: 0,
max: 62,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
name: 'PV2 operation voltage',
unique_id: 'efstream_pv2OpVolt',
role: 'value'
},
pv2InputCur: {
min: 0,
max: 13,
unit_of_measurement: 'A',
mult: 0.1,
entity_type: 'sensor',
device_class: 'current',
name: 'PV2 input current',
unique_id: 'efstream_pv2InputCur',
role: 'value'
},
pv2InputWatts: {
min: 0,
max: 600,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'PV2 input power',
unique_id: 'efstream_pv2InputWatts',
role: 'value'
},
pv2Temp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 0.1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'PV2 mppt temperature',
unique_id: 'efstream_pv2Temp',
role: 'value'
},
batInputVolt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Battery input voltage',
unique_id: 'efstream_batInputVolt',
role: 'value'
},
batOpVolt: {
min: 0,
max: 62,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Battery operation voltage',
unique_id: 'efstream_batOpVolt',
role: 'value'
},
batInputCur: {
min: 0,
max: 20,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Battery input current',
unique_id: 'efstream_batInputCur',
role: 'value'
},
batInputWatts: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Battery input power',
unique_id: 'efstream_batInputWatts',
role: 'value'
},
batTemp: {
min: 0,
max: 90,
unit_of_measurement: '°C',
mult: 0.1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Battery temperature',
unique_id: 'efstream_batTemp',
role: 'value'
},
batSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Battery state of charge',
unique_id: 'efstream_batSoc',
role: 'value'
},
llcInputVolt: {
min: 0,
max: 65,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Converter input voltage',
unique_id: 'efstream_llcInputVolt',
role: 'value'
},
llcOpVolt: {
min: 0,
max: 62,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Converter operation voltage',
unique_id: 'efstream_llcOpVolt',
role: 'value'
},
llcTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 0.1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Converter temperature',
unique_id: 'efstream_llcTemp',
role: 'value'
},
invInputVolt: {
min: 0,
max: 60,
unit_of_measurement: 'V',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Inverter DC input voltage',
unique_id: 'efstream_invInputVolt',
role: 'value'
},
invOpVolt: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 0.1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Inverter AC output voltage',
unique_id: 'efstream_invOpVolt',
role: 'value'
},
invOutputCur: {
min: 0,
max: 20,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Inverter AC output current',
unique_id: 'efstream_invOutputCur',
role: 'value'
},
invOutputWatts: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Inverter AC power',
unique_id: 'efstream_invOutputWatts',
role: 'value'
},
invTemp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 0.1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Inverter temperature',
unique_id: 'efstream_invTemp',
role: 'value'
},
invFreq: {
min: 0,
max: 52,
unit_of_measurement: 'Hz',
mult: 0.1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Inverter AC frequency',
unique_id: 'efstream_invFreq',
role: 'value'
},
invDcCur: {
min: 0,
max: 20,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Inverter DC input current',
unique_id: 'efstream_invDcCur',
role: 'value'
},
dynamicWatts: {
min: 0,
max: 10000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Dynamic Power',
unique_id: 'efstream_dynamicWatts',
role: 'value'
},
heartbeatFrequency: {
min: 0,
max: 20,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Inverter heartbeat',
unique_id: 'efstream_heartbeatFrequency',
role: 'value'
},
batChargingTime: {
min: 0,
max: 144000,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Battery Charging Time',
unique_id: 'efstream_batMinutes',
role: 'value',
icon: 'mdi:clock-start'
},
batDischargingTime: {
min: 0,
max: 144000,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Battery Discharging Time',
unique_id: 'efstream_batMinutes',
role: 'value',
icon: 'mdi:clock-start'
}
},
level: {
permanentWatts: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
step: 1,
entity_type: 'number',
device_class: 'power',
name: 'Permanent Power',
unique_id: 'efstream_permanentWatts',
role: 'level'
},
lowerLimit: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
name: 'Battery SOC lower limit',
unique_id: 'efstream_lowerLimit',
icon: 'mdi:speedometer',
role: 'level'
},
upperLimit: {
min: 50,
max: 100,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'number',
device_class: 'battery',
name: 'Battery SOC upper limit',
unique_id: 'efstream_upperLimit',
icon: 'mdi:speedometer',
role: 'level'
},
invBrightness: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 0.1,
step: 1,
entity_type: 'number',
device_class: 'illuminance',
name: 'Inverter brightness',
unique_id: 'efstream_invBrightness',
role: 'level',
subrole: 'brightness'
},
ratedPower: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
step: 1,
entity_type: 'number',
device_class: 'power',
name: 'Inverter rated power',
unique_id: 'efstream_ratedPower',
role: 'level'
}
},
diagnostic: {
invErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Inverter Error Code',
unique_id: 'efstream_invErrCode',
role: 'info',
invErrCode: {
'0': 'OK',
'8': 'high voltage?',
'72': 'no voltage?',
'4096': 'no voltage',
'4160': '4160',
'8192': '8192',
'12288': '12288'
}
},
invWarnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Inverter Warning Code',
unique_id: 'efstream_invWarnCode',
role: 'info',
invWarnCode: { '0': '0' }
},
pv1ErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 Error Code',
unique_id: 'efstream_pv1ErrCode',
role: 'info',
pv1ErrCode: { '0': '0', '128': '128', '130': '130', '256': '256', '384': '384' }
},
pv1WarnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 Warning Code',
unique_id: 'efstream_pv1WarnCode',
role: 'info',
pv1WarnCode: { '0': '0' }
},
pv2ErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 Error Code',
unique_id: 'efstream_pv2ErrCode',
role: 'info',
pv2ErrCode: { '0': '0', '128': '128', '130': '130', '256': '256', '384': '384' }
},
pv2WarningCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 Warning Code',
unique_id: 'efstream_pv2WarningCode',
role: 'info',
pv2WarningCode: { '0': '0' }
},
batErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Battery Error Code',
unique_id: 'efstream_batErrCode',
role: 'info',
batErrCode: { '0': '0', '4': '4', '8': '8' }
},
batWarningCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Battery Warning Code',
unique_id: 'efstream_batWarningCode',
role: 'info',
batWarningCode: { '0': '0' }
},
llcErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'llc Error Code',
unique_id: 'efstream_llcErrCode',
role: 'info',
llcErrCode: { '0': '0', '1': '1' }
},
llcWarningCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'llc Warning Code',
unique_id: 'efstream_llcWarningCode',
role: 'info',
llcWarningCode: { '0': '0' }
},
wirelessErrCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Wireless Error Code',
unique_id: 'efstream_wirelessErrCode',
role: 'info',
wirelessErrCode: { '0': '0' }
},
wirelessWarnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Wireless Warning Code',
unique_id: 'efstream_wirelessWarnCode',
role: 'info',
wirelessWarnCode: { '0': '0' }
},
pv1Status: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 Status',
unique_id: 'efstream_pv1Status',
role: 'info',
pv1Status: { '1': '1', '2': '2', '3': '3', '4': '4', '6': '6', '7': '7' }
},
pv2Status: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 Status',
unique_id: 'efstream_pv2Status',
role: 'info',
pv2Status: { '1': '1', '2': '2', '3': '3', '4': '4', '6': '6', '7': '7' }
},
batStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Battery Status',
unique_id: 'efstream_batStatus',
role: 'info',
batStatus: { '5': '5' }
},
llcStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'llc Status',
unique_id: 'efstream_llcStatus',
role: 'info',
llcStatus: { '1': 'idle', '2': 'starting/check logic', '3': '3', '5': '5', '6': '6' }
},
invStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Inverter Status',
unique_id: 'efstream_invStatus',
role: 'info',
invStatus: {
'1': 'synced/idle',
'2': 'starting/check inv. logic',
'6': 'successful grid connection',
'11': 'disconnected'
}
},
invRelayStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Inverter Relay Status',
unique_id: 'efstream_invRelayStatus',
role: 'info',
invRelayStatus: { '0': 'on', '8': '8', '16': '16', '17': '17', '18': '18', '24': '24' }
},
pv1RelayStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV1 Relay Status',
unique_id: 'efstream_pv1RelayStatus',
role: 'info',
pv1RelayStatus: { '0': '0' }
},
pv2RelayStatus: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'PV2 Relay Status',
unique_id: 'efstream_pv2RelayStatus',
role: 'info',
pv2RelayStatus: { '0': '0' }
},
invOnOff: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Inverter OnOff:',
unique_id: 'efstream_invOnOff:',
role: 'info',
invOnOff: { '0': '0', '1': '1' }
},
bpType: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Batterypack Type',
unique_id: 'efstream_bpType',
role: 'info',
bpType: { '0': 'no battery', '1': 'secondary pack', '2': 'primary pack', '3': 'primary pack' }
}
},
string: {
installCountry: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
unique_id: 'efstream_installCountry',
name: 'Install Country'
},
installTown: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
unique_id: 'efstream_installTown',
name: 'Install Town'
}
},
switch: {
supplyPriority: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'supply prio',
payload_on: 'charge prio',
name: 'Supply Priority',
unique_id: 'efstream_supplyPriority',
role: 'switch',
supplyPriority: { '0': 'supply prio', '1': 'charge prio' }
},
feedPriority: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'all sun to power',
payload_on: 'only permanent watt',
name: 'Excessive Power Feed Priority',
unique_id: 'efstream_feedPriority',
role: 'switch',
feedPriority: { '0': 'all sun to power', '1': 'only permanent watt' }
}
}
},
/*
InverterHeartbeat2: {
number: {
upperLimit: {
min: 60,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Charging upper limit',
role: 'value'
},
lowerLimit: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Discharging lower limit',
role: 'value'
},
baseLoad: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Home base load',
role: 'value'
},
powerPlugsPos: {
min: 0,
max: 10000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Power of plugs',
role: 'value'
},
uptime: {
min: 0,
unit_of_measurement: 's',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Power Stream uptime',
role: 'value'
},
gridWatt_45: {
min: 0,
max: 10000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Power to Grid',
role: 'value'
},
powerPlugsNeg: {
min: 0,
max: 10000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Power of plugs (-)',
role: 'value'
},
wifiRssi: {
min: -90,
max: 10,
unit_of_measurement: 'dBm',
mult: 1,
entity_type: 'sensor',
device_class: 'signal_strength',
name: 'wifi RSSI',
role: 'value'
},
X_Unknown_15: {
min: -1000,
max: 1000,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
entity_category: 'diagnostic',
name: 'X_Unknown_15',
role: 'value'
},
X_Unknown_17: {
min: 0,
max: 100,
unit_of_measurement: '',
mult: 0.0001,
entity_type: 'sensor',
entity_category: 'diagnostic',
name: 'X_Unknown_17',
role: 'value'
},
X_Unknown_34: {
min: -100,
max: 100,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
entity_category: 'diagnostic',
name: 'X_Unknown_34',
role: 'value'
}
},
string: {
pv1Active_1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_1',
role: 'info'
},
pv1Status_2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_2',
role: 'info'
},
pv2Active_3: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_3',
role: 'info'
},
pv2Status_4: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_4',
role: 'info'
},
X_Unknown_5: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_5',
role: 'info'
},
status_6: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_6',
role: 'info'
},
status_9: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_9',
role: 'info'
},
status_10: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_10',
role: 'info'
},
X_Unknown_11: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_11',
role: 'info'
},
X_Unknown_14: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_14',
role: 'info'
},
X_Unknown_16: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_16',
role: 'info'
},
X_Unknown_18: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_18',
role: 'info'
},
X_Unknown_19: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_19',
role: 'info'
},
X_Unknown_20: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_20',
role: 'info'
},
X_Unknown_21: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_21',
role: 'info'
},
X_Unknown_22: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_22',
role: 'info'
},
X_Unknown_23: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_23',
role: 'info'
},
X_Unknown_24: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_24',
role: 'info'
},
X_Unknown_25: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_25',
role: 'info'
},
X_Unknown_26: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_26',
role: 'info'
},
X_Unknown_27: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_27',
role: 'info'
},
X_Unknown_28: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_28',
role: 'info'
},
X_Unknown_29: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_29',
role: 'info'
},
X_Unknown_30: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_30',
role: 'info'
},
X_Unknown_31: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_31',
role: 'info'
},
X_Unknown_33: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_33',
role: 'info'
},
X_Unknown_35: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_35',
role: 'info'
},
X_Unknown_36: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_36',
role: 'info'
},
X_Unknown_37: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_37',
role: 'info'
},
X_Unknown_38: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_38',
role: 'info'
},
X_Unknown_39: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_39',
role: 'info'
},
X_Unknown_40: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_40',
role: 'info'
},
X_Unknown_41: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_41',
role: 'info'
},
X_Unknown_42: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_42',
role: 'info'
},
X_Unknown_43: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_43',
role: 'info'
},
plugsConn_44: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_44',
role: 'info'
},
X_Unknown_47: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_47',
role: 'info'
},
unixtime_48: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_48',
role: 'info'
},
X_Unknown_49: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_49',
role: 'info'
},
unixtime_50: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_50',
role: 'info'
},
X_Unknown_51: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'X_Unknown_51',
role: 'info'
}
}
},
*/
energy: {
number: {
watth1: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy to house loads',
unique_id: 'efstream_watth1',
role: 'value'
},
watth2: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy to smart plugs',
unique_id: 'efstream_watth2',
role: 'value'
},
watth3: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy to battery',
unique_id: 'efstream_watth3',
role: 'value'
},
watth4: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy from battery',
unique_id: 'efstream_watth4',
role: 'value'
},
watth5: {
min: 0,
max: 60000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy of smart plug',
unique_id: 'efstream_watth5',
role: 'value'
},
watth6: {
min: 0,
max: 1440,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Smart plug ON time',
unique_id: 'efstream_watth6',
role: 'value'
},
watth7: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy from solar PV1',
unique_id: 'efstream_watth7',
role: 'value'
},
watth8: {
min: 0,
max: 6000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy from solar PV2',
unique_id: 'efstream_watth8',
role: 'value'
},
watth16: {
min: 0,
max: 10000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy 16',
unique_id: 'efstream_watth16',
role: 'value'
},
watth17: {
min: 0,
max: 10000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy 17',
unique_id: 'efstream_watth17',
role: 'value'
},
watth18: {
min: 0,
max: 10000,
unit_of_measurement: 'Wh',
mult: 1,
entity_type: 'sensor',
device_class: 'energy',
name: 'Energy 18',
unique_id: 'efstream_watth18',
role: 'value'
}
}
},
plug_heartbeat: {
number: {
volt: {
min: 0,
max: 250,
unit_of_measurement: 'V',
mult: 1,
entity_type: 'sensor',
device_class: 'voltage',
name: 'Plug AC voltage',
unique_id: 'efplug_volt',
role: 'value'
},
maxCur: {
min: 0,
max: 11,
unit_of_measurement: 'A',
mult: 0.1,
entity_type: 'sensor',
device_class: 'current',
name: 'Plug AC max. current',
unique_id: 'efplug_maxCur',
role: 'value'
},
current: {
min: 0,
max: 11,
unit_of_measurement: 'A',
mult: 0.001,
entity_type: 'sensor',
device_class: 'current',
name: 'Plug AC current',
unique_id: 'efplug_current',
role: 'value'
},
watts: {
min: 0,
max: 2500,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Plug AC power',
unique_id: 'efplug_watts',
role: 'value'
},
temp: {
min: 0,
max: 80,
unit_of_measurement: '°C',
mult: 1,
entity_type: 'sensor',
device_class: 'temperature',
name: 'Plug temperature',
unique_id: 'efplug_temp',
role: 'value'
},
freq: {
min: 0,
max: 52,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Plug AC frequency',
unique_id: 'efplug_freq',
role: 'value'
},
heartbeatFrequency: {
min: 0,
max: 20,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
name: 'Plug heartbeat',
unique_id: 'efplug_heartbeatFrequency',
role: 'value'
},
cntDevices: {
min: 0,
max: 20,
unit_of_measurement: 'pcs',
mult: 1,
entity_type: 'sensor',
name: 'Amount of Plugs connected to PS',
role: 'value'
},
streamOutputPower: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Power Stream output power',
role: 'value'
},
powerPlugs: {
min: 0,
max: 1000,
unit_of_measurement: 'W',
mult: 0.1,
entity_type: 'sensor',
device_class: 'power',
name: 'Power of plugs',
role: 'value'
},
wifiRssi: {
min: -90,
max: 10,
unit_of_measurement: 'dBm',
mult: 1,
entity_type: 'sensor',
device_class: 'signal_strength',
name: 'wifi RSSI',
role: 'value'
},
uptime: {
min: 0,
unit_of_measurement: 's',
mult: 1,
entity_type: 'sensor',
device_class: 'duration',
name: 'Smart plug uptime',
role: 'value'
}
},
string: {
country: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
unique_id: 'efplug_country',
name: 'Install Country'
},
town: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
unique_id: 'efplug_town',
name: 'Install Town'
},
unknown16: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown16'
},
unknown17: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown17'
},
unknown18: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown18'
},
unknown20: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown20'
},
unknown21: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown21'
},
unknown22: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown22'
},
unknown23: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown23'
},
unknown24: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown24'
},
unknown25: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown25'
},
unknown26: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown26'
},
unknown27: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown27'
},
unknown28: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown28'
},
unknown29: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown29'
},
unknown30: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown30'
},
streamConn_31: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown31'
},
unknown35: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown35'
},
unknown36: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown36'
},
unknown37: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown37'
},
unixtime_38: {
entity_type: 'text',
entity_category: 'diagnostic',
role: 'info',
name: 'unknown38'
}
},
level: {
maxWatts: {
min: 1000,
max: 2500,
unit_of_measurement: 'W',
mult: 1,
step: 100,
entity_type: 'number',
device_class: 'power',
name: 'Plug Max. AC power',
unique_id: 'efplug_maxWatts',
role: 'level'
},
brightness: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 0.097752,
step: 1,
entity_type: 'number',
device_class: 'illuminance',
name: 'Plug brightness',
unique_id: 'efplug_brightness',
role: 'level',
subrole: 'brightness'
}
},
switch: {
switch: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'off',
payload_on: 'on',
name: 'Plug Switch',
unique_id: 'efplug_switch',
role: 'switch',
switch: { '0': 'off', '1': 'on' }
},
meshEnable: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'disabled',
payload_on: 'enabled',
name: 'Plug Mesh enable',
unique_id: 'efplug_mesh_enable',
role: 'switch',
meshEnable: { '0': 'disabled', '1': 'enabled' }
},
dynWattEnable: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'off',
payload_on: 'on',
name: 'Dynamic watt enable',
unique_id: 'efplug_dynwatt_enable',
role: 'switch',
dynWattEnable: { '0': 'off', '1': 'on' }
}
},
diagnostic: {
errCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Plug Error Code',
unique_id: 'efplug_errCode',
role: 'info',
errCode: {
'0': 'OK ?'
}
},
warnCode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Plug Warn Code',
unique_id: 'efstream_warnCode',
role: 'info',
warnCode: {
'0': 'OK ?'
}
}
}
},
//new delta pro ultra
AppParaHeartbeatReport: {
diagnostic: {
sysWorkMode: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'System Work Mode',
role: 'info',
sysWorkMode: { '0': 'OK?' }
},
sysBackupEvent: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'System Backup Event',
role: 'info',
sysBackupEvent: { '0': 'OK?' }
},
acXboost: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'AC X-Boost',
role: 'info',
acXboost: { '0': 'disabled?', '1': 'enabled?' }
},
bmsModeSet: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'BMS Mode Setting',
role: 'info',
bmsModeSet: { '0': '?' }
},
acOftenOpenFlg: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'acOftenOpenFlg',
role: 'info',
acOftenOpenFlg: { '0': 'OK?' }
},
solarOnlyFlg: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Solar only',
role: 'info',
solarOnlyFlg: { '0': 'all?', '1': 'solar only?' }
},
timezoneSettype: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Timezone tracking',
role: 'info',
timezoneSettype: { '0': 'no tracking?', '1': 'tracking?' }
}
},
number: {
sysBackupSoc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'System backup SOC'
},
acOutFreq: {
min: 50,
max: 60,
unit_of_measurement: 'Hz',
mult: 1,
entity_type: 'sensor',
device_class: 'frequency',
role: 'value',
name: 'AC output frequency'
},
acOftenOpenMinSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'acOftenOpenMinSoc'
},
sysTimezone: {
min: -12,
max: 12,
unit_of_measurement: 'h',
mult: 0.01,
entity_type: 'sensor',
device_class: 'voltage',
role: 'value',
name: 'Timezone offset'
},
//to be deleted when level
backupRatio: {
min: 20,
max: 90,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'Backup limit (ratio?)'
}
},
switch: {
energyManageEnable: {
entity_type: 'switch',
device_class: 'switch',
payload_off: 'off',
payload_on: 'on',
name: 'Enable energy management',
role: 'switch',
energyManageEnable: { '0': 'off', '1': 'on' }
}
},
level: {
backupRatio: {
min: 20,
max: 90,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'level',
name: 'Backup limit (ratio?)'
},
chgMaxSoc: {
min: 50,
max: 100,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Maximum charge SOC',
role: 'level'
},
dsgMinSoc: {
min: 0,
max: 30,
unit_of_measurement: '%',
mult: 1,
step: 1,
entity_type: 'sensor',
device_class: 'battery',
name: 'Minimum discharge SOC',
role: 'level'
},
chg_5p8SetWatts: {
min: 200,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
step: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Default charge power PowerI/O',
role: 'level'
},
chgC20SetWatts: {
min: 200,
max: 2400,
unit_of_measurement: 'W',
mult: 1,
step: 1,
entity_type: 'sensor',
device_class: 'power',
name: 'Default charge power AC IN',
role: 'level'
},
powerStandbyMins: {
min: 0,
max: 800,
unit_of_measurement: 'min',
mult: 1,
step: 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'
},
name: 'System standby time',
role: 'level',
subrole: 'timer'
},
screenStandbySec: {
min: 0,
max: 1800,
unit_of_measurement: 's',
mult: 1,
step: 60,
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'
},
name: 'Screen standby time',
role: 'level',
subrole: 'timer'
},
dcStandbyMins: {
min: 0,
max: 1440,
unit_of_measurement: 'min',
mult: 1,
step: 120,
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'
},
name: 'DC12V standby time',
role: 'level',
subrole: 'timer'
},
acStandbyMins: {
min: 0,
max: 800,
unit_of_measurement: 'W',
mult: 1,
step: 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'
},
name: 'AC standby time',
role: 'level',
subrole: 'timer'
}
},
string: {
sysTimezoneId: { entity_type: 'text', entity_category: 'diagnostic', name: 'Timezone', role: 'info' }
}
},
AppShowHeartbeatReport: {
string: {
protoVer: { entity_type: 'text', entity_category: 'diagnostic', name: 'Version', role: 'info' },
simIccid: { entity_type: 'text', entity_category: 'diagnostic', name: 'simIccid:', role: 'info' },
chgTimeTaskTable_0: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging Time Task Table 0',
role: 'info'
},
chgTimeTaskTable_1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging Time Task Table 1',
role: 'info'
},
chgTimeTaskTable_2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Charging Time Task Table 2',
role: 'info'
},
dsgTimeTaskTable_0: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Discharging Time Task Table 0',
role: 'info'
},
dsgTimeTaskTable_1: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Discharging Time Task Table 1',
role: 'info'
},
dsgTimeTaskTable_2: {
entity_type: 'text',
entity_category: 'diagnostic',
name: 'Discharging Time Task Table 2',
role: 'info'
}
},
number: {
//as a number until it is clear how the bits are used
showFlag: {
min: 0,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'show flag'
},
soc: {
min: 0,
max: 100,
unit_of_measurement: '%',
mult: 1,
entity_type: 'sensor',
device_class: 'battery',
role: 'value',
name: 'SOC'
},
bpNum: {
min: 0,
max: 5,
unit_of_measurement: '',
mult: 1,
entity_type: 'sensor',
role: 'value',
name: 'Baiiery pack count'
},
c20ChgMaxWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Max charging power AC IN'
},
paraChgMaxWatts: {
min: 0,
max: 7200,
unit_of_measurement: 'W',
mult: 1,
entity_type: 'sensor',
device_class: 'power',
role: 'value',
name: 'Max parallel charging power'
},
remainTime: {
min: 0,
unit_of_measurement: 'min',
mult: 1,
entity_type: 'sensor',