mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +00:00
72_FRITZBOX.pm: zwei neue Readings
git-svn-id: https://svn.fhem.de/fhem/trunk@27543 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e2fbd4ae99
commit
73784dc09c
@ -2112,6 +2112,7 @@ sub FRITZBOX_Readout_Run_Web($)
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_custRingToneName", $_->{G722RingToneName} ;
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_imagePath", $_->{ImagePath} ;
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_NoRingWithNightSetting", $_->{NoRingWithNightSetting}, "onoff";
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_NoRingTimeFlags" , $_->{NoRingTimeFlags};
|
||||
if ($_->{NoRingTime}) {
|
||||
my $ringAllowed;
|
||||
if($_->{RingAllowed} eq "1") {
|
||||
@ -2122,14 +2123,14 @@ sub FRITZBOX_Readout_Run_Web($)
|
||||
$ringAllowed = "Mo-Fr";
|
||||
}
|
||||
|
||||
my $allowTime = $_->{NoRingTime};
|
||||
substr($allowTime, 2, 0) = ":";
|
||||
substr($allowTime, 5, 0) = "-";
|
||||
substr($allowTime, 8, 0) = ":";
|
||||
my $NoRingTime = $_->{NoRingTime};
|
||||
substr($NoRingTime, 2, 0) = ":";
|
||||
substr($NoRingTime, 5, 0) = "-";
|
||||
substr($NoRingTime, 8, 0) = ":";
|
||||
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_ringAllowed", $ringAllowed . " " . $allowTime;
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_NoRingTime", $ringAllowed . " " . $NoRingTime;
|
||||
} else {
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_ringAllowed", "Mo-So 00:00-24:00";
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "dect".$runNo."_NoRingTime", "not defined";
|
||||
}
|
||||
|
||||
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "fhem->$intern->id", $id ;
|
||||
@ -7808,7 +7809,7 @@ sub FRITZBOX_readPassword($)
|
||||
<li><b>dect</b><i>n</i><b>_model</b> - Model of the DECT device <i>1</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_NoRingWithNightSetting</b> - Do not signal any events for the DECT telephone <i>n</i> when the Do Not Disturb feature is active</li>
|
||||
<li><b>dect</b><i>n</i><b>_radio</b> - Current internet radio station ring tone of the DECT device <i>1</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_ringAllowed</b> - Ring times of the DECT telephone <i>n</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_NoRingTime</b> - declined ring times of the DECT telephone <i>n</i></li>
|
||||
<br>
|
||||
<li><b>diversity</b><i>n</i> - Own (incoming) phone number of the call diversity <i>1</i></li>
|
||||
<li><b>diversity</b><i>n</i><b>_dest</b> - Destination of the call diversity <i>1</i></li>
|
||||
@ -8506,7 +8507,7 @@ sub FRITZBOX_readPassword($)
|
||||
<li><b>dect</b><i>n</i><b>_model</b> - Modell des DECT Telefons <i>n</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_NoRingWithNightSetting</b> - Bei aktiver Klingelsperre keine Ereignisse signalisieren für das DECT Telefon <i>n</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_radio</b> - aktueller Internet-Radio-Klingelton des DECT Telefons <i>n</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_ringAllowed</b> - Klingelzeiten des DECT Telefons <i>n</i></li>
|
||||
<li><b>dect</b><i>n</i><b>_NoRingTime</b> - Klingelsperren des DECT Telefons <i>n</i></li>
|
||||
<br>
|
||||
<li><b>diversity</b><i>n</i> - Eigene Rufnummer der Rufumleitung <i>n</i></li>
|
||||
<li><b>diversity</b><i>n</i><b>_dest</b> - Zielnummer der Rufumleitung <i>n</i></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user