From 02d3410e709cbdebd9d456dc2e0a77e89d518880 Mon Sep 17 00:00:00 2001 From: HomeAuto_User <> Date: Mon, 30 Apr 2018 18:23:25 +0000 Subject: [PATCH] 88_xs1Bridge: documentation | xs1 with password git-svn-id: https://svn.fhem.de/fhem/trunk@16681 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/88_xs1Bridge.pm | 38 +++++++++++++++++++++++--------------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 1202b1128..c08eb8a94 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - change: 88_xs1Bridge: documentation | xs1 with password - bugfix: 36_Vallox: Fixed Multireadings. Added Legacy Mapping. added set commands - bugfix: 00_MQTT: topics and payload patch diff --git a/fhem/FHEM/88_xs1Bridge.pm b/fhem/FHEM/88_xs1Bridge.pm index b86b2d252..3e040e2cf 100644 --- a/fhem/FHEM/88_xs1Bridge.pm +++ b/fhem/FHEM/88_xs1Bridge.pm @@ -87,7 +87,7 @@ sub xs1Bridge_Define($$) { $hash->{STATE} = "Initialized"; ## Der Status des Modules nach Initialisierung. $hash->{TIME} = time(); ## Zeitstempel, derzeit vom anlegen des Moduls - $hash->{VERSION} = "1.24"; ## Version + $hash->{VERSION} = "1.26"; ## Version $hash->{BRIDGE} = 1; # Attribut gesetzt @@ -141,18 +141,18 @@ sub xs1Bridge_Attr(@) { ### Ansicht xs1_Device_function ### }elsif ($attrName eq "view_Device_function") { if ($attrValue eq "1") { ## Handling view_Device_function 1 - Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue"; } elsif ($attrValue eq "0") { ## Handling view_Device_function 0 - Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut view_Device_function $cmd to $attrValue"; } ### Ansicht xs1_Device_name ### }elsif ($attrName eq "view_Device_name") { if ($attrValue eq "1") { ## Handling view_Device_name 1 - Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue"; } elsif ($attrValue eq "0") { ## Handling view_Device_name 0 - Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut view_Device_name $cmd to $attrValue"; for my $i (0..64) { delete $hash->{READINGS}{"Aktor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS}); delete $hash->{READINGS}{"Sensor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS}); @@ -161,10 +161,10 @@ sub xs1Bridge_Attr(@) { ### Wertaenderung nur bei Difference ### }elsif ($attrName eq "update_only_difference") { if ($attrValue eq "1") { ## Handling update_only_difference 1 - Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue"; } elsif ($attrValue eq "0") { ## Handling update_only_difference 0 - Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue"; + #Log3 $name, 3, "$typ: Attribut update_only_difference $cmd to $attrValue"; for my $i (0..64) { delete $hash->{READINGS}{"Aktor_".sprintf("%02d", $i)."_name"} if($hash->{READINGS}); } @@ -698,16 +698,20 @@ sub is_in_array($$$) Define

Set @@ -796,16 +800,20 @@ sub is_in_array($$$) Define

Set