From 341ea364c94a17400fb1f76627fe8d8d26d5834c Mon Sep 17 00:00:00 2001 From: Patrick Schurig Date: Thu, 25 Jun 2026 02:19:09 +0200 Subject: [PATCH] abbterra: revert to etm6 - upstream blocks not compatible with libnymea-modbus 1.15 --- abbterra/abbterra-registers.json | 243 +++---------------------------- 1 file changed, 20 insertions(+), 223 deletions(-) diff --git a/abbterra/abbterra-registers.json b/abbterra/abbterra-registers.json index 0bf1e80..18c2325 100644 --- a/abbterra/abbterra-registers.json +++ b/abbterra/abbterra-registers.json @@ -12,232 +12,29 @@ "id": "deviceInfo", "readSchedule": "init", "registers": [ - { - "id": "serialNumber", - "address": 16384, - "size": 4, - "type": "uint64", - "registerType": "holdingRegister", - "description": "Product serial number", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "firmwareVersionRaw", - "address": 16388, - "size": 2, - "type": "uint32", - "registerType": "holdingRegister", - "description": "Firmware version", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "userSettableMaxCurrent", - "address": 16390, - "size": 2, - "type": "uint32", - "unit": "mA", - "registerType": "holdingRegister", - "description": "Maximum user settable charging current", - "defaultValue": "32000", - "access": "RO" - } - ] - }, - { - "id": "status", - "readSchedule": "update", - "registers": [ - { - "id": "errorCode", - "address": 16392, - "size": 2, - "type": "uint32", - "registerType": "holdingRegister", - "description": "Last error code", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "socketLockState", - "address": 16394, - "size": 2, - "type": "uint32", - "registerType": "holdingRegister", - "description": "Socket and cable lock state", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "chargingStateRaw", - "address": 16396, - "size": 2, - "type": "uint32", - "registerType": "holdingRegister", - "description": "Charging state", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "chargingCurrentLimit", - "address": 16398, - "size": 2, - "type": "uint32", - "unit": "mA", - "registerType": "holdingRegister", - "description": "Current charging current limit", - "defaultValue": "6000", - "access": "RO" - }, - { - "id": "currentL1", - "address": 16400, - "size": 2, - "type": "uint32", - "unit": "mA", - "registerType": "holdingRegister", - "description": "Current L1", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "currentL2", - "address": 16402, - "size": 2, - "type": "uint32", - "unit": "mA", - "registerType": "holdingRegister", - "description": "Current L2", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "currentL3", - "address": 16404, - "size": 2, - "type": "uint32", - "unit": "mA", - "registerType": "holdingRegister", - "description": "Current L3", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "voltageL1", - "address": 16406, - "size": 2, - "type": "uint32", - "unit": "0.1V", - "registerType": "holdingRegister", - "description": "Voltage L1", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "voltageL2", - "address": 16408, - "size": 2, - "type": "uint32", - "unit": "0.1V", - "registerType": "holdingRegister", - "description": "Voltage L2", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "voltageL3", - "address": 16410, - "size": 2, - "type": "uint32", - "unit": "0.1V", - "registerType": "holdingRegister", - "description": "Voltage L3", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "activePower", - "address": 16412, - "size": 2, - "type": "uint32", - "unit": "W", - "registerType": "holdingRegister", - "description": "Measured active power", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "sessionEnergy", - "address": 16414, - "size": 2, - "type": "uint32", - "unit": "Wh", - "registerType": "holdingRegister", - "description": "Delivered energy of the current session", - "defaultValue": "0", - "access": "RO" - }, - { - "id": "communicationTimeoutReadback", - "address": 16416, - "size": 1, - "type": "uint16", - "unit": "s", - "registerType": "holdingRegister", - "description": "Communication timeout", - "defaultValue": "60", - "access": "RO" - } + { "id": "serialNumber", "address": 16384, "size": 4, "type": "uint64", "registerType": "holdingRegister", "description": "Product serial number", "defaultValue": "0", "access": "RO" }, + { "id": "firmwareVersionRaw", "address": 16388, "size": 2, "type": "uint32", "registerType": "holdingRegister", "description": "Firmware version", "defaultValue": "0", "access": "RO" }, + { "id": "userSettableMaxCurrent", "address": 16390, "size": 2, "type": "uint32", "unit": "mA", "registerType": "holdingRegister", "description": "Maximum user settable charging current", "defaultValue": "32000", "access": "RO" } ] } ], "registers": [ - { - "id": "chargingCurrentLimitCommand", - "address": 16640, - "size": 2, - "type": "uint32", - "unit": "mA", - "readSchedule": "", - "registerType": "holdingRegister", - "description": "Set charging current limit", - "defaultValue": "6000", - "access": "WO" - }, - { - "id": "socketLockCommand", - "address": 16642, - "size": 1, - "type": "uint16", - "readSchedule": "", - "registerType": "holdingRegister", - "description": "Socket lock control", - "defaultValue": "0", - "access": "WO" - }, - { - "id": "startStopChargingSession", - "address": 16645, - "size": 1, - "type": "uint16", - "readSchedule": "", - "registerType": "holdingRegister", - "description": "Start or stop charging session", - "defaultValue": "0", - "access": "WO" - }, - { - "id": "communicationTimeoutCommand", - "address": 16646, - "size": 1, - "type": "uint16", - "unit": "s", - "readSchedule": "", - "registerType": "holdingRegister", - "description": "Set communication timeout", - "defaultValue": "60", - "access": "WO" - } + { "id": "errorCode", "address": 16392, "size": 2, "type": "uint32", "readSchedule": "update", "registerType": "holdingRegister", "description": "Last error code", "defaultValue": "0", "access": "RO" }, + { "id": "socketLockState", "address": 16394, "size": 2, "type": "uint32", "readSchedule": "update", "registerType": "holdingRegister", "description": "Socket and cable lock state", "defaultValue": "0", "access": "RO" }, + { "id": "chargingStateRaw", "address": 16396, "size": 2, "type": "uint32", "readSchedule": "update", "registerType": "holdingRegister", "description": "Charging state", "defaultValue": "0", "access": "RO" }, + { "id": "chargingCurrentLimit", "address": 16398, "size": 2, "type": "uint32", "unit": "mA", "readSchedule": "update", "registerType": "holdingRegister", "description": "Current charging current limit", "defaultValue": "6000", "access": "RO" }, + { "id": "currentL1", "address": 16400, "size": 2, "type": "uint32", "unit": "mA", "readSchedule": "update", "registerType": "holdingRegister", "description": "Current L1", "defaultValue": "0", "access": "RO" }, + { "id": "currentL2", "address": 16402, "size": 2, "type": "uint32", "unit": "mA", "readSchedule": "update", "registerType": "holdingRegister", "description": "Current L2", "defaultValue": "0", "access": "RO" }, + { "id": "currentL3", "address": 16404, "size": 2, "type": "uint32", "unit": "mA", "readSchedule": "update", "registerType": "holdingRegister", "description": "Current L3", "defaultValue": "0", "access": "RO" }, + { "id": "voltageL1", "address": 16406, "size": 2, "type": "uint32", "unit": "0.1V", "readSchedule": "update", "registerType": "holdingRegister", "description": "Voltage L1", "defaultValue": "0", "access": "RO" }, + { "id": "voltageL2", "address": 16408, "size": 2, "type": "uint32", "unit": "0.1V", "readSchedule": "update", "registerType": "holdingRegister", "description": "Voltage L2", "defaultValue": "0", "access": "RO" }, + { "id": "voltageL3", "address": 16410, "size": 2, "type": "uint32", "unit": "0.1V", "readSchedule": "update", "registerType": "holdingRegister", "description": "Voltage L3", "defaultValue": "0", "access": "RO" }, + { "id": "activePower", "address": 16412, "size": 2, "type": "uint32", "unit": "W", "readSchedule": "update", "registerType": "holdingRegister", "description": "Measured active power", "defaultValue": "0", "access": "RO" }, + { "id": "sessionEnergy", "address": 16414, "size": 2, "type": "uint32", "unit": "Wh", "readSchedule": "update", "registerType": "holdingRegister", "description": "Delivered energy of the current session", "defaultValue": "0", "access": "RO" }, + { "id": "communicationTimeoutReadback", "address": 16416, "size": 1, "type": "uint16", "unit": "s", "readSchedule": "update", "registerType": "holdingRegister", "description": "Communication timeout readback", "defaultValue": "60", "access": "RO" }, + { "id": "chargingCurrentLimitCommand", "address": 16640, "size": 2, "type": "uint32", "unit": "mA", "readSchedule": "no", "registerType": "holdingRegister", "description": "Set charging current limit", "defaultValue": "6000", "access": "RW" }, + { "id": "socketLockCommand", "address": 16642, "size": 1, "type": "uint16", "readSchedule": "no", "registerType": "holdingRegister", "description": "Socket lock control", "defaultValue": "0", "access": "RW" }, + { "id": "startStopChargingSession", "address": 16645, "size": 1, "type": "uint16", "readSchedule": "no", "registerType": "holdingRegister", "description": "Start or stop charging session", "defaultValue": "0", "access": "RW" }, + { "id": "communicationTimeoutCommand", "address": 16646, "size": 1, "type": "uint16", "unit": "s", "readSchedule": "no", "registerType": "holdingRegister", "description": "Set communication timeout", "defaultValue": "60", "access": "RW" } ] }