FRITZBOX - Fritz!Box und Fritz!Fon sprechen - Jetzt auch ohne Telnet

Begonnen von tupol, 28 November 2014, 23:46:54

Vorheriges Thema - Nächstes Thema

tupol


rainer1962

2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

rainer1962

hier noch ein nachtrag :


2015.04.02 20:21:08.773 4: FRITZBOX FritzAB: Readout_Process.1034 23 values captured in 2.14 s
2015.04.02 20:22:06.804 4: FRITZBOX FritzAB: Readout_Run.660 Start update of fast changing device readings.
2015.04.02 20:22:06.809 5: FRITZBOX FritzAB: readPassword.564 Read FritzBox password from file
2015.04.02 20:22:06.813 4: FRITZBOX FritzAB: Open_Connection.2109 Open Telnet connection to 192.168.25.1
2015.04.02 20:22:06.816 5: FRITZBOX FritzAB: Open_Connection.2119 Wait for user or password prompt.
2015.04.02 20:22:07.000 5: FRITZBOX FritzAB: Open_Connection.2156 Entering password
2015.04.02 20:22:07.001 5: FRITZBOX FritzAB: Open_Connection.2159 Wait for command prompt
2015.04.02 20:22:07.538 5: FRITZBOX FritzAB: Open_Connection.2180 Change command prompt
2015.04.02 20:22:07.558 4: FRITZBOX FritzAB: Exec_Remote.2267 Execute 22 command(s)
2015.04.02 20:22:07.558 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r wlan settings/ap_enabled'
2015.04.02 20:22:07.610 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:07.610 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r wlan settings/ap_enabled_scnd'
2015.04.02 20:22:07.671 5: FRITZBOX FritzAB: Exec_Remote.2279 Result ''
2015.04.02 20:22:07.671 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r wlan settings/guest_ap_enabled'
2015.04.02 20:22:07.731 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:07.731 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r wlan settings/guest_time_remain'
2015.04.02 20:22:07.791 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:07.791 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r dect settings/enabled'
2015.04.02 20:22:07.858 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '1'
2015.04.02 20:22:07.858 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/MOHType'
2015.04.02 20:22:07.911 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:07.911 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r power status/rate_sumact'
2015.04.02 20:22:07.971 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '36'
2015.04.02 20:22:07.971 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock0/Name'
2015.04.02 20:22:08.031 5: FRITZBOX FritzAB: Exec_Remote.2279 Result 'Wecker 1'
2015.04.02 20:22:08.031 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock0/Active'
2015.04.02 20:22:08.091 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:08.091 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock0/Time'
2015.04.02 20:22:08.158 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0645'
2015.04.02 20:22:08.158 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock0/Number'
2015.04.02 20:22:08.218 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '61'
2015.04.02 20:22:08.218 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock0/Weekdays'
2015.04.02 20:22:08.287 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '30'
2015.04.02 20:22:08.287 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock1/Name'
2015.04.02 20:22:08.341 5: FRITZBOX FritzAB: Exec_Remote.2279 Result 'Wecker 2'
2015.04.02 20:22:08.341 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock1/Active'
2015.04.02 20:22:08.401 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:08.401 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock1/Time'
2015.04.02 20:22:08.468 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0000'
2015.04.02 20:22:08.468 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock1/Number'
2015.04.02 20:22:08.521 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '1'
2015.04.02 20:22:08.521 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock1/Weekdays'
2015.04.02 20:22:08.581 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '255'
2015.04.02 20:22:08.581 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock2/Name'
2015.04.02 20:22:08.641 5: FRITZBOX FritzAB: Exec_Remote.2279 Result 'Wecker 3'
2015.04.02 20:22:08.641 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock2/Active'
2015.04.02 20:22:08.701 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0'
2015.04.02 20:22:08.701 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock2/Time'
2015.04.02 20:22:08.761 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '0000'
2015.04.02 20:22:08.761 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock2/Number'
2015.04.02 20:22:08.821 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '1'
2015.04.02 20:22:08.821 5: FRITZBOX FritzAB: Exec_Remote.2271 Execute 'ctlmgr_ctl r telcfg settings/AlarmClock2/Weekdays'
2015.04.02 20:22:08.881 5: FRITZBOX FritzAB: Exec_Remote.2279 Result '255'
2015.04.02 20:22:08.881 4: FRITZBOX FritzAB: Exec_Remote.2290 Received 22 answer(s)
2015.04.02 20:22:08.881 5: FRITZBOX FritzAB: Readout_Query.1080 box_wlan_2.4GHz: off
2015.04.02 20:22:08.882 5: FRITZBOX FritzAB: Readout_Query.1080 box_wlan_5GHz:
2015.04.02 20:22:08.882 5: FRITZBOX FritzAB: Readout_Query.1080 box_guestWlan: off
2015.04.02 20:22:08.882 5: FRITZBOX FritzAB: Readout_Query.1080 box_guestWlanRemain: 0
2015.04.02 20:22:08.882 5: FRITZBOX FritzAB: Readout_Query.1080 box_dect: on
2015.04.02 20:22:08.883 5: FRITZBOX FritzAB: Readout_Query.1080 box_moh: default
2015.04.02 20:22:08.883 5: FRITZBOX FritzAB: Readout_Query.1080 box_powerRate: 36
2015.04.02 20:22:08.883 5: FRITZBOX FritzAB: Readout_Query.1080 alarm1: Wecker 1
2015.04.02 20:22:08.883 5: FRITZBOX FritzAB: Readout_Query.1080 alarm1_state: off
2015.04.02 20:22:08.884 5: FRITZBOX FritzAB: Readout_Query.1080 alarm1_time: 06:45
2015.04.02 20:22:08.884 5: FRITZBOX FritzAB: Readout_Query.1080 alarm1_target: DECT 611
2015.04.02 20:22:08.884 5: FRITZBOX FritzAB: Readout_Query.1080 alarm1_wdays: Tu We Th Fr
2015.04.02 20:22:08.885 5: FRITZBOX FritzAB: Readout_Query.1080 alarm2: Wecker 2
2015.04.02 20:22:08.885 5: FRITZBOX FritzAB: Readout_Query.1080 alarm2_state: off
2015.04.02 20:22:08.885 5: FRITZBOX FritzAB: Readout_Query.1080 alarm2_time: 00:00
2015.04.02 20:22:08.886 5: FRITZBOX FritzAB: Readout_Query.1080 alarm2_target: FON 1 (Fritz Fon MT)
2015.04.02 20:22:08.886 5: FRITZBOX FritzAB: Readout_Query.1080 alarm2_wdays: daily
2015.04.02 20:22:08.886 5: FRITZBOX FritzAB: Readout_Query.1080 alarm3: Wecker 3
2015.04.02 20:22:08.886 5: FRITZBOX FritzAB: Readout_Query.1080 alarm3_state: off
2015.04.02 20:22:08.887 5: FRITZBOX FritzAB: Readout_Query.1080 alarm3_time: 00:00
2015.04.02 20:22:08.887 5: FRITZBOX FritzAB: Readout_Query.1080 alarm3_target: FON 1 (Fritz Fon MT)
2015.04.02 20:22:08.887 5: FRITZBOX FritzAB: Readout_Query.1080 alarm3_wdays: daily
2015.04.02 20:22:08.888 4: FRITZBOX FritzAB: Close_Connection.2206 Close Telnet connection
2015.04.02 20:22:08.888 4: FRITZBOX FritzAB: Readout_Run.915 Captured 23 values
2015.04.02 20:22:08.888 5: FRITZBOX FritzAB: Readout_Run.916 Handover (445): box_wlan_2.4GHz|off|box_wlan_5GHz||box_guestWlan|off|box_guestWlanRemain|0|box_dect|on|box_moh|default|box_powerRate|36|alarm1|Wecker 1|alarm1_state|off|alarm1_time|06:45|alarm1_target|DECT 611|alarm1_wdays|Tu We Th Fr|alarm2|Wecker 2|alarm2_state|off|alarm2_time|00:00|alarm2_target|FON 1 (Fritz Fon MT)|alarm2_wdays|daily|alarm3|Wecker 3|alarm3_state|off|alarm3_time|00:00|alarm3_target|FON 1 (Fritz Fon MT)|alarm3_wdays|daily|readoutTime|2.08
2015.04.02 20:22:08.895 4: FRITZBOX FritzAB: Readout_Done.934 Back at main process
2015.04.02 20:22:08.895 4: FRITZBOX FritzAB: Readout_Process.956 Processing 23 readouts.
2015.04.02 20:22:08.896 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm1_target = 'DECT 611'
2015.04.02 20:22:08.896 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm2_wdays = 'daily'
2015.04.02 20:22:08.897 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm3_wdays = 'daily'
2015.04.02 20:22:08.897 5: FRITZBOX FritzAB: Readout_Process.997 SET box_wlan_2.4GHz = 'off'
2015.04.02 20:22:08.897 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm2_time = '00:00'
2015.04.02 20:22:08.898 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm1_time = '06:45'
2015.04.02 20:22:08.898 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm3_time = '00:00'
2015.04.02 20:22:08.898 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm2 = 'Wecker 2'
2015.04.02 20:22:08.898 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm2_target = 'FON 1 (Fritz Fon MT)'
2015.04.02 20:22:08.899 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm2_state = 'off'
2015.04.02 20:22:08.899 5: FRITZBOX FritzAB: Readout_Process.997 SET box_moh = 'default'
2015.04.02 20:22:08.899 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm3 = 'Wecker 3'
2015.04.02 20:22:08.900 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm1_wdays = 'Tu We Th Fr'
2015.04.02 20:22:08.900 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm1_state = 'off'
2015.04.02 20:22:08.900 5: FRITZBOX FritzAB: Readout_Process.997 SET box_dect = 'on'
2015.04.02 20:22:08.901 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm1 = 'Wecker 1'
2015.04.02 20:22:08.901 5: FRITZBOX FritzAB: Readout_Process.997 SET box_powerRate = '36'
2015.04.02 20:22:08.901 5: FRITZBOX FritzAB: Readout_Process.997 SET box_guestWlan = 'off'
2015.04.02 20:22:08.901 5: FRITZBOX FritzAB: Readout_Process.1006 Ignore reading box_wlan_5GHz.
2015.04.02 20:22:08.902 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm3_target = 'FON 1 (Fritz Fon MT)'
2015.04.02 20:22:08.902 5: FRITZBOX FritzAB: Readout_Process.997 SET box_guestWlanRemain = '0'
2015.04.02 20:22:08.902 5: FRITZBOX FritzAB: Readout_Process.997 SET alarm3_state = 'off'
2015.04.02 20:22:08.903 5: FRITZBOX FritzAB: Readout_Process.1029 SET state = 'WLAN: off gWLAN: off'
2015.04.02 20:22:08.903 4: FRITZBOX FritzAB: Readout_Process.1034 23 values captured in 2.08 s
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

