Hi I have a quick question.
I'm trying to set up a Pi Notification that will trigger if a value reaches a certain threshold. The notification only needs to go off once a day - so if it went off at 12:30 am this morning then I wouldn't need the notification until tomorrow if it went off.
The only way I can think to implement this is to have a static attribute, "Alarm_Triggered_Today" that is reset to false at the beginning of each day. I also need it to change to TRUE if a notification goes off so the notification doesn't go off again for that 24 hour period. Does that make sense?
So now I'm trying to write to an output attribute at the beginning of everyday to reset it to false, but if a notification goes off sometime in that day it needs to change to true. Essentially I'll need two different analyses to be able to write to this one output attribute. Is that possible?