72_FRITZBOX.pm ab Version 07.57.10

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

Vorheriges Thema - Nächstes Thema

JoWiemann

Hallo,

anbei einen neue Beta für Euch zum Testen:

- fast alle Sub in der Namensgebung vereinheitlich um das Modul wartbarer zu machen
- die Fehlerbehandlung vereinheitlicht und hoffentlich besser Strukturiert.
- bei einem Aufruf luaData kann ein ; durch #x003B maskiert werden.

Vielen Dank für Eure Unterstützung

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,

bei mir bisher keine Auffälligkeiten.

Viele Grüß
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).

rico5588

Hallo Jörg,
sieht erstmal gut aus.
(Im Test mit Firewall an.)
Ich habe jetzt folgende Meldung erhalten.
Error: Timeout when reading Fritz!Box data. 285 | BlockingKillFhem war dann auch kurz nicht zu erreichen.
Nach einer Weile kommt dann.
cannot connect due to network error 500Ich denke so war das gedacht. Oder?
Danach (ca. 5-10 Minuten) werden dann alle Werte geladen und im state steht
WLAN: on gWLAN: onFür einen Langzeittest habe ich gerade keine Befürworter in den eigenen Reihen😒
Gruß Rico
Geht nicht gibt's nicht.
NUC-I3+Proxmox, Fritzbox 7590 AX, Synology DS414
Dimplex Wärmepumpe, Lüftungsanlage, Solarlog 1200
HM,IT,Lacross,EspEasy,Modbus,MQTT2, Freund von Shelly

StefanG

#3
Hallo Jörg,

danke für das Update!

Ich bekomme seit dem gestrigen Update auf Version "07.57.02" nun folgende Fehlermeldungen für einen Fritz-WLAN-Repeater 450e:

2024-01-20_23:52:45 FBWLAN450E retStat_lastReadout: undefined situation
2024-01-20_23:52:45 FBWLAN450E undefined situation

2024.01.20 23:51:40.541 3: [FBWLAN450E | 0000 | 128.07.15 | Set_check_APIs.5473] - BASIC:API luaQuery call responded with: 403 Forbidden
2024.01.20 23:51:40.708 3: [FBWLAN450E | 0000 | 128.07.15 | Set_check_APIs.5496] - BASIC:API luaData call responded with: 403 Forbidden
2024.01.20 23:51:41.107 3: [FBWLAN450E | 450 | 128.07.15 | Set_check_APIs.5681] - BASIC:Response -> luaQuery:403 luaData:403 TR064:200 boxModelJason:200
2024.01.20 23:51:41.465 3: [FB7530 | 7530 | 256.07.57 | Set_check_APIs.5681] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.01.20 23:51:42.169 3: [FBWLAN1200 | 1200 | 172.07.57 | Set_check_APIs.5681] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200 boxModelJason:200
2024.01.20 23:51:42.386 3: [FB4040 | 4040 | 155.07.57 | Set_check_APIs.5681] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.01.20 23:52:45.783 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation
2024.01.20 23:53:45.779 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation
2024.01.20 23:54:45.796 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation
2024.01.20 23:55:45.802 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation
2024.01.20 23:56:45.799 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation
2024.01.20 23:57:45.805 2: [FBWLAN450E | 450 | 128.07.15 | Readout_Response.4762] - SIGNIFICANT:undefined situation

Internals:
  APICHECKED 1
  APICHECK_RET_CODES Ok
  DEBUGLOG  OFF
  DEF        192.168.0.9
  FUUID      64348d4b-f33f-d238-b931-1889cc5ec3341e4e
  HOST      192.168.0.9
  INTERVAL  60
  LUADATA    1
  LUAQUERY  1
  MODEL      FRITZ!WLAN Repeater 450E
  NAME      FBWLAN450E
  NR        100
  NTFY_ORDER 50-FBWLAN450E
  SECPORT    49443
  SID_RENEW_CNT 901
  SID_RENEW_ERR_CNT 0
  STATE      2.4G on, Gast on
  TIMEOUT    55
  TR064      1
  TYPE      FRITZBOX
  UPNP      -1
  VERSION    07.57.02
  _BETA      0
  eventCount 913
  READINGS:
    2024-01-20 23:50:53  box_cpuTemp    0
    2024-01-20 23:51:41  box_fwVersion  128.07.15
    2024-01-21 07:23:44  box_guestWlan  on
    2024-01-20 23:50:53  box_guestWlanCount 0
    2024-01-21 07:23:44  box_guestWlanRemain -1
    2024-01-21 07:23:44  box_macFilter_active on
    2024-01-20 23:51:41  box_model      FRITZ!WLAN Repeater 450E [avm]
    2024-01-20 23:50:53  box_powerRate  56
    2024-01-20 23:50:53  box_tr064      on
    2024-01-20 23:50:53  box_tr069      off
    2024-01-20 23:50:53  box_upnp        non-emu
    2024-01-20 23:50:53  box_upnp_control_activated non-emu
    2024-01-20 23:50:53  box_uptime      946020 sec = 10T 22:47:00
    2023-11-26 00:34:16  box_wlanCount  0
    2024-01-21 07:23:44  box_wlan_2.4GHz on
    2024-01-21 07:23:44  box_wlan_5GHz  off
    2024-01-20 23:50:53  box_wlan_Count  0
    2023-11-26 00:34:16  lastReadout    84 values captured in 0.38 s
    2024-01-20 23:50:53  mac_3C_37_12_82_C8_6F PC-192-168-0-1 [landevice6527] (LAN:1: 1 Gbit/s)
    2024-01-20 23:50:53  mac_7C_C2_C6_48_08_04 PC-192-168-179-10 [landevice127189]
    2024-01-20 23:50:53  mac_7C_FF_4D_A2_36_7D FritzRepeater450Wien [landevice6533]
    2024-01-20 23:50:53  mac_AC_41_6A_C4_A0_15 PC-192-168-179-6 [landevice129599]
    2024-01-21 14:52:50  retStat_lastReadout undefined situation
    2024-01-21 14:52:50  state          undefined situation
  fhem:
    LOCAL      0
    definedHost 192.168.0.9
    is_double_wlan -1
    sid        a74cdc3cbc81d041
    sidErrCount 0
    sidNewCount 1
    sidTime    1705818224.87015
  helper:
    FhemLog3Std 0
    TimerCmd  FBWLAN450E.Cmd
    TimerReadout FBWLAN450E.Readout
    debugLog  FBWLAN450E_debugLog
    logDebug 
Attributes:
  INTERVAL  60
  boxUser    .
  devStateIcon 2.4G.on,.Gast.on:control_on_off@green 2.4G.off,.Gast.off:control_home@red
  group      Netzwerk
  room      Allgemein
  stateFormat 2.4G box_wlan_2.4GHz, Gast box_guestWlan

Auch hat sich FHEM in der Nacht x-mal neu verbunden zum Repeater. Bis 3:05 jede Minute 1x, dann war Pause bis 7:34 und dann wieder jede Minute 1x für rd. 15 Minuten.

Mit Version "07.57.01" hat das bis gestern noch problemlos funktioniert.

Irgendeine Idee? Danke jedenfalls!

LG
Stefan

Edit: Ok, gerade gesehen, dass es im Forum schon einen Fix 07.57.10 gibt, der noch nicht im offiziellen Update enthalten ist anscheinend. Ich probiere den mal.

JoWiemann

Hallo Stefan,

bitte nimm die Version von hier: https://forum.fhem.de/index.php?msg=1300759

Kommt dann auch morgen mit dem Update.

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

elhennig

Mir ist Folgendes aufgefallen:
Mein Fritz Repeater 1200 AX (FOS 268.07.57)ist mit einer Funksteckdose geschaltet uns wenn diese aus ist, bekomme ich kein "Device ist offline" als State sondern "cannot connect due to network error 500".

Was meines Erachtens auch anders ist, ist das die folgenden Readings dann on statt off sind:
Zitatbox_wlan_2.4GHz on
box_wlan_5GHz on

JoWiemann

#6
Zitat von: elhennig am 23 Januar 2024, 13:25:18Mir ist Folgendes aufgefallen:
Mein Fritz Repeater 1200 AX (FOS 268.07.57)ist mit einer Funksteckdose geschaltet uns wenn diese aus ist, bekomme ich kein "Device ist offline" als State sondern "cannot connect due to network error 500".

Was meines Erachtens auch anders ist, ist das die folgenden Readings dann on statt off sind:
Zitatbox_wlan_2.4GHz on
box_wlan_5GHz on


Hallo,

das Problem ist, woher soll das Modul wissen, dass das Gerät "offline" ist, oder nicht erreichbar ist. Also habe ich mich entschlossen den Netzwerkfehler zurück zu geben. Da das Gerät nicht erreichbar ist, kann das Modul dann auch nicht mehr wissen, welchen Status die Readings haben. Ich hatte mal vorgeschlagen alle Readings zu löschen oder auf Inhalt "not available" zu setzen. Ist aber nicht auf Gegenliebe gestoßen.

PS: Ich könnte aber für solche Fälle ein set <FritzBox-Device> inactive / active einbauen.

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

heinzfo

#7
Hallo Jörg

Ich probiere gerade
set FB7590 ring 610 8 say:Es regnet
Leider steht im C6 Display (intern **610) nur DECT Rundruf und das C6 klingelt.
Wenn ich abhebe, höre ich die MOH Ansage.

Ich wollte, dass es nicht klingelt und nur der Text nach say: angesagt wird, idealerweise auf allen drei C6 gleichzeitig.
Aber evtl. geht das momentan gar nicht?

Schöne Grüße

FB7590AXv2, FW:07.57.10b
FRITZ!Fon C6, FW:4.94
# $Id: 72_FRITZBOX.pm 28408 2024-01-23 14:56:22Z jowiemann $

JoWiemann

Zitat von: heinzfo am 24 Januar 2024, 11:20:22Hallo Jörg

Ich probiere gerade
set FB7590 ring 610 8 say:Es regnet
Leider steht im C6 Display (intern **610) nur DECT Rundruf und das C6 klingelt.
Wenn ich abhebe, höre ich die MOH Ansage.

Ich wollte, dass es nicht klingelt und nur der Text nach say: angesagt wird, idealerweise auf allen drei C6 gleichzeitig.
Aber evtl. geht das momentan gar nicht?

Schöne Grüße

Hallo,

ich muss das set <name> ring ... noch bereinigen. Seitdem nur noch tr064 und lua genutzt werden können, habe ich bisher keinen Weg gefunden Sprachansagen usw. wieder lauffähig zu machen. Am Besten nutzt Du für so etwas das SIP Modul.

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

heinzfo


RalfRog

Zitat von: JoWiemann am 23 Januar 2024, 13:51:02....
PS: Ich könnte aber für solche Fälle ein set <FritzBox-Device> inactive / active einbauen.
...

Könnte man den gewünschten Effekt (beim Abschalten) nicht schon durch das Attribut "disable 0/1" erreichen?

Oder sind die Auswirkungen beim Wiederanlauf mit "disable 0" ungünstig?

Gruß Ralf
FHEM auf Raspi 2B mit nanoCUL, HM-MOD-RPI-PCB und über LAN MAX!Cube mit a-culFW (Stack 868 + 433)
HM- Fensterkontakte, UP-Schalter, Bewegungsmelder und ein Rauchmelder

JoWiemann

Zitat von: RalfRog am 24 Januar 2024, 13:04:04Könnte man den gewünschten Effekt (beim Abschalten) nicht schon durch das Attribut "disable 0/1" erreichen?

Oder sind die Auswirkungen beim Wiederanlauf mit "disable 0" ungünstig?

Gruß Ralf

Hallo Ralf,

machen im Grunde das Selbe. Allerdings ist attr <name> disable 0|1 normalerweise etwas dauerhaftes und wird in der fhe.cfg gespeichert. Ob alle den Parameter -silent kennen wage ich zu bezweifeln. set <name> inActive on|off ist nur temporär, wird nicht in der fhem.cfg und auch nicht in der fhem.save gespeichert. Bei Neustart von Fhem also auf jeden Fall wieder off.

Ich nutze das gerne auch in anderen Devices, die das implementiert haben, für das temporäre Aktivieren/Deaktivieren z.B. in at.

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

heinzfo

Zitat von: JoWiemann am 24 Januar 2024, 11:44:46
Zitat von: heinzfo am 24 Januar 2024, 11:20:22Hallo Jörg

Ich probiere gerade
set FB7590 ring 610 8 say:Es regnet
Leider steht im C6 Display (intern **610) nur DECT Rundruf und das C6 klingelt.
Wenn ich abhebe, höre ich die MOH Ansage.

