From faa8b759a851ee1fdd5c5ba6bed12f29c3ded846 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Thu, 16 Apr 2026 13:41:00 +0200 Subject: [PATCH] fix: rename ClientIdPortal to ProjectIdPortal in form.json and module.php; update build number in library.json --- CounterServer/form.json | 4 ++-- CounterServer/module.php | 2 +- library.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CounterServer/form.json b/CounterServer/form.json index 30dace5..bcb1100 100644 --- a/CounterServer/form.json +++ b/CounterServer/form.json @@ -14,8 +14,8 @@ }, { "type": "NumberSpinner", - "name": "ClientIdPortal", - "caption": "Client-ID (Portal)", + "name": "ProjectIdPortal", + "caption": "Project-ID (Portal)", "digits": 0 }, { diff --git a/CounterServer/module.php b/CounterServer/module.php index 0e3bb57..f528f3c 100644 --- a/CounterServer/module.php +++ b/CounterServer/module.php @@ -61,7 +61,7 @@ class CounterServer extends IPSModule $counterName = $c['name'] ?? $counterId; $type = $c['type'] ?? 'other'; $unit = $c['unit'] ?? 'kWh'; - $projectId = $this->ReadPropertyInteger('ClientIdPortal'); + $projectId = $this->ReadPropertyInteger('ProjectIdPortal'); // ---------- UPSERT ---------- $sql = " diff --git a/library.json b/library.json index 6b15683..c0ff3de 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.0", - "build": 4, + "build": 6, "date": 0 } \ No newline at end of file