Hallo,
ich führe ein FHEM-Update innerhalb eines DOIF aus.
defmod Update_FHEM_DOIF DOIF ([Update_Status:FHEM_Update] eq "run")\
(IF ([Update:FHEM] gt "0")\
(set Update_Status run,\
setreading Update_Status ALL_Update run,\
update)\
ELSE\
(setreading Update_Status FHEM_Update idle,\
set Update_Status idle))
attr Update_FHEM_DOIF devStateStyle style="text-align:right"
attr Update_FHEM_DOIF do always
attr Update_FHEM_DOIF group Update
attr Update_FHEM_DOIF room Systemdaten
Dies hat aber jedesmal die nachfolgenden Meldungen im Log zur Folge. Wie kann ich dies vermeiden?
2023.10.31 15:29:38 0: Strange call for nonexistent <undefined>: ActivateInformFn
2023.10.31 15:29:38 1: eval: {if(ReadingValIf('Update','FHEM','') gt "0"){fhem('set Update_Status run');fhem(' setreading Update_Status ALL_Update run');fhem(' update')}else{fhem('setreading Update_Status FHEM_Update idle');fhem(' set Update_Status idle')}}
2023.10.31 15:29:38 1: stacktrace:
2023.10.31 15:29:38 1: main::CallFn called by ./FHEM/98_update.pm (84)
2023.10.31 15:29:38 1: main::CommandUpdate called by fhem.pl (1278)
2023.10.31 15:29:38 1: main::AnalyzeCommand called by fhem.pl (1129)
2023.10.31 15:29:38 1: main::AnalyzeCommandChain called by fhem.pl (4020)
2023.10.31 15:29:38 1: main::fhem called by (eval 18840) (1)
2023.10.31 15:29:38 1: (eval) called by fhem.pl (1173)
2023.10.31 15:29:38 1: main::AnalyzePerlCommand called by fhem.pl (1202)
2023.10.31 15:29:38 1: main::AnalyzeCommand called by fhem.pl (1129)
2023.10.31 15:29:38 1: main::AnalyzeCommandChain called by ./FHEM/98_IF.pm (344)
2023.10.31 15:29:38 1: main::CommandIF called by fhem.pl (1278)
2023.10.31 15:29:38 1: main::AnalyzeCommand called by fhem.pl (1129)
2023.10.31 15:29:38 1: main::AnalyzeCommandChain called by ./FHEM/98_DOIF.pm (2628)
2023.10.31 15:29:38 1: main::ParseCommandsDoIf called by ./FHEM/98_DOIF.pm (3051)
2023.10.31 15:29:38 1: main::DOIF_cmd called by ./FHEM/98_DOIF.pm (3307)
2023.10.31 15:29:38 1: main::DOIF_Trigger called by ./FHEM/98_DOIF.pm (3570)
2023.10.31 15:29:38 1: main::DOIF_Notify called by fhem.pl (3980)
2023.10.31 15:29:38 1: main::CallFn called by fhem.pl (3892)
2023.10.31 15:29:38 1: main::DoTrigger called by fhem.pl (5004)
2023.10.31 15:29:38 1: main::readingsEndUpdate called by fhem.pl (5187)
2023.10.31 15:29:38 1: main::readingsSingleUpdate called by fhem.pl (2563)
2023.10.31 15:29:38 1: main::CommandSetReading called by fhem.pl (1278)
2023.10.31 15:29:38 1: main::AnalyzeCommand called by fhem.pl (1129)
2023.10.31 15:29:38 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2861)
2023.10.31 15:29:38 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (981)
2023.10.31 15:29:38 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (609)
2023.10.31 15:29:38 1: main::FW_Read called by fhem.pl (3980)
2023.10.31 15:29:38 1: main::CallFn called by fhem.pl (784)
2023.10.31 15:29:38 2: Update_FHEM_DOIF: IF ([Update:FHEM] gt "0") (set Update_Status run, setreading Update_Status ALL_Update run, update) ELSE (setreading Update_Status FHEM_Update idle, set Update_Status idle): Executing the update the background.
FHEM ist aktuell und läuft auf einem pi3B unter bookworm.
Viele Grüße
Jürgen
Keiner eine Idee?
Viele Grüße
Jürgen
Die Meldung kommt aus dem Update-Modul und nicht aus DOIF, daher musst du die Frage im anderen Board stellen, da es kein DOIF-Problem ist.