2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00

70_ENIGMA2.pm: be more precise with required define parameters

git-svn-id: https://svn.fhem.de/fhem/trunk@11774 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-07-09 14:04:45 +00:00
parent d16b8cb24f
commit 330616c516

View File

@ -746,7 +746,7 @@ sub ENIGMA2_Define($$) {
if ( int(@a) < 3 ) {
my $msg =
"Wrong syntax: define <name> ENIGMA2 <ip-or-hostname> [<port>] [<poll-interval>] [<http-user] [<http-password>]";
"Wrong syntax: define <name> ENIGMA2 <ip-or-hostname> [[[[<port>] [<poll-interval>]] [<http-user]] [<http-password>]]";
Log3 $name, 4, $msg;
return $msg;
}
@ -2859,7 +2859,7 @@ sub ENIGMA2_GetRemotecontrolCommand($) {
<ul>
<a name="ENIGMA2define" id="ENIGMA2define"></a> <b>Define</b>
<ul>
<code>define &lt;name&gt; ENIGMA2 &lt;ip-address-or-hostname&gt; [&lt;port&gt;] [&lt;poll-interval&gt;] [&lt;http-user&gt;] [&lt;http-password&gt;]</code><br>
<code>define &lt;name&gt; ENIGMA2 &lt;ip-address-or-hostname&gt; [[[[&lt;port&gt;] [&lt;poll-interval&gt;]] [&lt;http-user&gt;]] [&lt;http-password&gt;]]</code><br>
<br>
This module controls ENIGMA2 based devices like Dreambox or VUplus via network connection.<br>
<br>