72_FRITZBOX.pm ab Version 07.57.10

Begonnen von JoWiemann, 05 Januar 2024, 10:39:57

Vorheriges Thema - Nächstes Thema

Maista

#30
Hallo Jörg,

update funktioniert bei mir soweit ich sehen kann.
Welche Readings nun neu sind weis ich nicht ;)

Update: scheint auch zu den Daten in der FB zu passen ;)

Gruss Gerd

bertl

Hallo Jörg,

habe folgende Warnmeldungen beim ersten 'lanDeviceInfo' Aufruf mit der Version 07.57.11b im Logfile bekommen:

2024.02.12 15:34:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 8896.
2024.02.12 15:34:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 8898.

Bitte um Klärung!

Danke, Robert

JoWiemann

Zitat von: bertl am 12 Februar 2024, 17:55:35Hallo Jörg,

habe folgende Warnmeldungen beim ersten 'lanDeviceInfo' Aufruf mit der Version 07.57.11b im Logfile bekommen:

2024.02.12 15:34:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 8896.
2024.02.12 15:34:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 8898.

Bitte um Klärung!

Hallo Robert,

mit der angehängten Version sollte das Problem behoben sein.

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

neobiker

#33
Hallo Jörg,
nach einem 'update' eben und anschliessendem 'shutdown restart'  kam folgendes im Logfile.
2024.02.14 09:36:21 2: [fbox | 6660 | 252.07.57 | open_Web_Connection.9530] - SIGNIFICANT:Web connection could not be established. Please check your credentials (password, user).
2024.02.14 09:36:21 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6050] - BASIC:SID Response -> 1
2024.02.14 09:36:21 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.14 09:36:21 3: [fboxrepeater | 1200 | 268.07.31 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200 boxModelJason:200
2024.02.14 09:38:54 3: [fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 16 tempOffset:-3
2024.02.14 09:38:54 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.14 09:38:54 2: [fbox | 0000 | 252.07.57 | Get_SmartHome_Devices_List.8042] - SIGNIFICANT:evaluating user info -> Unexpected result: $VAR1 = {
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet'
        };

2024.02.14 09:38:54 1: PERL WARNING: Use of uninitialized value $webCmdArray[1] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.14 09:38:54 3: eval: my $EVENT=   $evalSpecials->{'%EVENT'};my $EVTPART0=   $evalSpecials->{'%EVTPART0'};my $EVTPART1=   $evalSpecials->{'%EVTPART1'};my $NAME=   $evalSpecials->{'%NAME'};my $SELF=   $evalSpecials->{'%SELF'};my $TYPE=   $evalSpecials->{'%TYPE'};{ my $tempadjust = (0.0 - (int(0.5 +
          (  ReadingsNum("DG_Heizung","temperature",20.5)
           - ReadingsNum("DG_Heizung","tempadjust",-2.5)
           - ReadingsNum("Wz_Temperatur","temperature",20.5)
          )*2.0)/2.0));;
 if ($tempadjust != ReadingsNum("DG_Heizung","tempadjust",-2.5)) {fhem ("set fbox smartHome 16 tempOffset:" . $tempadjust)}
}

2024.02.14 09:38:54 1: PERL WARNING: Use of uninitialized value $webCmdArray[5] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.14 09:38:54 3: eval: my $EVENT=   $evalSpecials->{'%EVENT'};my $EVTPART0=   $evalSpecials->{'%EVTPART0'};my $EVTPART1=   $evalSpecials->{'%EVTPART1'};my $NAME=   $evalSpecials->{'%NAME'};my $SELF=   $evalSpecials->{'%SELF'};my $TYPE=   $evalSpecials->{'%TYPE'};{ my $tempadjust = (0.0 - (int(0.5 +
          (  ReadingsNum("DG_Heizung","temperature",20.5)
           - ReadingsNum("DG_Heizung","tempadjust",-2.5)
           - ReadingsNum("Wz_Temperatur","temperature",20.5)
          )*2.0)/2.0));;
 if ($tempadjust != ReadingsNum("DG_Heizung","tempadjust",-2.5)) {fhem ("set fbox smartHome 16 tempOffset:" . $tempadjust)}
}

2024.02.14 09:38:54 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
ule_device_name  Offset -3 Error  Info Unexpected result: $VAR1 = {
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet'
        };
 xhr 1 view  apply  lang de page home_auto_hkr_edit
2024.02.14 09:38:54 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.14 09:38:54 3: set fbox smartHome 16 tempOffset:-3 : ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'data' => {}
        };

2024.02.14 09:38:54 3: nWz_Temperatur return value: ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'data' => {}
        };

