From fa1f25615997794f55eccea501a59096e937c96e Mon Sep 17 00:00:00 2001 From: simatec Date: Mon, 1 Jan 2024 22:09:24 +0100 Subject: [PATCH] (simatec) Inverter data updated --- lib/inverterData.js | 8 ++++++++ main.js | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/inverterData.js b/lib/inverterData.js index 62651d0..b9e549e 100644 --- a/lib/inverterData.js +++ b/lib/inverterData.js @@ -173,18 +173,26 @@ class inverterData { 47: { name: 'data.powerConsumer', description: 'Consumer power', type: 'number', maxValue: 32768, unit: 'W', role: 'value.power' }, // 'Consumer Power , 54: { name: 'data.inverterTemperature', description: 'Inverter temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // 'Inverter Temperature, 68: { name: 'data.yieldtotal', description: 'Inverter AC-Energy out total', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Energy': (19, 'kWh'), + 69: { name: 'data.yieldtotalOverflow', description: 'Inverter AC-Energy out total Overflow', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Energy': (19, 'kWh'), 70: { name: 'data.yieldtoday', description: 'Inverter AC-Energy out Daily', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Today's Energy': (21, 'kWh'), 71: { name: 'data.totalBatteryInputFromGrid', description: 'Total Battery Input from Grid', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Total Battery Input from Grid, 74: { name: 'data.totalBatteryDischargeEnergy', description: 'Total Battery Discharge Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Total Battery Discharge Energy + 75: { name: 'data.totalBatteryDischargeEnergyOverflow', description: 'Total Battery Discharge Energy Overflow', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Total Battery Discharge Energy 76: { name: 'data.totalBatteryChargeEnergy', description: 'Total Battery Charge Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Total Battery Charge Energy + 77: { name: 'data.totalBatteryChargeEnergyOverfow', description: 'Total Battery Charge Energy Overflow', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Total Battery Charge Energy 78: { name: 'data.todaysBatteryDischargeEnergy', description: 'Todays Battery Discharge Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Todays Battery Discharge Energy 79: { name: 'data.todaysBatteryChargeEnergy', description: 'Todays Battery Charge Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Todays Battery Charge Energy 80: { name: 'data.totalpvenergy', description: 'Total PV Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Consumption': (42, 'kWh'), + 81: { name: 'data.totalpvenergyOverflow', description: 'Total PV Energy Overflow', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Consumption': (42, 'kWh'), 82: { name: 'data.pvenergy', description: 'PV Energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Consumption': (42, 'kWh'), 86: { name: 'data.totalFeed', description: 'Total Feed-in Energy', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Feed-in Energy': (41, 'kWh'), + 87: { name: 'data.totalFeedOverfow', description: 'Total Feed-in Energy Overfow', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Feed-in Energy': (41, 'kWh'), 88: { name: 'data.totalconsumption', description: 'Total Consumption', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Consumption': (42, 'kWh'), + 89: { name: 'data.totalconsumption', description: 'Total Consumption', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power.consumption' }, // 'Total Consumption': (42, 'kWh'), 90: { name: 'data.feedinenergy', description: 'Feed in Energy', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power' }, // Feed in Energy: (12.2,'kWh'), + 91: { name: 'data.feedinenergyOverflow', description: 'Feed in Energy Overflow', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power' }, // Feed in Energy: (12.2,'kWh'), 92: { name: 'data.consumeenergy', description: 'Consume Energy', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power' }, // Consume Energy: (7.8,'kWh'), + 93: { name: 'data.consumeenergyOverfow', description: 'Consume Energy Overfow', type: 'number', multiplier: 0.01, unit: 'kWh', role: 'value.power' }, // Consume Energy: (7.8,'kWh'), 103: { name: 'data.batteryCapacityRemainig', description: 'battery capacity remainig', type: 'number', unit: '%', role: 'value.power' }, // 'Battery Capacity Remainig, 105: { name: 'data.batteryTemperature', description: 'battery temperature', type: 'number', unit: '°C', role: 'value.temperature' }, // 'Battery Temperature, 106: { name: 'data.batteryRemainingEnergy', description: 'Battery remaining energy', type: 'number', multiplier: 0.1, unit: 'kWh', role: 'value.power.consumption' }, // Battery remaining energy diff --git a/main.js b/main.js index 22f4fb8..c0b171e 100644 --- a/main.js +++ b/main.js @@ -484,7 +484,6 @@ async function requestLocalAPI(root_dataPoints, information_dataPoints, data_dat type = 5; break; case 14: - //case 15: type = 4; break; case 15: