From 6ab897b11b6c5c252f5cef1090388ec773b50755 Mon Sep 17 00:00:00 2001
From: MarkusF <>
Date: Sun, 31 Dec 2017 15:32:25 +0000
Subject: [PATCH] 50_MOBILEALERTSGW.pm:Documentation update (wrong links)
51_MOBILEALERTS.pm:Documentation and logging update
git-svn-id: https://svn.fhem.de/fhem/trunk@15738 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/50_MOBILEALERTSGW.pm | 4 ++--
fhem/FHEM/51_MOBILEALERTS.pm | 17 ++++++++---------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/fhem/FHEM/50_MOBILEALERTSGW.pm b/fhem/FHEM/50_MOBILEALERTSGW.pm
index 0fe19d608..49394e1b4 100644
--- a/fhem/FHEM/50_MOBILEALERTSGW.pm
+++ b/fhem/FHEM/50_MOBILEALERTSGW.pm
@@ -752,7 +752,7 @@ sub MOBILEALERTSGW_DecodeUDP($$$) {
Attributes
- - forward
+ - forward
If value 1 is set, the data will be forwarded to the MobileAlerts Server http://www.data199.com/gateway/put .
@@ -823,7 +823,7 @@ sub MOBILEALERTSGW_DecodeUDP($$$) {
Attributes
- - forward
+ - forward
Wenn dieser Wert auf 1 gesetzt ist, werden die Daten zusätzlich zum MobileAlerts Server http://www.data199.com/gateway/put gesendet.
diff --git a/fhem/FHEM/51_MOBILEALERTS.pm b/fhem/FHEM/51_MOBILEALERTS.pm
index 6f70b0b26..1f1c0b26c 100644
--- a/fhem/FHEM/51_MOBILEALERTS.pm
+++ b/fhem/FHEM/51_MOBILEALERTS.pm
@@ -142,7 +142,7 @@ sub MOBILEALERTS_Parse ($$) {
if ( my $hash = $modules{MOBILEALERTS}{defptr}{$deviceID} ) {
my $verbose = GetVerbose( $hash->{NAME} );
Log3 $name, 5, "$name MOBILELAERTS: Found Device: " . $hash->{NAME};
- Log3 $name, 5,
+ Log3 $hash->{NAME}, 5,
"$hash->{NAME} MOBILELAERTS: Message: " . unpack( "H*", $message )
if ( $verbose >= 5 );
@@ -862,7 +862,6 @@ sub MOBILEALERTS_CheckRainSensor($$) {
#Yesterday
my $actD = ReadingsTimestamp( $hash->{NAME}, "mmRainActDay", $actTime );
- Log3 "SOFORT", 1, "A" . substr( $actTime, 0, 10 ) . "A";
if ( substr( $actTime, 0, 10 ) eq substr( $actD, 0, 10 ) ) {
MOBILEALERTS_readingsBulkUpdate( $hash, 0, "mmRainActDay",
$mmRain + ReadingsVal( $hash->{NAME}, "mmRainActDay", "0" ) )
@@ -972,8 +971,8 @@ sub MOBILEALERTS_ActionDetector($) {
The MOBILEALERTS is a fhem module for the german MobileAlerts devices and TFA WEATHERHUB devices.
The fhem module represents a MobileAlerts device. The connection is provided by the MOBILELAERTSGW module.
- Currently supported: MA10100, MA10200, MA10230, MA10300, MA10410.
- Supported but untested: MA10350, MA10650, MA10660, MA10700, MA10800
+ Currently supported: MA10100, MA10200, MA10230, MA10300, MA10650, MA10320PRO, MA10350, MA10410, MA10450, MA10660, MA10700, TFA 30.3312.02
+ Supported but untested: MA10800
@@ -1051,8 +1050,8 @@ sub MOBILEALERTS_ActionDetector($) {
Dieses FHEM Modul stellt jeweils ein MobileAlerts Gerät dar. Die Verbindung wird durch das
MOBILELAERTSGW Modul bereitgestellt.
- Aktuell werden unterstüzt: MA10100, MA10200, MA10230, MA10300, MA10410, MA10450, MA10320PRO, TFA 30.3312.02.
- Unterstüzt aber ungetestet: MA10350, MA10650, MA10660, MA10700, MA10800
+ Aktuell werden unterstüzt: MA10100, MA10200, MA10230, MA10300, MA10650, MA10320PRO, MA10350, MA10410, MA10450, MA10660, MA10700, TFA 30.3312.02
+ Unterstüzt aber ungetestet: MA10800
@@ -1107,15 +1106,15 @@ sub MOBILEALERTS_ActionDetector($) {
- ignore
- readingFnAttributes
- - lastMsg
+ - lastMsg
Wenn dieser Wert auf 1 gesetzt ist, wird die letzte erhaltene Nachricht als Reading gelogt auch wenn das Gerä bekannt ist.
- - actCycle <[hhh:mm]|off>
+ - actCycle <[hhh:mm]|off>
Dieses Attribut ermölicht eine 'nicht erreichbarkeit' Erkennung.
[hhh:mm] ist die maximale Zeit, innerhalb der keine Nachrichten empfrangen wird.
Das Reading actStatus zeigt den Status 'unknown', 'alive', 'dead' an.
- - expert
+ - expert
Gibt an wie detailiert die Readings angezeigt werden (0=nur aktuelle, 1=mit vorhergehenden, 4=alle).