Event dispatching / Trigger event for 2 sources

Hi,

I’m trying to achive the following. I have 2 independent items measuring the electrical power and the heating power of a heat pump. A 3rd item sould measure the COP and is depentend on the previous items. I created a rule for calculating the COP based on electrical and heating power, so I added both of them as trigger for the rule. The measurements of heating and electrical power are sometime out of sync, but most of the time not. When selecting both items as a trigger, I’m getting two measurements at the same time (in most cases).

Is there a possibility to implement a “dispatcher” for both items? Or do I have to rely on a crontab definition every X seconds?

Thanks for any help.

Might help