From 9a2e04761d5d20dfe5dd72639e51ae532a3f2c91 Mon Sep 17 00:00:00 2001 From: Andre-0815-4711 <125686884+Andre-0815-4711@users.noreply.github.com> Date: Sun, 21 Jan 2024 17:21:50 +0100 Subject: [PATCH] Update inverterData.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Grid AC Power hinzugefügt --- lib/inverterData.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/inverterData.js b/lib/inverterData.js index 45f38ef..74af9f0 100644 --- a/lib/inverterData.js +++ b/lib/inverterData.js @@ -283,6 +283,7 @@ class inverterData { 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'), + 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, ''), @@ -295,4 +296,4 @@ class inverterData { } -module.exports = inverterData; \ No newline at end of file +module.exports = inverterData;