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