Ich habe dann einen 'shutdown restart' wiederholt, dann geht es:
2024.02.14 09:57:30 3: [fboxrepeater | 1200 | 268.07.31 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200 boxModelJason:200
2024.02.14 09:57:30 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.14 10:06:54 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 16 tempOffset:-3
2024.02.14 10:06:55 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
SummerStartMonth ...  xhr 1 view  apply  lang de page home_auto_hkr_edit
2024.02.14 10:06:55 3: set fbox smartHome 16 tempOffset:-3 : ID:16 - set offset to:-3
2024.02.14 10:06:55 3: nWz_Temperatur return value: ID:16 - set offset to:-3

juemuc

Hallo neobiker,

das kann ich nicht bestätigen. Bitte verwendete Box und das dazugehörige OS angeben.

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

neobiker

#35
Hallo Jörg,

steht im Log: fbox | 6660 | 252.07.57 -> Cable 6660, OS 7.57.

Sieht so aus, als wäre der Ladeversuch .. read_LuaData.9618 Versuch fehlgeschlagen, dann kommt der Fehler, immer wieder.
Beim nächsten 'restart' von FHEM ging der Versuch durch, und es funktioniert.
Ich denke da muss ein Fehler abgefangen werden, sollte einer auftreten.

[fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
[fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 16 tempOffset:-3
[fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.

Man sieht hier, dass FBox 0000 anstatt 6660 beim read_LuaData angezeigt wird...

[fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
[fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 16 tempOffset:-3

So geht's dann auch.

JoWiemann

Hallo,

ein solches Verhalten wurde schon mal gemeldet. Leider auch nicht reproduzierbar und somit bisher keine Log mit Verbose 4 oder 5. Da ist ein weiteres Fehlerhandling schwierig an der richtigen Stelle einzubauen. Ich gehe aber nochmal durch den Code. Wird aber dauern.

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

neobiker

#37
Ich kann versuchen das zu reproduzieren und den Logmodus auf 4 oder 5 zu setzen.

neobiker

Hallo Jörg,
könntest Du bei Gelegenheit bei den Kabel Informationen Array bitte auch noch die Kanal ID mit ausgeben für Upstream und Downstream?
Weil - die Reihenfolge ist ja nicht aufsteigend und manchmal auch nicht fortlaufend.
Das wäre super, damit man sieht welcher Kanal Probleme macht.

neobiker

#39
Zitat von: neobiker am 14 Februar 2024, 16:15:52Ich kann versuchen das zu reproduzieren und den Logmodus auf 4 oder 5 zu setzen.

Ist da etwas hilfreiches dabei - Loglevel 4
2024.02.17 15:10:51 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Set_check_APIs
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5849] - EXPANDED:API luaQuery found (200).
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5871] - EXPANDED:API luaData found (200).
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5896] - EXPANDED:API TR-064 found.
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | init_TR064.9403] - EXPANDED:Open TR-064 connection and ask for security port
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | init_TR064.9412] - EXPANDED:SecPort-Result $VAR1 = '49443';

2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5902] - EXPANDED:TR-064-SecurePort is 49443.
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5918] - EXPANDED:TR064 returned: <?xml version="1.0"?>
<root xmlns="urn:dslforum-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<systemVersion>
<HW>252</HW>
<Major>252</Major>
<Minor>7</Minor>
<Patch>57</Patch>
<Buildnumber>107842</Buildnumber>
<Display>252.07.57</Display>
</systemVersion>
<device>
<deviceType>urn:dslforum-org:device:InternetGatewayDevice:1</deviceType>
<friendlyName>FRITZ!Box 6660 Cable</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>FRITZ!Box 6660 Cable</modelDescription>
<modelName>FRITZ!Box 6660 Cable</modelName>
<modelNumber>6660 - avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:....</UDN>
<serialNumber>...</serialNumber>
<originUDN></originUDN>
<iconList>
<icon>
<mimetype>image/gif</mimetype>
<width>118</width>
<height>119</height>
<depth>8</depth>
<url>/ligd.gif</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:DeviceInfo:1</serviceType>
<serviceId>urn:DeviceInfo-com:serviceId:DeviceInfo1</serviceId>
<controlURL>/upnp/control/deviceinfo</controlURL>
<eventSubURL>/upnp/control/deviceinfo</eventSubURL>
<SCPDURL>/deviceinfoSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:DeviceConfig:1</serviceType>
<serviceId>urn:DeviceConfig-com:serviceId:DeviceConfig1</serviceId>
<controlURL>/upnp/control/deviceconfig</controlURL>
<eventSubURL>/upnp/control/deviceconfig</eventSubURL>
<SCPDURL>/deviceconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Layer3Forwarding:1</serviceType>
<serviceId>urn:Layer3Forwarding-com:serviceId:Layer3Forwarding1</serviceId>
<controlURL>/upnp/control/layer3forwarding</controlURL>
<eventSubURL>/upnp/control/layer3forwarding</eventSubURL>
<SCPDURL>/layer3forwardingSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANConfigSecurity:1</serviceType>
<serviceId>urn:LANConfigSecurity-com:serviceId:LANConfigSecurity1</serviceId>
<controlURL>/upnp/control/lanconfigsecurity</controlURL>
<eventSubURL>/upnp/control/lanconfigsecurity</eventSubURL>
<SCPDURL>/lanconfigsecuritySCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:ManagementServer:1</serviceType>
<serviceId>urn:ManagementServer-com:serviceId:ManagementServer1</serviceId>
<controlURL>/upnp/control/mgmsrv</controlURL>
<eventSubURL>/upnp/control/mgmsrv</eventSubURL>
<SCPDURL>/mgmsrvSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Time:1</serviceType>
<serviceId>urn:Time-com:serviceId:Time1</serviceId>
<controlURL>/upnp/control/time</controlURL>
<eventSubURL>/upnp/control/time</eventSubURL>
<SCPDURL>/timeSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:UserInterface:1</serviceType>
<serviceId>urn:UserInterface-com:serviceId:UserInterface1</serviceId>
<controlURL>/upnp/control/userif</controlURL>
<eventSubURL>/upnp/control/userif</eventSubURL>
<SCPDURL>/userifSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Storage:1</serviceType>
<serviceId>urn:X_AVM-DE_Storage-com:serviceId:X_AVM-DE_Storage1</serviceId>
<controlURL>/upnp/control/x_storage</controlURL>
<eventSubURL>/upnp/control/x_storage</eventSubURL>
<SCPDURL>/x_storageSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_WebDAVClient:1</serviceType>
<serviceId>urn:X_AVM-DE_WebDAV-com:serviceId:X_AVM-DE_WebDAVClient1</serviceId>
<controlURL>/upnp/control/x_webdav</controlURL>
<eventSubURL>/upnp/control/x_webdav</eventSubURL>
<SCPDURL>/x_webdavSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_UPnP:1</serviceType>
<serviceId>urn:X_AVM-DE_UPnP-com:serviceId:X_AVM-DE_UPnP1</serviceId>
<controlURL>/upnp/control/x_upnp</controlURL>
<eventSubURL>/upnp/control/x_upnp</eventSubURL>
<SCPDURL>/x_upnpSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Speedtest:1</serviceType>
<serviceId>urn:X_AVM-DE_Speedtest-com:serviceId:X_AVM-DE_Speedtest1</serviceId>
<controlURL>/upnp/control/x_speedtest</controlURL>
<eventSubURL>/upnp/control/x_speedtest</eventSubURL>
<SCPDURL>/x_speedtestSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_RemoteAccess:1</serviceType>
<serviceId>urn:X_AVM-DE_RemoteAccess-com:serviceId:X_AVM-DE_RemoteAccess1</serviceId>
<controlURL>/upnp/control/x_remote</controlURL>
<eventSubURL>/upnp/control/x_remote</eventSubURL>
<SCPDURL>/x_remoteSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_MyFritz:1</serviceType>
<serviceId>urn:X_AVM-DE_MyFritz-com:serviceId:X_AVM-DE_MyFritz1</serviceId>
<controlURL>/upnp/control/x_myfritz</controlURL>
<eventSubURL>/upnp/control/x_myfritz</eventSubURL>
<SCPDURL>/x_myfritzSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_VoIP:1</serviceType>
<serviceId>urn:X_VoIP-com:serviceId:X_VoIP1</serviceId>
<controlURL>/upnp/control/x_voip</controlURL>
<eventSubURL>/upnp/control/x_voip</eventSubURL>
<SCPDURL>/x_voipSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_OnTel:1</serviceType>
<serviceId>urn:X_AVM-DE_OnTel-com:serviceId:X_AVM-DE_OnTel1</serviceId>
<controlURL>/upnp/control/x_contact</controlURL>
<eventSubURL>/upnp/control/x_contact</eventSubURL>
<SCPDURL>/x_contactSCPD.xml</SCPDURL>
</service>
<service><serviceType>urn:dslforum-org:service:X_AVM-DE_Dect:1</serviceType><serviceId>urn:X_AVM-DE_Dect-com:serviceId:X_AVM-DE_Dect1</serviceId><controlURL>/upnp/control/x_dect</controlURL><eventSubURL>/upnp/control/x_dect</eventSubURL><SCPDURL>/x_dectSCPD.xml</SCPDURL></service>
<service><serviceType>urn:dslforum-org:service:X_AVM-DE_TAM:1</serviceType><serviceId>urn:X_AVM-DE_TAM-com:serviceId:X_AVM-DE_TAM1</serviceId><controlURL>/upnp/control/x_tam</controlURL><eventSubURL>/upnp/control/x_tam</eventSubURL><SCPDURL>/x_tamSCPD.xml</SCPDURL></service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_AppSetup:1</serviceType>
<serviceId>urn:X_AVM-DE_AppSetup-com:serviceId:X_AVM-DE_AppSetup1</serviceId>
<controlURL>/upnp/control/x_appsetup</controlURL>
<eventSubURL>/upnp/control/x_appsetup</eventSubURL>
<SCPDURL>/x_appsetupSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Homeauto:1</serviceType>
<serviceId>urn:X_AVM-DE_Homeauto-com:serviceId:X_AVM-DE_Homeauto1</serviceId>
<controlURL>/upnp/control/x_homeauto</controlURL>
<eventSubURL>/upnp/control/x_homeauto</eventSubURL>
<SCPDURL>/x_homeautoSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Homeplug:1</serviceType>
<serviceId>urn:X_AVM-DE_Homeplug-com:serviceId:X_AVM-DE_Homeplug1</serviceId>
<controlURL>/upnp/control/x_homeplug</controlURL>
<eventSubURL>/upnp/control/x_homeplug</eventSubURL>
<SCPDURL>/x_homeplugSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Filelinks:1</serviceType>
<serviceId>urn:X_AVM-DE_Filelinks-com:serviceId:X_AVM-DE_Filelinks1</serviceId>
<controlURL>/upnp/control/x_filelinks</controlURL>
<eventSubURL>/upnp/control/x_filelinks</eventSubURL>
<SCPDURL>/x_filelinksSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Auth:1</serviceType>
<serviceId>urn:X_AVM-DE_Auth-com:serviceId:X_AVM-DE_Auth1</serviceId>
<controlURL>/upnp/control/x_auth</controlURL>
<eventSubURL>/upnp/control/x_auth</eventSubURL>
<SCPDURL>/x_authSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_HostFilter:1</serviceType>
<serviceId>urn:X_AVM-DE_HostFilter-com:serviceId:X_AVM-DE_HostFilter1</serviceId>
<controlURL>/upnp/control/x_hostfilter</controlURL>
<eventSubURL>/upnp/control/x_hostfilter</eventSubURL>
<SCPDURL>/x_hostfilterSCPD.xml</SCPDURL>
</service>
<service><serviceType>urn:dslforum-org:service:X_AVM-DE_Media:1</serviceType><serviceId>urn:X_AVM-DE_Media-com:serviceId:X_AVM-DE_Media1</serviceId><controlURL>/upnp/control/x_media</controlURL><eventSubURL>/upnp/control/x_media</eventSubURL><SCPDURL>/x_mediaSCPD.xml</SCPDURL></service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_USPController:1</serviceType>
<serviceId>urn:X_AVM-DE_USPController-com:serviceId:X_AVM-DE_USPController1</serviceId>
<controlURL>/upnp/control/x_uspcontroller</controlURL>
<eventSubURL>/upnp/control/x_uspcontroller</eventSubURL>
<SCPDURL>/x_uspcontrollerSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:LANDevice:1</deviceType>
<friendlyName>LANDevice - FRITZ!Box 6660 Cable</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>LANDevice - FRITZ!Box 6660 Cable</modelDescription>
<modelName>LANDevice - FRITZ!Box 6660 Cable</modelName>
<modelNumber>6660 - avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:....</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WLANConfiguration:1</serviceType>
<serviceId>urn:WLANConfiguration-com:serviceId:WLANConfiguration1</serviceId>
<controlURL>/upnp/control/wlanconfig1</controlURL>
<eventSubURL>/upnp/control/wlanconfig1</eventSubURL>
<SCPDURL>/wlanconfigSCPD.xml</SCPDURL>
</service>
<service><serviceType>urn:dslforum-org:service:WLANConfiguration:2</serviceType><serviceId>urn:WLANConfiguration-com:serviceId:WLANConfiguration2</serviceId><controlURL>/upnp/control/wlanconfig2</controlURL><eventSubURL>/upnp/control/wlanconfig2</eventSubURL><SCPDURL>/wlanconfigSCPD.xml</SCPDURL></service><!-- 2 --><service><serviceType>urn:dslforum-org:service:WLANConfiguration:3</serviceType><serviceId>urn:WLANConfiguration-com:serviceId:WLANConfiguration3</serviceId><controlURL>/upnp/control/wlanconfig3</controlURL><eventSubURL>/upnp/control/wlanconfig3</eventSubURL><SCPDURL>/wlanconfigSCPD.xml</SCPDURL></service>
<service>
<serviceType>urn:dslforum-org:service:Hosts:1</serviceType>
<serviceId>urn:LanDeviceHosts-com:serviceId:Hosts1</serviceId>
<controlURL>/upnp/control/hosts</controlURL>
<eventSubURL>/upnp/control/hosts</eventSubURL>
<SCPDURL>/hostsSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANEthernetInterfaceConfig:1</serviceType>
<serviceId>urn:LANEthernetIfCfg-com:serviceId:LANEthernetInterfaceConfig1</serviceId>
<controlURL>/upnp/control/lanethernetifcfg</controlURL>
<eventSubURL>/upnp/control/lanethernetifcfg</eventSubURL>
<SCPDURL>/ethifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANHostConfigManagement:1</serviceType>
<serviceId>urn:LANHCfgMgm-com:serviceId:LANHostConfigManagement1</serviceId>
<controlURL>/upnp/control/lanhostconfigmgm</controlURL>
<eventSubURL>/upnp/control/lanhostconfigmgm</eventSubURL>
<SCPDURL>/lanhostconfigmgmSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
<device>
<deviceType>urn:dslforum-org:device:WANDevice:1</deviceType>
<friendlyName>WANDevice - FRITZ!Box 6660 Cable</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANDevice - FRITZ!Box 6660 Cable</modelDescription>
<modelName>WANDevice - FRITZ!Box 6660 Cable</modelName>
<modelNumber>6660 - avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:...</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WANCommonInterfaceConfig:1</serviceType>
<serviceId>urn:WANCIfConfig-com:serviceId:WANCommonInterfaceConfig1</serviceId>
<controlURL>/upnp/control/wancommonifconfig1</controlURL>
<eventSubURL>/upnp/control/wancommonifconfig1</eventSubURL>
<SCPDURL>/wancommonifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANDSLInterfaceConfig:1</serviceType>
<serviceId>urn:WANDSLIfConfig-com:serviceId:WANDSLInterfaceConfig1</serviceId>
<controlURL>/upnp/control/wandslifconfig1</controlURL>
<eventSubURL>/upnp/control/wandslifconfig1</eventSubURL>
<SCPDURL>/wandslifconfigSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:WANConnectionDevice:1</deviceType>
<friendlyName>WANConnectionDevice - FRITZ!Box 6660 Cable</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANConnectionDevice - FRITZ!Box 6660 Cable</modelDescription>
<modelName>WANConnectionDevice - FRITZ!Box 6660 Cable</modelName>
<modelNumber>6660 - avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:...</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_WANMobileConnection:1</serviceType>
<serviceId>urn:X_AVM-DE_WANMobileConnection-com:serviceId:X_AVM-DE_WANMobileConnection1</serviceId>
<controlURL>/upnp/control/x_wanmobileconn</controlURL>
<eventSubURL>/upnp/control/x_wanmobileconn</eventSubURL>
<SCPDURL>/x_wanmobileconnSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANDSLLinkConfig:1</serviceType>
<serviceId>urn:WANDSLLinkConfig-com:serviceId:WANDSLLinkConfig1</serviceId>
<controlURL>/upnp/control/wandsllinkconfig1</controlURL>
<eventSubURL>/upnp/control/wandsllinkconfig1</eventSubURL>
<SCPDURL>/wandsllinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANEthernetLinkConfig:1</serviceType>
<serviceId>urn:WANEthernetLinkConfig-com:serviceId:WANEthernetLinkConfig1</serviceId>
<controlURL>/upnp/control/wanethlinkconfig1</controlURL>
<eventSubURL>/upnp/control/wanethlinkconfig1</eventSubURL>
<SCPDURL>/wanethlinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANPPPConnection:1</serviceType>
<serviceId>urn:WANPPPConnection-com:serviceId:WANPPPConnection1</serviceId>
<controlURL>/upnp/control/wanpppconn1</controlURL>
<eventSubURL>/upnp/control/wanpppconn1</eventSubURL>
<SCPDURL>/wanpppconnSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANIPConnection:1</serviceType>
<serviceId>urn:WANIPConnection-com:serviceId:WANIPConnection1</serviceId>
<controlURL>/upnp/control/wanipconnection1</controlURL>
<eventSubURL>/upnp/control/wanipconnection1</eventSubURL>
<SCPDURL>/wanipconnSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
</deviceList>
</device>
</deviceList>
<presentationURL>http://fritz.box</presentationURL>
</device>
</root>