Ich wollte, dass es nicht klingelt und nur der Text nach say: angesagt wird, idealerweise auf allen drei C6 gleichzeitig.
Aber evtl. geht das momentan gar nicht?

Schöne Grüße

Hallo,

ich muss das set <name> ring ... noch bereinigen. Seitdem nur noch tr064 und lua genutzt werden können, habe ich bisher keinen Weg gefunden Sprachansagen usw. wieder lauffähig zu machen. Am Besten nutzt Du für so etwas das SIP Modul.

Grüße Jörg

Hallo Jörg

Kannst Du das evtl. über die Durchsage Funktion lösen?
Geht halt nur von Fon zu Fon, oder?

Grüße, Heinz

JoWiemann

Zitat von: heinzfo am 24 Januar 2024, 14:12:27Hallo Jörg

Kannst Du das evtl. über die Durchsage Funktion lösen?
Geht halt nur von Fon zu Fon, oder?

Grüße, Heinz

Hallo Heinz,

bei Fon zu Fon ist die Fritz!Box raus. Und ich wüsste nicht, wie ich ein FRITZ!Fon "fernsteuern" kann.

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

heinzfo

Zitat von: JoWiemann am 24 Januar 2024, 15:07:19
Zitat von: heinzfo am 24 Januar 2024, 14:12:27Hallo Jörg

Kannst Du das evtl. über die Durchsage Funktion lösen?
Geht halt nur von Fon zu Fon, oder?

Grüße, Heinz

Hallo Heinz,

bei Fon zu Fon ist die Fritz!Box raus. Und ich wüsste nicht, wie ich ein FRITZ!Fon "fernsteuern" kann.

Grüße Jörg

Hallo Jörg

Ich habe es jetzt mit SIP, T2S und Durchsage zum Fritz!Fon hinbekommen.

set mySIP call **611* 10 /opt/fhem/text2speech/Beispiel.mp3

Man hat halt das Gepiepse zu Beginn der Durchsage und am Ende der Durchsage hört man 3x das Besetztzeichen.
Nicht schön, aber so oft verwende ich es nicht und somit ist es auszuhalten.

Beste Grüße, Heinz

Grüße, Heinz

Wernieman

Aus persönlichen Interesse, wie hast Du es umgesetzt? Kannst Du nähere Infos geben?

- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

heinzfo

#16
Hallo

Bin neu im Thema SIP und nach Wiki und Commandref vorgegangen.

Für SIP Telefonie https://wiki.fhem.de/wiki/SIP-Client
und text2speech um Ansagen zu generieren https://wiki.fhem.de/wiki/Text2Speech

Wie bereits geschrieben hört man am Ende der Durchsage 3x das Besetztzeichen.
Das scheint bei FritzBox LAN/WLAN Telefoniegeräten normal zu sein.
Es ist bei Durchsagen von FritzAppFon (Android), Grandstream SIP Telefon GXV3470 und Windows Software PhonerLite, immer 3x das Besetztzeichen zu hören.

Bei Durchsagen von DECT zu DECT Telefonen z.B. FritzFon C6 ist am Ende der Durchsage Ruhe.

Grüße

defmod
defmod mySIP SIP
attr mySIP T2S_Device myT2S
attr mySIP audio_converter ffmpeg
attr mySIP history_file ./log/mySIP.sip
attr mySIP history_size 0
attr mySIP room Anrufe
attr mySIP sip_audiofile_call !Hier ist dein FHEM Server
attr mySIP sip_call_audio_delay 1
attr mySIP sip_dtmf_loop once
attr mySIP sip_dtmf_send audio
attr mySIP sip_dtmf_size 2
attr mySIP sip_elbc yes
attr mySIP sip_filter 01234567,02345678,**610,**621,**624
attr mySIP sip_from sip:IP-Durchsage@fritz.box
attr mySIP sip_ip 192.168.178.52
attr mySIP sip_listen dtmf
attr mySIP sip_registrar fritz.box
attr mySIP sip_ringtime 15
attr mySIP sip_user IP-Durchsage

Gisbert

#17
Edit: nach einem Fhem-Neustart (shutdown restart) läuft das Fritzbox-Device wieder.
Wie dem auch sei, es wäre schön, wenn du dir die Sachen trotzdem anschauen könntest.


Hallo Jörg,

ich hatte heute Mittag eine Sicherung in der Verteilung ausschalten müssen. Mein Server lief eigentlich mit UPS durch, kann es aber nicht genau sagen. Jedenfalls hat Fhem sich selbst neu gestartet.

Danach gab es keine Updates im Fritzbox-Device mehr.

Folgendes hab ich gemacht:
  • Alle Readings des Devices gelöscht (Verzweiflungstat)
  • Fritzbox neu gestartet
  • Neuen Fritzbox-Benutzer in der Fritzbox angelegt und boxUser definiert sowie das Passwort gesetzt.

Ich bekomme mit verbose 5 immer folgenden Eintrag, wenn ich im Device ein update mache.
2024.02.02 19:43:55.550 3: [Fritzbox | 7510 | none | Set.2084] - BASIC:set Fritzbox update
2024.02.02 19:43:55.551 2: [Fritzbox | 7510 | none | Readout_Start.2618] - SIGNIFICANT:stopped while to many authentication errors

define Fritzbox FRITZBOX 192.168.178.1
attr Fritzbox INTERVAL 120
attr Fritzbox alias Fritz!Box 7510
attr Fritzbox boxUser Fritz2Fhem
attr Fritzbox event-on-change-reading .*
attr Fritzbox icon it_router
attr Fritzbox room Network
attr Fritzbox stateFormat Internet
attr Fritzbox userReadings Internet:lastReadout:.* { (ReadingsVal($name,'box_ipExtern','-') eq '-' ? 'offline' : 'online') },\
todayReceived {round(ReadingsVal($name,".box_TodayBytesReceivedLow",0) / 2**30 + ReadingsVal($name,".box_TodayBytesReceivedHigh",0) * 2**2,3)},\
todaySent {round(ReadingsVal($name,".box_TodayBytesSentLow",0) / 2**30 + ReadingsVal($name,".box_TodayBytesSentHigh",0) * 2**2,3)}
attr Fritzbox verbose 5
#   APICHECKED 1
#   APICHECK_RET_CODES Ok
#   CFGFN      ./FHEM/FritzboxUniFiAnwesenheit.cfg
#   DEBUGLOG   <html><a href="/fhem/FileLog_logWrapper&amp;dev=Fritzbox_debugLog&amp;type=text&amp;file=Fritzbox_debugLog-2024-02.dlog">DEBUG Log kann hier eingesehen werden</a></html>
#   DEF        192.168.178.1
#   FUUID      62d540cb-f33f-e986-af9b-f47f9bea4c87e3ef
#   HOST       192.168.178.1
#   INTERVAL   120
#   LUADATA    1
#   LUAQUERY   1
#   MODEL      FRITZ!Box 7510
#   NAME       Fritzbox
#   NR         110
#   NTFY_ORDER 50-Fritzbox
#   SECPORT    49443
#   SID_RENEW_CNT 1
#   SID_RENEW_ERR_CNT 7
#   STATE      Internet
#   TIMEOUT    55
#   TR064      1
#   TYPE       FRITZBOX
#   UPNP       1
#   VERSION    07.57.10b
#   _BETA      0
#   eventCount 2606
#   OLDREADINGS:
#   READINGS:
#     2024-02-02 19:43:55   state           stopped while to many authentication errors
#     2024-02-02 19:43:55   todayReceived   0.000
#     2024-02-02 19:43:55   todaySent       0.000
#   fhem:
#     LOCAL      0
#     definedHost 192.168.178.1
#     fd_1       Telefon
#     fd_60      Wohnzimmer
#     fd_61      Esszimmer
#     fd_62      Gigaset S4
#     fd_70      block Callcenter
#     fd_71      Google Pixel 4a
#     fd_72      Haustürklingel
#     fd_9       alle Telefone
#     fdn_Esszimmer 61
#     fdn_Gigaset S4 62
#     fdn_Google Pixel 4a 71
#     fdn_Haustürklingel 72
#     fdn_Telefon 1
#     fdn_Wohnzimmer 60
#     fdn_alle Telefone 9
#     fdn_block Callcenter 70
#     is_double_wlan 0
#     radioCount 40
#     sid        b4a0d475cf4c41be
#     sidErrCount 7
#     sidNewCount 0
#     sidTime    0
#     610:
#       brand      Siemens
#       id         1
#       model      0x00
#       userId     1
#     611:
#       brand      Siemens
#       id         2
#       model      0x00
#       userId     2
#     612:
#       brand      Siemens
#       id         3
#       model      0x00
#       userId     3
#     landevice:
#                  landevice2818
#       192.168.178.1 fritz.box
#       192.168.178.20 USG-3P
#       192.168.178.201 myVPNPixel4a
#       192.168.178.202 myVPN
#       3C_37_12_94_44_B0 landevice2817
#       FC_EC_DA_02_2D_88 landevice1440
#       landevice1440 USG-3P
#       landevice2817 fritz.box
#       landevice2818 myVPNPixel4a
#       landevice2819 myVPN
#     radio:
#       0         
#       1         
#       10        
#       11        
#       12        
#       13        
#       14        
#       15        
#       16        
#       17        
#       18        
#       19        
#       2         
#       20        
#       21        
#       22        
#       23        
#       24        
#       25        
#       26        
#       27        
#       28        
#       29        
#       3         
#       30        
#       31        
#       32        
#       33        
#       34        
#       35        
#       36        
#       37        
#       38        
#       39        
#       4         
#       5         
#       6         
#       7         
#       8         
#       9         
#   helper:
#     FhemLog3Std 0
#     TimerCmd   Fritzbox.Cmd
#     TimerReadout Fritzbox.Readout
#     debugLog   Fritzbox_debugLog
#     logDebug   1
#     timerInActive 0
#     bm:
#       FRITZBOX_Attr:
#         cnt        3
#         dmx        -1000
#         dtot       0
#         dtotcnt    0
#         mTS        02.02. 18:15:09
#         max        0.303761959075928
#         tot        0.304347991943359
#         mAr:
#           set
#           Fritzbox
#           verbose
#           5
#       FRITZBOX_Get:
#         cnt        41
#         dmx        -1000
#         dtot       0
#         dtotcnt    0
#         mTS        02.02. 18:53:31
#         max        0.00336194038391113
#         tot        0.0166049003601074
#         mAr:
#           HASH(0x561d46fc5930)
#           Fritzbox
#           luaInfo
#           lanDevices
#       FRITZBOX_Notify:
#         cnt        787437
#         dmx        -1000
#         dtot       0
#         dtotcnt    0
#         mTS        01.02. 17:02:58
#         max        0.0161647796630859
#         tot        25.2193288803101
#         mAr:
#           HASH(0x561d46fc5930)
#           HASH(0x561d50af0350)
#       FRITZBOX_Set:
#         cnt        278
#         dmx        -1000
#         dtot       0
#         dtotcnt    0
#         mTS        02.02. 18:33:40
#         max        0.0402510166168213
#         tot        0.300196409225464
#         mAr:
#           HASH(0x561d46fc5930)
#           Fritzbox
#           wlan
#           off
#
setstate Fritzbox Internet
setstate Fritzbox 2024-02-02 19:43:55 state stopped while to many authentication errors
setstate Fritzbox 2024-02-02 19:43:55 todayReceived 0.000
setstate Fritzbox 2024-02-02 19:43:55 todaySent 0.000


Das Fritzbox-Modul ist aktuell vom 23.1.2024 ($Id: 72_FRITZBOX.pm 28409 2024-01-23 14:58:23Z jowiemann)

Kannst du dir die Sachen anschauen und mir helfen?

Viele Grüße Gisbert
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

JoWiemann

Zitat von: Gisbert am 02 Februar 2024, 20:04:34Edit: nach einem Fhem-Neustart (shutdown restart) läuft das Fritzbox-Device wieder.
Wie dem auch sei, es wäre schön, wenn du dir die Sachen trotzdem anschauen könntest.



Hallo Gisbert,

da bin ich dann doch überfordert. Die Fehlermeldung zeigt, dass das Device sich mehrfach versucht hat bei der FritzBox anzumelden. Nach 5 Versuchen gibt das Device auf, da ansonsten die FritzBox anfängt langsamer zu werden, bzw. eine sehr lange Zeit für Anmeldeversuche vorgibt. Kannst Du selber im Web Frontend mit falschen Anmeldedaten beobachten. Mit einem ,,set <name> checkAPIs wird wieder alles auf ,,Start" gesetzt und es wird wieder versucht sich anzumelden.

Deine spezielle Situation nach dem Freischalten werde ich definitiv nicht nachstellen können.

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

Gisbert

Hallo Jörg,

