2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 19:36:02 +00:00

commandref_de

git-svn-id: https://svn.fhem.de/fhem/trunk@4791 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2014-02-02 11:13:46 +00:00
parent 6fb39a4c61
commit fd8dd6c26e
3 changed files with 31 additions and 6 deletions

View File

@ -1290,8 +1290,8 @@ sub ENIGMA2_Set($@) {
return
"Argument "
. $_
. " is not a valid integer between 0 and 49680"
if ( !m/^\d+$/ || $_ < 0 || $_ > 49680 );
. " is not a valid integer between 5 and 49680"
if ( !m/^\d+$/ || $_ < 5 || $_ > 49680 );
my $i = 4;
my $text = $a[$i];
@ -2660,4 +2660,12 @@ sub ENIGMA2_GetRemotecontrolCommand($) {
</ul>
=end html
=begin html_DE
Deutsche Version der Doku nicht verfügbar. Englische Version unter
<a href='http://fhem.de/commandref.html#ENIGMA2>'>ENIGMA2</a> &nbsp;
=end html_DE
=cut

View File

@ -94,7 +94,7 @@ sub ONKYO_AVR_GetStatus($;$) {
return $hash->{STATE};
}
InternalTimer( gettimeofday() + $interval, "ONKYO_AVR_GetStatus", $hash, 0 )
InternalTimer( gettimeofday() + $interval, "ONKYO_AVR_GetStatus", $hash, 1 )
unless ( $local == 1 );
# cache XML device information
@ -1068,7 +1068,7 @@ sub ONKYO_AVR_Set($@) {
readingsEndUpdate( $hash, 1 );
# Re-start internal timer
InternalTimer( gettimeofday() + $interval, "ONKYO_AVR_GetStatus", $hash, 0 )
InternalTimer( gettimeofday() + $interval, "ONKYO_AVR_GetStatus", $hash, 1 )
if ( $a[1] ne "?" );
# return result
@ -1121,8 +1121,11 @@ sub ONKYO_AVR_Define($$) {
return "Invalid protocol, choose one of 2013 pre2013";
}
readingsSingleUpdate( $hash, "deviceyear", $protocol, 1 );
if ( $protocol eq "pre2013" && !exists( $attr{$name}{model} )
if (
$protocol eq "pre2013"
&& ( !exists( $attr{$name}{model} )
|| $attr{$name}{model} ne $protocol )
)
{
$attr{$name}{model} = $protocol;
}
@ -1714,4 +1717,11 @@ sub ONKYO_AVR_RClayout() {
</ul>
=end html
=begin html_DE
Deutsche Version der Doku nicht verfügbar. Englische Version unter
<a href='http://fhem.de/commandref.html#ONKYO_AVR>'>ONKYO_AVR</a> &nbsp;
=end html_DE
=cut

View File

@ -412,4 +412,11 @@ sub GEOFANCY_CGI() {
</ul>
=end html
=begin html_DE
Deutsche Version der Doku nicht verfügbar. Englische Version unter
<a href='http://fhem.de/commandref.html#GEOFANCY>'>GEOFANCY</a> &nbsp;
=end html_DE
=cut