[enhancement] - add resetvalveerrors ic24

This commit is contained in:
Sebastian 2022-08-11 12:40:13 +02:00
parent d660366aea
commit 388ae1635e
3 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
[final] - removed debug print lines, cleanup code
[final 2] - removed debug dumper code

View File

@ -571,7 +571,7 @@ sub Set {
if ( AttrVal( $name, 'model', 'unknown' ) eq 'electronic_pressure_pump' );
$list .=
'closeAllValves:noArg stopScheduleValve:select,'.ReadingsVal( $name, 'ic24-valves_connected', '1' ).' resumeScheduleValve:select,'.ReadingsVal( $name, 'ic24-valves_connected', '1' )
'closeAllValves:noArg resetvalveerrors:noArg stopScheduleValve:select,'.ReadingsVal( $name, 'ic24-valves_connected', '1' ).' resumeScheduleValve:select,'.ReadingsVal( $name, 'ic24-valves_connected', '1' )
if ( AttrVal( $name, 'model', 'unknown' ) eq 'ic24' );
foreach my $valve (split(',', ReadingsVal( $name, 'ic24-valves_connected', '1'))) {
@ -1290,6 +1290,7 @@ sub ReadingLangGerman {
'n/a' => 'nicht verfügbar',
'pump_not_filled' => 'Pumpe nicht gefüllt',
'clean_fine_filter' => 'Filter reinigen',
'concurrent_limit_reached' => 'Grenze gleichzeitig geöffneter Ventile erreicht',
);
if (
@ -1820,6 +1821,7 @@ sub SetPredefinedStartPoints {
<li>manualDurationValve4 n - open valve 4 for n minutes</li>
<li>manualDurationValve5 n - open valve 5 for n minutes</li>
<li>manualDurationValve6 n - open valve 6 for n minutes</li>
<li>resetvalveerrors n - reset valve errormessage</li>
<li>resumeScheduleValve n - (re)start irrigation schedule for valve n</li>
<li>stopScheduleValve n m - stop irrigation schedule for valve n (Default: 2038-01-18T00:00:00.000Z, Gardena
App reads it as "permanently")</li>
@ -2235,6 +2237,7 @@ sub SetPredefinedStartPoints {
<li>manualDurationValve4 n - Ventil 4 f&uuml;r n Minuten &ouml;ffnen</li>
<li>manualDurationValve5 n - Ventil 5 f&uuml;r n Minuten &ouml;ffnen</li>
<li>manualDurationValve6 n - Ventil 6 f&uuml;r n Minuten &ouml;ffnen</li>
<li>resetvalveerrors n - Ventilfehler zur&uuml;cksetzen</li>
<li>resumeScheduleValve n - Zeitplan f&uuml;r Ventil n wieder aktivieren</li>
<li>stopScheduleValve n m - Zeitplan f&uuml;r Ventil n anhalten f&uuml;r m Stunden (Default: 2038-01-18T00:00:00.000Z,
durch Gardena-App als "dauerhaft" interpretiert)</li>

View File

@ -1,2 +1,2 @@
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
UPD 2022-08-09_15:03:22 107552 FHEM/74_GardenaSmartDevice.pm
UPD 2022-08-11_12:40:06 107803 FHEM/74_GardenaSmartDevice.pm