danke für die rasche Rückmeldung. Zumindest verstehe ich, dass die log-Einträge von dir so beabsichtigt sind, wenn Fhem sich nicht an der Fritzbox anmelden kann.

Viele Grüße Gisbert
Aktuelles FHEM | PROXMOX | Fujitsu Futro S740 | Debian 12 | UniFi | Homematic, VCCU, HMUART | ESP8266 | ATtiny85 | Wasser-, Stromzähler | Wlan-Kamera | SIGNALduino, Flamingo Rauchmelder FA21/22RF | RHASSPY

juemuc

Hallo Jörg,

mit der Version 7.57.11 scheint bei Kabelboxen einiges zu fehlen. Bei mir (FB6690) sind fast alle Befehle weg (s. Screenshots). Bei meiner FB7490 sieht es ok aus.

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).

juemuc

Hallo Jörg,

nachdem ich in meinem Testsystem das Problem nicht reproduzieren konnte, habe ich einfach die Definition auf die IP-Adresse und dann wieder zurück auf den DNS-Namen geändert. Jetzt ist wieder alles ok  8)

Keine Ahnung was passiert war. Eventuell war der DNS-Server temporär nicht erreichbar.

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

Hallo,
das fritzbox modul liest ja die DECT30 und DECT31 Infos aus. Warum sind denn die Modulationswerte nicht enthalten?
Ich schreibe die ja momentan über ein Shellskript in meine InfluxxDB. Das würde ich ja gerne von FHEM Modul Fritzbox erledigen lassen.

JoWiemann

#23
Zitat von: neobiker am 10 Februar 2024, 17:46:35Hallo,
das fritzbox modul liest ja die DECT30 und DECT31 Infos aus. Warum sind denn die Modulationswerte nicht enthalten?
Ich schreibe die ja momentan über ein Shellskript in meine InfluxxDB. Das würde ich ja gerne von FHEM Modul Fritzbox erledigen lassen.

Hallo,

was ist denn Dect30/Dect31 für ein Device.

ZitatWarum sind denn die Modulationswerte nicht enthalten?

Weil sie keiner angefragt hat. Und, was verstehst Du unter Modulationswerte?

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

#24
Aah, Aua - Danke 8)
Ich habe da natürlich DOCSIS gemeint. Meine Finger haben aber DECT geschrieben, wohl weil ich gerade mein AVM Thermostat mit dem neuem tempOffset steuern möchte. Danke dass Du das eingebaut hast.

Die Kabelfritzboxen zeigen bei den Kabelinformationen ja die Modulation für jeden Kanal im Upstream(Us) und Downstream(Ds) an.
Die liegen im Upstream z.b. zwischen 4QAM - 64QAM und bei meist stabilen 256 QAM im Downstream.
Qualitäts-/Leitungsprobleme werden mit der Modulationsrate ausgeglichen, d.h. bei Problemen bricht z.B. im DS der Wert von 64QAM auf bis zu 4 QAM ein.

Die Werte stehen hier (<Xs> = Us oder Ds, <docsis3> = docsis30 oder docsis31):
".data.channel<Xs>.<docsis3x>.modulation"
Wenn man die Werte monitored sieht man schön wie die Kabelmodems die Modulationsrate bei Problemen anpassen, und ob es im Kabelnetz Probleme gibt. Ich habe das in meinem Wiki beschrieben.

JoWiemann

Zitat von: neobiker am 11 Februar 2024, 11:55:35Die Werte stehen hier (<Xs> = Us oder Ds, <docsis3> = docsis30 oder docsis31):
".data.channel<Xs>.<docsis3x>.modulation"
Wenn man die Werte monitored sieht man schön wie die Kabelmodems die Modulationsrate bei Problemen anpassen, und ob es im Kabelnetz Probleme gibt. Ich habe das in meinem Wiki beschrieben.


Hallo,

dann werde ich das mal einbauen.

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


JoWiemann

Zitat von: neobiker am 11 Februar 2024, 12:59:14Sehr cool - Danke

Hallo,

ich habe zwar eine Cable um grundsätzlich zu testen, aber keinen Kabelanschluss. Von daher bitte einmal ein:
get <name> luaData xhr 1 lang de page docInfo xhrId all no_sidrenew nop

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

binford6000

Zitat von: JoWiemann am 11 Februar 2024, 17:11:24
Zitat von: neobiker am 11 Februar 2024, 12:59:14Sehr cool - Danke

Hallo,

ich habe zwar eine Cable um grundsätzlich zu testen, aber keinen Kabelanschluss. Von daher bitte einmal ein:
get <name> luaData xhr 1 lang de page docInfo xhrId all no_sidrenew nop

Danke und Grüße Jörg
Hallo Jörg,
sieht bei mir so aus:
Result of data = 'xhr' => '1'
'lang' => 'de'
'page' => 'docInfo'
'xhrId' => 'all'
'no_sidrenew' => ''
----------------------------------------------------------------------
$VAR1 = {
          'sidNew' => 0,
          'sid' => '67eee84ebd865cce',
          'pid' => 'docInfo',
          'data' => {
                      'oem' => 'avm',
                      'readyState' => 'ready',
                      'channelUs' => {
                                       'docsis30' => [
                                                       {
                                                         'type' => '64QAM',
                                                         'powerLevel' => '48.5',
                                                         'channelID' => 4,
                                                         'channel' => 1,
                                                         'frequency' => '51',
                                                         'multiplex' => 'ATDMA'
                                                       },
                                                       {
                                                         'type' => '64QAM',
                                                         'powerLevel' => '48.0',
                                                         'channelID' => 5,
                                                         'frequency' => '58',
                                                         'channel' => 2,
                                                         'multiplex' => 'ATDMA'
                                                       },
                                                       {
                                                         'channel' => 3,
                                                         'multiplex' => 'ATDMA',
                                                         'frequency' => '37',
                                                         'channelID' => 2,
                                                         'powerLevel' => '50.3',
                                                         'type' => '64QAM'
                                                       },
                                                       {
                                                         'powerLevel' => '51.0',
                                                         'type' => '64QAM',
                                                         'multiplex' => 'ATDMA',
                                                         'channel' => 4,
                                                         'frequency' => '31',
                                                         'channelID' => 1
                                                       }
                                                     ]
                                     },
                      'channelDs' => {
                                       'docsis30' => [
                                                       {
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '7.9',
                                                         'corrErrors' => 6021,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'channel' => 1,
                                                         'frequency' => '578',
                                                         'nonCorrErrors' => 213,
                                                         'channelID' => 12
                                                       },
                                                       {
                                                         'nonCorrErrors' => 187,
                                                         'frequency' => '474',
                                                         'channel' => 2,
                                                         'channelID' => 1,
                                                         'mse' => '-38.6',
                                                         'powerLevel' => '6.5',
                                                         'corrErrors' => 16104,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32'
                                                       },
                                                       {
                                                         'mse' => '-38.6',
                                                         'powerLevel' => '6.3',
                                                         'corrErrors' => 16050,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'channel' => 3,
                                                         'frequency' => '482',
                                                         'nonCorrErrors' => 232,
                                                         'channelID' => 2
                                                       },
                                                       {
                                                         'channelID' => 3,
                                                         'frequency' => '490',
                                                         'channel' => 4,
                                                         'nonCorrErrors' => 129,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'corrErrors' => 14117,
                                                         'powerLevel' => '6.4',
                                                         'mse' => '-39.0'
                                                       },
                                                       {
                                                         'corrErrors' => 15760,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '6.1',
                                                         'channelID' => 4,
                                                         'frequency' => '498',
                                                         'channel' => 5,
                                                         'nonCorrErrors' => 223
                                                       },
                                                       {
                                                         'channelID' => 6,
                                                         'frequency' => '530',
                                                         'nonCorrErrors' => 140,
                                                         'channel' => 6,
                                                         'corrErrors' => 5423,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '7.4'
                                                       },
                                                       {
                                                         'frequency' => '538',
                                                         'channel' => 7,
                                                         'nonCorrErrors' => 129,
                                                         'channelID' => 7,
                                                         'powerLevel' => '8.1',
                                                         'mse' => '-39.0',
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'corrErrors' => 3926
                                                       },
                                                       {
                                                         'channelID' => 8,
                                                         'frequency' => '546',
                                                         'nonCorrErrors' => 147,
                                                         'channel' => 8,
                                                         'corrErrors' => 5802,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'mse' => '-38.6',
                                                         'powerLevel' => '7.7'
                                                       },
                                                       {
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '8.4',
                                                         'corrErrors' => 36756,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'nonCorrErrors' => 224,
                                                         'frequency' => '586',
                                                         'channel' => 9,
                                                         'channelID' => 13
                                                       },
                                                       {
                                                         'channelID' => 14,
                                                         'frequency' => '594',
                                                         'nonCorrErrors' => 149,
                                                         'channel' => 10,
                                                         'corrErrors' => 5975,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '8.1'
                                                       },
                                                       {
                                                         'channelID' => 16,
                                                         'nonCorrErrors' => 146,
                                                         'frequency' => '618',
                                                         'channel' => 11,
                                                         'corrErrors' => 4423,
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '8.6'
                                                       },
                                                       {
                                                         'channelID' => 18,
                                                         'channel' => 12,
                                                         'frequency' => '634',
                                                         'nonCorrErrors' => 156,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'corrErrors' => 39632,
                                                         'powerLevel' => '8.4',
                                                         'mse' => '-39.0'
                                                       },
                                                       {
                                                         'frequency' => '642',
                                                         'nonCorrErrors' => 205,
                                                         'channel' => 13,
                                                         'channelID' => 19,
                                                         'mse' => '-39.0',
                                                         'powerLevel' => '9.0',
                                                         'corrErrors' => 4213,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM'
                                                       },
                                                       {
                                                         'frequency' => '650',
                                                         'nonCorrErrors' => 144,
                                                         'channel' => 14,
                                                         'channelID' => 20,
                                                         'powerLevel' => '9.3',
                                                         'mse' => '-39.0',
                                                         'latency' => '0.32',
                                                         'type' => '256QAM',
                                                         'corrErrors' => 4535
                                                       },
                                                       {
                                                         'powerLevel' => '9.0',
                                                         'mse' => '-39.0',
                                                         'type' => '256QAM',
                                                         'latency' => '0.32',
                                                         'corrErrors' => 42964,
                                                         'nonCorrErrors' => 133,
                                                         'frequency' => '658',
                                                         'channel' => 15,
                                                         'channelID' => 21
                                                       },
                                                       {
                                                         'frequency' => '666',
                                                         'nonCorrErrors' => 207,
                                                         'channel' => 16,
                                                         'channelID' => 22,
                                                         'mse' => '-38.6',
                                                         'powerLevel' => '9.3',
                                                         'corrErrors' => 4848,
                                                         'latency' => '0.32',
                                                         'type' => '256QAM'
                                                       }
                                                     ]
                                     }
                    },
          'hide' => {
                      'wps' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                      'dectMoniEx' => $VAR1->{'hide'}{'wps'},
                      'dectRdio' => $VAR1->{'hide'}{'wps'},
                      'dectMail' => $VAR1->{'hide'}{'wps'},
                      'wlanmesh' => $VAR1->{'hide'}{'wps'},
                      'wKey' => $VAR1->{'hide'}{'wps'},
                      'rss' => $VAR1->{'hide'}{'wps'},
                      'shareUsb' => $VAR1->{'hide'}{'wps'},
                      'wGuest' => $VAR1->{'hide'}{'wps'},
                      'dectMoni' => $VAR1->{'hide'}{'wps'},
                      'faxSet' => $VAR1->{'hide'}{'wps'},
                      'mobile' => $VAR1->{'hide'}{'wps'},
                      'chan' => $VAR1->{'hide'}{'wps'},
                      'ssoSet' => $VAR1->{'hide'}{'wps'},
                      'liveTv' => $VAR1->{'hide'}{'wps'},
                      'liveImg' => $VAR1->{'hide'}{'wps'}
                    },
          'time' => []
        };

JoWiemann

Hallo,

ich habe die zusätzliche docsis Information jetzt eingebaut.

Bitte einmal testen.

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

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' => {}
        };

JoWiemann

Zitat von: neobiker am 26 Februar 2024, 11:20:10So, 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' => {}
        };

Hallo neobiker,

mit den wenigen Informationen komme ich leider nicht weiter. War das jetzt nach dem Update und Neustart. Was zeigten die INTERNAL Readings? Ein List zum Zeitpunkt wäre auch hilfreich. Läuft die FritzBox hinter einem VNP oder Fhem in einem Container?

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

