Hauptmenü

Abfrage Dummy AN-AUTO-AUS

Begonnen von jensdipo, 09 August 2018, 21:25:36

Vorheriges Thema - Nächstes Thema

jensdipo

Hallo Zusammen,
hab da noch mal ne Frage bezüglich DOIF.
Ich habe mir einen Dummy angelegt in dem die Werte AN AUTO und AUS gesetzt werden.

define Poolmodus dummy
attr Poolmodus readingList state
attr Poolmodus room Pool
attr Poolmodus setList state:AN,AUTO,AUS
attr Poolmodus webCmd state

Für mich, um es leichter zu verstehen bzw mit DOIF zu Experimentieren, habe ich mir  folgendes DOIF gebaut:

define pool.steuerung DOIF ([Poolmodus:"AUTO"] and [09:00-18:00]) (set GPIO21 on) \
DOELSEIF ([Poolmodus:"AUS"]) (set GPIO21 off)\
DOELSEIF ([Poolmodus:"AN"]) (set GPIO21 on)\
DOELSE (set GPIO21 off)\
attr pool.steuerung repeatcmd 10
attr pool.steuerung room Pool

Bis auf das man sich den Poolmodus AUS sparen könnte geht dieses Konstrukt auch soweit bis auf eins.
Morgens um 9Uhr geht die Pumpe nicht an, stelle ich nach 9Uhr den Dummy auf AN oder AUS und danach wieder zurück auf AUTO Funktioniert die DOIF-Abfrage und State steht auf cmd_1.
Dann ist mir aufgefallen das im LOG jede menge Meldungen stehen die ich allerdings nicht ganz zuordnen kann:

2018.08.05 08:17:00 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
if, try help.
2018.08.05 08:17:17 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
if, try help.
2018.08.05 08:17:23 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
if, try help.
2018.08.05 08:19:45 1: ERROR evaluating my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $SELF='pool.steuerung';my $EVTPART5='6';my $EVTPART25='6';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVTPART8='9';my $EVTPART2='3';my $EVTPART1='2';my $EVTPART20='1';my $EVTPART28='9';my $EVTPART6='7';my $EVTPART23='4';my $EVTPART9='0';my $EVTPART14='5';my $EVTPART19='0';my $EVTPART7='8';my $EVTPART10='1';my $EVTPART16='7';my $EVTPART4='5';my $EVTPART26='7';my $EVTPART29='0';my $EVTPART3='4';my $EVTPART27='8';my $EVTPART11='2';my $EVTPART21='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART18='9';my $EVTPART24='5';my $EVTPART22='3';my $EVTPART12='3';my $EVTPART13='4';my $EVTPART15='6';{return undef; {
if ( ReadingsVal('Poolmodus', 'state', 'undef') eq 'AN' {fhem 'fhem set GPIO21 on' }else {fhem 'fhem set GPIO21 off'}
}}: syntax error at (eval 101) line 2, near "'AN' {"
syntax error at (eval 101) line 3, near "}
}"

2018.08.05 08:20:03 1: ERROR evaluating my $EVTPART1='2';my $EVTPART2='3';my $EVTPART20='1';my $EVTPART5='6';my $SELF='pool.steuerung';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVTPART8='9';my $EVTPART25='6';my $EVTPART19='0';my $EVTPART14='5';my $EVTPART9='0';my $EVTPART7='8';my $EVTPART28='9';my $EVTPART6='7';my $EVTPART23='4';my $EVTPART29='0';my $EVTPART26='7';my $EVTPART3='4';my $EVTPART27='8';my $EVTPART10='1';my $EVTPART4='5';my $EVTPART16='7';my $EVTPART12='3';my $EVTPART22='3';my $EVTPART13='4';my $EVTPART15='6';my $EVTPART21='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART11='2';my $EVTPART24='5';my $EVTPART18='9';{return undef; {
if ( ReadingsVal('Poolmodus', 'state', 'undef') eq 'AN' {fhem 'fhem set GPIO21 on' }else {fhem 'fhem set GPIO21 off'}
}}: syntax error at (eval 102) line 2, near "'AN' {"
syntax error at (eval 102) line 3, near "}
}"

