diff --git a/lib/inverterData.js b/lib/inverterData.js index d81c99d..5ce7f23 100644 --- a/lib/inverterData.js +++ b/lib/inverterData.js @@ -269,26 +269,27 @@ class inverterData { }, 7: { /****************************************** X1/X3-EVC Wallbox ************************************/ isOnline: { name: 'info.online', description: 'Wallbox Online', type: 'boolean', role: 'switch' }, - 0: { name: 'data.plugstatus', description: 'Plug Status', type: 'string', role: 'text' }, // '0=Unplugged 1=Plugged 2=Charging': (0, ''), - 1: { name: 'data.chargemode', description: 'Charge Mode', type: 'string', role: 'text' }, // '0= Stop 1= Fast 2=Green 3=Eco': (1, ''), - 2: { name: 'data.acvoltage1', description: 'Grid Voltage 1', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (2, 'V'), - 3: { name: 'data.acvoltage2', description: 'Grid Voltage 2', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (3, 'V'), - 4: { name: 'data.acvoltage3', description: 'Grid Voltage 3', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (4, 'V'), - 5: { name: 'data.accurrent1', description: 'AC Current 1', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (5, 'A'), - 6: { name: 'data.accurrent2', description: 'AC Current 2', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (6, 'A'), - 7: { name: 'data.accurrent3', description: 'AC Current 3', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (7, 'A'), - 8: { name: 'data.acpower1', description: 'AC Power 1', type: 'number', unit: 'W', role: 'value.power' }, // '': (8, 'W'), - 9: { name: 'data.acpower2', description: 'AC Power 2', type: 'number', unit: 'W', role: 'value.power' }, // '': (9, 'W'), - 10: { name: 'data.acpower3', description: 'AC Power 3', type: 'number', unit: 'W', role: 'value.power' }, // '': (10, 'W'), - 11: { name: 'data.acpower', description: 'AC Power', type: 'number', unit: 'W', role: 'value.power' }, // '': (11, 'W'), - 12: { name: 'data.capacity', description: 'Carged Capacity', type: 'number', multiplier: 0.1, unit: 'KW/h', role: 'value.power.consumption' }, // '': (12, 'KW/h'), + 0: { name: 'data.plugstatus', description: 'Plug Status', type: 'string', role: 'text' }, // '0=Unplugged 1=Plugged 2=Charging': (0, ''), + 1: { name: 'data.chargemode', description: 'Charge Mode', type: 'string', role: 'text' }, // '0= Stop 1= Fast 2=Green 3=Eco': (1, ''), + 2: { name: 'data.acvoltage1', description: 'Grid Voltage 1', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (2, 'V'), + 3: { name: 'data.acvoltage2', description: 'Grid Voltage 2', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (3, 'V'), + 4: { name: 'data.acvoltage3', description: 'Grid Voltage 3', type: 'number', multiplier: 0.01, unit: 'V', role: 'value.power' }, // '': (4, 'V'), + 5: { name: 'data.accurrent1', description: 'AC Current 1', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (5, 'A'), + 6: { name: 'data.accurrent2', description: 'AC Current 2', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (6, 'A'), + 7: { name: 'data.accurrent3', description: 'AC Current 3', type: 'number', multiplier: 0.01, unit: 'A', role: 'value.power' }, // '': (7, 'A'), + 8: { name: 'data.acpower1', description: 'AC Power 1', type: 'number', unit: 'W', role: 'value.power' }, // '': (8, 'W'), + 9: { name: 'data.acpower2', description: 'AC Power 2', type: 'number', unit: 'W', role: 'value.power' }, // '': (9, 'W'), + 10: { name: 'data.acpower3', description: 'AC Power 3', type: 'number', unit: 'W', role: 'value.power' }, // '': (10, 'W'), + 11: { name: 'data.acpower', description: 'AC Power', type: 'number', unit: 'W', role: 'value.power' }, // '': (11, 'W'), + 12: { name: 'data.capacity', description: 'Carged Capacity', type: 'number', multiplier: 0.1, unit: 'KW/h', role: 'value.power.consumption' }, // '': (12, 'KW/h'), 14: { name: 'data.totalcharged', description: 'Total Charged', type: 'number', multiplier: 0.1, unit: 'KW/h', role: 'value.power.consumption' }, // '': (14, 'KW/h'), 19: { name: 'data.gridacpower1', description: 'Grid AC Power 1', type: 'number', maxValue: 32768, unit: 'W', role: 'value.power' }, // '': (19, 'W'), 20: { name: 'data.gridacpower2', description: 'Grid AC Power 2', type: 'number', maxValue: 32768, unit: 'W', role: 'value.power' }, // '': (20, 'W'), 21: { name: 'data.gridacpower3', description: 'Grid AC Power 3', type: 'number', maxValue: 32768, unit: 'W', role: 'value.power' }, // '': (21, 'W'), - 23: { name: 'data.plugTemperature', description: 'Plug Temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // '': (23, ''), - 24: { name: 'data.boardTemperature', description: 'Board Temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // '': (24, ''), - 26: { name: 'data.plugged', description: 'Car Plugged', type: 'number', role: 'indicator.state' }, // '': (26, ''), + 22: { name: 'data.gridacpower', description: 'Grid AC Power', type: 'number', maxValue: 32768, unit: 'W', role: 'value.power' }, // '': (22, 'W'), + 23: { name: 'data.plugTemperature', description: 'Plug Temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // '': (23, ''), + 24: { name: 'data.boardTemperature', description: 'Board Temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // '': (24, ''), + 26: { name: 'data.plugged', description: 'Car Plugged', type: 'number', role: 'indicator.state' }, // '': (26, ''), 80: { name: 'data.chargeduration', description: 'Charge Duration', type: 'number', unit: 's', role: 'value.time' }, // '': (80, 's') } };