From d974cbd3cdb829f1b91eb01645dd3bd33441cf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 4 Jun 2025 11:19:03 +0200 Subject: [PATCH] no message --- SofarWechselrichter/form.json | 5 ++--- SofarWechselrichter/module.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SofarWechselrichter/form.json b/SofarWechselrichter/form.json index 3be1b2c..dd9bfdc 100644 --- a/SofarWechselrichter/form.json +++ b/SofarWechselrichter/form.json @@ -10,10 +10,9 @@ "caption": "Inverter IP-Adresse" }, { - "type": "NumberSpinner", + "type": "ValidationTextBox", "name": "LoggerNumber", - "caption": "Logger-Seriennummer", - "minimum": 0 + "caption": "Logger-Seriennummer" }, { "type": "NumberSpinner", diff --git a/SofarWechselrichter/module.php b/SofarWechselrichter/module.php index f3f50c4..717500e 100644 --- a/SofarWechselrichter/module.php +++ b/SofarWechselrichter/module.php @@ -12,7 +12,7 @@ class SofarWechselrichter extends IPSModule { parent::Create(); // Moduleigenschaften - $this->RegisterPropertyString('IPAddress', '172.31.70.80'); + $this->RegisterPropertyString('IPAddress', ''); $this->RegisterPropertyString('LoggerNumber', '0'); // jetzt String $this->RegisterPropertyInteger('PollInterval', 60); $this->RegisterPropertyString('Registers', '[]'); // JSON-String