2018.08.05 08:21:03 1: ERROR evaluating my $EVTPART27='8';my $EVTPART3='4';my $EVTPART29='0';my $EVTPART26='7';my $EVTPART4='5';my $EVTPART16='7';my $EVTPART10='1';my $EVTPART13='4';my $EVTPART15='6';my $EVTPART12='3';my $EVTPART22='3';my $EVTPART24='5';my $EVTPART18='9';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART21='2';my $EVTPART11='2';my $EVTPART20='1';my $EVTPART1='2';my $EVTPART2='3';my $EVTPART8='9';my $NAME='pool.steuerung';my $EVTPART17='8';my $EVTPART25='6';my $EVTPART5='6';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $SELF='pool.steuerung';my $EVTPART7='8';my $EVTPART19='0';my $EVTPART14='5';my $EVTPART9='0';my $EVTPART23='4';my $EVTPART6='7';my $EVTPART28='9';{return undef; {
if ( ReadingsVal('Poolmodus', 'state', 'undef') eq 'AN' {fhem "set GPIO21 on" }else {fhem "set GPIO21 off"}
}}: syntax error at (eval 103) line 2, near "'AN' {"
syntax error at (eval 103) line 3, near "}
}"

2018.08.05 08:21:46 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
if, try help.
2018.08.05 08:21:49 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
if, try help.
2018.08.05 08:25:19 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
my, try help.
2018.08.05 08:25:21 3: pool.steuerung return value: Unknown command (AN|Auto|Aus){
my, try help.
2018.08.05 08:59:42 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 216) line 5.
2018.08.05 08:59:42 3: eval: my $NAME='Poolmodus';my $TYPE='dummy';my $EVTPART0='AUTO';my $SELF='pool.steuerung';my $EVENT='AUTO';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}

}
2018.08.05 08:59:42 1: PERL WARNING: Argument "08:59:42" isn't numeric in numeric gt (>) at (eval 216) line 5.
2018.08.05 08:59:42 3: eval: my $NAME='Poolmodus';my $TYPE='dummy';my $EVTPART0='AUTO';my $SELF='pool.steuerung';my $EVENT='AUTO';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}

}
2018.08.05 08:59:42 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 217) line 5.
2018.08.05 08:59:42 3: eval: my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}

}
2018.08.05 08:59:42 1: PERL WARNING: Argument "08:59:42" isn't numeric in numeric gt (>) at (eval 217) line 5.
2018.08.05 08:59:42 3: eval: my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}

}
2018.08.05 09:00:27 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 228) line 3.
2018.08.05 09:00:27 3: eval: my $EVTPART0='AUTO';my $TYPE='dummy';my $SELF='pool.steuerung';my $EVENT='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:27 1: PERL WARNING: Argument "09:00:27" isn't numeric in numeric gt (>) at (eval 228) line 3.
2018.08.05 09:00:27 3: eval: my $EVTPART0='AUTO';my $TYPE='dummy';my $SELF='pool.steuerung';my $EVENT='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:27 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 228) line 3.
2018.08.05 09:00:27 3: eval: my $EVTPART0='AUTO';my $TYPE='dummy';my $SELF='pool.steuerung';my $EVENT='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:27 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 229) line 3.
2018.08.05 09:00:27 3: eval: my $NAME='GPIO21';my $SELF='pool.steuerung';my $EVENT='on';my $TYPE='RPI_GPIO';my $EVTPART0='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:27 1: PERL WARNING: Argument "09:00:27" isn't numeric in numeric gt (>) at (eval 229) line 3.
2018.08.05 09:00:27 3: eval: my $NAME='GPIO21';my $SELF='pool.steuerung';my $EVENT='on';my $TYPE='RPI_GPIO';my $EVTPART0='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:27 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 229) line 3.
2018.08.05 09:00:27 3: eval: my $NAME='GPIO21';my $SELF='pool.steuerung';my $EVENT='on';my $TYPE='RPI_GPIO';my $EVTPART0='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 233) line 3.
2018.08.05 09:00:33 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "09:00:33" isn't numeric in numeric gt (>) at (eval 233) line 3.
2018.08.05 09:00:33 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 233) line 3.
2018.08.05 09:00:33 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 234) line 3.
2018.08.05 09:00:33 3: eval: my $TYPE='RPI_GPIO';my $EVTPART0='on';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "09:00:33" isn't numeric in numeric gt (>) at (eval 234) line 3.
2018.08.05 09:00:33 3: eval: my $TYPE='RPI_GPIO';my $EVTPART0='on';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:33 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 234) line 3.
2018.08.05 09:00:33 3: eval: my $TYPE='RPI_GPIO';my $EVTPART0='on';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 241) line 3.
2018.08.05 09:00:41 3: eval: my $SELF='pool.steuerung';my $EVENT='AUTO';my $TYPE='dummy';my $EVTPART0='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "09:00:41" isn't numeric in numeric gt (>) at (eval 241) line 3.
2018.08.05 09:00:41 3: eval: my $SELF='pool.steuerung';my $EVENT='AUTO';my $TYPE='dummy';my $EVTPART0='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 241) line 3.
2018.08.05 09:00:41 3: eval: my $SELF='pool.steuerung';my $EVENT='AUTO';my $TYPE='dummy';my $EVTPART0='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 242) line 3.
2018.08.05 09:00:41 3: eval: my $NAME='GPIO21';my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "09:00:41" isn't numeric in numeric gt (>) at (eval 242) line 3.
2018.08.05 09:00:41 3: eval: my $NAME='GPIO21';my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:41 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 242) line 3.
2018.08.05 09:00:41 3: eval: my $NAME='GPIO21';my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:42 1: PERL WARNING: Argument "08:00" isn't numeric in numeric gt (>) at (eval 243) line 3.
2018.08.05 09:00:42 3: eval: my $NAME='GPIO21';my $EVENT='off';my $SELF='pool.steuerung';my $EVTPART0='off';my $TYPE='RPI_GPIO';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:42 1: PERL WARNING: Argument "09:00:42" isn't numeric in numeric gt (>) at (eval 243) line 3.
2018.08.05 09:00:42 3: eval: my $NAME='GPIO21';my $EVENT='off';my $SELF='pool.steuerung';my $EVTPART0='off';my $TYPE='RPI_GPIO';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:00:42 1: PERL WARNING: Argument "18:00" isn't numeric in numeric lt (<) at (eval 243) line 3.
2018.08.05 09:00:42 3: eval: my $NAME='GPIO21';my $EVENT='off';my $SELF='pool.steuerung';my $EVTPART0='off';my $TYPE='RPI_GPIO';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "08:00" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 on"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:01:44 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 251) line 3.
2018.08.05 09:01:44 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:01:44 1: PERL WARNING: Argument "09:01:44" isn't numeric in numeric gt (>) at (eval 251) line 3.
2018.08.05 09:01:44 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:01:44 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 252) line 3.
2018.08.05 09:01:44 3: eval: my $SELF='pool.steuerung';my $EVENT='off';my $EVTPART0='off';my $TYPE='RPI_GPIO';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:01:44 1: PERL WARNING: Argument "09:01:44" isn't numeric in numeric gt (>) at (eval 252) line 3.
2018.08.05 09:01:44 3: eval: my $SELF='pool.steuerung';my $EVENT='off';my $EVTPART0='off';my $TYPE='RPI_GPIO';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:06:24 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 263) line 3.
2018.08.05 09:06:24 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:06:24 1: PERL WARNING: Argument "09:06:24" isn't numeric in numeric gt (>) at (eval 263) line 3.
2018.08.05 09:06:24 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:06:24 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 264) line 3.
2018.08.05 09:06:24 3: eval: my $EVTPART0='off';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='off';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:06:24 1: PERL WARNING: Argument "09:06:24" isn't numeric in numeric gt (>) at (eval 264) line 3.
2018.08.05 09:06:24 3: eval: my $EVTPART0='off';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='off';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:07:12 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 274) line 3.
2018.08.05 09:07:12 3: eval: my $EVTPART0='AUTO';my $TYPE='dummy';my $SELF='pool.steuerung';my $EVENT='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:07:12 1: PERL WARNING: Argument "09:07:12" isn't numeric in numeric gt (>) at (eval 274) line 3.
2018.08.05 09:07:12 3: eval: my $EVTPART0='AUTO';my $TYPE='dummy';my $SELF='pool.steuerung';my $EVENT='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:07:12 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 275) line 3.
2018.08.05 09:07:12 3: eval: my $NAME='GPIO21';my $EVENT='off';my $SELF='pool.steuerung';my $TYPE='RPI_GPIO';my $EVTPART0='off';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:07:12 1: PERL WARNING: Argument "09:07:12" isn't numeric in numeric gt (>) at (eval 275) line 3.
2018.08.05 09:07:12 3: eval: my $NAME='GPIO21';my $EVENT='off';my $SELF='pool.steuerung';my $TYPE='RPI_GPIO';my $EVTPART0='off';{
my $Poolmodus = Value("Poolmodus");;
if ( $Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
if ( $Poolmodus eq "AN" ) {fhem "set GPIO21 on" }
if ( $Poolmodus eq "AUS" ) {fhem "set GPIO21 off" }
}
2018.08.05 09:15:11 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 281) line 4.
2018.08.05 09:15:11 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $TYPE='dummy';my $EVTPART0='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:15:11 1: PERL WARNING: Argument "09:15:11" isn't numeric in numeric gt (>) at (eval 281) line 4.
2018.08.05 09:15:11 3: eval: my $EVENT='AUTO';my $SELF='pool.steuerung';my $TYPE='dummy';my $EVTPART0='AUTO';my $NAME='Poolmodus';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:15:11 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 282) line 4.
2018.08.05 09:15:11 3: eval: my $EVENT='off';my $SELF='pool.steuerung';my $TYPE='RPI_GPIO';my $EVTPART0='off';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:15:11 1: PERL WARNING: Argument "09:15:11" isn't numeric in numeric gt (>) at (eval 282) line 4.
2018.08.05 09:15:11 3: eval: my $EVENT='off';my $SELF='pool.steuerung';my $TYPE='RPI_GPIO';my $EVTPART0='off';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:15:35 1: ERROR evaluating {$hm}: Global symbol "$hm" requires explicit package name (did you forget to declare "my $hm"?) at (eval 286) line 1.

