Counter widget #119
user2684
started this conversation in
General Discussion
Replies: 2 comments
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-10-18 11:28:19] 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" |
Beta Was this translation helpful? Give feedback.
0 replies
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-10-18 11:54:50] Setting to "0" is seen as a trigger and the counter is increased by 1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-10-15 08:21:05]
@user2684
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"?
Beta Was this translation helpful? Give feedback.
All reactions