JoWiemann

#498
...
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

tupol

Zitat von: rainer1962 am 02 April 2015, 20:16:46
mit verbose 5 kommt leider nicht mehr ...

Ich vermute, die maximale Zeichenanzahl im Forum ist begrenzt. Hänge es mal als Datei dran.
Der zweite Log ist nur die Kurzabfrage. Ich brauch den Log nach set update.

rainer1962

2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

tupol

Also laut deinem log hast du nur ein DECT an deiner box. Ist das korrekt?
Ansonsten sollte es entsprechend der commandref funktionieren.

rainer1962

stimmt . ein DECT Fritz-Fon MT-F
Aber es geht nicht  ...
vielleicht mit änderung von heute ???
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

tupol


rainer1962

da funktioniert es  ..
wenn ich die änderung einfüge gehts auch mit mit FRITZBOX.pm



ab zeile 1405 so abändern damit auch mein Fritzfon erkannt wird ...

# Create a hash for the DECT devices whose ring tone (or radio station) can be changed
   foreach ( split( /,/, $intNo ) )
   {
      if ("AVM" eq $hash->{fhem}{$_}{brand})
      {
         FRITZBOX_Log $hash, 5, "Internal number $_ seems to be a Fritz!Fon.";
         push @FritzFons, $_ - 609;
      }
         FRITZBOX_Log $hash, 5, "Internal number $_ seems to be a Fritz!Fon.";
         push @FritzFons, $_ - 609;
   }