2024.02.17 15:10:52 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9501] - EXPANDED:renewing SID while: SID:  timed out
2024.02.17 15:10:52 4: [fbox | 6660 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 15:10:52 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9520] - EXPANDED:fhem2
2024.02.17 15:10:52 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9521] - EXPANDED:getting new SID
2024.02.17 15:10:52 2: [fbox | 6660 | 252.07.57 | open_Web_Connection.9530] - SIGNIFICANT:Web connection could not be established. Please check your credentials (password, user).
2024.02.17 15:10:52 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6050] - BASIC:SID Response -> 1
2024.02.17 15:10:52 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.17 15:10:52 4: [fbox | 6660 | 252.07.57 | Set_check_APIs.6062] - EXPANDED:Captured 14 values
2024.02.17 15:10:52 4: [fbox | 0000 | 252.07.57 | Readout_Process.5199] - EXPANDED:Reset SID
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.2918] - EXPANDED:Prepare query string for luaQuery.
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3032] - EXPANDED:ReadOut gestartet: &radio=configd:settings/WEBRADIO/list(Name)&box_dect=dect:settings/enabled&handsetCount=dect:settings/Handset/count&handset=dect:settings/Handset/list(User,Manufacturer,Model,FWVersion,Productname)&wlanList=wlan:settings/wlanlist/list(mac,speed,speed_rx,rssi,is_guest)&wlanListNew=wlan:settings/wlanlist/list(mac,speed,rssi)&lanDevice=landevice:settings/landevice/list(mac,ip,ethernet,ethernet_port,ethernetport,guest,name,active,online,wlan,speed,UID)&lanDeviceNew=landevice:settings/landevice/list(mac,ip,ethernet,guest,name,active,online,wlan,speed,UID)&init=telcfg:settings/Foncontrol&box_stdDialPort=telcfg:settings/DialPort&dectUser=telcfg:settings/Foncontrol/User/list(Id,Name,Intern,IntRingTone,AlarmRingTone0,RadioRingID,ImagePath,G722RingTone,G722RingToneName,NoRingTime,RingAllowed,NoRingTimeFlags,NoRingWithNightSetting)&fonPort=telcfg:settings/MSN/Port/list(Name,MSN)&diversity=telcfg:settings/Diversity/list(MSN,Active,Destination)&box_moh=telcfg:settings/MOHType&box_uptimeHours=uimodlogic:status/uptime_hours&box_uptimeMinutes=uimodlogic:status/uptime_minutes&box_fwVersion=logic:status/nspver&box_fwVersion_neu=uimodlogic:status/nspver&box_powerRate=power:status/rate_sumact&tam=tam:settings/TAM/list(Name,Display,Active,NumNewMessages,NumOldMessages)&box_cpuTemp=power:status/act_temperature&box_tr064=tr064:settings/enabled&box_tr069=tr069:settings/enabled&box_upnp=box:settings/upnp_activated&box_upnpCtrl=box:settings/upnp_control_activated&box_fwUpdate=updatecheck:status/update_available_hint&is_double_wlan=wlan:settings/feature_flags/DBDC&box_wlan_24GHz=wlan:settings/ap_enabled&box_wlan_5GHz=wlan:settings/ap_enabled_scnd&box_guestWlan=wlan:settings/guest_ap_enabled&box_guestWlanRemain=wlan:settings/guest_time_remain&box_macFilter_active=wlan:settings/is_macfilter_active&TodayBytesReceivedHigh=inetstat:status/Today/BytesReceivedHigh&TodayBytesReceivedLow=inetstat:status/Today/BytesReceivedLow&TodayBytesSentHigh=inetstat:status/Today/BytesSentHigh&TodayBytesSentLow=inetstat:status/Today/BytesSentLow&GSM_RSSI=gsm:settings/RSSI&GSM_NetworkState=gsm:settings/NetworkState&GSM_AcT=gsm:settings/AcT&UMTS_enabled=umts:settings/enabled&userTicket=userticket:settings/ticket/list(id)&dslStatGlobalIn=dslstatglobal:status/in&dslStatGlobalOut=dslstatglobal:status/out
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9501] - EXPANDED:renewing SID while: SID:  timed out
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9520] - EXPANDED:fhem2
2024.02.17 15:11:56 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9521] - EXPANDED:getting new SID
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9525] - EXPANDED:Web session opened with sid a1ca43f13deaf7d4
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | call_Lua_Query.9555] - EXPANDED:Request data via API luaQuery
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3272] - EXPANDED:sip for box-model: 6660
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.4643] - EXPANDED:wrong Fritz!OS: 07.57 or data.lua not available
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.5053] - EXPANDED:TR064: -1 or secure Port:none not available or wrong Fritz!OS: 07.57.
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.5070] - EXPANDED:Captured 392 values
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | Readout_Process.5394] - EXPANDED:TR-064 is switched on
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | init_TR064.9403] - EXPANDED:Open TR-064 connection and ask for security port
2024.02.17 15:11:57 4: [fbox | 0000 | 252.07.57 | init_TR064.9412] - EXPANDED:SecPort-Result $VAR1 = '49443';

