diff --git a/fhem/FHEM/72_FRITZBOX.pm b/fhem/FHEM/72_FRITZBOX.pm
index 98764194e..a300f3989 100644
--- a/fhem/FHEM/72_FRITZBOX.pm
+++ b/fhem/FHEM/72_FRITZBOX.pm
@@ -41,7 +41,7 @@ use warnings;
use Blocking;
use HttpUtils;
-my $ModulVersion = "07.50.4";
+my $ModulVersion = "07.50.4a";
my $missingModul = "";
my $missingModulTelnet = "";
my $missingModulWeb = "";
@@ -1386,11 +1386,11 @@ sub FRITZBOX_API_Check_Run($)
if ($response->is_success) {
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->WEBCM", 1;
- FRITZBOX_Log $hash, 4, "DEBUG: API webcm found (".$response->code.").";
+ FRITZBOX_Log $hash, 3, "INFO: API webcm found (".$response->code.").";
}
else {
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->WEBCM", 0;
- FRITZBOX_Log $hash, 3, "INFO: API webcm does not exist (".$response->status_line.")";
+ FRITZBOX_Log $hash, 4, "DEBUG: API webcm does not exist (".$response->status_line.")";
}
# Check if query.lua exists
@@ -1540,7 +1540,7 @@ sub FRITZBOX_API_Check_Run($)
if (!$telnet) {
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->TELNET", 0;
$telnet = undef;
- FRITZBOX_Log $hash, 3, "INFO: No telnet connection available for $host: $!";
+ FRITZBOX_Log $hash, 4, "DEBUG: No telnet connection available for $host: $!";
}
else {
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "->TELNET", 1;
@@ -2433,11 +2433,13 @@ sub FRITZBOX_Readout_Run_Web($)
# xhrId all
# xhr 1 lang de page dslOv xhrId all
- $Tag = int($result->{box_uptimeHours} / 24);
- $Std = int($result->{box_uptimeHours} - (24 * $Tag));
- $Sek = int($result->{box_uptimeHours} * 3600) + $result->{box_uptimeMinutes} * 60;
+ if($result->{box_uptimeHours}) {
+ $Tag = int($result->{box_uptimeHours} / 24);
+ $Std = int($result->{box_uptimeHours} - (24 * $Tag));
+ $Sek = int($result->{box_uptimeHours} * 3600) + $result->{box_uptimeMinutes} * 60;
- FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_uptime", $Sek . " sec = " . $Tag . "T $Std:" . substr("0".$result->{box_uptimeMinutes},-2) . ":00"; #unless((grep { /^(box_uptime)$/ } @reading_list));
+ FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_uptime", $Sek . " sec = " . $Tag . "T $Std:" . substr("0".$result->{box_uptimeMinutes},-2) . ":00"; #unless((grep { /^(box_uptime)$/ } @reading_list));
+ }
if ($result->{box_fwVersion}) {
FRITZBOX_Readout_Add_Reading $hash, \@roReadings, "box_fwVersion", $result->{box_fwVersion}; #unless(grep { /^(box_fwVersion)$/ } @reading_list);
@@ -7558,13 +7560,18 @@ sub FRITZBOX_fritztris($)
alarm1_time - Alarm time of the alarm clock 1
alarm1_wdays - Weekdays of the alarm clock 1
- box_dect - Current state of the DECT base
+ box_cpuTemp - Tempreture of the Fritx!Box CPU
+ box_dect - Current state of the DECT base: activ, inactiv
+ box_dsl_downStream - minimum effective data rate (MBit/s)
+ box_dsl_upStream - minimum effective data rate (MBit/s)
box_fwVersion - Firmware version of the box, if outdated then '(old)' is appended
box_guestWlan - Current state of the guest WLAN
box_guestWlanCount - Number of devices connected to guest WLAN
box_guestWlanRemain - Remaining time until the guest WLAN is switched off
box_ipExtern - Internet IPv4 of the FRITZ!BOX
box_ipv6Extern - Internet IPv6 of the FRITZ!BOX
+ box_ipv6Prefix - Internet IPv6 Prefix of the FRITZ!BOX for the LAN/WLAN
+ box_macFilter_active - Status of the WLAN MAC filter (restrict WLAN access to known WLAN devices)
box_model - FRITZ!BOX model
box_moh - music-on-hold setting
box_model - FRITZ!BOX model
@@ -7578,6 +7585,8 @@ sub FRITZBOX_fritztris($)
box_stdDialPort - standard caller port when using the dial function of the box
box_tr064 - application interface TR-064 (needed by this modul)
box_tr069 - provider remote access TR-069 (safety issue!)
+ box_vdsl_downStreamRate - Current date rate (MBit/s)
+ box_vdsl_upStreamRate - Current date rate (MBit/s)
box_wlanCount - Number of devices connected via WLAN
box_wlan_2.4GHz - Current state of the 2.4 GHz WLAN
box_wlan_5GHz - Current state of the 5 GHz WLAN
@@ -7624,7 +7633,9 @@ sub FRITZBOX_fritztris($)
vpnn - Name of the VPN
vpnn_access_type - access type: User VPN | Lan2Lan | Corporate VPN
vpnn_activated - status if VPN n is active
+ vpnn_connected_since - duaration of the vpn connection n is active
vpnn_remote_ip - IP from client site
+ vpnn_state - not active | ready | none
vpnn_user_connected - status of VPN n connection
sipn_phone-number - Status
@@ -8047,13 +8058,13 @@ sub FRITZBOX_fritztris($)
- enableDectInfo <0 | 1>
+ disableDectInfo <0 | 1>
Schaltet die übernahme von Dect Informatioen aus/ein.
- enableFonInfo <0 | 1>
+ disableFonInfo <0 | 1>
Schaltet die übernahme von Telefon Informatioen aus/ein.
@@ -8127,13 +8138,18 @@ sub FRITZBOX_fritztris($)
alarm1_time - Weckzeit des Weckrufs 1
alarm1_wdays - Wochentage des Weckrufs 1
- box_dect - Aktueller Status des DECT-Basis
+ box_cpuTemp - Temperatur der FritxBox CPU
+ box_dect - Aktueller Status des DECT-Basis: aktiv, inaktiv
+ box_dsl_downStream - Min Effektive Datenrate (MBit/s)
+ box_dsl_upStream - Min Effektive Datenrate (MBit/s)
box_fwVersion - Firmware-Version der Box, wenn veraltet dann wird '(old)' angehangen
box_guestWlan - Aktueller Status des Gäste-WLAN
box_guestWlanCount - Anzahl der Geräte die über das Gäste-WLAN verbunden sind
box_guestWlanRemain - Verbleibende Zeit bis zum Ausschalten des Gäste-WLAN
box_ipExtern - Internet IPv4 der FRITZ!BOX
box_ipv6Extern - Internet IPv6 der FRITZ!BOX
+ box_ipv6Prefix - Internet IPv6 Prefix der FRITZ!BOX für das LAN/WLAN
+ box_macFilter_active - Status des WLAN MAC-Filter (WLAN-Zugang auf die bekannten WLAN-Geräte beschränken)
box_model - FRITZ!BOX-Modell
box_moh - Wartemusik-Einstellung
box_connect - Verbindungsstatus: Unconfigured, Connecting, Authenticating, Connected, PendingDisconnect, Disconnecting, Disconnected
@@ -8146,6 +8162,8 @@ sub FRITZBOX_fritztris($)
box_stdDialPort - Anschluss der geräteseitig von der Wählhilfe genutzt wird
box_tr064 - Anwendungsschnittstelle TR-064 (wird auch von diesem Modul benötigt)
box_tr069 - Provider-Fernwartung TR-069 (sicherheitsrelevant!)
+ box_vdsl_downStreamRate - Aktuelle Datenrate (MBit/s)
+ box_vdsl_upStreamRate - Aktuelle Datenrate (MBit/s)
box_wlanCount - Anzahl der Geräte die über WLAN verbunden sind
box_wlan_2.4GHz - Aktueller Status des 2.4-GHz-WLAN
box_wlan_5GHz - Aktueller Status des 5-GHz-WLAN
@@ -8194,8 +8212,10 @@ sub FRITZBOX_fritztris($)
vpnn - Name des VPN
vpnn_access_type - Verbindungstyp: Benutzer VPN | Netzwert zu Netzwerk | Firmen VPN
- vpnn_activated - Status, ob Benutzer VPN n aktiv ist
+ vpnn_activated - Status, ob VPN n aktiv ist
+ vpnn_connected_sice - Dauer der Verbindung
vpnn_remote_ip - IP der Gegenstelle
+ vpnn_state - not active | ready | none
vpnn_user_connected - Status, ob Benutzer VPN n verbunden ist
sipn_Telefon-Nummer - Status