2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

tupol

Diese Änderung macht keinen Sinn. Man sollte besser die Ursache suchen.


Welche Nummer hat Dein DECT? Die 610?

rainer1962

ja, die 610 ....
kann es sein dsass die lte fritzbox die daten irgendwie anders verwaltet und ausgibt ?
2xFHEM auf Raspi3,MAXLAN,HMLAN,KeyMatic,MAX Heizung,2x HM-WDS10_TH-O,3xHM-SEC-SD,3xHM Wandtaster 2-Kanal, 2xWandtaster 6-Kanal,1xHM Bewegungsmelder,4xHM EinbauActor,4x Jalousien Actor,2xEGPM2LAN,2xHM DimAktor,2xFritzbox 6840/6490,4-20ma Levelsensor-Ina219,PIP5048,Raspi2 als Floorplan,4xJeeLink

tupol

Hab den Fehler gefunden und eine neue Version eingecheckt. Morgen im update.


Heiner

Hi, 

seit einem update geht bei mir die "call" Funktion nicht mehr, "ring" geht aber noch, kann das sein?

Heiner
--------------------------------
fhem auf Pi3+
CUL 868MHz, Signalduino 434MHz, HM-CFG-USB
HM, THZ, Kostal, Somfy, Conbee, Pytonbinding, FritzBox, FTUI, MQTT2

tupol

Zitat von: Heiner am 05 April 2015, 19:00:20
seit einem update geht bei mir die "call" Funktion nicht mehr, "ring" geht aber noch, kann das sein?
Sollte nicht sein. Bei mir läuft es.