From d8e37feb9c6238ecfc3ed640b567b2b446163c5c Mon Sep 17 00:00:00 2001 From: jowiemann <> Date: Tue, 9 May 2023 07:54:15 +0000 Subject: [PATCH] 72_FRITZBOX.pm: zwei neue Readings git-svn-id: https://svn.fhem.de/fhem/trunk@27543 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/72_FRITZBOX.pm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/fhem/FHEM/72_FRITZBOX.pm b/fhem/FHEM/72_FRITZBOX.pm index c8d441d38..896ebfe4a 100644 --- a/fhem/FHEM/72_FRITZBOX.pm +++ b/fhem/FHEM/72_FRITZBOX.pm @@ -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($)
  • dectn_model - Model of the DECT device 1
  • dectn_NoRingWithNightSetting - Do not signal any events for the DECT telephone n when the Do Not Disturb feature is active
  • dectn_radio - Current internet radio station ring tone of the DECT device 1
  • -
  • dectn_ringAllowed - Ring times of the DECT telephone n
  • +
  • dectn_NoRingTime - declined ring times of the DECT telephone n

  • diversityn - Own (incoming) phone number of the call diversity 1
  • diversityn_dest - Destination of the call diversity 1
  • @@ -8506,7 +8507,7 @@ sub FRITZBOX_readPassword($)
  • dectn_model - Modell des DECT Telefons n
  • dectn_NoRingWithNightSetting - Bei aktiver Klingelsperre keine Ereignisse signalisieren für das DECT Telefon n
  • dectn_radio - aktueller Internet-Radio-Klingelton des DECT Telefons n
  • -
  • dectn_ringAllowed - Klingelzeiten des DECT Telefons n
  • +
  • dectn_NoRingTime - Klingelsperren des DECT Telefons n

  • diversityn - Eigene Rufnummer der Rufumleitung n
  • diversityn_dest - Zielnummer der Rufumleitung n