Gelöst: Modul Fritzbox Fehler Set_Cmd_Done.2099 Could not access

Begonnen von Samsi, 28 Juli 2017, 09:30:30

Vorheriges Thema - Nächstes Thema

Samsi

Hallo,

Meine Sprachausgabe geht seit einiger Zeit nicht mehr. Die Fritzbox ist noch mit einer alten Firmware (6.05) mit Telnet.

Anrufen mit set call rufnummer  funktioniert noch, aber wenn ich say hinzufüge, klappt es mit google nicht mehr:

ich habe mal das wget aus dem log direkt auf der Console (Beaglebone FHEM Server) ausgeführt (Oder wird der Befehl über Telnet direkt auf der Fritzbox ausgeführt durch Shell_Exec_Telnet):

wget -U Mozilla -O "/var/tmp/fhem_moh_upload" "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&prev=input&tl=de&q=Achtung%20Alarmanlage%20ausgel%C3%B6st."
--2017-07-28 09:20:22--  http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&prev=input&tl=de&q=Achtung%20Alarmanlage%20ausgel%C3%B6st.
Resolving translate.google.com (translate.google.com)... 172.217.21.206, 2a00:1450:4001:818::200e
Connecting to translate.google.com (translate.google.com)|172.217.21.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11328 (11K) [audio/mpeg]
Saving to: `/var/tmp/fhem_moh_upload'

100%[======================================================================================================>] 11,328      --.-K/s   in 0.001s

2017-07-28 09:20:22 (13.9 MB/s) - `/var/tmp/fhem_moh_upload' saved [11328/11328]



In dem Log kommt aber:

wget: bad address 'translate.google.com


Vielleicht hat hier jemand eine Idee?




2017.07.28 09:13:00 3: FRITZBOX: set FB7270 call xxxxxxxxxx 60 say:Achtung Alarmanlage ausgelöst.
2017.07.28 09:13:00 4: FRITZBOX FB7270: Set_Cmd_Start.2072 Fork process FRITZBOX_Call_Run_Web
2017.07.28 09:13:00 5: FRITZBOX FB7270: Call_Run_Web.2315 Extracted call duration of 60 s.
2017.07.28 09:13:00 5: FRITZBOX FB7270: Call_Run_Web.2347 Created Text2Speech internet link: http://tr                                          anslate.google.com/translate_tts?ie=UTF-8&client=tw-ob&prev=input&tl=de&q=Achtung%20Alarmanlage%20ausg                                          el%C3%B6st.
2017.07.28 09:13:00 5: FRITZBOX FB7270: readPassword.4658 Read FritzBox password from file
2017.07.28 09:13:00 4: FRITZBOX FB7270: Telnet_OpenCon.4096 Open Telnet connection to 192.168.0.72
2017.07.28 09:13:00 5: FRITZBOX FB7270: Telnet_OpenCon.4106 Wait for user or password prompt.
2017.07.28 09:13:00 5: FRITZBOX FB7270: Telnet_OpenCon.4139 Entering password
2017.07.28 09:13:00 5: FRITZBOX FB7270: Telnet_OpenCon.4142 Wait for command prompt
2017.07.28 09:13:01 5: FRITZBOX FB7270: Telnet_OpenCon.4161 Change command prompt
2017.07.28 09:13:01 4: FRITZBOX FB7270: Shell_Exec_Telnet.4018 Execute 6 command(s)
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute '[ -f "/var/tmp/fhem_moh_upload                                          " ] && rm "/var/tmp/fhem_moh_upload"'
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result ''
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute '[ -f "/var/tmp/fhem_fx_moh_old                                          " ] && rm "/var/tmp/fhem_fx_moh_old"'
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result ''
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute '[ -f "/var/tmp/fhem_fx_moh_new                                          " ] && rm "/var/tmp/fhem_fx_moh_new"'
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result ''
2017.07.28 09:13:01 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute 'wget -U Mozilla -O "/var/tmp/f                                          hem_moh_upload" "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&prev=input&tl=de&q=Ac                                          htung%20Alarmanlage%20ausgel%C3%B6st."'
2017.07.28 09:13:12 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result ''
2017.07.28 09:13:12 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute '[ -f "/var/tmp/fhem_moh_upload                                          " ] && echo 1 || echo 0'
2017.07.28 09:13:23 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result ''
2017.07.28 09:13:23 5: FRITZBOX FB7270: Shell_Exec_Telnet.4022 Execute '[ -e /var/flash/fx_moh ] && ec                                          ho 1 || echo 0'
017.07.28 09:13:31 5: FRITZBOX FB7270: Shell_Exec_Telnet.4030 Result 'com/translate_tts?ie=UTF-8&clie                                          nt=tw-ob&prev=input&tl=de&q=Achtung%20Alarmanlage
%20ausgel%C3%B6st."
[ -f "/var/tmp/fhem_moh_upload" ] && echo 1 || echo 0
[ -e /var/flash/fx_moh ] && echo 1 || echo 0
wget: bad address 'translate.google.com'
<xFHEMx> [ -f "/var/tmp/fhem_moh_upload" ] && echo 1 || echo 0
0
<xFHEMx> [ -e /var/flash/fx_moh ] && echo 1 || echo 0
1'
2017.07.28 09:13:31 4: FRITZBOX FB7270: Shell_Exec_Telnet.4041 Received 6 answer(s)
2017.07.28 09:13:32 4: FRITZBOX FB7270: Set_Cmd_Done.2092 Back at main process
2017.07.28 09:13:32 1: FRITZBOX FB7270: Set_Cmd_Done.2099 Could not access 'http://translate.google.co                                          m/translate_tts?ie=UTF-8&client=tw-ob&prev=input&tl=de&q=Achtung%20Alarmanlage%20ausgel%C3%B6st.'



-----------------------------------------------------------------------------------------------



Gelöst:

Wie ich vermutet habe wird das wget auf der Fritzbox durchgeführt. Und da meine FB 7270 nur intern als FHEM-Sklave benutzt wird hab ich diese wohl irgendwann falsch konfiguriert, so das dass Gateway und DNS Server nicht richtig funktioniert haben.


FHEM 5.5 / BBB Debian Wheezy

Homematic CFG-LAN

HM-Sec-MDIR / HM-Sec-SD / HM-Sec-WDS / HM-LC-Sw2-FM / HM-Sec-SC / HM-LC-Sw1PBU-FM / HM-SCI-3-FM / HM-Sec-Key / HM-RC-Key3-B / HM-LC-Dim1TPBU-FM /  HM-CC-RT-DN / HM-PBI-4-FM / HM-RC-Key4-2 / HM-ES-PMSw1-Pl / HM-LC-Sw4-WM