2024.02.17 15:16:56 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
2024.02.17 15:16:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.2918] - EXPANDED:Prepare query string for luaQuery.
2024.02.17 15:16:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3032] - EXPANDED:ReadOut gestartet: &radio=configd:settings/WEBRADIO/list(Name)&box_dect=dect:settings/enabled&handsetCount=dect:settings/Handset/count&handset=dect:settings/Handset/list(User,Manufacturer,Model,FWVersion,Productname)&wlanList=wlan:settings/wlanlist/list(mac,speed,speed_rx,rssi,is_guest)&wlanListNew=wlan:settings/wlanlist/list(mac,speed,rssi)&lanDevice=landevice:settings/landevice/list(mac,ip,ethernet,ethernet_port,ethernetport,guest,name,active,online,wlan,speed,UID)&lanDeviceNew=landevice:settings/landevice/list(mac,ip,ethernet,guest,name,active,online,wlan,speed,UID)&init=telcfg:settings/Foncontrol&box_stdDialPort=telcfg:settings/DialPort&dectUser=telcfg:settings/Foncontrol/User/list(Id,Name,Intern,IntRingTone,AlarmRingTone0,RadioRingID,ImagePath,G722RingTone,G722RingToneName,NoRingTime,RingAllowed,NoRingTimeFlags,NoRingWithNightSetting)&fonPort=telcfg:settings/MSN/Port/list(Name,MSN)&diversity=telcfg:settings/Diversity/list(MSN,Active,Destination)&box_moh=telcfg:settings/MOHType&box_uptimeHours=uimodlogic:status/uptime_hours&box_uptimeMinutes=uimodlogic:status/uptime_minutes&box_fwVersion=logic:status/nspver&box_fwVersion_neu=uimodlogic:status/nspver&box_powerRate=power:status/rate_sumact&tam=tam:settings/TAM/list(Name,Display,Active,NumNewMessages,NumOldMessages)&box_cpuTemp=power:status/act_temperature&box_tr064=tr064:settings/enabled&box_tr069=tr069:settings/enabled&box_upnp=box:settings/upnp_activated&box_upnpCtrl=box:settings/upnp_control_activated&box_fwUpdate=updatecheck:status/update_available_hint&is_double_wlan=wlan:settings/feature_flags/DBDC&box_wlan_24GHz=wlan:settings/ap_enabled&box_wlan_5GHz=wlan:settings/ap_enabled_scnd&box_guestWlan=wlan:settings/guest_ap_enabled&box_guestWlanRemain=wlan:settings/guest_time_remain&box_macFilter_active=wlan:settings/is_macfilter_active&TodayBytesReceivedHigh=inetstat:status/Today/BytesReceivedHigh&TodayBytesReceivedLow=inetstat:status/Today/BytesReceivedLow&TodayBytesSentHigh=inetstat:status/Today/BytesSentHigh&TodayBytesSentLow=inetstat:status/Today/BytesSentLow&GSM_RSSI=gsm:settings/RSSI&GSM_NetworkState=gsm:settings/NetworkState&GSM_AcT=gsm:settings/AcT&UMTS_enabled=umts:settings/enabled&userTicket=userticket:settings/ticket/list(id)&dslStatGlobalIn=dslstatglobal:status/in&dslStatGlobalOut=dslstatglobal:status/out
2024.02.17 15:16:56 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 15:11:57
2024.02.17 15:16:56 4: [fbox | 0000 | 252.07.57 | call_Lua_Query.9555] - EXPANDED:Request data via API luaQuery
2024.02.17 15:16:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3272] - EXPANDED:sip for box-model: 6660
2024.02.17 15:16:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.4643] - EXPANDED:wrong Fritz!OS: 07.57 or data.lua not available
2024.02.17 15:16:57 4: [fbox | 0000 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 15:16:57 4: [fbox | 0000 | 252.07.57 | call_TR064_Cmd.9257] - EXPANDED:TR064 error 401:Invalid Action (service='WANPPPConnection:1', control='wanpppconn1', action='GetInfo')
2024.02.17 15:16:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.4879] - EXPANDED:wanpppconn GetInfo ->
$VAR1 = {
          'UPnPError' => {
                           'errorCode' => '401',
                           'errorDescription' => 'Invalid Action'
                         }
        };