2018.08.05 09:16:08 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 291) line 4.
2018.08.05 09:16:08 3: eval: my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:16:08 1: PERL WARNING: Argument "09:16:08" isn't numeric in numeric gt (>) at (eval 291) line 4.
2018.08.05 09:16:08 3: eval: my $EVTPART0='on';my $TYPE='RPI_GPIO';my $SELF='pool.steuerung';my $EVENT='on';my $NAME='GPIO21';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:16:10 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 292) line 4.
2018.08.05 09:16:10 3: eval: my $NAME='GPIO21';my $SELF='pool.steuerung';my $EVENT='on';my $TYPE='RPI_GPIO';my $EVTPART0='on';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:16:10 1: PERL WARNING: Argument "09:16:10" isn't numeric in numeric gt (>) at (eval 292) line 4.
2018.08.05 09:16:10 3: eval: my $NAME='GPIO21';my $SELF='pool.steuerung';my $EVENT='on';my $TYPE='RPI_GPIO';my $EVTPART0='on';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
{if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}}
}
2018.08.05 09:16:37 1: ERROR evaluating my $EVTPART6='7';my $EVTPART23='4';my $EVTPART28='9';my $EVTPART7='8';my $EVTPART19='0';my $EVTPART14='5';my $EVTPART9='0';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVTPART8='9';my $EVTPART25='6';my $EVTPART5='6';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $SELF='pool.steuerung';my $EVTPART20='1';my $EVTPART1='2';my $EVTPART2='3';my $EVTPART24='5';my $EVTPART18='9';my $EVTPART21='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART11='2';my $EVTPART15='6';my $EVTPART13='4';my $EVTPART12='3';my $EVTPART22='3';my $EVTPART4='5';my $EVTPART16='7';my $EVTPART10='1';my $EVTPART27='8';my $EVTPART29='0';my $EVTPART26='7';my $EVTPART3='4';{return undef; {
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO")
if ( $hms > "09:02" && $hms < "18:00")
  {fhem "set GPIO21 on"} else
  {fhem "set GPIO21 off"}
}}: syntax error at (eval 296) line 4, near ")
if"
syntax error at (eval 296) line 7, near "}
}"

