no message
This commit is contained in:
@@ -1,91 +1,5 @@
|
|||||||
{
|
{
|
||||||
"elements": [
|
"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]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
],
|
],
|
||||||
"childRequirements": [],
|
"childRequirements": [],
|
||||||
"implemented": [
|
"implemented": [
|
||||||
"{018EF6B5-AB94-40C6-AA53-46943E824ACF}"
|
"{7F7632D9-FA40-4F38-8DEA-C83CD4325A32}"
|
||||||
],
|
],
|
||||||
"prefix": "VGT",
|
"prefix": "VGT",
|
||||||
"version": "1.0"
|
"version": "1.0"
|
||||||
|
|||||||
@@ -11,12 +11,13 @@ class VGT_Sub extends IPSModule
|
|||||||
{
|
{
|
||||||
parent::Create();
|
parent::Create();
|
||||||
// Verbindet sich automatisch mit einem MQTT Client
|
// Verbindet sich automatisch mit einem MQTT Client
|
||||||
$this->ConnectParent(self::PARENT_GUID);
|
$this->ConnectParent('{C6D2AEB3-6E1F-4B2E-8E69-3A1A00246850}');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ApplyChanges()
|
public function ApplyChanges()
|
||||||
{
|
{
|
||||||
parent::ApplyChanges();
|
parent::ApplyChanges();
|
||||||
|
$this->ConnectParent('{C6D2AEB3-6E1F-4B2E-8E69-3A1A00246850}');
|
||||||
|
|
||||||
// Topic Definitionen
|
// Topic Definitionen
|
||||||
$requestTopic = 'feedback-request/deviceOne';
|
$requestTopic = 'feedback-request/deviceOne';
|
||||||
|
|||||||
Reference in New Issue
Block a user