Using this now, to see if my espresso machine is ready:
trigger:
platform: numeric_state
entity_id: sensor.espresso_keuken_actueel
above: 1250
for:
minutes: 10
condition: []
thing is, the 10 minutes is not really correct, and sometimes it needs longer heating up before the machine goes in to ready mode, switching between heating and not heating frequently.
it takes between 10 to a few minutes more, before the machine is really in production state, so I am looking for a way to make this better.
in human language I’d say, it’s ready when having heated up for a longer period, it suddenly lowers the sensor.xxx_actueel and then starts using short intervals of heating (1250+) and not heating. (1.4).
The period of 10+ minutes heating is unique and only happens during startup. So I could also use that as a binary of sorts, and maybe enter that as condition? But then how to formulate the trigger…
maybe I need to use the frequently switching state, and record the shorter periods of heating and not heating, and use that as indication for being ready? But how…
to give you an idea of the switching frequency:
quite regular, but never exact… off for about a minute, on mostly between 10-15 seconds. need to be smart in the condition/trigger section
anyways, maybe you can help.
thanks for having a look!