diff --git a/fhem/FHEM/72_FRITZBOX.pm b/fhem/FHEM/72_FRITZBOX.pm index 0c9a33be1..a309e5afe 100644 --- a/fhem/FHEM/72_FRITZBOX.pm +++ b/fhem/FHEM/72_FRITZBOX.pm @@ -2972,7 +2972,12 @@ sub FRITZBOX_Ring_Run_Web($) elsif (int (@FritzFons) && $ttsLink && $hash->{fhem}{radio}{$fhemRadioStation} ne "FHEM") { push @webCmdArray, "configd:settings/WEBRADIO".$fhemRadioStation."/Name" => "FHEM"; push @webCmdArray, "configd:settings/WEBRADIO".$fhemRadioStation."/Bitmap" => "1023"; - FRITZBOX_Log $hash, 3, "Create new internet radio station $fhemRadioStation: 'FHEM' for ringing with text-to-speech"; + if (int @webCmdArray) { + FRITZBOX_Log $hash, 3, "Create new internet radio station $fhemRadioStation: 'FHEM' for ringing with text-to-speech" + } + else { + FRITZBOX_Log $hash, 3, "Your Fritz!OS version has limited interfaces. Cannot create radio station 'FHEM' for ringing with text-to-speech." + } } #Execute command array @@ -4700,18 +4705,23 @@ sub FRITZBOX_fritztris($) Rings the internal numbers for "duration" seconds and (on Fritz!Fons) with the given "ring tone" name. Different internal numbers have to be separated by a comma (without spaces).
- Default duration is 5 seconds. Default ring tone is the internal ring tone of the device. + Default duration is 5 seconds. The Fritz!Box can create delays. Default ring tone is the internal ring tone of the device. Ring tone will be ignored for collected calls (9 or 50).
- If the attribute 'ringWithIntern' is specified, the text behind 'show:' will be shown as the callers name. (only for Fritz!OS<=6.24) + If the call is taken the callee hears the "music on hold" which can also be used to transmit messages. +
+ The parameter ringtone, show:, say: and play: need the API Telnet or webcm. +
+
+ If the attribute 'ringWithIntern' is specified, the text behind 'show:' will be shown as the callers name. Maximal 30 characters are allowed.
- On Fritz!Fons the parameter 'say:' can be used to let the phone speak a message (max. 100 characters). - Alternatively a MP3 link can be played with 'play:'. This creates the internet radio station 'FHEM' and uses translate.google.com for text2speech. It will always play the complete text/sound. It will than ring with standard ring tone until the end of the 'ring duration' is reached.
+ On Fritz!Fons the parameter 'say:' can be used to let the phone speak a message (max. 100 characters) instead of using the ringtone. + Alternatively a MP3 link can be played with 'play:'. This creates the internet radio station 'FHEM' and uses translate.google.com for text2speech. It will always play the complete text/sound. It will than ring with standard ring tone until the end of the 'ring duration' is reached. Say and play works only with a single Fritz!Fon. -
- If the call is taken the callee hears the "music on hold" which can also be used to transmit messages. +
+ This behaviour may vary depending on the Fritz!OS.
  • set <name> sendMail [to:<Address>] [subject:<Subject>] [body:<Text>] @@ -5052,6 +5062,7 @@ sub FRITZBOX_fritztris($)

  • set <name> ring <intNummern> [Dauer [Klingelton]] [show:Text] [say:Text | play:Link] +
    Beispiel:
    set fritzbox ring 611,612 5 Budapest show:Es regnet @@ -5061,21 +5072,28 @@ sub FRITZBOX_fritztris($) set fritzbox ring 610 10 play:http://raspberrypi/sound.mp3
    Lässt die internen Nummern für "Dauer" Sekunden und (auf Fritz!Fons) mit dem angegebenen "Klingelton" klingeln. +
    Mehrere interne Nummern müssen durch ein Komma (ohne Leerzeichen) getrennt werden.
    - Standard-Dauer ist 5 Sekunden. Standard-Klingelton ist der interne Klingelton des Gerätes. + Standard-Dauer ist 5 Sekunden. Es kann aber zu Verzögerungen in der Fritz!Box kommen. Standard-Klingelton ist der interne Klingelton des Gerätes. Der Klingelton wird für Rundrufe (9 oder 50) ignoriert.
    - Wenn das Attribut 'ringWithIntern' existiert, wird der Text hinter 'show:' als Name des Anrufers angezeigt. (nur bei Fritz!OS<=6.24) + Wenn der Anruf angenommen wird, hört der Angerufene die Wartemusik (music on hold), welche ebenfalls zur Nachrichtenübermittlung genutzt werden kann. +
    + Die Parameter Klingelton, show:, say: und play: benötigen die API Telnet oder webcm. +
    +
    + Wenn das Attribut 'ringWithIntern' existiert, wird der Text hinter 'show:' als Name des Anrufers angezeigt. Er darf maximal 30 Zeichen lang sein.
    - Auf Fritz!Fons wird der Text (max. 100 Zeichen) hinter dem Parameter 'say:' direkt angesagt. +
    + Auf Fritz!Fons wird der Text (max. 100 Zeichen) hinter dem Parameter 'say:' direkt angesagt und ersetzt den Klingelton.
    Alternativ kann mit 'play:' auch ein MP3-Link abgespielt werden. Dabei wird die Internetradiostation 39 'FHEM' erzeugt und translate.google.com für Text2Speech genutzt. Es wird immer der komplette Text/Klang abgespielt. Bis zum Ende der 'Klingeldauer' klingelt das Telefon dann mit seinem Standard-Klingelton. + Das Abspielen ist nur auf einem einzelnen Fritz!Fon m&oouml;glich.
    - Das Abspielen ist nur auf einem einzelnen Fritz!Fon möglich. + Je nach Fritz!OS kann das beschriebene Verhalten abweichen.
    - Wenn der Anruf angenommen wird, hört der Angerufene die Wartemusik (music on hold), welche ebenfalls zur Nachrichtenübermittlung genutzt werden kann.

  • set <name> sendMail [to:<Address>] [subject:<Subject>] [body:<Text>]