2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 01:53:19 +00:00

readingsUpdate attribute-Namelist and documentation unified

git-svn-id: https://svn.fhem.de/fhem/trunk@2406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-01-03 12:51:51 +00:00
parent 7494dcf7b6
commit b128ebbc5a
18 changed files with 149 additions and 123 deletions

View File

@ -213,13 +213,12 @@ CUL_HM_Initialize($)
$hash->{RenameFn} = "CUL_HM_Rename"; $hash->{RenameFn} = "CUL_HM_Rename";
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:1,0 dummy:1,0 ". $hash->{AttrList} = "IODev do_not_notify:1,0 ignore:1,0 dummy:1,0 ".
"showtime:1,0 loglevel:0,1,2,3,4,5,6 ". "showtime:1,0 loglevel:0,1,2,3,4,5,6 ".
"event-on-change-reading event-on-update-reading ".
"hmClass:receiver,sender serialNr firmware devInfo ". "hmClass:receiver,sender serialNr firmware devInfo ".
"rawToReadable unit ". "rawToReadable unit ".
"peerList ". #todo Updt1 remove "peerList ". #todo Updt1 remove
"peerIDs ". "peerIDs ".
"actCycle actStatus autoReadReg:1,0 ". "actCycle actStatus autoReadReg:1,0 ".
""; $readingFnAttributes;
my @modellist; my @modellist;
foreach my $model (keys %culHmModel){ foreach my $model (keys %culHmModel){
push @modellist,$culHmModel{$model}{name}; push @modellist,$culHmModel{$model}{name};
@ -4588,6 +4587,7 @@ CUL_HM_setAttrIfCh($$$$)
<li><a href="#dummy">dummy</a></li> <li><a href="#dummy">dummy</a></li>
<li><a href="#showtime">showtime</a></li> <li><a href="#showtime">showtime</a></li>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a name="hmClass">hmClass</a>, <li><a name="hmClass">hmClass</a>,
<a name="model">model</a>, <a name="model">model</a>,
<a name="subType">subType</a><br> <a name="subType">subType</a><br>

View File

@ -73,7 +73,8 @@ MAX_Initialize($)
$hash->{ParseFn} = "MAX_Parse"; $hash->{ParseFn} = "MAX_Parse";
$hash->{SetFn} = "MAX_Set"; $hash->{SetFn} = "MAX_Set";
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 " . $hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 " .
"showtime:1,0 loglevel:0,1,2,3,4,5,6 event-on-update-reading event-on-change-reading"; "showtime:1,0 loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
return undef; return undef;
} }
@ -406,7 +407,7 @@ MAX_Parse($$)
if($measuredTemperature ne "") { if($measuredTemperature ne "") {
readingsBulkUpdate($shash, "temperature", $measuredTemperature); readingsBulkUpdate($shash, "temperature", $measuredTemperature);
} }
readingsEndUpdate($shash, 0); readingsEndUpdate($shash, 1);
}elsif($msgtype eq "ShutterContactState"){ }elsif($msgtype eq "ShutterContactState"){
my $bits = pack("H2",$args[0]); my $bits = pack("H2",$args[0]);
@ -421,7 +422,7 @@ MAX_Parse($$)
readingsBeginUpdate($shash); readingsBeginUpdate($shash);
readingsBulkUpdate($shash, "battery", $batterylow ? "low" : "ok"); readingsBulkUpdate($shash, "battery", $batterylow ? "low" : "ok");
readingsBulkUpdate($shash,"onoff",$isopen); readingsBulkUpdate($shash,"onoff",$isopen);
readingsEndUpdate($shash, 0); readingsEndUpdate($shash, 1);
}elsif($msgtype eq "CubeClockState"){ }elsif($msgtype eq "CubeClockState"){
my $clockset = $args[0]; my $clockset = $args[0];
@ -448,7 +449,7 @@ MAX_Parse($$)
readingsBulkUpdate($shash, "decalcification", "$decalcDays[$args[11]], $args[12]:00"); readingsBulkUpdate($shash, "decalcification", "$decalcDays[$args[11]], $args[12]:00");
#readingsBulkUpdate($shash, "weekProfile", "$args[13]"); #readingsBulkUpdate($shash, "weekProfile", "$args[13]");
$shash->{internal}{weekProfile} = $args[13]; $shash->{internal}{weekProfile} = $args[13];
readingsEndUpdate($shash, 0); readingsEndUpdate($shash, 1);
} elsif($msgtype eq "Error") { } elsif($msgtype eq "Error") {
if(@args == 0) { if(@args == 0) {
@ -576,13 +577,12 @@ MAX_Parse($$)
<a name="MAXattr"></a> <a name="MAXattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
<li><a href="#eventMap">eventMap</a></li> <li><a href="#eventMap">eventMap</a></li>
<li><a href="#IODev">IODev</a></li> <li><a href="#IODev">IODev</a></li>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#ignore">ignore</a></li> <li><a href="#ignore">ignore</a></li>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
</ul> </ul>
<br> <br>

View File

@ -186,7 +186,8 @@ FHT_Initialize($)
$hash->{ParseFn} = "FHT_Parse"; $hash->{ParseFn} = "FHT_Parse";
$hash->{AttrList} = "IODev do_not_notify:1,0 model:fht80b dummy:1,0 " . $hash->{AttrList} = "IODev do_not_notify:1,0 model:fht80b dummy:1,0 " .
"showtime:1,0 loglevel:0,1,2,3,4,5,6 retrycount " . "showtime:1,0 loglevel:0,1,2,3,4,5,6 retrycount " .
"minfhtbuffer lazy tmpcorr ignore:1,0 event-on-update-reading event-on-change-reading"; "minfhtbuffer lazy tmpcorr ignore:1,0 ".
$readingFnAttributes;
} }
@ -391,10 +392,12 @@ FHT_Parse($$)
{ {
my ($hash, $msg) = @_; my ($hash, $msg) = @_;
Log 1, "FHTVAL0: >$msg< ". length($msg);
$msg = lc($msg); $msg = lc($msg);
my $dev = substr($msg, 16, 4); my $dev = substr($msg, 16, 4);
my $cde = substr($msg, 20, 2); my $cde = substr($msg, 20, 2);
my $val = substr($msg, 26, 2) if(length($msg) > 26); my $val = (length($msg) > 26 ? substr($msg, 26, 2) : undef);
my $confirm = 0; my $confirm = 0;
if(!defined($modules{FHT}{defptr}{$dev})) { if(!defined($modules{FHT}{defptr}{$dev})) {
@ -431,7 +434,7 @@ FHT_Parse($$)
my $cmd = $codes{$cde}; my $cmd = $codes{$cde};
if(!$cmd) { if(!$cmd) {
Log $ll4, "FHT $name (Unknown: $cde => $val)"; Log $ll4, "FHT $name (Unknown: $cde => $val)";
$def->{CHANGED}[0] = "unknown_$cde: $val"; readingsSingleUpdate($def, "unknown_$cde", $val, 1);
return $name; return $name;
} }
@ -444,21 +447,22 @@ FHT_Parse($$)
# measured-temp= (measured-high * 256 + measured-low) / 10. # measured-temp= (measured-high * 256 + measured-low) / 10.
# measured-low and measured-high will only be stored as internals # measured-low and measured-high will only be stored as internals
if($cmd eq "measured-low") { if($cmd eq "measured-low") {
$def->{".measuredLow"}= $val;
$def->{fhem}{measuredLow}= $val; return "";
return "";
} elsif($cmd eq "measured-high") { } elsif($cmd eq "measured-high") {
$def->{fhem}{measuredHigh}= $val; $def->{".measuredHigh"}= $val;
if(defined($def->{fhem}{measuredLow})) { if(defined($def->{".measuredLow"})) {
$val = ($val*256.0 + $def->{fhem}{measuredLow})/10.0+ AttrVal($name, "tmpcorr", 0.0); $val = ($val*256.0 + $def->{".measuredLow"})/10.0+
$cmd = "measured-temp"; AttrVal($name, "tmpcorr", 0.0);
} else { $cmd = "measured-temp";
return ""; } else {
} return "";
}
} }
# #
@ -562,8 +566,8 @@ FHT_Parse($$)
} else { } else {
readingsBulkUpdate($def, $cmd, $val); readingsBulkUpdate($def, $cmd, $val);
if($cmd eq "measured-temp") { if($cmd eq "measured-temp") {
$def->{STATE} = "$cmd: $val"; readingsBulkUpdate($def, "state", "measured-temp: $val");
readingsBulkUpdate($def, "temperature", $val); readingsBulkUpdate($def, "temperature", $val); # For dewpoint
} }
} }
@ -572,7 +576,7 @@ FHT_Parse($$)
# #
# now we are done with updating readings # now we are done with updating readings
# #
readingsEndUpdate($def, 0); readingsEndUpdate($def, 1);
################################ ################################
# Softbuffer: delete confirmed commands # Softbuffer: delete confirmed commands
@ -774,26 +778,32 @@ getFhtBuffer($)
none, Battery low,Temperature too low, Window open, none, Battery low,Temperature too low, Window open,
Fault on window sensor Fault on window sensor
</li> </li>
<li>actuator (without a suffix) stands for all actuators. <li>actuator (without a suffix) stands for all actuators.</li>
<li>actuator or actuator1..8 can take following values: <li>actuator or actuator1..8 can take following values:
<ul> <ul>
<li>&lt;value&gt;%<br> <li>&lt;value&gt;%<br>
This is the normal case, the actuator is instructed to This is the normal case, the actuator is instructed to
open to this value. open to this value.
</li>
<li>offset &lt;value&gt;%<br> <li>offset &lt;value&gt;%<br>
The actuator is running with this offset. The actuator is running with this offset.
</li>
<li>lime-protection<br> <li>lime-protection<br>
The actuator was instructed to execute the lime-protection The actuator was instructed to execute the lime-protection
procedure. procedure.
</li>
<li>synctime<br> <li>synctime<br>
If you select Sond/Sync on the FHT80B, you'll see a count If you select Sond/Sync on the FHT80B, you'll see a count
down. down.
</li>
<li>test<br> <li>test<br>
The actuator was instructed by the FHT80b to emit a beep. The actuator was instructed by the FHT80b to emit a beep.
</li>
<li>pair<br> <li>pair<br>
The the FHT80b sent a "you-belong-to-me" to this actuator. The the FHT80b sent a "you-belong-to-me" to this actuator.
</ul> </li>
</ul> </ul></li>
</ul></li>
<br> <br>
<li>The FHT is very economical (or lazy), it accepts one message from the <li>The FHT is very economical (or lazy), it accepts one message from the
@ -803,7 +813,9 @@ getFhtBuffer($)
sent to the FHT, see the related <code>fhtbuf</code> entry in the sent to the FHT, see the related <code>fhtbuf</code> entry in the
<code><a href="#get">get</a></code> section.<br> You can send up to 8 <code><a href="#get">get</a></code> section.<br> You can send up to 8
commands in one message at once to the FHT if you specify them all as commands in one message at once to the FHT if you specify them all as
arguments to the same set command, see the example above.<br><br> arguments to the same set command, see the example above.
</li>
<br>
<li>time sets hour and minute to local time</li><br> <li>time sets hour and minute to local time</li><br>
@ -827,14 +839,17 @@ getFhtBuffer($)
For holiday_short (party mode) For holiday_short (party mode)
<ul> <ul>
<li> holiday1 sets the absolute hour to switch back from this <li> holiday1 sets the absolute hour to switch back from this
mode (in 10-minute steps, max 144) mode (in 10-minute steps, max 144)</li>
<li> holiday2 sets the day of month to switch back from this mode <li> holiday2 sets the day of month to switch back from this mode
(can only be today or tomorrow, since holiday1 accepts only 24 hours). (can only be today or tomorrow, since holiday1 accepts only 24
hours).</li>
Example: Example:
<ul> <ul>
<li> current date is 29 Jan, time is 18:05 <li>current date is 29 Jan, time is 18:05</li>
<li> you want to switch to party mode until tomorrow 1:00 <li>you want to switch to party mode until tomorrow 1:00</li>
<li> set holiday1 to 6 (6 x 10min = 1hour) and holiday2 to 30 <li>set holiday1 to 6 (6 x 10min = 1hour) and holiday2 to
30</li>
</ul> </ul>
</ul> </ul>
The temperature for the holiday period is set by the desired-temperature The temperature for the holiday period is set by the desired-temperature
@ -848,15 +863,15 @@ getFhtBuffer($)
<br> <br>
<li>The <code>*-from1/*-from2/*-to1/*-to2</code> valuetypes need a time <li>The <code>*-from1/*-from2/*-to1/*-to2</code> valuetypes need a time
spec as argument in the HH:MM format. They define the periods, where spec as argument in the HH:MM format. They define the periods, where
the day-temp is valid. The minute (MM) will be rounded to 10, and the day-temp is valid. The minute (MM) will be rounded to 10, and
24:00 means off. 24:00 means off.</li><br>
<br><br></li>
<li>To synchronize the FHT time and to "wake" muted FHTs it is adviseable <li>To synchronize the FHT time and to "wake" muted FHTs it is adviseable
to schedule following command:<br> to schedule following command:<br>
<code>define fht_sync at +*3:30 set TYPE=FHT time</code> <code>define fht_sync at +*3:30 set TYPE=FHT time</code>
<br><br> </li>
<br>
<li><code>report1</code> with parameter 255 requests all settings for <li><code>report1</code> with parameter 255 requests all settings for
monday till sunday to be sent. The argument is a bitfield, to request monday till sunday to be sent. The argument is a bitfield, to request
@ -876,7 +891,7 @@ getFhtBuffer($)
<br><br> <br><br>
<b>Note:</b> This command generates a lot of RF traffic, which can <b>Note:</b> This command generates a lot of RF traffic, which can
lead to further problems, especially if the reception is not clear. lead to further problems, especially if the reception is not clear.
<br><br></li> </li><br>
<li><code>report2</code> with parameter 255 requests the following <li><code>report2</code> with parameter 255 requests the following
settings to be reported: day-temp night-temp windowopen-temp settings to be reported: day-temp night-temp windowopen-temp
@ -884,22 +899,21 @@ getFhtBuffer($)
The argument is (more or less) a bitfield, to request unique values The argument is (more or less) a bitfield, to request unique values
add up the following: add up the following:
<ul> <ul>
<li> 1: warnings <li> 1: warnings</li>
<li> 2: mode <li> 2: mode</li>
<li> 4: day-temp, night-temp, windowopen-temp <li> 4: day-temp, night-temp, windowopen-temp</li>
<li>64: lowtemp-offset <li>64: lowtemp-offset</li>
</ul> </ul>
measured-temp and actuator is sent along if it is considered measured-temp and actuator is sent along if it is considered
appropriate appropriate by the FHT.</li>
<br>
by the FHT.
<br><br>
<li><code>lowtemp-offset</code> needs a temperature as argument, valid <li><code>lowtemp-offset</code> needs a temperature as argument, valid
values must be between 1.0 and 5.0 Celsius.<br> It will trigger a values must be between 1.0 and 5.0 Celsius.<br> It will trigger a
warning if <code>desired-temp - measured-temp &gt; warning if <code>desired-temp - measured-temp &gt;
lowtemp-offset</code> in a room for at least 1.5 hours after the last lowtemp-offset</code> in a room for at least 1.5 hours after the last
desired-temp change. <br><br> desired-temp change.</li>
<br>
<li>FHEM optionally has an internal software buffer for FHT devices. <li>FHEM optionally has an internal software buffer for FHT devices.
This buffer should prevent transmission errors. If there is no This buffer should prevent transmission errors. If there is no
@ -909,12 +923,14 @@ getFhtBuffer($)
See the <a href="#fhtsoftbuffer">fhtsoftbuffer</a>, See the <a href="#fhtsoftbuffer">fhtsoftbuffer</a>,
<a href="#retrycount">retrycount</a> and <a href="#retrycount">retrycount</a> and
<a href="#minfhtbuffer">minfhtbuffer</a> attributes for details. <a href="#minfhtbuffer">minfhtbuffer</a> attributes for details.
<br><br> </li>
<br>
<li>If a buffer is still in the softbuffer, it will be sent in the <li>If a buffer is still in the softbuffer, it will be sent in the
following order:<br> <code>desired-temp,mode,report1,report2, following order:<br> <code>desired-temp,mode,report1,report2,
holiday1,holiday2,day-temp,night-temp, [all other commands]</code> holiday1,holiday2,day-temp,night-temp, [all other commands]</code>
<br><br> </li>
<br>
</ul> </ul>
</ul> </ul>
@ -925,8 +941,6 @@ getFhtBuffer($)
<a name="FHTattr"></a> <a name="FHTattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#ignore">ignore</a></li><br>
<li><a href="#do_not_notify">do_not_notify</a></li><br>
<li><a href="#attrdummy">dummy</a><br> <li><a href="#attrdummy">dummy</a><br>
<b>Note:</b>It makes sense to define an FHT device even for an FHT8b, <b>Note:</b>It makes sense to define an FHT device even for an FHT8b,
else you will receive "unknown FHT device, please define one" message else you will receive "unknown FHT device, please define one" message
@ -936,14 +950,6 @@ getFhtBuffer($)
consumed. If the buffer is full, you'll get "EOB" messages from the CUL, consumed. If the buffer is full, you'll get "EOB" messages from the CUL,
and you cannot transmit any data to the 80b's</li><br> and you cannot transmit any data to the 80b's</li><br>
<li><a href="#loglevel">loglevel</a></li><br>
<li><a href="#model">model</a> (fht80b)</li><br>
<li><a href="#showtime">showtime</a></li><br>
<li><a href="#IODev">IODev</a></li><br>
<li><a href="#eventMap">eventMap</a></li><br>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
<a name="retrycount"></a> <a name="retrycount"></a>
<li>retrycount<br> <li>retrycount<br>
If the <a href="#fhtsoftbuffer">fhtsoftbuffer</a> attribute is set, then If the <a href="#fhtsoftbuffer">fhtsoftbuffer</a> attribute is set, then
@ -975,34 +981,44 @@ getFhtBuffer($)
Correct the temperature reported by the FHT by the value specified. Correct the temperature reported by the FHT by the value specified.
Note: only the measured-temp value reported by fhem (used for logging) Note: only the measured-temp value reported by fhem (used for logging)
will be modified. will be modified.
</li> </li><br>
<li><a href="#ignore">ignore</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#loglevel">loglevel</a></li>
<li><a href="#model">model</a> (fht80b)</li>
<li><a href="#showtime">showtime</a></li>
<li><a href="#IODev">IODev</a></li>
<li><a href="#eventMap">eventMap</a></li>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
</ul> </ul>
<br> <br>
<a name="FHTevents"></a> <a name="FHTevents"></a>
<b>Generated events:</b> <b>Generated events:</b>
<ul> <ul>
<li>actuator <li>actuator</li>
<li>actuator1 actuator2 actuator3 actuator4<br> <li>actuator1 actuator2 actuator3 actuator4<br>
actuator5 actuator6 actuator7 actuator8<br> actuator5 actuator6 actuator7 actuator8<br>
(sent if you configured an offset for the associated valve) (sent if you configured an offset for the associated valve)</li>
<li>mon-from1 mon-to1 mon-from2 mon-to2 <li>mon-from1 mon-to1 mon-from2 mon-to2</li>
<li>tue-from1 tue-to1 tue-from2 tue-to2 <li>tue-from1 tue-to1 tue-from2 tue-to2</li>
<li>wed-from1 wed-to1 wed-from2 wed-to2 <li>wed-from1 wed-to1 wed-from2 wed-to2</li>
<li>thu-from1 thu-to1 thu-from2 thu-to2 <li>thu-from1 thu-to1 thu-from2 thu-to2</li>
<li>fri-from1 fri-to1 fri-from2 fri-to2 <li>fri-from1 fri-to1 fri-from2 fri-to2</li>
<li>sat-from1 sat-to1 sat-from2 sat-to2 <li>sat-from1 sat-to1 sat-from2 sat-to2</li>
<li>sun-from1 sun-to1 sun-from2 sun-to2 <li>sun-from1 sun-to1 sun-from2 sun-to2</li>
<li>mode <li>mode</li>
<li>holiday1 holiday2 <li>holiday1 holiday2</li>
<li>desired-temp <li>desired-temp</li>
<li>measured-temp measured-low measured-high <li>measured-temp measured-low measured-high</li>
<li>warnings <li>warnings</li>
<li>manu-temp <li>manu-temp</li>
<li>year month day hour minute <li>year month day hour minute</li>
<li>day-temp night-temp lowtemp-offset windowopen-temp <li>day-temp night-temp lowtemp-offset windowopen-temp</li>
<li>ack can-xmit can-rcv ack2 start-xmit end-xmit <li>ack can-xmit can-rcv ack2 start-xmit end-xmit
(only if the CUL is configured to transmit FHT protocol data) (only if the CUL is configured to transmit FHT protocol data)</li>
</ul> </ul>
<br> <br>

View File

@ -40,7 +40,8 @@ OWDevice_Initialize($)
$hash->{DefFn} = "OWDevice_Define"; $hash->{DefFn} = "OWDevice_Define";
$hash->{AttrFn} = "OWDevice_Attr"; $hash->{AttrFn} = "OWDevice_Attr";
$hash->{AttrList} = "trimvalues polls interfaces loglevel:0,1,2,3,4,5"; $hash->{AttrList} = "trimvalues polls interfaces loglevel:0,1,2,3,4,5 ".
$readingFnAttributes;
} }
################################### ###################################
@ -449,8 +450,7 @@ OWDevice_Define($$)
<li>interfaces: supersedes the interfaces exposed by that device.</li> <li>interfaces: supersedes the interfaces exposed by that device.</li>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#eventMap">eventMap</a></li> <li><a href="#eventMap">eventMap</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br><br> <br><br>

View File

@ -43,7 +43,8 @@ CUL_MAX_Initialize($)
$hash->{ParseFn} = "CUL_MAX_Parse"; $hash->{ParseFn} = "CUL_MAX_Parse";
$hash->{SetFn} = "CUL_MAX_Set"; $hash->{SetFn} = "CUL_MAX_Set";
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 " . $hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 " .
"showtime:1,0 loglevel:0,1,2,3,4,5,6"; "showtime:1,0 loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
} }
############################# #############################
@ -423,6 +424,7 @@ CUL_MAX_BroadcastTime(@)
<li><a href="#do_not_notify">do_not_notify</a></li><br> <li><a href="#do_not_notify">do_not_notify</a></li><br>
<li><a href="#showtime">showtime</a></li><br> <li><a href="#showtime">showtime</a></li><br>
<li><a href="#loglevel">loglevel</a></li><br> <li><a href="#loglevel">loglevel</a></li><br>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
</ul> </ul>
<br> <br>

View File

@ -48,7 +48,8 @@ TRX_ELSE_Initialize($)
$hash->{DefFn} = "TRX_ELSE_Define"; $hash->{DefFn} = "TRX_ELSE_Define";
$hash->{UndefFn} = "TRX_ELSE_Undef"; $hash->{UndefFn} = "TRX_ELSE_Undef";
$hash->{ParseFn} = "TRX_ELSE_Parse"; $hash->{ParseFn} = "TRX_ELSE_Parse";
$hash->{AttrList} = "IODev do_not_notify:1,0 loglevel:0,1,2,3,4,5,6"; $hash->{AttrList} = "IODev do_not_notify:1,0 loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
Log 1, "TRX_ELSE: Initialize" if ($TRX_ELSE_debug == 1); Log 1, "TRX_ELSE: Initialize" if ($TRX_ELSE_debug == 1);
} }

View File

@ -105,7 +105,9 @@ TRX_LIGHT_Initialize($)
$hash->{DefFn} = "TRX_LIGHT_Define"; $hash->{DefFn} = "TRX_LIGHT_Define";
$hash->{UndefFn} = "TRX_LIGHT_Undef"; $hash->{UndefFn} = "TRX_LIGHT_Undef";
$hash->{ParseFn} = "TRX_LIGHT_Parse"; $hash->{ParseFn} = "TRX_LIGHT_Parse";
$hash->{AttrList} = "IODev ignore:1,0 event-on-update-reading event-on-change-reading do_not_notify:1,0 loglevel:0,1,2,3,4,5,6"; $hash->{AttrList} = "IODev ignore:1,0 do_not_notify:1,0 ".
"loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
} }
@ -727,8 +729,7 @@ KlikAanKlikUit, NEXA, CHACON, HomeEasy UK. <br> You need to define an RFXtrx433
<ul> <ul>
<li><a href="#ignore">ignore</a></li> <li><a href="#ignore">ignore</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
</ul> </ul>

View File

@ -77,7 +77,9 @@ TRX_SECURITY_Initialize($)
$hash->{DefFn} = "TRX_SECURITY_Define"; $hash->{DefFn} = "TRX_SECURITY_Define";
$hash->{UndefFn} = "TRX_SECURITY_Undef"; $hash->{UndefFn} = "TRX_SECURITY_Undef";
$hash->{ParseFn} = "TRX_SECURITY_Parse"; $hash->{ParseFn} = "TRX_SECURITY_Parse";
$hash->{AttrList} = "IODev ignore:1,0 event-on-update-reading event-on-change-reading do_not_notify:1,0 loglevel:0,1,2,3,4,5,6"; $hash->{AttrList} = "IODev ignore:1,0 do_not_notify:1,0 ".
"loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
} }
@ -591,8 +593,7 @@ TRX_SECURITY_Parse($$)
<ul> <ul>
<li><a href="#ignore">ignore</a></li> <li><a href="#ignore">ignore</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
</ul> </ul>

View File

@ -110,7 +110,9 @@ TRX_WEATHER_Initialize($)
$hash->{DefFn} = "TRX_WEATHER_Define"; $hash->{DefFn} = "TRX_WEATHER_Define";
$hash->{UndefFn} = "TRX_WEATHER_Undef"; $hash->{UndefFn} = "TRX_WEATHER_Undef";
$hash->{ParseFn} = "TRX_WEATHER_Parse"; $hash->{ParseFn} = "TRX_WEATHER_Parse";
$hash->{AttrList} = "IODev ignore:1,0 event-on-update-reading event-on-change-reading do_not_notify:1,0 loglevel:0,1,2,3,4,5,6"; $hash->{AttrList} = "IODev ignore:1,0 do_not_notify:1,0 ".
"loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
} }
@ -1221,8 +1223,7 @@ TRX_WEATHER_Parse($$)
<ul> <ul>
<li><a href="#ignore">ignore</a></li> <li><a href="#ignore">ignore</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br> <br>
</ul> </ul>

View File

@ -45,7 +45,8 @@ IPCAM_Initialize($$)
$hash->{GetFn} = "IPCAM_Get"; $hash->{GetFn} = "IPCAM_Get";
$hash->{AttrList} = "delay credentials path query snapshots storage timestamp:0,1 ". $hash->{AttrList} = "delay credentials path query snapshots storage timestamp:0,1 ".
"do_not_notify:1,0 showtime:1,0 ". "do_not_notify:1,0 showtime:1,0 ".
"loglevel:0,1,2,3,4,5,6 disable:0,1"; "loglevel:0,1,2,3,4,5,6 disable:0,1 ".
$readingFnAttributes;
} }
##################################### #####################################
@ -434,6 +435,7 @@ IPCAM_guessFileFormat($) {
<li><a href="#disable">disable</a></li> <li><a href="#disable">disable</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li> <li>
path<br> path<br>
Defines the path and query component of the complete <a href="http://de.wikipedia.org/wiki/Uniform_Resource_Identifier" target="_blank">URI</a> to get a snapshot of the Defines the path and query component of the complete <a href="http://de.wikipedia.org/wiki/Uniform_Resource_Identifier" target="_blank">URI</a> to get a snapshot of the

View File

@ -65,7 +65,10 @@ WS300_Initialize($)
my ($hash) = @_; my ($hash) = @_;
# Provider # Provider
$hash->{AttrList} = "do_not_notify:0,1 showtime:0,1 model:ws300 loglevel:0,1,2,3,4,5,6 event-on-update-reading event-on-change-reading"; $hash->{AttrList} = "do_not_notify:0,1 showtime:0,1 model:ws300 ".
"loglevel:0,1,2,3,4,5,6 ".
$readingFnAttributes;
$hash->{DefFn} = "WS300_Define"; $hash->{DefFn} = "WS300_Define";
$hash->{GetFn} = "WS300_Get"; $hash->{GetFn} = "WS300_Get";
$hash->{ParseFn} = "WS300_Parse"; $hash->{ParseFn} = "WS300_Parse";
@ -662,8 +665,7 @@ NEXTPOLL:
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#model">model</a> (ws300)</li> <li><a href="#model">model</a> (ws300)</li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br> <br>
</ul> </ul>

View File

@ -700,8 +700,8 @@ sub Calendar_Initialize($) {
$hash->{UndefFn} = "Calendar_Undef"; $hash->{UndefFn} = "Calendar_Undef";
$hash->{GetFn} = "Calendar_Get"; $hash->{GetFn} = "Calendar_Get";
$hash->{SetFn} = "Calendar_Set"; $hash->{SetFn} = "Calendar_Set";
$hash->{AttrList}= "loglevel:0,1,2,3,4,5 event-on-update-reading event-on-change-reading"; $hash->{AttrList}= "loglevel:0,1,2,3,4,5 ".
$readingFnAttributes;
} }
################################### ###################################
@ -1058,8 +1058,7 @@ sub Calendar_Undef($$) {
<a name="Calendarattr"></a> <a name="Calendarattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br> <br>

View File

@ -83,8 +83,8 @@ Twilight_Initialize($)
$hash->{DefFn} = "Twilight_Define"; $hash->{DefFn} = "Twilight_Define";
$hash->{UndefFn} = "Twilight_Undef"; $hash->{UndefFn} = "Twilight_Undef";
$hash->{GetFn} = "Twilight_Get"; $hash->{GetFn} = "Twilight_Get";
$hash->{AttrList}= "loglevel:0,1,2,3,4,5 event-on-update-reading ". $hash->{AttrList}= "loglevel:0,1,2,3,4,5 ".
"event-on-change-reading"; $readingFnAttributes;
} }
sub sub
@ -413,8 +413,7 @@ Twilight_getWeatherHorizon($)
<a name="Twilightattr"></a> <a name="Twilightattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br> <br>
</ul> </ul>

View File

@ -128,7 +128,8 @@ sub Weather_Initialize($) {
$hash->{UndefFn} = "Weather_Undef"; $hash->{UndefFn} = "Weather_Undef";
$hash->{GetFn} = "Weather_Get"; $hash->{GetFn} = "Weather_Get";
$hash->{SetFn} = "Weather_Set"; $hash->{SetFn} = "Weather_Set";
$hash->{AttrList}= "loglevel:0,1,2,3,4,5 localicons event-on-update-reading event-on-change-reading"; $hash->{AttrList}= "loglevel:0,1,2,3,4,5 localicons ".
$readingFnAttributes;
} }
@ -596,8 +597,7 @@ WeatherAsHtml($)
<a name="Weatherattr"></a> <a name="Weatherattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br> <br>
</ul> </ul>

View File

@ -48,7 +48,8 @@ ECMDDevice_Initialize($)
$hash->{SetFn} = "ECMDDevice_Set"; $hash->{SetFn} = "ECMDDevice_Set";
$hash->{DefFn} = "ECMDDevice_Define"; $hash->{DefFn} = "ECMDDevice_Define";
$hash->{AttrList} = "loglevel:0,1,2,3,4,5"; $hash->{AttrList} = "loglevel:0,1,2,3,4,5 ".
$readingFnAttributes;
} }
################################### ###################################
@ -340,8 +341,7 @@ ECMDDevice_Define($$)
<ul> <ul>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#eventMap">eventMap</a></li> <li><a href="#eventMap">eventMap</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li>
</ul> </ul>
<br><br> <br><br>

View File

@ -61,7 +61,8 @@ YAMAHA_AVR_Initialize($)
$hash->{DefFn} = "YAMAHA_AVR_Define"; $hash->{DefFn} = "YAMAHA_AVR_Define";
$hash->{UndefFn} = "YAMAHA_AVR_Undefine"; $hash->{UndefFn} = "YAMAHA_AVR_Undefine";
$hash->{AttrList} = "do_not_notify:0,1 loglevel:0,1,2,3,4,5 volume-smooth-change:0,1 volume-smooth-time:0,1,2,3,4,5 volume-smooth-steps:1,2,3,4,5,6,7,8,9,10 event-on-update-reading event-on-change-reading"; $hash->{AttrList} = "do_not_notify:0,1 loglevel:0,1,2,3,4,5 volume-smooth-change:0,1 volume-smooth-time:0,1,2,3,4,5 volume-smooth-steps:1,2,3,4,5,6,7,8,9,10 ".
$readingFnAttributes;
} }
################################### ###################################
@ -789,8 +790,7 @@ volume_level</pre>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li><br>
<li><a name="volume-smooth-change">volume-smooth-change</a></li> <li><a name="volume-smooth-change">volume-smooth-change</a></li>
Optional attribute to activate a smooth volume change. Optional attribute to activate a smooth volume change.
<br><br> <br><br>

View File

@ -91,7 +91,8 @@ FB_CALLMONITOR_Initialize($)
$hash->{UndefFn} = "FB_CALLMONITOR_Undef"; $hash->{UndefFn} = "FB_CALLMONITOR_Undef";
$hash->{AttrList}= "do_not_notify:0,1 loglevel:1,2,3,4,5 unique-call-ids:0,1 local-area-code remove-leading-zero:0,1 reverse-search-cache-file reverse-search:all,internal,klicktel.de,dasoertliche.de,search.ch,none reverse-search-cache:0,1 reverse-search-phonebook-file event-on-update-reading event-on-change-reading"; $hash->{AttrList}= "do_not_notify:0,1 loglevel:1,2,3,4,5 unique-call-ids:0,1 local-area-code remove-leading-zero:0,1 reverse-search-cache-file reverse-search:all,internal,klicktel.de,dasoertliche.de,search.ch,none reverse-search-cache:0,1 reverse-search-phonebook-file ".
$readingFnAttributes;
} }
##################################### #####################################
@ -611,8 +612,7 @@ sub FB_CALLMONITOR_loadCacheFile($)
<ul> <ul>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li><br>
<li><a name="reverse-search">reverse-search</a> (all|internal|klicktel.de|dasoertliche.de|search.ch|none)</li> <li><a name="reverse-search">reverse-search</a> (all|internal|klicktel.de|dasoertliche.de|search.ch|none)</li>
Activate the reverse searching of the external number (at dial and call receiving). Activate the reverse searching of the external number (at dial and call receiving).
It is possible to select a specific web service, which should be used for reverse searching. It is possible to select a specific web service, which should be used for reverse searching.
@ -710,8 +710,7 @@ sub FB_CALLMONITOR_loadCacheFile($)
<ul> <ul>
<li><a href="#loglevel">loglevel</a></li> <li><a href="#loglevel">loglevel</a></li>
<li><a href="#do_not_notify">do_not_notify</a></li> <li><a href="#do_not_notify">do_not_notify</a></li>
<li><a href="#event-on-update-reading">event-on-update-reading</a></li> <li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li><a href="#event-on-change-reading">event-on-change-reading</a></li><br>
<li><a name="reverse-search">reverse-search</a> (all|internal|klicktel.de|dasoertliche.de|search.ch|none)</li> <li><a name="reverse-search">reverse-search</a> (all|internal|klicktel.de|dasoertliche.de|search.ch|none)</li>
Aktiviert die R&uuml;ckw&auml;rtssuche der externen Rufnummer der Gegenstelle (bei eingehenden/abgehenden Anrufen). Aktiviert die R&uuml;ckw&auml;rtssuche der externen Rufnummer der Gegenstelle (bei eingehenden/abgehenden Anrufen).
Es ist m&ouml;glich einen bestimmten Suchanbieter zu verwenden, welcher f&uuml;r die R&uuml;ckw&auml;rtssuche verwendet werden soll. Es ist m&ouml;glich einen bestimmten Suchanbieter zu verwenden, welcher f&uuml;r die R&uuml;ckw&auml;rtssuche verwendet werden soll.

View File

@ -39,7 +39,9 @@ structure_Initialize($)
$hash->{NotifyFn} = "structure_Notify"; $hash->{NotifyFn} = "structure_Notify";
$hash->{SetFn} = "structure_Set"; $hash->{SetFn} = "structure_Set";
$hash->{AttrFn} = "structure_Attr"; $hash->{AttrFn} = "structure_Attr";
$hash->{AttrList} = "clientstate_priority clientstate_behavior:relative,absolute loglevel:0,5"; $hash->{AttrList} = "clientstate_priority ".
"clientstate_behavior:relative,absolute loglevel:0,5 ".
$readingFnAttributes;
addToAttrList("structexclude"); addToAttrList("structexclude");
@ -487,6 +489,7 @@ structure_Attr($@)
<a name="structureattr"></a> <a name="structureattr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
<li>structexclude<br> <li>structexclude<br>
exclude the device from set operations, see the set command above.</li> exclude the device from set operations, see the set command above.</li>
</ul> </ul>