2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 07:19:24 +00:00

FRITZBOX: docu

git-svn-id: https://svn.fhem.de/fhem/trunk@10773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
grompo 2016-02-08 19:02:22 +00:00
parent 5451ffed14
commit 43bf42294d

View File

@ -3,9 +3,9 @@
#
# 72_FRITZBOX.pm
#
# (c) 2014-2015 Torsten Poitzsch < torsten . poitzsch at gmx . de >
# (c) 2014-2016 tupol http://forum.fhem.de/index.php?action=profile;u=5432
#
# This module handles the Fritz!Box router and the Fritz!Phone MT-F
# This module handles the Fritz!Box router and the Fritz!Phone MT-F and C4
#
# Copyright notice
#
@ -4591,7 +4591,7 @@ sub FRITZBOX_fritztris($)
<a name="FRITZBOX"></a>
<h3>FRITZBOX</h3>
(en | <a href="http://fhem.de/commandref_DE.html#FRITZBOX">de</a>)
<div style="width:800px">
<div>
<ul>
Controls some features of a Fritz!Box router. Connected Fritz!Fon's (MT-F, MT-D, C3, C4) can be used as
signaling devices. MP3 files and Text2Speech can be played as ring tone or when calling phones.
@ -4693,9 +4693,9 @@ sub FRITZBOX_fritztris($)
<br>
<code>set fritzbox ring 611,612 5 Budapest show:It is raining</code>
<br>
<code>set fritzbox ring 611 say:(en)It is raining</code>
<code>set fritzbox ring 611 8 say:(en)It is raining</code>
<br>
<code>set fritzbox ring 610 play:http://raspberrypi/sound.mp3</code>
<code>set fritzbox ring 610 10 play:http://raspberrypi/sound.mp3</code>
<br>
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).
@ -4703,11 +4703,13 @@ sub FRITZBOX_fritztris($)
Default duration is 5 seconds. Default ring tone is the internal ring tone of the device.
Ring tone will be ignored for collected calls (9 or 50).
<br>
If the <a href=#FRITZBOXattr>attribute</a> 'ringWithIntern' is specified, the text behind 'show:' will be shown as the callers name.
If the <a href=#FRITZBOXattr>attribute</a> 'ringWithIntern' is specified, the text behind 'show:' will be shown as the callers name. (only for Fritz!OS<=6.24)
Maximal 30 characters are allowed.
<br>
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 <u>always</u> play the complete text/sound. It will than ring with standard ring tone until the end of the 'ring duration' is reached.
<br>
Say and play works only with a single Fritz!Fon.
<br>
If the call is taken the callee hears the "music on hold" which can also be used to transmit messages.
</li><br>
@ -4948,7 +4950,7 @@ sub FRITZBOX_fritztris($)
<a name="FRITZBOX"></a>
<h3>FRITZBOX</h3>
(<a href="http://fhem.de/commandref.html#FRITZBOX">en</a> | de)
<div style="width:800px">
<div>
<ul>
Steuert gewisse Funktionen eines Fritz!Box Routers. Verbundene Fritz!Fon's (MT-F, MT-D, C3, C4) k&ouml;nnen als Signalger&auml;te genutzt werden. MP3-Dateien und Text (Text2Speech) k&ouml;nnen als Klingelton oder einem angerufenen Telefon abgespielt werden.
<br>
@ -5054,9 +5056,9 @@ sub FRITZBOX_fritztris($)
<br>
<code>set fritzbox ring 611,612 5 Budapest show:Es regnet</code>
<br>
<code>set fritzbox ring 610 say:Es regnet</code>
<code>set fritzbox ring 610 8 say:Es regnet</code>
<br>
<code>set fritzbox ring 610 play:http://raspberrypi/sound.mp3</code>
<code>set fritzbox ring 610 10 play:http://raspberrypi/sound.mp3</code>
<br>
L&auml;sst die internen Nummern f&uuml;r "Dauer" Sekunden und (auf Fritz!Fons) mit dem angegebenen "Klingelton" klingeln.
Mehrere interne Nummern m&uuml;ssen durch ein Komma (ohne Leerzeichen) getrennt werden.
@ -5064,12 +5066,15 @@ sub FRITZBOX_fritztris($)
Standard-Dauer ist 5 Sekunden. Standard-Klingelton ist der interne Klingelton des Ger&auml;tes.
Der Klingelton wird f&uuml;r Rundrufe (9 oder 50) ignoriert.
<br>
Wenn das <a href=#FRITZBOXattr>Attribut</a> 'ringWithIntern' existiert, wird der Text hinter 'show:' als Name des Anrufers angezeigt.
Wenn das <a href=#FRITZBOXattr>Attribut</a> 'ringWithIntern' existiert, wird der Text hinter 'show:' als Name des Anrufers angezeigt. (nur bei Fritz!OS<=6.24)
Er darf maximal 30 Zeichen lang sein.
<br>
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.
<br>
Alternativ kann mit 'play:' auch ein MP3-Link abgespielt werden. Dabei wird die Internetradiostation 39 'FHEM' erzeugt und translate.google.com f&uuml;r Text2Speech genutzt. Es wird <u>immer</u> der komplette Text/Klang abgespielt. Bis zum Ende der 'Klingeldauer' klingelt das Telefon dann mit seinem Standard-Klingelton.
<br>
Das Abspielen ist nur auf einem einzelnen Fritz!Fon möglich.
<br>
Wenn der Anruf angenommen wird, h&ouml;rt der Angerufene die Wartemusik (music on hold), welche ebenfalls zur Nachrichten&uuml;bermittlung genutzt werden kann.
</li><br>