#46
Hallo Jörg,
anbei der list fbox (gekürzt). Natürlich war das nach dem Update auf Deine geänderte Version, die per 'update' die Beta ersetzt hat.
Internals:
   APICHECKED 1
   APICHECK_RET_CODES Ok
   DEBUGLOG   OFF
   DEF        192.168.178.1
   FUUID      65baa81b-f33f-bc9a-2994-205bbd39bd457548
   HOST       192.168.178.1
   INTERVAL   300
   LUADATA    1
   LUAQUERY   1
   MODEL      FRITZ!Box 6660 Cable
   NAME       fbox
   NR         121
   NTFY_ORDER 50-fbox
   SECPORT    49443
   SID_RENEW_CNT 1
   SID_RENEW_ERR_CNT 0
   STATE      WLAN: on gWLAN: on
   TIMEOUT    55
   TR064      1
   TYPE       FRITZBOX
   UPNP       1
   VERSION    07.57.12
   _BETA      0
   eventCount 877
   READINGS:
     2024-02-27 19:53:48   box_connect     Connected
     2024-02-27 19:53:48   box_cpuTemp     61
     2024-02-27 19:53:48   box_dect        on
     2024-02-27 19:53:48   box_docsis30_Ds_corrErrors 491 29865 488 6221 25317 4880 1119 5544 2879 930 1361 1500 3397 1261 443 483 585 346 362 297 341 632 405 433
     2024-02-27 19:53:48   box_docsis30_Ds_frequencys 186.000 154.000 218.000 250.000 162.000 170.000 178.000 194.000 202.000 210.000 226.000 234.000 242.000 258.000 266.000 274.000 282.000 290.000 298.000 306.000 314.000 322.000 330.000 338.000
     2024-02-27 19:53:48   box_docsis30_Ds_latencys 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32
     2024-02-27 19:53:48   box_docsis30_Ds_modulations 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256 256
     2024-02-27 19:53:48   box_docsis30_Ds_mses -36.6 -36.6 -36.6 -36.6 -36.6 -36.4 -36.6 -36.6 -36.4 -36.6 -36.6 -36.4 -36.6 -36.4 -36.6 -36.6 -36.4 -36.6 -36.6 -37.4 -37.4 -36.6 -37.4 -37.4
     2024-02-27 19:53:48   box_docsis30_Ds_nonCorrErrors 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32 0.32
     2024-02-27 19:53:48   box_docsis30_Ds_powerLevels -3.5 -2.4 -4.5 -5.2 -2.7 -3.1 -3.3 -3.6 -4.0 -4.1 -4.7 -5.0 -5.1 -5.3 -4.7 -4.7 -5.2 -5.2 -4.6 -4.9 -5.4 -5.3 -5.1 -5.3
     2024-02-27 19:53:48   box_docsis30_Us_frequencys 61.400 35.200 54.800 48.400 41.800
     2024-02-27 19:53:48   box_docsis30_Us_modulations 64 8 32 32 32
     2024-02-27 19:53:48   box_docsis30_Us_powerLevels 36.3 35.8 36.0 36.0 36.0
     2024-02-27 19:53:48   box_dsl_downStream 104.448
     2024-02-27 19:53:48   box_dsl_upStream 20.889
     2024-02-27 19:53:48   box_fon_LogNewest none
     2024-02-27 19:53:48   box_fwVersion   252.07.57
     2024-02-26 11:17:30   box_model       FRITZ!Box 6660 Cable [6660 - avm]
     2024-02-27 19:53:48   box_moh         default
     2024-02-27 19:53:48   box_powerRate   54
     2024-02-27 19:53:48   box_rateDown    39.868
     2024-02-27 19:53:48   box_rateUp      8.242
     2024-02-27 19:53:48   box_tr064       on
     2024-02-27 19:53:48   box_tr069       on
     2024-02-27 19:53:48   box_upnp        on
     2024-02-27 19:53:48   box_upnp_control_activated on
     2024-02-27 19:53:48   box_uptime      4419000 sec = 51T 03:30:00
     2024-02-27 19:53:48   box_uptimeConnect 4418942 sec = 51T 03:29:02
     2024-02-27 19:53:48   box_wan_AccessType Cable

Der Fehler trat auf, nachdem das Modul schon erfolgreich gestartet war, was man im vorherigen Logfile sieht: kurz (10 min.) nach erfolgreichem Start des Modules ist der erste TempOffset erfolgreich geloggt worden.
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

Im Laufe eines updates der fhem.cfgtrat dann der Fehler spontan auf, wobei das fbox Modul es nicht schafft irgendwann (nach Stunden bis zum nächsten Tag) wieder data.lua zu verwenden. Im Logfile sehe ich über Stunden die ganzen fehlgeschlagenen Versuche für einen TempOffset. Ich vermute dass der verwendete Token für data.lua nicht mehr gültig ist, weil es mit einem 'shutdown restart' bisher immer sofort wieder ging. Vermutlich würde ein reload des Moduls auch ausreichen?

Jedenfalls: Wenn das Modul schon festellt, dass data.lua nicht geht (SIGNIFIKANT Fehlermeldung), dann macht es ja keinen Sinn anschliessend trotzdem den TempOffset Befehl ausführen zu wollen, der dann den 'Unexpected result: VAR1' Fehler auswirft. Stattdessen müsste vorher der Zugangstoken erneuert werden.

fb1 ist das FBAHAHTTP Device, fbox Dein fritzbox Device. Beide haben unterschiedliche user.
2024.02.25 20:31:47 2: fb1 ERROR: cannot get SID, check connection/hostname/fritzbox-user/password
2024.02.25 20:31:49 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.25 20:31:49 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6050] - BASIC:SID Response -> 1
2024.02.25 20:31:49 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.25 20:38:06 3: [fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-1.5
2024.02.25 20:38:06 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.25 20:38:06 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.25 20:38:06 1: PERL WARNING: Use of uninitialized value $webCmdArray[1] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.25 20:38:06 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.25 20:38:06 1: PERL WARNING: Use of uninitialized value $webCmdArray[7] in join or string at ./FHEM/72_FRITZBOX.pm line 1170.
2024.02.25 20:38:06 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.25 20:38:06 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
ule_device_name  Offset -1.5 Info Unexpected result: $VAR1 = {
          'Error' => 'data.lua not supportet',
          'Info' => 'Fritz!Box or Fritz!OS outdated'
        };
 Error  xhr 1 view  apply  lang de page home_auto_hkr_edit
2024.02.25 20:38:06 2: [fbox | 0000 | 252.07.57 | read_LuaData.9618] - SIGNIFICANT:data.lua not supportet. Fritz!Box or Fritz!OS outdated.
2024.02.25 20:38:06 3: set fbox smartHome 17 tempOffset:-1.5 : ERROR: Unexpected result: $VAR1 = {
          'data' => {},
          'Info' => 'Fritz!Box or Fritz!OS outdated',
          'Error' => 'data.lua not supportet'
        };

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

JoWiemann

Zitat von: neobiker am 27 Februar 2024, 20:17:56Hallo Jörg,
Im Laufe eines updates der fhem.cfgtrat dann der Fehler spontan auf, wobei das fbox Modul es nicht schafft irgendwann (nach Stunden bis zum nächsten Tag) wieder data.lua zu verwenden. Im Logfile sehe ich über Stunden die ganzen fehlgeschlagenen Versuche für einen TempOffset. Ich vermute dass der verwendete Token für data.lua nicht mehr gültig ist, weil es mit einem 'shutdown restart' bisher immer sofort wieder ging. Vermutlich würde ein reload des Moduls auch ausreichen?

Hallo neobike,

das Editieren der fhem.cfg ist eigentlich nicht gewünscht und führt immer wieder zu einem komischen Verhalten. Das Modul FritzBox ist nie daraufhin getestet oder gar gehärtet worden. Wenn das überhaupt geht.

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

Hhm,
"Edit files -> config file: fhem.cfg" ist im Standard Webinterface - warum sollte das nicht vorgesehen sein?
Schon mal "Save config" in der Navigationsleiste gesehen?

Egal, wenn Du das Thema so abwälzen möchtest ...

Danke trotzdem für das Modul und Deine Mühen.

JoWiemann

Zitat von: neobiker am 28 Februar 2024, 19:13:00Hhm,
"Edit files -> config file: fhem.cfg" ist im Standard Webinterface - warum sollte das nicht vorgesehen sein?
Schon mal "Save config" in der Navigationsleiste gesehen?

Egal, wenn Du das Thema so abwälzen möchtest ...

Danke trotzdem für das Modul und Deine Mühen.

Hallo neobiker,

ich wälze das nicht ab, sondern habe darauf hingewiesen, dass das nicht einfach ist und ggf wirklich am Ende nicht für alle funktioniert. Nicht umsonst ist das Editieren der fhem.cfg per default gesperrt.

Aber Du kannst gerne zuarbeiten. Verbose für das FritzBox Device auf 5 stellen, die fhem.cfg bearbeiten, sichern und dann das ausgiebige Log posten: Mal sehen, ob das was her gibt.

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

RalfRog

Auch Hhm
Zitat von: neobiker am 28 Februar 2024, 19:13:00"Edit files -> config file: fhem.cfg" ist im Standard Webinterface - warum sollte das nicht vorgesehen sein?
Schon mal "Save config" in der Navigationsleiste gesehen?

Immerhin ist das nicht der "default" von FHEMWEB.
ZitateditConfig
Falls dieses FHEMWEB Attribut (auf 1) gesetzt ist, dann kann man die FHEM Konfigurationsdatei in dem "Edit files" Abschnitt bearbeiten. Beim Speichern dieser Datei wird automatisch rereadcfg ausgefuehrt, was diverse Nebeneffekte hat.
Das ist erst da wenn man es explizit setzt!

Gruß Ralf

FHEM auf Raspi 2B mit nanoCUL, HM-MOD-RPI-PCB und über LAN MAX!Cube mit a-culFW (Stack 868 + 433)
HM- Fensterkontakte, UP-Schalter, Bewegungsmelder und ein Rauchmelder

JoWiemann

Zitat von: RalfRog am 28 Februar 2024, 19:46:36Immerhin ist das nicht der "default" von FHEMWEB.

Seit 2015:
Seit dem letzten großen Update von FHEM, ist die FHEM Konfigurationsdatei (fhem.cfg) nach der Installation schreibgeschützt und kann nicht verändert werden. Diese Sperre soll Neulinge davor schützen wichtige Systemdateien zu verändern.

Klickt man wie gewohnt in der FHEM Oberfläche auf Edit files und dann fhem.cfg sieht man den Inhalt dieser Datei, aber er kann nicht verändert werden. Ein Hinweis "You can enable saving this file by setting the editConfig attribute, but read the documentation first for the side effects." weisst uns darauf hin, dass wir die Dokumentation lesen sollen.

You can enable saving this file by setting the editConfig attribute, but read the documentation first for the side effects.

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

Ok, ich nutze FHEM schon sehr viel länger als 2015. Diese Änderung ist durch kein update bei mir angekommen. Ich kenn das gar nicht anders  8)

JoWiemann

Zitat von: neobiker am 29 Februar 2024, 21:54:24Ok, ich nutze FHEM schon sehr viel länger als 2015. Diese Änderung ist durch kein update bei mir angekommen. Ich kenn das gar nicht anders  8)

Gilt ja auch nur, wenn Du neu Installierst und dann kein Backup einspielst. Ich kann mich aber an die damalige Diskussion erinnern.

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

JoWiemann

Zitat von: neobiker am 28 Februar 2024, 19:13:00Hhm,
"Edit files -> config file: fhem.cfg" ist im Standard Webinterface - warum sollte das nicht vorgesehen sein?
Schon mal "Save config" in der Navigationsleiste gesehen?

Egal, wenn Du das Thema so abwälzen möchtest ...

Danke trotzdem für das Modul und Deine Mühen.

Hallo neobiker,

ich habe jetzt einmal fhem.cfg editiert und gespeichert und einmal nur rereadcfg in der Kommandozeile durchgeführt. Beide Male ist das Modul ordnungsgemäß gestartet. Im verbose 5 Log war auch keine Auffälligkeit zu erkennen.

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

Hallo Jörg,
ja das funktuoniert normalerweise auch. Ich mache das ja ständig wenn ich was ändere  ;D  Ich denke nicht das es daran liegt, sondern an Token/Sid oder so, oder timeout/abbruch der lua_data Kommunikation oder so.

JoWiemann

Zitat von: neobiker am 01 März 2024, 18:30:51Hallo Jörg,
ja das funktuoniert normalerweise auch. Ich mache das ja ständig wenn ich was ändere  ;D  Ich denke nicht das es daran liegt, sondern an Token/Sid oder so, oder timeout/abbruch der lua_data Kommunikation oder so.

Hm,

