2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00

36_Shelly: added use Sub::Util

git-svn-id: https://svn.fhem.de/fhem/trunk@29122 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Starkstrombastler 2024-09-02 21:15:40 +00:00
parent c88cc03420
commit 0e6e133b89
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it # Do not insert empty lines here, update check depends on it
- bugfix: 36_Shelly: added package command: use Sub::Util
- bugfix: 38_netatmo: changed token refresh to internal reading - bugfix: 38_netatmo: changed token refresh to internal reading
- feature: 70_PylonLowVoltage: new attr waitTimeBetweenRS485Cmd - feature: 70_PylonLowVoltage: new attr waitTimeBetweenRS485Cmd
- feature: 70_PylonLowVoltage: implement pylon groups - feature: 70_PylonLowVoltage: implement pylon groups

View File

@ -102,6 +102,7 @@
# 6.00 fix some details in commandref (german only) # 6.00 fix some details in commandref (german only)
# 6.00.1 fix: selection of readings for command 'set clear responsetimes' improved; Debug commands removed # 6.00.1 fix: selection of readings for command 'set clear responsetimes' improved; Debug commands removed
# 6.00.2 fix: reading ble (bluetooth) may be set to disabled # 6.00.2 fix: reading ble (bluetooth) may be set to disabled
# 6.00.3 fix: use Sub::Util added
# to do roller: get maxtime open/close from shelly # to do roller: get maxtime open/close from shelly
# get status on stopp even when interval == 0 # get status on stopp even when interval == 0
@ -124,7 +125,7 @@ sub Log($$);
sub Shelly_Set ($@); sub Shelly_Set ($@);
#-- globals on start #-- globals on start
my $version = "6.00.2 24.08.2024"; my $version = "6.00.3 02.09.2024";
my $defaultINTERVAL = 60; my $defaultINTERVAL = 60;
my $multiplyIntervalOnError = 1.0; # mechanism disabled if value=1 my $multiplyIntervalOnError = 1.0; # mechanism disabled if value=1
@ -6489,7 +6490,7 @@ sub Shelly_HttpResponse($){
<code>define &lt;name&gt; Shelly &lt;IP address&gt;[:port] [[user:]password]</code> <code>define &lt;name&gt; Shelly &lt;IP address&gt;[:port] [[user:]password]</code>
<br />Defines the Shelly device. </p> <br />Defines the Shelly device. </p>
Notes: <ul> Notes: <ul>
<li>This module needs the JSON and the HttpUtils package</li> <li>This module needs the JSON, the HttpUtils and the Sub::Util package</li>
<li>In Shelly button, switch, roller or dimmer devices one may set URL values that are "hit" when the input or output status changes. <li>In Shelly button, switch, roller or dimmer devices one may set URL values that are "hit" when the input or output status changes.
This is useful to transmit status changes arising from locally pressed buttons directly to FHEM by setting This is useful to transmit status changes arising from locally pressed buttons directly to FHEM by setting
<ul> <ul>
@ -7064,7 +7065,7 @@ sub Shelly_HttpResponse($){
Benutzername: nur bei Gen1: Benutzername: nur bei Gen1:
Passwort: --> Passwort: -->
Hinweise: <ul> Hinweise: <ul>
<li>Dieses Modul benötigt die Pakete JSON und HttpUtils</li> <li>Dieses Modul benötigt die Pakete JSON, HttpUtils und Sub::Util</li>
<li>Das Attribut <code>model</code> wird automatisch gesetzt. <li>Das Attribut <code>model</code> wird automatisch gesetzt.
Für Shelly Geräte, welche nicht von diesem Modul unterstützt werden, wird das Attribut zu <i>generic</i> gesetzt. Für Shelly Geräte, welche nicht von diesem Modul unterstützt werden, wird das Attribut zu <i>generic</i> gesetzt.