2018.08.05 09:17:23 1: ERROR evaluating my $EVTPART27='8';my $EVTPART26='7';my $EVTPART29='0';my $EVTPART3='4';my $EVTPART4='5';my $EVTPART16='7';my $EVTPART10='1';my $EVTPART15='6';my $EVTPART13='4';my $EVTPART12='3';my $EVTPART22='3';my $EVTPART24='5';my $EVTPART18='9';my $EVTPART21='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART11='2';my $EVTPART20='1';my $EVTPART1='2';my $EVTPART2='3';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVTPART8='9';my $EVTPART25='6';my $EVTPART5='6';my $SELF='pool.steuerung';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $EVTPART7='8';my $EVTPART19='0';my $EVTPART14='5';my $EVTPART9='0';my $EVTPART6='7';my $EVTPART23='4';my $EVTPART28='9';{return undef; {
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO" && if $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
}}: syntax error at (eval 297) line 3, near "&& if"
syntax error at (eval 297) line 4, near "}
}"

2018.08.05 09:17:41 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 301) line 3.
2018.08.05 09:17:41 3: eval: my $NAME='Poolmodus';my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
}
2018.08.05 09:17:41 1: PERL WARNING: Argument "09:17:41" isn't numeric in numeric gt (>) at (eval 301) line 3.
2018.08.05 09:17:41 3: eval: my $NAME='Poolmodus';my $EVENT='AUTO';my $SELF='pool.steuerung';my $EVTPART0='AUTO';my $TYPE='dummy';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
}
2018.08.05 09:17:41 1: PERL WARNING: Argument "09:02" isn't numeric in numeric gt (>) at (eval 302) line 3.
2018.08.05 09:17:41 3: eval: my $NAME='GPIO21';my $TYPE='RPI_GPIO';my $EVTPART0='off';my $EVENT='off';my $SELF='pool.steuerung';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
}
2018.08.05 09:17:41 1: PERL WARNING: Argument "09:17:41" isn't numeric in numeric gt (>) at (eval 302) line 3.
2018.08.05 09:17:41 3: eval: my $NAME='GPIO21';my $TYPE='RPI_GPIO';my $EVTPART0='off';my $EVENT='off';my $SELF='pool.steuerung';{
my $Poolmodus = Value("Poolmodus");;
if ($Poolmodus eq "AUTO" && $hms > "09:02" && $hms < "18:00") {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}
}
2018.08.05 09:19:30 1: ERROR evaluating my $EVTPART19='0';my $EVTPART14='5';my $EVTPART9='0';my $EVTPART7='8';my $EVTPART28='9';my $EVTPART6='7';my $EVTPART23='4';my $EVTPART1='2';my $EVTPART2='3';my $EVTPART20='1';my $EVTPART5='6';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $SELF='pool.steuerung';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVTPART8='9';my $EVTPART25='6';my $EVTPART12='3';my $EVTPART22='3';my $EVTPART15='6';my $EVTPART13='4';my $EVTPART21='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART11='2';my $EVTPART24='5';my $EVTPART18='9';my $EVTPART29='0';my $EVTPART26='7';my $EVTPART3='4';my $EVTPART27='8';my $EVTPART10='1';my $EVTPART4='5';my $EVTPART16='7';{return undef; {
my $Poolmodus = Value("Poolmodus");;
if {($Poolmodus eq "AUTO" ) {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"}}
}}: syntax error at (eval 318) line 3, near "if {"
syntax error at (eval 318) line 3, near "}}"