2024.02.25 20:31:49 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.25 20:38:06 3: [fbox | 0000 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-1.5
Hast Du ein at/doif, dass den tempOffset setzt? Eigentlich sind die sets ... wärend des API check noch nicht zugänglich. Das set sollte somit mit einer Fehlermeldung zurück kommen und nicht in die data.lua Abfrage gehen.

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

#57
20:31 Uhr ... 20:38 Uhr .... 7 Minuten zwischen Init Modul und dem TempOffset Befehl oben!

Aber: Ja, FBDECT Thermosthat Temp. IST wird verglichen mit ext. Sensor Temperatur. Ein Notify ermittelt das Delta und korrigiert durch Dein Modul mit einen TempOffset die Differenz jedesmal wenn die Differenz grösser als 0,5 Grad ist.

define nDG_Temperatur notify DG_Temperatur:temperature:.* { my $tempadjust = (0.0 - (int(0.25 +
          (  ReadingsNum("DG_Heizung","temperature",20.5)
           - ReadingsNum("DG_Heizung","tempadjust",-2.5)
           - ReadingsNum("DG_Temperatur","temperature",20.5)
          )*2.0)/2.0));;
 if ($tempadjust != ReadingsNum("DG_Heizung","tempadjust",-2.5)) {fhem ("set fbox smartHome 16 tempOffset:" . $tempadjust)}
}

JoWiemann

Zitat von: neobiker am 02 März 2024, 00:33:0020:31 Uhr ... 20:38 Uhr .... 7 Minuten zwischen Init Modul und dem TempOffset Befehl oben!

Aber: Ja, FBDECT Thermosthat Temp. IST wird verglichen mit ext. Sensor Temperatur. Ein Notify ermittelt das Delta und korrigiert durch Dein Modul mit einen TempOffset die Differenz jedesmal wenn die Differenz grösser als 0,5 Grad ist.

Hallo neobiker,

ohne ein Log mit verbose 5 komme ich hier nicht weiter. Der set Befehl zeigt durch [fbox | 0000 | 252.07.57 | Set.1080] mit 0000, dass das Modul noch nicht vollständig initialisiert ist. Aber mit der Zeitdifferenz fast nicht vorstellbar.

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

#59
Hallo Jörg,

der Fehler ist halt nicht reproduzierbar, maximal ist er provozierbar mit geringer Erfolgsquote, deshalb bin ich über das Debug Level 4 ja schon froh das ich da was provozieren konnte.

Wir können ja nicht das Fritzbox Verhalten verbessern, sondern Einfluss nehmen darauf wie sich das Modul auf unerwartetes Verhalten/Antworten/Timeouts der Fritzbox reagiert.

Aus diesem Grund habe ich mal das Log Debuglevel 4 nochmals etwas aufbereitet dargestellt, damit ich mal sehe was vorher/nachher passiert ist.
2024.02.17 14:38:00 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-2.5
2024.02.17 14:38:00 4: [fbox | 6660 | 252.07.57 | Get_SmartHome_Devices_List.8026] - EXPANDED:FRITZBOX_SmartHome_Device_List (Fritz!OS: 07.57)
2024.02.17 14:38:00 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:36:53
2024.02.17 14:38:00 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:38:00 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=6969ebbd90609b0f
2024.02.17 14:38:01 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:38:01 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
2024.02.17 14:38:01 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:38:01
2024.02.17 14:38:01 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:38:01 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=6969ebbd90609b0f
2024.02.17 14:38:02 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK


2024.02.17 14:39:56 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Set_check_APIs
2024.02.17 14:39:56 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5849] - EXPANDED:API luaQuery found (200).
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5871] - EXPANDED:API luaData found (200).
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5896] - EXPANDED:API TR-064 found.
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | init_TR064.9403] - EXPANDED:Open TR-064 connection and ask for security port
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | init_TR064.9412] - EXPANDED:SecPort-Result $VAR1 = '49443';
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5902] - EXPANDED:TR-064-SecurePort is 49443.
2024.02.17 14:39:57 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5918] - EXPANDED:TR064 returned: <?xml version="1.0"?>
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9501] - EXPANDED:renewing SID while: SID:  timed out
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9520] - EXPANDED:fhem2
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9521] - EXPANDED:getting new SID
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9525] - EXPANDED:Web session opened with sid 5ab07d8c8971d5f7
2024.02.17 14:39:57 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.17 14:39:57 4: [fbox | 6660 | 252.07.57 | Set_check_APIs.6062] - EXPANDED:Captured 15 values


2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | Readout_Run_Web.2918] - EXPANDED:Prepare query string for luaQuery.
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | call_Lua_Query.9555] - EXPANDED:Request data via API luaQuery
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | Readout_Run_Web.3272] - EXPANDED:sip for box-model: 6660
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:01 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:02 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:02 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:02 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:02 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:05 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:05 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:05 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:05 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:09 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:09 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:09 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:09 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9493] - EXPANDED:using old SID from 14:39:57
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9628] - EXPANDED:Request data via API dataQuery.
2024.02.17 14:41:12 4: [fbox | 6660 | 252.07.57 | read_LuaData.9632] - EXPANDED:URL: http://192.168.178.1/data.lua?sid=5ab07d8c8971d5f7
2024.02.17 14:41:13 4: [fbox | 6660 | 252.07.57 | read_LuaData.9637] - EXPANDED:Response: 200 OK
2024.02.17 14:41:13 4: [fbox | 6660 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 14:41:13 4: [fbox | 6660 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 14:41:13 4: [fbox | 6660 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 14:41:14 4: [fbox | 6660 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 14:41:14 4: [fbox | 6660 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 14:41:14 4: [fbox | 6660 | 252.07.57 | Readout_Run_Web.5070] - EXPANDED:Captured 429 values


2024.02.17 14:45:32 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Set_check_APIs
2024.02.17 14:45:32 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5849] - EXPANDED:API luaQuery found (200).
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5871] - EXPANDED:API luaData found (200).
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5896] - EXPANDED:API TR-064 found.
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | init_TR064.9403] - EXPANDED:Open TR-064 connection and ask for security port
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | init_TR064.9412] - EXPANDED:SecPort-Result $VAR1 = '49443';
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5902] - EXPANDED:TR-064-SecurePort is 49443.
2024.02.17 14:45:33 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5918] - EXPANDED:TR064 returned: <?xml version="1.0"?>
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9501] - EXPANDED:renewing SID while: SID:  timed out
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9520] - EXPANDED:fhem2
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9521] - EXPANDED:getting new SID
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9525] - EXPANDED:Web session opened with sid 0968f38ec1f1d00c
2024.02.17 14:45:33 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.17 14:45:33 4: [fbox | 6660 | 252.07.57 | Set_check_APIs.6062] - EXPANDED:Captured 15 values


