2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

FritzFon: Docu

git-svn-id: https://svn.fhem.de/fhem/trunk@7018 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tpoitzsch 2014-11-18 21:26:30 +00:00
parent 990ad8a28e
commit 69c37e8f8e

View File

@ -207,9 +207,22 @@ FRITZFON_Set($$@)
return "Missing parameters after command 'set $name $cmd'";
}
}
elsif ( lc $cmd eq 'startradio')
{
if (int @val > 0)
{
# FRITZFON_Ring $hash, @val; # join("|", @val);
return undef;
}
else
{
return "Missing parameters after command 'set $name $cmd'";
}
}
my $list = "reinit:noArg"
. " message"
. " ring";
. " ring"
. " startradio";
return "Unknown argument $cmd, choose one of $list";
} # end FRITZFON_Set
@ -479,17 +492,22 @@ FRITZFON_Exec($$)
<br>
Reads in some information of the connected phone devices.
</li><br>
<li><code>set &lt;name&gt; ring &lt;internalNumber&gt; [duration] [ringTone]</code>
<br>
Rings the internal number for duration (seconds) and (if possible) with the given ring tone.
<br>
</li><br>
<li><code>set &lt;name&gt; message &lt;text&gt;</code>
<br>
Stores the text to show it later as 'caller' on the ringing phone.
This is done by changing the name of the calling internal number.
Maximal 30 characters are allowed.
</li><br>
<li><code>set &lt;name&gt; ring &lt;internalNumber&gt; [duration] [ringTone]</code>
<br>
Rings the internal number for duration (seconds) and (if possible) with the given ring tone.
<br>
</li><br>
<li><code>set &lt;name&gt; startradio &lt;internalNumber&gt; [name]</code>
<br>
not implemented yet. Start the internet radio on the given Fritz!Fon
<br>
</li><br>
</ul>
<a name="FRITZFONget"></a>