36_Shelly.pm: Bugfix in der CommandRef
git-svn-id: https://svn.fhem.de/fhem/trunk@17542 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -38,7 +38,7 @@ use vars qw{%attr %defs};
|
||||
sub Log($$);
|
||||
|
||||
#-- globals on start
|
||||
my $version = "1.35";
|
||||
my $version = "1.36";
|
||||
|
||||
#-- these we may get on request
|
||||
my %gets = (
|
||||
@@ -1001,7 +1001,7 @@ sub Shelly_Set ($@) {
|
||||
<a name="Shellydefine"></a>
|
||||
<h4>Define</h4>
|
||||
<p>
|
||||
<code>define <name> Shelly <IP address></code>
|
||||
<code>define <name> Shelly <IP address></code>
|
||||
<br />Defines the Shelly device. </p>
|
||||
Notes: <ul>
|
||||
<li>The attribute <code>model</code> <b>must</b> be set</li>
|
||||
@@ -1012,7 +1012,7 @@ sub Shelly_Set ($@) {
|
||||
For Shelly all Shelly devices
|
||||
<ul>
|
||||
<li><a name="shelly_sconfig"></a>
|
||||
<code>set <name> config <registername> [channel] <value></code>
|
||||
<code>set <name> config <registername> [<channel>] <value></code>
|
||||
<br />set the value of a configuration register</li>
|
||||
</ul>
|
||||
For Shelly switching devices (mode=relay for model=shelly2, standard for all other models)
|
||||
@@ -1022,7 +1022,7 @@ sub Shelly_Set ($@) {
|
||||
<br />switches channel <channel> on or off.</li>
|
||||
<li><a name="shelly_onofftimer"></a>
|
||||
<code>set <name> on-for-timer|off-for-timer <channel> <time></code>
|
||||
<br />switches channel <channel> on or off for <time> seconds.</li>
|
||||
<br />switches <channel> on or off for <time> seconds.</li>
|
||||
</ul>
|
||||
<br/>For Shelly roller blind devices (mode=roller for model=shelly2)
|
||||
<ul>
|
||||
@@ -1037,7 +1037,7 @@ sub Shelly_Set ($@) {
|
||||
<h4>Get</h4>
|
||||
<ul>
|
||||
<li><a name="shelly_config"></a>
|
||||
<code>get <name> config <registername> [channel]</code>
|
||||
<code>get <name> config <registername> [$lt;channel>]</code>
|
||||
<br />get the value of a configuration register and writes it in reading config</li>
|
||||
<li><a name="shelly_registers"></a>
|
||||
<code>get <name> registers</code>
|
||||
|
||||
Reference in New Issue
Block a user