diff --git a/fhem/CHANGED b/fhem/CHANGED index 8e5d54547..3ee6382b8 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. + - bugfix: 41_OREGON: typo battery percent fixed. de_commandref added - bugfix 73_AutoShuttersControl: fix bug then create timer, timer set to 1970 - new: 98_serviced: new modul for linux services (systemd and initd) diff --git a/fhem/FHEM/41_OREGON.pm b/fhem/FHEM/41_OREGON.pm index d7aa0db03..ee4cacb1f 100755 --- a/fhem/FHEM/41_OREGON.pm +++ b/fhem/FHEM/41_OREGON.pm @@ -990,7 +990,7 @@ OREGON_Parse($$) return "" if(IsIgnored($name)); my $n = 0; - my $tm = TimeNow(); + my $tm = TimeNow(); # todo: wird dies noch benoetigt? my $i; my $val = ""; @@ -1132,6 +1132,7 @@ OREGON_Parse($$) #$def->{CHANGED}[$n++] = $sensor . ": " . $i->{current};; } else { + #todo: ist es so ok, oder ist es mit Log3 besser? Log3 $iohash, 4, "...." print "\nOREGON: Unknown: "; print "Type: ".$i->{type}.", "; print "Value: ".$i->{current}."\n"; @@ -1142,7 +1143,7 @@ OREGON_Parse($$) # remove heading and trailing space chars from $val $val =~ s/^\s+|\s+$//g; - Log3 $iohash, 4, "$name decoded Oregon: $val"; + Log3 $def, 4, "$name decoded Oregon: $val"; readingsBulkUpdate($def, "state", $val); $def->{STATE} = $val; @@ -1211,4 +1212,50 @@ The one byte hex string is generated by the Oregon sensor when is it powered on. =end html +=begin html_DE + + +
define <name> OREGON <deviceid> define Kaminzimmer OREGON BTHR918N_ab
+