2024.02.17 14:46:27 4: [fbox | 0000 | 252.07.57 | Readout_Start.2866] - EXPANDED:Fork process FRITZBOX_Set_check_APIs
2024.02.17 14:46:27 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5849] - EXPANDED:API luaQuery found (200).
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5871] - EXPANDED:API luaData found (200).
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5896] - EXPANDED:API TR-064 found.
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | init_TR064.9403] - EXPANDED:Open TR-064 connection and ask for security port
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | init_TR064.9412] - EXPANDED:SecPort-Result $VAR1 = '49443';
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5902] - EXPANDED:TR-064-SecurePort is 49443.
2024.02.17 14:46:28 4: [fbox | 0000 | 252.07.57 | Set_check_APIs.5918] - EXPANDED:TR064 returned: <?xml version="1.0"?>
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9501] - EXPANDED:renewing SID while: SID:  timed out
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | Helper_read_Password.10225] - EXPANDED:Read FritzBox password from file
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9520] - EXPANDED:fhem2
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9521] - EXPANDED:getting new SID
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | open_Web_Connection.9525] - EXPANDED:Web session opened with sid cf97879acc98fe96
2024.02.17 14:46:28 3: [fbox | 6660 | 252.07.57 | Set_check_APIs.6061] - BASIC:Response -> luaQuery:200 luaData:200 TR064:200
2024.02.17 14:46:28 4: [fbox | 6660 | 252.07.57 | Set_check_APIs.6062] - EXPANDED:Captured 15 values


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"?>
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 | 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 | 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 ->
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:16:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:16:59 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
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 = {
2024.02.17 15:19:18 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
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: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 | 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 ->
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:21:58 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
2024.02.17 15:21:59 4: [fbox | 0000 | 252.07.57 | SOAP_Request.9133] - EXPANDED:XML_RESONSE:
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 = {
2024.02.17 15:22:15 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
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.

Modul start ohne Fehler:
------------------------------------------
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: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
2024.02.17 16:39:30 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 16 tempOffset:-0.5
2024.02.17 16:39:30 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
2024.02.17 16:56:40 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-2
2024.02.17 16:56:40 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
2024.02.17 17:05:31 3: [fbox | 6660 | 252.07.57 | Set.1080] - BASIC:set fbox smartHome 17 tempOffset:-1.5
2024.02.17 17:05:32 3: [fbox | 6660 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome

Der Teil wo das Modul anders reagieren müsste anhand der Ergebnisse der vorherigen Funktionen
-> read_LuaData.9618] - SIGNIFICANT:data.lua not supportet.
-> Get_SmartHome_Devices_List.8042] - SIGNIFICANT:evaluating user info -> Unexpected result: $VAR1

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 = {
2024.02.17 15:22:15 3: [fbox | 0000 | 252.07.57 | Set.1170] - BASIC:set fbox smartHome
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.

Die Frage wäre IMO: was sollte das Modul in diesem Falle machen?
Jeglicher Neustart/Initialisierung des Moduls funktioniert anschliessend ja bisher einwandfrei.

Sowas ist ja evtl. auch ein Thema, wenn man eine alte SID verwendet, aber auch ein Problem feststellt...
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 | 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

JoWiemann

Hallo neobiker,

ich habe jetzt noch ein paar Fehlerprüfungen eingebaut. Vielleicht magst Du ja nochmal testen.

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

neobiker

Hallo Jörg,
ich habe die neue Version installiert, habe es bisher aber nicht geschafft den Fehler wieder zu provozieren.
Ich versuche noch ein paar Mal einen Fehler zu provozieren.

Anderes Thema DOSCIS:
Beim auslesen der DOCSIS Werte habe ich noch einen Fehler gefunden (Copy+Paste):
box_docsis30_Ds_nonCorrErrors zeigen die Werte von box_Ds_latencys an.

Diese Werte möchte ich wegschreiben, nur im FHEM ansehen macht ja wenig Sinn.
Dafür nutze ich InfluxDBlogger, welcher beliebige Readings in eine InfluxDB überführt.
Derzeit stehen die DOCSIS Werte der verschiedenen Kanäle in den Readings in einem Array gebündelt, getrennt durch ein Leerzeichen.
Wenn die Kanäle nicht als einzelnes Reading verfügbar sind, muss ich/man das
  • zuerst auseinanderpflücken
  • die Channel-ID ergänzen
bevor man das Reading nutzen kann.

Die Channel-ID fehlt noch in den Readings. Die ist notwendig, da die Channel-ID nicht fortlaufend/aufsteigend ist, man kann sie also nicht einfach selber per Index den Werten aus dem Array zuordnen.

Da die Werte in einem Array stehen, muss man noch eine Funktion schreiben, welche aus dem Reading box_docsis30_nonCorrErrors für jeden Kanal den entsprechenden Wert aus dem Array ermittelt. Diese Funktion könnte in FHEM sein - an der Quelle, welche einzelne Readings erzeugt, anstatt ein Array.
Oder in InfluxDB in einer Routine welche die Daten zuerst auseinanderpflückt, bevor sie je Kanal gespeichert werden.
In meinem Shell-Skript schreibe ich die Werte für jeden Kanal einzeln in die InfluxDB.

JoWiemann

Zitat von: neobiker am 06 März 2024, 10:22:28Anderes Thema DOSCIS:
Beim auslesen der DOCSIS Werte habe ich noch einen Fehler gefunden (Copy+Paste):
box_docsis30_Ds_nonCorrErrors zeigen die Werte von box_Ds_latencys an.

Diese Werte möchte ich wegschreiben, nur im FHEM ansehen macht ja wenig Sinn.
Dafür nutze ich InfluxDBlogger, welcher beliebige Readings in eine InfluxDB überführt.
Derzeit stehen die DOCSIS Werte der verschiedenen Kanäle in den Readings in einem Array gebündelt, getrennt durch ein Leerzeichen.
Wenn die Kanäle nicht als einzelnes Reading verfügbar sind, muss ich/man das
  • zuerst auseinanderpflücken
  • die Channel-ID ergänzen
bevor man das Reading nutzen kann.

Die Channel-ID fehlt noch in den Readings. Die ist notwendig, da die Channel-ID nicht fortlaufend/aufsteigend ist, man kann sie also nicht einfach selber per Index den Werten aus dem Array zuordnen.

Da die Werte in einem Array stehen, muss man noch eine Funktion schreiben, welche aus dem Reading box_docsis30_nonCorrErrors für jeden Kanal den entsprechenden Wert aus dem Array ermittelt. Diese Funktion könnte in FHEM sein - an der Quelle, welche einzelne Readings erzeugt, anstatt ein Array.
Oder in InfluxDB in einer Routine welche die Daten zuerst auseinanderpflückt, bevor sie je Kanal gespeichert werden.
In meinem Shell-Skript schreibe ich die Werte für jeden Kanal einzeln in die InfluxDB.

Hallo neobiker,

für die Auswertung der FritzBox Ereignisse habe ich die Möglichkeit geschaffen eine eigene Sub per Attribut blocking/nonblocking aufrufen zu lassen. Das kann ich für docsis auch hinterlegen und würde Dir einfach entweder den hash oder ein JSON übergeben. Die Sub wird dann immer nach dem abholen der Daten aufgerufen und befindet sich am Besten in der 99_myUtils.pm.

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

RalfRog

Zitat von: JoWiemann am 06 März 2024, 10:46:56...
für die Auswertung der FritzBox Ereignisse habe ich die Möglichkeit geschaffen eine eigene Sub per Attribut blocking/nonblocking aufrufen zu lassen...

Das funktioniert gut! (nutze ich um fehlerhafte Anmeldungen zu melden) ;D

Gruß und Danke nochmal Ralf

FHEM auf Raspi 2B mit nanoCUL, HM-MOD-RPI-PCB und über LAN MAX!Cube mit a-culFW (Stack 868 + 433)
HM- Fensterkontakte, UP-Schalter, Bewegungsmelder und ein Rauchmelder

erwin

Hallo Jörg,
eigentlich funktioniert alles Bestens - DANKE!
Ein kleinen Schönheitsfehler:
Ein FB6490, die remote via IP-sec VPN verbunden ist, (daher kann ich nicht Erreichbarkeit nicht ausschließen),
bringt ab und zu:
2024.03.11 10:28:09.014 2: [TA_Fritzbox | 6490 | 141.07.57 | Readout_Response.5120] - SIGNIFICANT:Device is offline
2024.03.11 10:28:09.020 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 5430.
2024.03.11 10:28:09.021 3: eval: {FRITZBOX_Readout_Done('TA_Fritzbox|RXJyb3J8RGV2aWNlIGlzIG9mZmxpbmV8ZmhlbS0+c2lkVGltZXwwfGZoZW0tPnNpZEVyckNvdW50fDF8LT5XRUJDT05ORUNUfDA=')}
2024.03.11 10:28:09.022 1: stacktrace:
2024.03.11 10:28:09.022 1:     main::__ANON__                      called by ./FHEM/72_FRITZBOX.pm (5430)
2024.03.11 10:28:09.022 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (5184)
2024.03.11 10:28:09.023 1:     main::FRITZBOX_Readout_Done         called by (eval 45613) (1)
2024.03.11 10:28:09.023 1:     (eval)                              called by fhem.pl (1177)
2024.03.11 10:28:09.024 1:     main::AnalyzePerlCommand            called by fhem.pl (1206)
2024.03.11 10:28:09.024 1:     main::AnalyzeCommand                called by fhem.pl (1133)
2024.03.11 10:28:09.024 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (263)
2024.03.11 10:28:09.024 1:     main::telnet_Read                   called by fhem.pl (3985)
2024.03.11 10:28:09.025 1:     main::CallFn                        called by fhem.pl (786)
..dass temporäre offline wäre nicht das Problem, die Frage/Bitte wäre, ob du das anschließende processing abbrechen könntest.
das Problem passiert ca. 3-4 mal in 24h.
l.g. erwin
FHEM aktuell auf RaspberryPI Mdl 1-4
Maintainer: 00_KNXIO.pm 10_KNX.pm
User: CUNO2 (868 SLOWRF) - HMS100xx, FS20, FHT, 1-Wire  - 2401(iButton), 18x20, 2406, 2413 (AVR), 2450,..,MQTT2, KNX, SONOFF, mySENSORS,....
Hardware:  Busware ROT, Weinzierl IP731, 1-Wire GW,...

JoWiemann

Zitat von: erwin am 11 März 2024, 19:33:07Hallo Jörg,
eigentlich funktioniert alles Bestens - DANKE!
Ein kleinen Schönheitsfehler:
Ein FB6490, die remote via IP-sec VPN verbunden ist, (daher kann ich nicht Erreichbarkeit nicht ausschließen),
bringt ab und zu:
2024.03.11 10:28:09.014 2: [TA_Fritzbox | 6490 | 141.07.57 | Readout_Response.5120] - SIGNIFICANT:Device is offline
2024.03.11 10:28:09.020 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 5430.
2024.03.11 10:28:09.021 3: eval: {FRITZBOX_Readout_Done('TA_Fritzbox|RXJyb3J8RGV2aWNlIGlzIG9mZmxpbmV8ZmhlbS0+c2lkVGltZXwwfGZoZW0tPnNpZEVyckNvdW50fDF8LT5XRUJDT05ORUNUfDA=')}

l.g. erwin
[/quote]

Hallo Erwin,

würdest Du bitte die letzte Beta aus diesem Post: https://forum.fhem.de/index.php?msg=1305650 einmal einspielen. Damit sollte die Fehlermeldung nicht mehr auftreten.

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

erwin

Feedback: Test seit gestern 23:30, bisher 2mal Readout_Response.5123] - SIGNIFICANT:Device is offline
Die Beta funktioniert, danke!
l.g. erwin
FHEM aktuell auf RaspberryPI Mdl 1-4
Maintainer: 00_KNXIO.pm 10_KNX.pm
User: CUNO2 (868 SLOWRF) - HMS100xx, FS20, FHT, 1-Wire  - 2401(iButton), 18x20, 2406, 2413 (AVR), 2450,..,MQTT2, KNX, SONOFF, mySENSORS,....
Hardware:  Busware ROT, Weinzierl IP731, 1-Wire GW,...

JoWiemann

Zitat von: erwin am 12 März 2024, 18:29:07Feedback: Test seit gestern 23:30, bisher 2mal Readout_Response.5123] - SIGNIFICANT:Device is offline
Die Beta funktioniert, danke!
l.g. erwin

Hallo erwin,

Danke für die Rückmeldung. Ich habe die Version jetzt eingecheckt.

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

Ralli

Hallo Jo,

kleiner Schönheitsfehler:

2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/72_FRITZBOX.pm line 3502.
2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 3502.
Gruß,
Ralli

Proxmox 8.2 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.3 dev, virtualisierte RaspberryMatic (3.75.7.20240420) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.1.5) und HMW-GW, FRITZBOX 7490 (07.57), FBDECT, Siri und Alexa

JoWiemann

Zitat von: Ralli am 11 April 2024, 06:30:15Hallo Jo,

kleiner Schönheitsfehler:

2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/72_FRITZBOX.pm line 3502.
2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 3502.

Hallo,

kommt das beim Neustart?

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

Ralli

Gruß,
Ralli

Proxmox 8.2 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.3 dev, virtualisierte RaspberryMatic (3.75.7.20240420) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.1.5) und HMW-GW, FRITZBOX 7490 (07.57), FBDECT, Siri und Alexa

Jamo

Hallo Jörg,
ich habe was komisches:

- Meine Readings wie Presence, mac_, etc werden einige Stunden nach update und fhem restart nicht mehr aktualisiert. Debug log 5 um den Zeitpunkt siehe unten, der hat allerdings andere Zeitstempel als mein FritzBox 'copy for Forum'
- Version aktuell 07.57.13
- Das war in der version 07.57.12c auch schon so, ich bin damals wieder auf eine version ich glaube 07.57.11c Beta zurueck, mit der hat das update der readings im Minutentakt funktioniert.
- Wenn ich dann z.B manuell das Wlan schalte, werden folgenden nur readings aktualisiert (Zeitstempel 20:07:01), alle anderen aber weiterhin nicht (Zeitstempel 18:51:33, code siehe unten):
box_guestWlanRemain  -1                    2024-04-10 20:07:01
box_guestWlan  on                                2024-04-10 20:07:01
box_wlan_2.4GHz on                               2024-04-10 20:07:01
box_wlan_5GHz on                                 2024-04-10 20:07:01
retStat_lastReadout 9 values captured in 2.13 s  2024-04-10 20:07:01   
retStat_processReadout 0.00 s                    2024-04-10 20:07:01
state           WLAN: on gWLAN: on               2024-04-10 20:07:01
- nach manuellem set FritzBox update gehts auch wiedeer
- Log5 siehe unten

Log 5:2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Helper_process_JSON.9870] - DEBUG:Decode JSON string.
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:box_wlan_2.4GHz: on
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:box_wlan_5GHz: on
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:box_guestWlan: on
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:box_guestWlanRemain: -1
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:box_macFilter_active: off
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:fhem->sid: 61568b02332d2566
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:fhem->sidTime: 1712808001.30042
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:fhem->sidErrCount: 0
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Add_Reading.5636] - DEBUG:readoutTime: 1.14
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Set_Wlan_OnOff.7305] - DEBUG:Handover to main process: box_wlan_2.4GHz|on|box_wlan_5GHz|on|box_guestWlan|on|box_guestWlanRemain|-1|box_macFilter_active|off|fhem->sid|61568b02332d2566|fhem->sidTime|1712808001.30042|fhem->sidErrCount|0|readoutTime|1.14
2024.04.11 06:00:01 4:[FritzBox | 7590 | 154.07.57 | Readout_SetGet_Done.5827] - EXPANDED:Back at main process
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5262] - DEBUG:box_ disable list: none
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5266] - DEBUG:filter list: none
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5430] - DEBUG:SET box_guestWlanRemain = '-1'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5430] - DEBUG:SET box_wlan_5GHz = 'on'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5430] - DEBUG:SET box_guestWlan = 'on'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5430] - DEBUG:SET box_macFilter_active = 'off'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5430] - DEBUG:SET box_wlan_2.4GHz = 'on'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5463] - DEBUG:SET state = 'WLAN: on gWLAN: on'
2024.04.11 06:00:01 5:[FritzBox | 7590 | 154.07.57 | Readout_Process.5489] - DEBUG:BulkUpdate lastReadout: 9 values captured in 1.14 s
2024.04.11 06:00:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 06:01:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
.....
2024.04.11 07:03:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:04:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:05:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:06:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:07:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:08:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
-> hier set FritzBox update gemacht
2024.04.11 07:09:02 3:[FritzBox | 7590 | 154.07.57 | Set.1080] - BASIC:set FritzBox update
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2902] - EXPANDED:Old readout process still running. Killing old process HASH(0x55970e427b80)
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2915] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Run_Web.2967] - EXPANDED:Prepare query string for luaQuery.
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Run_Web.3081] - EXPANDED:ReadOut gestartet: &radio=configd:settings/WEBRADIO/list(Name)&box_dect=

