mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_ArduCounter.pm: fixed summary line for modular commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@14233 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b2720b7f06
commit
eaa475ac9e
@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
# fhem Modul für Impulszähler auf Basis von Arduino mit ArduCounter Sketch
|
# fhem Modul für Impulszähler auf Basis von Arduino mit ArduCounter Sketch
|
||||||
#
|
#
|
||||||
# This file is part of fhem.
|
# This file is part of fhem.
|
||||||
#
|
#
|
||||||
@ -43,6 +43,7 @@
|
|||||||
# 2017-01-06 avoid reopening when disable=0 is set during startup
|
# 2017-01-06 avoid reopening when disable=0 is set during startup
|
||||||
# 2017-02-06 Doku korrigiert
|
# 2017-02-06 Doku korrigiert
|
||||||
# 2017-02-18 fixed a bug that caused a missing open when the device is defined while fhem is already initialized
|
# 2017-02-18 fixed a bug that caused a missing open when the device is defined while fhem is already initialized
|
||||||
|
# 2017-05-09 fixed character encoding for documentation text
|
||||||
|
|
||||||
# ideas / todo:
|
# ideas / todo:
|
||||||
#
|
#
|
||||||
@ -65,7 +66,7 @@ my %ArduCounter_gets = (
|
|||||||
"info" => ""
|
"info" => ""
|
||||||
);
|
);
|
||||||
|
|
||||||
my $ArduCounter_Version = '4.7 - 18.2.2017';
|
my $ArduCounter_Version = '4.71 - 9.5.2017';
|
||||||
|
|
||||||
#
|
#
|
||||||
# FHEM module intitialisation
|
# FHEM module intitialisation
|
||||||
@ -353,7 +354,7 @@ sub ArduCounter_Attr(@)
|
|||||||
my $vgl = $1; # attribute name in list - probably a regex
|
my $vgl = $1; # attribute name in list - probably a regex
|
||||||
my $opt = $2; # attribute hint in list
|
my $opt = $2; # attribute hint in list
|
||||||
if ($aName =~ $vgl) { # yes - the name in the list now matches as regex
|
if ($aName =~ $vgl) { # yes - the name in the list now matches as regex
|
||||||
# $aName ist eine Ausprägung eines wildcard attrs
|
# $aName ist eine Ausprägung eines wildcard attrs
|
||||||
addToDevAttrList($name, "$aName" . $opt); # create userattr with hint to allow changing by click in fhemweb
|
addToDevAttrList($name, "$aName" . $opt); # create userattr with hint to allow changing by click in fhemweb
|
||||||
if ($opt) {
|
if ($opt) {
|
||||||
# remove old entries without hint
|
# remove old entries without hint
|
||||||
@ -875,7 +876,7 @@ sub ArduCounter_Ready($)
|
|||||||
=pod
|
=pod
|
||||||
=item device
|
=item device
|
||||||
=item summary Module for consumption counter based on an arduino with the ArduCounter sketch
|
=item summary Module for consumption counter based on an arduino with the ArduCounter sketch
|
||||||
=item summary_DE Modul für Strom / Wasserzähler auf Arduino-Basis mit ArduCounter Sketch
|
=item summary_DE Modul für Strom / Wasserzähler auf Arduino-Basis mit ArduCounter Sketch
|
||||||
=begin html
|
=begin html
|
||||||
|
|
||||||
<a name="ArduCounter"></a>
|
<a name="ArduCounter"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user