2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewConnectionStatus>Connected</NewConnectionStatus>
<NewLastConnectionError>ERROR_NONE</NewLastConnectionError>
<NewUptime>3538333</NewUptime>
</u:GetStatusInfoResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetExternalIPAddressResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPAddress>....</NewExternalIPAddress>
</u:GetExternalIPAddressResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_AVM_DE_GetExternalIPv6AddressResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPv6Address>::</NewExternalIPv6Address>
<NewPrefixLength>0</NewPrefixLength>
<NewValidLifetime>0</NewValidLifetime>
<NewPreferedLifetime>0</NewPreferedLifetime>
</u:X_AVM_DE_GetExternalIPv6AddressResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_AVM_DE_GetIPv6PrefixResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewIPv6Prefix>::</NewIPv6Prefix>
<NewPrefixLength>0</NewPrefixLength>
<NewValidLifetime>0</NewValidLifetime>
<NewPreferedLifetime>0</NewPreferedLifetime>
</u:X_AVM_DE_GetIPv6PrefixResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:16:59 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetCommonLinkPropertiesResponse xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1">
<NewWANAccessType>Cable</NewWANAccessType>
<NewLayer1UpstreamMaxBitRate>20889000</NewLayer1UpstreamMaxBitRate>
<NewLayer1DownstreamMaxBitRate>104448000</NewLayer1DownstreamMaxBitRate>
<NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus>
</u:GetCommonLinkPropertiesResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:16:59 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.5070] - EXPANDED:Captured 400 values
2024.02.17 15:19:18 3: [fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-2
2024.02.17 15:19:18 4: [fbox | 0000 | 252.07.57 | Get_SmartHome_Devices_List.8026] - EXPANDED:FRITZBOX_SmartHome_Device_List (Fritz!OS: 07.57)
2024.02.17 15:19:18 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.17 15:19:18 2: [fbox | 0000 | 252.07.57 | Get_SmartHome_Devices_List.8042] - SIGNIFICANT:evaluating user info -> Unexpected result: $VAR1 = {
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet'
        };

2024.02.17 15:19:18 1: PERL WARNING: Use of uninitialized value $webCmdArray[1] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.17 15:19:18 3: eval: my $EVENT=   $evalSpecials->{'%EVENT'};my $EVTPART0=   $evalSpecials->{'%EVTPART0'};my $EVTPART1=   $evalSpecials->{'%EVTPART1'};my $NAME=   $evalSpecials->{'%NAME'};my $SELF=   $evalSpecials->{'%SELF'};my $TYPE=   $evalSpecials->{'%TYPE'};{ my $tempadjust = (0.0 - (int(0.25 +
          (  ReadingsNum("Wz_Heizung","temperature",20.5)
           - ReadingsNum("Wz_Heizung","tempadjust",-2.5)
           - ReadingsNum("Sensor1","temperature",20.5)
          )*2.0)/2.0));;
 if ($tempadjust != ReadingsNum("Wz_Heizung","tempadjust",-2.5)) {fhem ("set fbox smartHome 17 tempOffset:" . $tempadjust)}
}
2024.02.17 15:19:18 1: PERL WARNING: Use of uninitialized value $webCmdArray[3] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.17 15:19:18 3: eval: my $EVENT=   $evalSpecials->{'%EVENT'};my $EVTPART0=   $evalSpecials->{'%EVTPART0'};my $EVTPART1=   $evalSpecials->{'%EVTPART1'};my $NAME=   $evalSpecials->{'%NAME'};my $SELF=   $evalSpecials->{'%SELF'};my $TYPE=   $evalSpecials->{'%TYPE'};{ my $tempadjust = (0.0 - (int(0.25 +
          (  ReadingsNum("Wz_Heizung","temperature",20.5)
           - ReadingsNum("Wz_Heizung","tempadjust",-2.5)
           - ReadingsNum("Sensor1","temperature",20.5)
          )*2.0)/2.0));;
 if ($tempadjust != ReadingsNum("Wz_Heizung","tempadjust",-2.5)) {fhem ("set fbox smartHome 17 tempOffset:" . $tempadjust)}
}
2024.02.17 15:19:18 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
ule_device_name  Error  Offset -2 Info Unexpected result: $VAR1 = {
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet'
        };
 xhr 1 view  apply  lang de page home_auto_hkr_edit
2024.02.17 15:19:18 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.17 15:19:18 3: set fbox smartHome 17 tempOffset:-2 : ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'data' => {}
        };