2018.08.05 09:19:43 1: ERROR evaluating my $EVTPART25='6';my $EVTPART8='9';my $EVTPART17='8';my $NAME='pool.steuerung';my $EVENT='1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0';my $SELF='pool.steuerung';my $EVTPART5='6';my $EVTPART20='1';my $EVTPART2='3';my $EVTPART1='2';my $EVTPART23='4';my $EVTPART6='7';my $EVTPART28='9';my $EVTPART7='8';my $EVTPART9='0';my $EVTPART14='5';my $EVTPART19='0';my $EVTPART16='7';my $EVTPART4='5';my $EVTPART10='1';my $EVTPART27='8';my $EVTPART3='4';my $EVTPART26='7';my $EVTPART29='0';my $EVTPART18='9';my $EVTPART24='5';my $EVTPART11='2';my $TYPE='pool.steuerung';my $EVTPART0='1';my $EVTPART21='2';my $EVTPART15='6';my $EVTPART13='4';my $EVTPART22='3';my $EVTPART12='3';{return undef; {
my $Poolmodus = Value("Poolmodus");;
if (($Poolmodus eq "AUTO" ) {fhem "set GPIO21 on"} else {fhem "set GPIO21 off"})
}}: syntax error at (eval 319) line 3, near ") {"

2018.08.05 09:26:09 3: fhem "set GPIO21 on" : Usage: fhemdebug {enable | disable | status | memusage | timerList | addTimerStacktrace {0|1} }
2018.08.05 09:26:09 3: pool.steuerung return value: Usage: fhemdebug {enable | disable | status | memusage | timerList | addTimerStacktrace {0|1} }
2018.08.05 09:28:17 1: define test notify Poolmodus: Usage: define <name> notify <regexp> <command>
2018.08.05 09:28:38 1: define test notify Poolmodus: Usage: define <name> notify <regexp> <command>
2018.08.05 09:33:36 2: pool.steuerung: GPIO21 off: Unknown command GPIO21, try help.
2018.08.05 09:33:39 2: pool.steuerung: GPIO21 on: Unknown command GPIO21, try help.

