From 59ac7efdbac21cb45177bf030627e55fac0f8a0d Mon Sep 17 00:00:00 2001 From: jhartworks Date: Fri, 13 Dec 2024 14:17:04 +0100 Subject: [PATCH] V1.5.1 --- LoraMlr003/form.json | 6 +++--- LoraMlr003/module.php | 1 + library.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/LoraMlr003/form.json b/LoraMlr003/form.json index 7dc05e3..29ac412 100644 --- a/LoraMlr003/form.json +++ b/LoraMlr003/form.json @@ -3,15 +3,15 @@ [ { "type": "Label", "caption": "Main" }, { "type": "ValidationTextBox", "name": "devName", "caption": "Name" }, - { "type": "NumberSpinner", "name": "devTime", "caption": "Refreshtime" }, + { "type": "NumberSpinner", "name": "devTime", "caption": "Refreshtime (sek) | Act- Values To Controller", "width": "40%"}, - { "type": "NumberSpinner", "name": "devLoraQueTime", "caption": "LORA QUE Time (min)" }, + { "type": "NumberSpinner", "name": "devLoraQueTime", "caption": "LORA QUE Time (min) | Payload to Broker / LORA", "width": "40%"}, { "type": "Label", "caption": "Mqtt Properties" }, { "type": "SelectInstance", "name": "mqttGwId", "caption": "Mqtt Gateway", "validModules":["{C6D2AEB3-6E1F-4B2E-8E69-3A1A00246850}"] }, { "type": "SelectInstance", "name": "modGwId", "caption": "Modbus Gateway", "validModules":["{A5F663AB-C400-4FE5-B207-4D67CC030564}"] }, - { "type": "ValidationTextBox", "name": "mqttPrefix", "caption": "Mqtt-Prefix e.g. Milesight01 (/uplink/EUI and /downlink/EUI is autm. added)" }, + { "type": "ValidationTextBox", "name": "mqttPrefix", "caption": "Mqtt-Prefix e.g. Milesight01 (/uplink/EUI and /downlink/EUI is autm. added)" , "width": "40%"}, { "type": "ValidationTextBox", "name": "devEui", "caption": "Device EUI (as Suffix on MQTT Topic)" }, diff --git a/LoraMlr003/module.php b/LoraMlr003/module.php index 084106f..9dda4e2 100644 --- a/LoraMlr003/module.php +++ b/LoraMlr003/module.php @@ -52,6 +52,7 @@ class LoraMlr003 extends IPSModule { $this->RegisterTimer("ReadUpdate", 0, 'MLR3_ReadActualValues('.$this->InstanceID.');'); $this->RegisterTimer("WriteUpdate", 0, 'MLR3_WriteSetpointvalues('.$this->InstanceID.');'); + $this->RegisterVariableString("hexOutput","HEX-Output"); $this->RegisterVariableString("jsonOutput","JSON-Output"); $this->RegisterVariableFloat("setpointModbus","Setpoint from Modbus"); diff --git a/library.json b/library.json index 14e1e8b..28ae801 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.5", - "build": 0, + "build": 1, "date": 0 } \ No newline at end of file