2024.02.17 15:19:18 3: nWz_Sensor return value: ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'data' => {}
        };

2024.02.17 15:21:56 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
2024.02.17 15:21:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.2918] - EXPANDED:Prepare query string for luaQuery.
2024.02.17 15:21:56 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3032] - EXPANDED:ReadOut gestartet: &radio=configd:settings/WEBRADIO/list(Name)&box_dect=dect:settings/enabled&handsetCount=dect:settings/Handset/count&handset=dect:settings/Handset/list(User,Manufacturer,Model,FWVersion,Productname)&wlanList=wlan:settings/wlanlist/list(mac,speed,speed_rx,rssi,is_guest)&wlanListNew=wlan:settings/wlanlist/list(mac,speed,rssi)&lanDevice=landevice:settings/landevice/list(mac,ip,ethernet,ethernet_port,ethernetport,guest,name,active,online,wlan,speed,UID)&lanDeviceNew=landevice:settings/landevice/list(mac,ip,ethernet,guest,name,active,online,wlan,speed,UID)&init=telcfg:settings/Foncontrol&box_stdDialPort=telcfg:settings/DialPort&dectUser=telcfg:settings/Foncontrol/User/list(Id,Name,Intern,IntRingTone,AlarmRingTone0,RadioRingID,ImagePath,G722RingTone,G722RingToneName,NoRingTime,RingAllowed,NoRingTimeFlags,NoRingWithNightSetting)&fonPort=telcfg:settings/MSN/Port/list(Name,MSN)&diversity=telcfg:settings/Diversity/list(MSN,Active,Destination)&box_moh=telcfg:settings/MOHType&box_uptimeHours=uimodlogic:status/uptime_hours&box_uptimeMinutes=uimodlogic:status/uptime_minutes&box_fwVersion=logic:status/nspver&box_fwVersion_neu=uimodlogic:status/nspver&box_powerRate=power:status/rate_sumact&tam=tam:settings/TAM/list(Name,Display,Active,NumNewMessages,NumOldMessages)&box_cpuTemp=power:status/act_temperature&box_tr064=tr064:settings/enabled&box_tr069=tr069:settings/enabled&box_upnp=box:settings/upnp_activated&box_upnpCtrl=box:settings/upnp_control_activated&box_fwUpdate=updatecheck:status/update_available_hint&is_double_wlan=wlan:settings/feature_flags/DBDC&box_wlan_24GHz=wlan:settings/ap_enabled&box_wlan_5GHz=wlan:settings/ap_enabled_scnd&box_guestWlan=wlan:settings/guest_ap_enabled&box_guestWlanRemain=wlan:settings/guest_time_remain&box_macFilter_active=wlan:settings/is_macfilter_active&TodayBytesReceivedHigh=inetstat:status/Today/BytesReceivedHigh&TodayBytesReceivedLow=inetstat:status/Today/BytesReceivedLow&TodayBytesSentHigh=inetstat:status/Today/BytesSentHigh&TodayBytesSentLow=inetstat:status/Today/BytesSentLow&GSM_RSSI=gsm:settings/RSSI&GSM_NetworkState=gsm:settings/NetworkState&GSM_AcT=gsm:settings/AcT&UMTS_enabled=umts:settings/enabled&userTicket=userticket:settings/ticket/list(id)&dslStatGlobalIn=dslstatglobal:status/in&dslStatGlobalOut=dslstatglobal:status/out
2024.02.17 15:21:56 4: [fbox | 0000 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 15:16:59
2024.02.17 15:21:56 4: [fbox | 0000 | 252.07.57 | call_Lua_Query.9555] - EXPANDED:Request data via API luaQuery
2024.02.17 15:21:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.3272] - EXPANDED:sip for box-model: 6660
2024.02.17 15:21:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.4643] - EXPANDED:wrong Fritz!OS: 07.57 or data.lua not available
2024.02.17 15:21:57 4: [fbox | 0000 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 15:21:57 4: [fbox | 0000 | 252.07.57 | call_TR064_Cmd.9257] - EXPANDED:TR064 error 401:Invalid Action (service='WANPPPConnection:1', control='wanpppconn1', action='GetInfo')
2024.02.17 15:21:57 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.4879] - EXPANDED:wanpppconn GetInfo ->
$VAR1 = {
          'UPnPError' => {
                           'errorDescription' => 'Invalid Action',
                           'errorCode' => '401'
                         }
        };

