bin ein bissi ratlos, ob ich mit doif richtig liege, aber ich probiers mal *g*
hier mal das log2017.02.28 16:12:05 1: PERL WARNING: Found = in conditional, should be == at (eval 60911) line 1.
2017.02.28 16:12:05 1: stacktrace:
2017.02.28 16:12:05 1: main::__ANON__ called by (eval 60911) (1)
2017.02.28 16:12:05 1: (eval) called by ./FHEM/98_DOIF.pm (1065)
2017.02.28 16:12:05 1: main::DOIF_CheckCond called by ./FHEM/98_DOIF.pm (1324)
2017.02.28 16:12:05 1: main::DOIF_Trigger called by ./FHEM/98_DOIF.pm (1444)
2017.02.28 16:12:05 1: main::DOIF_Notify called by fhem.pl (3310)
2017.02.28 16:12:05 1: main::CallFn called by fhem.pl (3231)
2017.02.28 16:12:05 1: main::DoTrigger called by fhem.pl (4164)
2017.02.28 16:12:05 1: main::readingsEndUpdate called by ./FHEM/57_ABFALL.pm (177)
2017.02.28 16:12:05 1: main::ABFALL_GetUpdate called by ./FHEM/57_ABFALL.pm (222)
2017.02.28 16:12:05 1: main::ABFALL_Notify called by fhem.pl (3310)
2017.02.28 16:12:05 1: main::CallFn called by fhem.pl (3231)
2017.02.28 16:12:05 1: main::DoTrigger called by fhem.pl (4164)
2017.02.28 16:12:05 1: main::readingsEndUpdate called by ./FHEM/57_Calendar.pm (2566)
2017.02.28 16:12:05 1: main::Calendar_CheckTimes called by ./FHEM/57_Calendar.pm (2175)
2017.02.28 16:12:05 1: main::Calendar_ProcessUpdate called by ./FHEM/57_Calendar.pm (2132)
2017.02.28 16:12:05 1: main::Calendar_GetUpdate called by ./FHEM/57_Calendar.pm (1871)
2017.02.28 16:12:05 1: main::Calendar_Wakeup called by fhem.pl (2904)
2017.02.28 16:12:05 1: main::HandleTimeout called by fhem.pl (606)
dazu steht im doif noch folgendes:error
perl error in condition: ReadingValDoIf($hash,'Abfallinfo','next_tage') =1 and ReadingValDoIf($hash,'Abfallinfo','next_text') eq "GrüneTonne" and DOIF_time_once($hash,0,$wday) : Can't modify non-lvalue subroutine call in scalar assignment at (eval 60911) line 1, near "1 and" 2017-02-28 16:12:05
hat wer ne idee?
Zitat von: the ratman am 28 Februar 2017, 16:32:27
hat wer ne idee?
Das machen was da steht?
Zitat von: the ratman am 28 Februar 2017, 16:32:272017.02.28 16:12:05 1: PERL WARNING: Found = in conditional, should be == at (eval 60911) line 1.
thx
wir reden jetzt eh von bedienungen, direkt im doif?
also[Abfallinfo:next_tage] == 1
anstelle[Abfallinfo:next_tage] = 1
is das neu? ging ja bis jetzt mit nur "="
Nein, ist nicht neu.
= ist eine Zuweisung
== ist ein Vergleich