Was mich daran auch ein bisschen wundert ist der Eintrag so ziemlich am Ende "2018.08.05 09:28:17 1: define test notify Poolmodus: Usage: define <name> notify <regexp> <command>"
Das Notify test habe ich vorher schon gelöscht und steht auch in der fhem.cfg nicht mehr drin.
Vielleicht hat jemand Zeit und könnte da mal drüber gucken.
MFG
Jens

Otto123

Zitat von: jensdipo am 09 August 2018, 21:25:36
....bis auf eins.
Morgens um 9Uhr geht die Pumpe nicht an, stelle ich nach 9Uhr den Dummy auf AN oder AUS und danach wieder zurück auf AUTO Funktioniert die DOIF-Abfrage und State steht auf cmd_1.
Hallo Jens,

dazu hatte ich hier erst was geschrieben.
Ich hoffe Du verstehst die Begründung warum Dein Konstrukt so nicht gehen kann, bzw genauso geht.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Frank_Huber

Zudem der dummy unnötig ist.
Kann man direkt mit dem doif erledigen.

Gesendet von meinem Doogee S60 mit Tapatalk


Per

Und warum gehört das erste Attribut zur DOIF-Definition? Schau dir mal deine Zeilenverbinder ("\") an!

jensdipo

Hallo Zusammen,
@Otto
verstanden habe ich was du da schreibst und es Funktioniert auch.
Danke
@Frank_Huber
Sorry wenn ich Frage aber wie meinst du das das der Dummy unnötig ist?
@Per
Auch Sorry aber ich weiß nicht genau was du meinst?
Oder kann es auch sein, den Code habe ich aus der Fhem.cfg herausgezogen.
In der DOIF stehen diese nicht drin.
MFG
Jens

Otto123

Hallo Jens,

wenn Du eine Definition posten willst, brauchst Du nicht in die fhem.cfg zu krabbeln sondern machst einfach in der Fusszeile den Punkt Raw Definition auf. Dort steht alles exakt zu diesem Device drin.
Besser ist es meistens ein list NameDerDefinition zu posten. Da stehen alle Werte drin,auch aktuelle Zustände usw.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

jensdipo

Hy Otto,
Danke für die Info, mache ich ab sofort so.
Kannst du mir einen kurzen Tip geben wie Frank das meint?
MFG
Jens

Otto123

naja readingsList und setList gibt es genauso im DOIF. Anstatt state nimmst du ein extra (neues) reading, was Du festlegen kannst. Dann machst Du den Rest so wie im Dummy.
Damit sparst Du den Dummy und hast alles an einem Ort.

Hab das jetzt nicht probiert, aber ich denke es geht genauso wie ich gesagt habe.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Ellert

Zitat von: Otto123 am 12 August 2018, 13:44:58
naja readingsList und setList gibt es genauso im DOIF. Anstatt state nimmst du ein extra (neues) reading, was Du festlegen kannst. Dann machst Du den Rest so wie im Dummy.
Damit sparst Du den Dummy und hast alles an einem Ort.

Hab das jetzt nicht probiert, aber ich denke es geht genauso wie ich gesagt habe.

Gruß Otto
Ergänzend ein Beispiel https://fhem.de/commandref_DE.html#DOIF_setList__readingList

jensdipo

Hy Otto,Hy Ellert,
Danke für die Infos, der link war genau das was ich brauchte.
Habe es auch hinbekommen alles einer DOIF abfrage zu erstellen.
MFG
Jens