2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewConnectionStatus>Connected</NewConnectionStatus>
<NewLastConnectionError>ERROR_NONE</NewLastConnectionError>
<NewUptime>3538633</NewUptime>
</u:GetStatusInfoResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetExternalIPAddressResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPAddress>....</NewExternalIPAddress>
</u:GetExternalIPAddressResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_AVM_DE_GetExternalIPv6AddressResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPv6Address>::</NewExternalIPv6Address>
<NewPrefixLength>0</NewPrefixLength>
<NewValidLifetime>0</NewValidLifetime>
<NewPreferedLifetime>0</NewPreferedLifetime>
</u:X_AVM_DE_GetExternalIPv6AddressResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:X_AVM_DE_GetIPv6PrefixResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewIPv6Prefix>::</NewIPv6Prefix>
<NewPrefixLength>0</NewPrefixLength>
<NewValidLifetime>0</NewValidLifetime>
<NewPreferedLifetime>0</NewPreferedLifetime>
</u:X_AVM_DE_GetIPv6PrefixResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:21:59 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetCommonLinkPropertiesResponse xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1">
<NewWANAccessType>Cable</NewWANAccessType>
<NewLayer1UpstreamMaxBitRate>20889000</NewLayer1UpstreamMaxBitRate>
<NewLayer1DownstreamMaxBitRate>104448000</NewLayer1DownstreamMaxBitRate>
<NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus>
</u:GetCommonLinkPropertiesResponse>
</s:Body>
</s:Envelope>
2024.02.17 15:21:59 4: [fbox | 0000 | 252.07.57 | Readout_Run_Web.5070] - EXPANDED:Captured 396 values
2024.02.17 15:22:15 3: [fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-2
2024.02.17 15:22:15 4: [fbox | 0000 | 252.07.57 | Get_SmartHome_Devices_List.8026] - EXPANDED:FRITZBOX_SmartHome_Device_List (Fritz!OS: 07.57)
2024.02.17 15:22:15 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.17 15:22:15 2: [fbox | 0000 | 252.07.57 | Get_SmartHome_Devices_List.8042] - SIGNIFICANT:evaluating user info -> Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated'
        };

