I am trying to create a way to suppress false alerts. I look to count incoming triggers and use this number to react upon. I think here the counter widget comes into play. What I found out is that the counter ads "1" on an incoming "1" and on an incoming "0", so on any action on the sensor the counter is raised by "1".
How can I reset this counter to "0"?
Generally speaking you need to set the value to the sensor so in a rule you need to use something like "SET sensor_id 0"
Setting to "0" is seen as a trigger and the counter is increased by 1.