copy for forum:define FritzBox FRITZBOX 192.168.100.1
attr FritzBox INTERVAL 60
attr FritzBox boxUser user
attr FritzBox disable 0
attr FritzBox disableDectInfo 1
attr FritzBox disableFonInfo 1
attr FritzBox enableAlarmInfo 0
attr FritzBox enablePassivLanDevices 0
attr FritzBox enableSIP 1
attr FritzBox enableVPNShares 1
attr FritzBox event-on-change-reading box_connect,box_guestWlan,box_wlan_2.4GHz,box_wlan_5GHz,fhemAppState,gsm_internet,mac_,Presence_.*
attr FritzBox event-on-update-reading box_dect
attr FritzBox group SERVER
attr FritzBox lanDeviceReading mac
attr FritzBox room FritzBox,Favourites
attr FritzBox sortby 09
attr FritzBox verbose 0
attr FritzBox webCmd update:checkAPIs
#   APICHECKED 1
#   APICHECK_RET_CODES Ok
#   DEBUGLOG   OFF
#   DEF        192.168.100.1
#   FUUID      60830952-f33f-97bf-8358-1a539c756bf35220
#   HOST       192.168.100.1
#   INTERVAL   60
#   LUADATA    1
#   LUAQUERY   1
#   MODEL      FRITZ!Box 7590
#   NAME       FritzBox
#   NR         2838
#   NTFY_ORDER 50-FritzBox
#   SECPORT    49443
#   SID_RENEW_CNT 1
#   SID_RENEW_ERR_CNT 0
#   STATE      5:on
#2:on
#Guest:on
#   TIMEOUT    55
#   TR064      1
#   TYPE       FRITZBOX
#   UPNP       1
#   VERSION    07.57.13
#   WEBCONNECT 1
#   eventCount 518
#   OLDREADINGS:
#   READINGS:
#     2024-04-09 04:07:54   DSLisON         1
#     2024-04-10 18:51:33   Presence_abcd present
..
#     2024-04-10 18:51:33   Presence_efgh  absent
#     2024-04-10 18:51:33   box_connect     Connected
#     2024-04-10 18:51:33   box_connection_Type IP_Routed
#     2024-04-10 18:51:33   box_cpuTemp     67
#     2024-04-10 18:51:33   box_dect        on
#     2024-04-10 18:51:33   box_dns_Server0 82.145.9.8
#     2024-04-10 18:51:33   box_dns_Server1 82.144.41.8
#     2024-04-10 18:51:33   box_dsl_downStream 199.702
#     2024-04-10 18:51:33   box_dsl_upStream 42.839
#     2024-04-10 18:51:33   box_fon_LogNewest 72 10.04.24 02:30:14
#     2024-04-10 18:51:33   box_fwVersion   154.07.57
#     2024-04-10 20:07:01   box_guestWlan   on
#     2024-04-10 18:51:33   box_guestWlanCount 0
#     2024-04-10 20:07:01   box_guestWlanRemain -1
#     2024-04-10 18:51:33   box_ipv4_Extern 82.140.57.250
#     2024-04-10 18:51:33   box_ipv6_Extern ::
#     2024-04-10 18:51:33   box_ipv6_Prefix ::
#     2024-04-10 18:51:33   box_last_connect_err ERROR_NONE
#     2024-04-10 20:07:01   box_macFilter_active off
#     2024-04-10 18:51:33   box_mac_Address 44:4E:6D:A4:3B:F2
#     2024-04-10 08:31:22   box_meshRole    master
#     2024-04-10 10:22:15   box_model       FRITZ!Box 7590 [7590 - avm]
#     2024-04-10 18:51:33   box_moh         default
#     2024-04-10 18:51:33   box_powerRate   34
#     2024-04-10 18:51:33   box_rateDown    4.444
#     2024-04-10 18:51:33   box_rateUp      1.325
#     2024-04-10 18:51:33   box_stdDialPort allFons
#     2024-04-10 18:51:33   box_sys_LogNewest 2018 10.04.24 18:29:12
#     2024-04-10 18:51:33   box_tr064       on
#     2024-04-10 18:51:33   box_tr069       off
#     2024-04-10 18:51:33   box_upnp        on
#     2024-04-10 18:51:33   box_upnp_control_activated on
#     2024-04-10 18:51:33   box_uptime      1303740 sec = 15T 02:09:00
#     2024-04-10 18:51:33   box_uptimeConnect 58878 sec = 0T 16:21:18
#     2024-04-10 18:51:33   box_wan_AccessType DSL
#     2024-04-10 20:07:01   box_wlan_2.4GHz on
#     2024-04-10 20:07:01   box_wlan_5GHz   on
#     2024-04-10 18:51:33   box_wlan_Count  0
#     2024-04-10 18:51:33   box_wlan_LogExtended off
#     2024-04-10 18:51:33   box_wlan_LogNewest 641 10.04.24 08:31:21
#     2024-04-10 18:51:33   diversity1      SIP1
#     2024-04-10 18:51:33   diversity4_state off
#     2024-04-10 18:51:33   gsm_internet    0
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-04-10 18:51:33   mac_00_11_22_33_44_55 [lan...]
#     2024-03-10 18:27:44   retStat_enableVPNshare vpn1->off
#     2024-04-10 20:07:01   retStat_lastReadout 9 values captured in 2.13 s
#     2024-04-10 20:07:01   retStat_processReadout 0.00 s
#     2024-04-10 20:07:01   state           WLAN: on gWLAN: on
#     2024-04-10 18:51:33   tam1            Anrufbeantworter
#     2024-04-10 18:51:33   tam1_newMsg     0
#     2024-04-10 18:51:33   tam1_oldMsg     0
#     2024-04-10 18:51:33   tam1_state      off
#     2024-04-10 18:51:33   userTicket01    290240
#     2024-04-10 18:51:33   wlanAll         off
#     2024-04-10 18:51:33   wlanAny         off
#   fhem:
#     LOCAL      0
#     definedHost 192.168.100.1
#     fd_50      ISDN- und Schnurlostelefone
#     fd_60      C4
#     fd_61      Gigaset
#     fd_70      IP_Phone1
#     fd_9       alle Telefone
#     fdn_C4     60
#     fdn_Gigaset 61
#     fdn_IP_Phone1 70
#     fdn_ISDN- und Schnurlostelefone 50
#     fdn_alle Telefone 9
#     is_double_wlan 1
#     radioCount 40
#     sid        1234567890
#     sidErrCount 0
#     sidNewCount 0
#     sidTime    1712772421.43314
#     landevice:
#       ........
#       192.168.100.1 fritz.box
#       192.168.100.10 DR-LIG16
#       192.168.100.100 EGPM-Wohn
#       .........
#       192.168.179.8
#       192.168.179.9
#       00_11_22_33_44_55 lan...
#       00_11_22_33_44_55 lan...
#       landevice1022112 SX1999
# .....
#       landevice3431 fritz.box
#....
#       landevice82546 PC-192-168-179-11
#       landevice82547 PC-192-168-179-4
#       landevice82549 PC-192-168-179-18
#       landevice84206
#       landevice84548
#       landevice84549
#       landevice84550
#       landevice84551
#       landevice84552
#       landevice84553
#       landevice84566
#       landevice84567
#       landevice84575
#       landevice84596
#       landevice84602

#   helper:
#     FhemLog3Std 0
#     TimerCmd   FritzBox.Cmd
#     TimerReadout FritzBox.Readout
#     debugLog   FritzBox_debugLog
#     logDebug   
#     timerInActive 0
#     READOUT_RUNNING_PID:
#       loglevel   0
#   hmccu:
#
setstate FritzBox 5:on\
2:on\
Guest:on
setstate FritzBox 2024-04-10 18:51:33 .box_TodayBytesReceivedHigh 1
setstate FritzBox 2024-04-10 18:51:33 .box_TodayBytesReceivedLow 748594094
setstate FritzBox 2024-04-10 18:51:33 .box_TodayBytesSentHigh 0
setstate FritzBox 2024-04-10 18:51:33 .box_TodayBytesSentLow 1286452972
setstate FritzBox 2024-04-09 04:07:54 DSLisON 1
.....
...
setstate FritzBox 2024-04-10 18:51:33 box_upnp on
setstate FritzBox 2024-04-10 18:51:33 box_upnp_control_activated on
setstate FritzBox 2024-04-10 18:51:33 box_uptime 1303740 sec = 15T 02:09:00
setstate FritzBox 2024-04-10 18:51:33 box_uptimeConnect 58878 sec = 0T 16:21:18
setstate FritzBox 2024-04-10 18:51:33 box_wan_AccessType DSL
setstate FritzBox 2024-04-10 20:07:01 box_wlan_2.4GHz on
setstate FritzBox 2024-04-10 20:07:01 box_wlan_5GHz on
setstate FritzBox 2024-04-10 18:51:33 box_wlan_Count 0
setstate FritzBox 2024-04-10 18:51:33 box_wlan_LogExtended off
setstate FritzBox 2024-04-10 18:51:33 box_wlan_LogNewest 641 10.04.24 08:31:21
setstate FritzBox 2024-04-10 18:51:33 diversity1 SIP1
setstate FritzBox 2024-04-10 18:51:33 diversity4_state off
setstate FritzBox 2024-04-10 18:51:33 gsm_internet 0
....
setstate FritzBox 2024-04-10 18:51:33 mac_landevice3447 inactive: 192.168.100.15
setstate FritzBox 2024-04-10 18:51:33 mac_landevice3449 abcd [landevice3449]
setstate FritzBox 2024-03-10 18:27:44 retStat_enableVPNshare vpn1->off
setstate FritzBox 2024-04-10 20:07:01 retStat_lastReadout 9 values captured in 2.13 s
setstate FritzBox 2024-04-10 20:07:01 retStat_processReadout 0.00 s
setstate FritzBox 2024-04-10 20:07:01 state WLAN: on gWLAN: on
setstate FritzBox 2024-04-10 18:51:33 tam1 Anrufbeantworter
setstate FritzBox 2024-04-10 18:51:33 tam1_newMsg 0
setstate FritzBox 2024-04-10 18:51:33 tam1_oldMsg 0
setstate FritzBox 2024-04-10 18:51:33 tam1_state off
setstate FritzBox 2024-04-10 18:51:33 userTicket01 290240
setstate FritzBox 2024-04-10 18:51:33 wlanAll off
setstate FritzBox 2024-04-10 18:51:33 wlanAny off

Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

JoWiemann

Hallo Jamo,

ein Intervall mit 60 Sekunden ist schon sehr ambitioniert. Ich habe irgendwann das TimeOut für den nonBlocking Prozess von 35 auf 50 Sekunden hoch gesetzt. Es gab hier viele Meldungen für einen TimeOut beim Hochfahren von Fhem. Ich checke Heute sowieso eine neue Version ein. In der habe ich das Attribut nonblockingTimeOut dann mal um weitere Auswahlzeiten ergänzt. Dort kannst Du dann 35 Sekunden auswählen.

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

Jamo

Hallo Jörg, danke.

Das Attribut nonblockingTimeOut habe ich jetzt schon mal über 'attr FritzBox nonblockingTimeOut 35' auf 35 gesetzt, ist auch angenommen worden vom Modul, ich beobachte.

Die 60 Sekunden Interval mache wegen der Anwesenheitserkennung, ist aber innerhalb der Specification (smalles possible Interval 60 Seconds) laut helptext.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

Ralli

Zitat von: JoWiemann am 11 April 2024, 07:16:31
Zitat von: Ralli am 11 April 2024, 06:30:15Hallo Jo,

kleiner Schönheitsfehler:

2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/72_FRITZBOX.pm line 3502.
2024.04.11 05:59:57.655 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 3502.

Hallo,

kommt das beim Neustart?

Grüße Jörg

Mit dem heutigen Update Vergangenheit. Danke.
Gruß,
Ralli

Proxmox 8.2 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.3 dev, virtualisierte RaspberryMatic (3.75.7.20240420) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.1.5) und HMW-GW, FRITZBOX 7490 (07.57), FBDECT, Siri und Alexa

Jamo

Zitat von: JoWiemann am 11 April 2024, 14:02:16Hallo Jamo,

ein Intervall mit 60 Sekunden ist schon sehr ambitioniert. Ich habe irgendwann das TimeOut für den nonBlocking Prozess von 35 auf 50 Sekunden hoch gesetzt. Es gab hier viele Meldungen für einen TimeOut beim Hochfahren von Fhem. Ich checke Heute sowieso eine neue Version ein. In der habe ich das Attribut nonblockingTimeOut dann mal um weitere Auswahlzeiten ergänzt. Dort kannst Du dann 35 Sekunden auswählen.

Grüße Jörg
Hallo Jörg,
sowohl 10/20/35/50/55 Sekunden für das attr nonblockingTimeOut (Bei Interval 60) funktionieren nicht, alle Werte führen früher oder später dazu, das die Readings bis auf die oben beschriebenen Ausnahmen nicht mehr aktualisiert werden.

Bezüglich des "Intervall mit 60 Sekunden ist schon sehr ambitioniert" -> das hat bei mir seit mindestens 6 Jahren mit allen Versionen des 72_FRITZBOX.pm problemlos funktioniert. Es geht erst seit den letzten 3 Versionen nicht mehr, ich glaube version 12b oder so, als wegen einem manuellem edit der fhem.cfg der Neustart/InitialisierungStart Prozess verändert wurde.

Nun gut, was ich aber nicht verstehe, ist das wenn der timeout überschritten wird, und der FRITZBOX_Readout_Run_Web nicht durchgeführt werden kann, dann muss doch abgebrochen und ein neuer Prozess gestartet werden. Aber aus meinem Log 5 oben geht hervor, das der der "Old readout process still running" ist, und erst durch ein manuelles update gekillt wird

Laut FHEMWIKI fuer den BlockingCall (den ich im code gefunden hab, soll doch im Falle eines Abruchs durch einen überschrittenen Timeout eine abortFn aufgerufen werden, womit man den alten Prozess dann killen könnte und dann einen neuen FRITZBOX_Readout_Run_Web prozess starten könnte?

Beste Grüsse, Jamo

Nochmal der Log 5 von Oben2024.04.11 07:06:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:07:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
2024.04.11 07:08:18 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2918] - EXPANDED:Skip fork process FRITZBOX_Readout_Run_Web
-> hier ein manuelles set FritzBox update gemacht
2024.04.11 07:09:02 3:[FritzBox | 7590 | 154.07.57 | Set.1080] - BASIC:set FritzBox update
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2902] - EXPANDED:Old readout process still running. Killing old process HASH(0x55970e427b80)
2024.04.11 07:09:02 4:[FritzBox | 7590 | 154.07.57 | Readout_Start.2915] - EXPANDED:Fork process FRITZBOX_Readout_Run_Web
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