2024.02.17 15:22:15 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
Error  ule_device_name  Offset -2 Info Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated'
        };
 xhr 1 view  apply  lang de page home_auto_hkr_edit
2024.02.17 15:22:15 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.17 15:22:15 3: set fbox smartHome 17 tempOffset:-2 : ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'data' => {},
          'Info' => 'Fritz!Box or Fritz!OS outdated'
        };

2024.02.17 15:22:15 3: nWz_Sensor return value: ERROR: Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'data' => {},
          'Info' => 'Fritz!Box or Fritz!OS outdated'
        };

2024.02.17 15:24:01 3: [fbox | 0000 | none | dbgLogInit.427] - BASIC:redirection debugLog: ./log/fbox_debugLog-%Y-%m.dlog started
2024.02.17 15:25:19 3: set fbox smartHome 17 tempOffset:-2 : ID:17 - set offset to:-2
2024.02.17 15:25:19 3: nWz_Sensor return value: ID:17 - set offset to:-2
2024.02.17 15:28:11 3: set fbox smartHome 17 tempOffset:-2 : ID:17 - set offset to:-2
2024.02.17 15:28:11 3: nWz_Sensor return value: ID:17 - set offset to:-2
2024.02.17 15:28:38 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.17 15:37:00 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-2.5
2024.02.17 15:37:01 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
WindowOpenTrigger 0 SummerEnabled 0 ... view  apply  lang de page home_auto_hkr_edit
2024.02.17 15:37:02 3: set fbox smartHome 17 tempOffset:-2.5 : ID:17 - set offset to:-2.5
2024.02.17 15:37:02 3: nWz_Sensor return value: ID:17 - set offset to:-2.5

JoWiemann

Zitat von: neobiker am 17 Februar 2024, 15:19:52Ist da etwas hilfreiches dabei - Loglevel 4
2024.02.17 15:10:51 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Set_check_APIs
...


Hallo neobiker,

ich habe noch einiges geändert und im Ablauf ergänzt. Wäre schön, wenn Du noch einmal testen würdest.

Danke und Grüße

Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

juemuc

Hallo Jörg,

mein Test war erfolgreich. Keine Auffälligkeiten.
Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

JoWiemann

Zitat von: juemuc am 20 Februar 2024, 10:51:25Hallo Jörg,

mein Test war erfolgreich. Keine Auffälligkeiten.
Viele Grüße
Jürgen

Hallo Jürgen,

vielen Dank und Grüße

Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

neobiker

#43
Hallo Jörg,

ZitatHallo neobiker,

ich habe noch einiges geändert und im Ablauf ergänzt. Wäre schön, wenn Du noch einmal testen würdest.

Danke und Grüße

Jörg

habe das eben mal installiert, ist schon mal problemlos gestartet.
2024.02.22 19:09:00 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6116] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.22 19:19:29 3: [fbox | 6660 | 252.07.57 | Set.1083] - BASIC:set fbox smartHome 17 tempOffset:-3.5
2024.02.22 19:19:30 3: [fbox | 6660 | 252.07.57 | Set.1173] - BASIC:set fbox smartHome

Gruss
Neobiker

neobiker

So, habe doch wieder eine Fehlermeldung bekommen  :(
2024.02.26 11:17:14 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.26 11:17:14 3: set fbox smartHome 17 tempOffset:-1 : ERROR: Unexpected result: $VAR1 = {
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet',
          'data' => {}
        };