Hello,
I have a specific need, I want to make a kind of logical OR to trigger analysis or actions (it depend on your reply ) between two sensors.
Actually I have a variable attached to a first sensor which call “presenceSensor1” and a second variable attached to a second sensor which call “presenceSensor4” and both increment a global variable which call “globalPresence” so I want to perform a OR on the actions or analysis which linked with theses sensors.
The issue is when the sensors send datas exactly at the same time.
To be more clear:
I want increment this global variable only one time even if the sensors speak exactly at the same time because if not the global varaible will be incremented two time whereas I monitor the same things.
Is adding datas processing to the analysis is the only solution?
Thank you for your help.