From 4443ff04f1bdf1d08d2276fb76ab31a827223ce4 Mon Sep 17 00:00:00 2001 From: Martin Lukas Date: Thu, 1 Aug 2024 08:55:09 +0200 Subject: [PATCH] Add new registers for * vendor name * product name * firmware version * absolute charged energy to regarding json files Signed-off-by: Martin Lukas --- inro/integrationplugininro.json | 28 ++++++++++++++++++++++ inro/pantabox-registers.json | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/inro/integrationplugininro.json b/inro/integrationplugininro.json index d5e1962..8f84598 100644 --- a/inro/integrationplugininro.json +++ b/inro/integrationplugininro.json @@ -146,6 +146,34 @@ "displayName": "Modbus TCP version", "type": "QString", "defaultValue": "" + }, + { + "id": "e247585c-18d2-454f-ac12-d625ce36cc52", + "name": "vendorName", + "displayName": "Vendor name", + "type": "QString", + "defaultValue": "" + }, + { + "id": "815db609-f739-4df6-aafc-6814ec12e102", + "name": "productName", + "displayName": "Product name", + "type": "QString", + "defaultValue": "" + }, + { + "id": "8c92890f-c9fb-44dd-8665-f1502fc90912", + "name": "firmwareVersion", + "displayName": "Firmware version", + "type": "QString", + "defaultValue": "" + }, + { + "id": "e772b753-ced9-41dc-8cbd-7fc58834eaa9", + "name": "absoluteEnergy", + "displayName": "Absolute charged energy", + "type": "double", + "defaultValue": 0 } ] } diff --git a/inro/pantabox-registers.json b/inro/pantabox-registers.json index 05ec69f..680ac60 100644 --- a/inro/pantabox-registers.json +++ b/inro/pantabox-registers.json @@ -59,6 +59,36 @@ "defaultValue": "0", "access": "RO" }, + { + "id": "vendorName", + "address": 260, + "size": 2, + "type": "string", + "registerType": "inputRegister", + "description": "Name of vendor", + "readSchedule": "init", + "access": "RO" + }, + { + "id": "productName", + "address": 262, + "size": 4, + "type": "string", + "registerType": "inputRegister", + "description": "Name of product", + "readSchedule": "init", + "access": "RO" + }, + { + "id": "firmwareVersion", + "address": 266, + "size": 16, + "type": "uint32", + "registerType": "inputRegister", + "description": "Firmware version", + "readSchedule": "init", + "access": "RO" + }, { "id": "chargingState", "address": 512, @@ -119,6 +149,18 @@ "defaultValue": "0", "access": "RO" }, + { + "id": "absoluteEnergy", + "address": 519, + "size": 2, + "type": "uint32", + "registerType": "inputRegister", + "description": "Absolute charged energy", + "unit": "Wh", + "readSchedule": "update", + "defaultValue": "0", + "access": "RO" + }, { "id": "chargingEnabled", "address": 768,