no message

This commit is contained in:
2026-02-10 15:27:04 +01:00
parent f35c43bacd
commit daff7a81e5
3 changed files with 4 additions and 89 deletions

View File

@@ -1,91 +1,5 @@
{
"elements": [
{
"type": "Label",
"caption": "MQTT Verbindungseinstellungen"
},
{
"type": "ValidationTextBox",
"name": "MQTTClientID",
"caption": "Client ID"
},
{
"type": "ValidationTextBox",
"name": "MQTTUser",
"caption": "Benutzername"
},
{
"type": "PasswordTextBox",
"name": "MQTTPassword",
"caption": "Passwort"
},
{
"type": "CheckBox",
"name": "UpdateGatewayConfig",
"caption": "Diese Einstellungen auf das Gateway anwenden (Überschreiben)"
},
{
"type": "Label",
"caption": "--------------------------------------------------------"
},
{
"type": "Label",
"caption": "MQTT Topic Konfiguration"
},
{
"type": "ValidationTextBox",
"name": "MQTTBaseTopic",
"caption": "Base Topic (z.B. Test VGT_Steuerung/Komm)"
},
{
"type": "Label",
"caption": "Hardware Verknüpfungen (Intern)"
},
{
"type": "SelectVariable",
"name": "SourceSoC",
"caption": "State of Charge (SoC)",
"validVariableTypes": [1, 2]
},
{
"type": "SelectVariable",
"name": "SourcePowerProd",
"caption": "Power Production",
"validVariableTypes": [1, 2]
},
{
"type": "SelectVariable",
"name": "SourceIsReady",
"caption": "Is Ready (Bool)",
"validVariableTypes": [0]
},
{
"type": "SelectVariable",
"name": "SourceIsRunning",
"caption": "Is Running (Bool)",
"validVariableTypes": [0]
},
{
"type": "SelectVariable",
"name": "SourceMinSoC",
"caption": "Min SoC",
"validVariableTypes": [1, 2]
},
{
"type": "SelectVariable",
"name": "SourceMaxSoC",
"caption": "Max SoC",
"validVariableTypes": [1, 2]
},
{
"type": "Label",
"caption": "Steuerung (Output)"
},
{
"type": "SelectVariable",
"name": "TargetControlVar",
"caption": "Wechselrichter Sollwert (Ziel)",
"validVariableTypes": [1, 2]
}
]
}

View File

@@ -11,7 +11,7 @@
],
"childRequirements": [],
"implemented": [
"{018EF6B5-AB94-40C6-AA53-46943E824ACF}"
"{7F7632D9-FA40-4F38-8DEA-C83CD4325A32}"
],
"prefix": "VGT",
"version": "1.0"

View File

@@ -11,12 +11,13 @@ class VGT_Sub extends IPSModule
{
parent::Create();
// Verbindet sich automatisch mit einem MQTT Client
$this->ConnectParent(self::PARENT_GUID);
$this->ConnectParent('{C6D2AEB3-6E1F-4B2E-8E69-3A1A00246850}');
}
public function ApplyChanges()
{
parent::ApplyChanges();
$this->ConnectParent('{C6D2AEB3-6E1F-4B2E-8E69-3A1A00246850}');
// Topic Definitionen
$requestTopic = 'feedback-request/deviceOne';