Hauptmenü

DOIF Watchdog

Begonnen von Paul Guijt, 08 März 2022, 10:32:55

Vorheriges Thema - Nächstes Thema

Paul Guijt

Hi everyone,

In my DOIF I have
DOELSEIF ( [KaKuTuinkamer] eq "off"
        && [PCPaul.WOL:isRunning]  eq "false"
        && [Surface.WOL:isRunning] eq "false"
        && [PCSonja.WOL:isRunning] eq "false" ) ( set BkTkPlafond off )


These computers tend to fire up occasionally and briefly, triggering the DOELSEIF.
How would you filter out these short episodes? I am thinking about some kind of watchdog construction, but can't get how.

Sorry, I have difficulty understanding the German documentation.

Paul
RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände

Otto123

#1
Hi Paul,

what should be the primary trigger of the DOIF? The KaKuTuinkamer ?
Then try it in this way
DOELSEIF ( [KaKuTuinkamer] eq "off"
        && [?PCPaul.WOL:isRunning]  eq "false"
        && [?Surface.WOL:isRunning] eq "false"
        && [?PCSonja.WOL:isRunning] eq "false" ) ( set BkTkPlafond off )


The ? prevent from triggering the DOIF, only the value of the Reading is evaluated if someone else is triggering the DOIF

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

Paul Guijt

RasPi 2B, CUL 433, Jens' FW, Berker, HomeMatic, KlikaanKlikuit, RFXtrx443, Squeezebox, Z-Wave, TradFri in die Niederlände