JoWiemann

Hallo Jamo,

danke für die Informationen. Grundsätzlich habe ich eigentlich nichts an der nonBlocking Logik geändert. Ich werde versuchen das nachzustellen. Da wir aktuell einen Immobilienwechsel durchführen kann das etwas 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

Jamo

Zitat von: JoWiemann am 12 April 2024, 20:14:36Hallo Jamo,

danke für die Informationen. Grundsätzlich habe ich eigentlich nichts an der nonBlocking Logik geändert. Ich werde versuchen das nachzustellen. Da wir aktuell einen Immobilienwechsel durchführen kann das etwas dauern.

Grüße Jörg
Hallo Jörg,
danke und keine Eile, ich bin jetzt erstmal auf die 07.57.12 Beta (nicht die 07.57.12b) zurück,
das funktioniert für mich. Viel Erfolg beim Immobilienwechsel und schönes Wochenende!
Beste Grüsse!
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

Jamo

Hallo Joerg,
nur zur Info, die Version "07.57.12 Beta" vom 2024-02-01 zeigt das Verhalten nicht. Also die funktioniert problemlos. Ich habe mal einen diff gemacht, und in der Tat am nonblocking und am Readout scheint es keine Unterschiede zu geben. Beste Grüsse!
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

JoWiemann

#79
Zitat von: Jamo am 13 April 2024, 09:53:48Hallo Joerg,
nur zur Info, die Version "07.57.12 Beta" vom 2024-02-01 zeigt das Verhalten nicht. Also die funktioniert problemlos. Ich habe mal einen diff gemacht, und in der Tat am nonblocking und am Readout scheint es keine Unterschiede zu geben. Beste Grüsse!

Hallo Jamo,

Danke für die Analyse. Ich habe die Fehlerbehandlung umgebaut. Vielleicht liegt da noch der Wurm drin. Ziel war es, dass ein Fehler nicht mehr alle geholten Daten verwirft. Muss ich mir dann mal in Ruhe ansehen.

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

Seli

Ich kann die Beobachtung von Jamo bestätigen. Ich benutze ebenso die mac-Readings für die Anwesenheitserkennung seit Jahren problemlos. Nach einem "update" werden die readings zunächst minütlich aktualisiert, aber irgendwann bricht es dann ab. Dieses Verhalten ist relativ neu.

Grüße,
Seli
Raspberry Pi 3, FHEM 5.8
CUL868 V3 (FS20/IT): FHT80TF|PIRI|PIRI-2|TFK|S4A-2|ST|SU|S8|HMS 100 WD|IT-1500|GRR-3500
HomeMatic HMLAN_UART: HM-CC-RT-DN|HM-SEN-MDIR-O|HM-SEC-SC-2|HM-TC-IT-WM-W-EU|HM-LC-SW4-PCB 4|HM-WDS-OTH|HM-OU-LED16|HM-RC-4-3
JeeLink v3c, Rademacher duoFern, Philips Hue

juemuc

#81
Hallo zusammen,

ich kann dies zum Glück nicht bestätigen. Ich habe event-on-change mit folgenden Werten definiert: "state,mac.*". Wenn dies nicht mehr funktionieren würde, würden andere Geräte nicht ein bzw. ausgeschaltet werden. Es würde also recht schnell auffallen  8) 

Ich nutze eine FB6690. Habt Ihr ggf. temporär event-on-change gelöscht.

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).

Jamo

#82
Hallo Seli,
gut das ich nicht der einzige bin, bei dem das Problem auftritt.

Hallo Juergen,
nein, wir haben event-on-change nicht geloescht, das habe ich gar nicht gesetzt. Ich spreche davon das der Zeitstempel der spezifischen Readings nicht mehr geupdated wird. Nach einem Web refresh sollte auch der Zeitstempel geaendert werden, auch wenn eoc nicht gesetzt ist. Ich brauche das event nicht, aber das reading sollte aktuell sein, das ich den status des Readings abfrage.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

juemuc

Hallo Jamo,

bei mir wird auch der Zeitstempel aktualisiert. Sehr merkwürdig. Ist für Jörg das Finden der NAdel im Heuhaufen.
Welche Fritzbox nutzt ihr und welches Intervall habt Ihr eingestellt. Ich nutze 120sec.

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).

Jamo

Zitat von: juemuc am 14 April 2024, 22:14:21Hallo Jamo,

bei mir wird auch der Zeitstempel aktualisiert. Sehr merkwürdig. Ist für Jörg das Finden der NAdel im Heuhaufen.
Welche Fritzbox nutzt ihr und welches Intervall habt Ihr eingestellt. Ich nutze 120sec.

Viele Grüße
Jürgen
Steht alles oben https://forum.fhem.de/index.php?msg=1310370

Joerg hat schon angedeutet, das es evtl an der neuen Fehlerbehandlung liegt, wo er vermeiden wollte, das im Fehlerfall Readings verworfen werden. Das warte ich jetzt ab.
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

Christian.

Ich habe nicht die gesamte Diskussion verfolgt, glaube aber vom zuletzt beschriebenen Problem betroffen zu sein. Ich möchte Infos beisteuern, um das Problem einzukreisen:

  • Mit dem Modul in Version 07.57.13a (2024-04-11 / SVN-Revision 28783) werden keine Readings aktualisiert.
  • Ein Downgrade auf Version 07.57.12c (2024-04-03 / SVN-Revision 28743) schafft Abhilfe.
  • Die Umgebung (FHEM-Installation inkl. Konfiguration) ist dabei unverändert.

Die dazwischen liegende Version 07.57.13 (2024-04-09 / SVN-Revision 28778) habe ich nicht getestet.
Raspberry Pi 3 mit FHEM; Arduino Nano mit ConfigurableFirmata (S0-Stromzähler); nanoCUL (MAX!); SIGNALduino (RXB6, 433 MHz); eBus; RS485 & D0 (SolarView); DVB-T (Thermo-/Hygrometer); Z-Wave; ZigBee

mähschaf

Hallo und guten Morgen,

ich weiß nicht, ob es weiterhilft oder eher verwirrt, aber folgende Info:

Der Fehler trat bei mir nach einem Update gestern auf, jedoch nur bei den beiden 7390, nicht bei meiner 7490?!?

Ein Downgrade hat geholfen. Timeout habe ich bei keiner Box gesetzt.

Schönen Sonntag und erfolgreichen Immobilienwechsel :)

Martin

RappaSan

Habe soeben festgestellt, daß Presence im event-Modus ebenfalls nicht mehr funktioniert.
Betroffen ist
$Id: 72_FRITZBOX.pm 28783 2024-04-11 12:13:32Z jowiemann.

Mit der Version
$Id: 72_FRITZBOX.pm 28642 2024-03-12 17:00:48Z jowiemann
läuft alles wie gewohnt.

Christian.

Zitat von: Christian. am 21 April 2024, 09:33:44
  • Ein Downgrade auf Version 07.57.12c (2024-04-03 / SVN-Revision 28743) schafft Abhilfe.

Das muss ich korrigieren. Nach ca. 10 Stunden werden auch mit Revision 28743 keine Werte mehr geliefert. Ich wechsle jetzt auf Version 07.57.11b (2024-02-08 / SVN-Revision 28495).
Raspberry Pi 3 mit FHEM; Arduino Nano mit ConfigurableFirmata (S0-Stromzähler); nanoCUL (MAX!); SIGNALduino (RXB6, 433 MHz); eBus; RS485 & D0 (SolarView); DVB-T (Thermo-/Hygrometer); Z-Wave; ZigBee

Ryker

#89
Bei mir funktioniert seit vor Kurzem die Presenzerkennung nicht mehr.
Sind die Geräte online, dann ist alles OK. Sind die Geräte offline, dann bekomme ich jetzt im ReadingsProxy anstelle von "inactive" ein "inactive: 192.168.178.x". Das läßt sich dann dann im PRESENCE-Module dann nicht mehr auswerten in der Art:
function {ReadingsVal("State_Handy_Conni","state","") ne "inactive" ? 1:0}
weil eben nun die IP-Adresse noch hinten dran hängt. Die will ich auch nicht statisch mit einbauen, weil die kann sich auch mal ändern.

Ich hab mir zwar jetzt über einen dirty-hack den Wert im Readingsproxy wieder auf "inactive" gesetzt, wenn das Gerät inactive ist, indem ich dort ein
attr State_Handy_Conni valueFn {($VALUE =~ m/inactive/)?"inactive":$VALUE}
eingebaut habe.

Aber hat jemand eine Idee wo und wie man an dem Fritzbox-Modul wieder das alte verhalten einstellen kann ?

JoWiemann

Zitat von: Ryker am 22 April 2024, 08:00:09Aber hat jemand eine Idee wo und wie man an dem Fritzbox-Modul wieder das alte verhalten einstellen kann ?

Hallo,

wenn ich im Renovieren/Umzug Stress etwas Zeit finde, baue ich hierfür etwas ein.

Grüße Jörg

An Alle,

Ihr müsst im Moment 3 bis 4 Wochen Geduld haben.

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

Zitat von: Ryker am 22 April 2024, 08:00:09Bei mir funktioniert seit vor Kurzem die Presenzerkennung nicht mehr.
Sind die Geräte online, dann ist alles OK. Sind die Geräte offline, dann bekomme ich jetzt im ReadingsProxy anstelle von "inactive" ein "inactive: 192.168.178.x". Das läßt sich dann dann im PRESENCE-Module dann nicht mehr auswerten in der Art:
function {ReadingsVal("State_Handy_Conni","state","") ne "inactive" ? 1:0}
weil eben nun die IP-Adresse noch hinten dran hängt. Die will ich auch nicht statisch mit einbauen, weil die kann sich auch mal ändern.

Ich hab mir zwar jetzt über einen dirty-hack den Wert im Readingsproxy wieder auf "inactive" gesetzt, wenn das Gerät inactive ist, indem ich dort ein
attr State_Handy_Conni valueFn {($VALUE =~ m/inactive/)?"inactive":$VALUE}
eingebaut habe.

Aber hat jemand eine Idee wo und wie man an dem Fritzbox-Modul wieder das alte verhalten einstellen kann ?

Ja, das sollte über das Attribut "deviceInfo" gehen.

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).

Ryker

#92
Ja, das "deviceinfo" Attribute hatte ich mir auch schon angeschaut, aber das steuert ja nur, wie Geräte angezeigt werden die gerade online sind.
Offline-Geräte (die nicht mehr in den readings erwähnt werden) betrifft das nicht. Und genau das ist aber der springende Punkt.
Hier erscheint im ReadingsProxy, dann aber zusätzlich zum "inactive" auch noch die IP-Adresse. Ich weiß auch nicht woher der ReadingsProxy das holt. Iwie muss das das Fritzbox-Modul ja liefern, obwohl kein Reading dazu da ist.

Aber wie gesagt, Ich filtere jetzt im ReadingsProxy im valueFN alles weg nach dem Wort "inactive" sobald der Status den Wert "inactive" beinhaltet. Damit klappt meine Anwesenheitserkennung anhand der an der Fritzbox angemeldeten Handys wieder.

juemuc

Die Info bei "inaktiv" hat Jörg für mich eingebaut. Nur so kann ich bei einer abgebauten Wireguard-Verbindung erkennen, welches Gerät sich abgemeldet hat. Bei Wireguard-Verbindungen wird keine MAC-Adresse übergeben.
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).

Ryker

#94
ok, ja, hat auch seine Berechtigung.
Wenn es noch einen Parameter gäbe womit man das Verhalten abschalten könnte, dann könnte ich meinen Bugfix aus meiner Präsenzerkennung wieder rausnehmen.
Aber eilt nicht, jetzt lassen wir ihn erstmal seinen Umzug fertig machen.

Christian.

Ich möchte nochmal rückmelden, dass die Version 07.57.11b (2024-02-08 / SVN-Revision 28495) funktioniert. Wer also eine schnelle Lösung sucht, kann sich mit einem Downgrade behelfen.
Raspberry Pi 3 mit FHEM; Arduino Nano mit ConfigurableFirmata (S0-Stromzähler); nanoCUL (MAX!); SIGNALduino (RXB6, 433 MHz); eBus; RS485 & D0 (SolarView); DVB-T (Thermo-/Hygrometer); Z-Wave; ZigBee