[Feature Request]: Event counter for rain or flow gauges #5572
Replies: 6 comments 5 replies
-
There is already an interval for how frequently the message is sent out, this is how you reduce mesh traffic, it also no longer works on the default channel if you upgrade your firmware. |
Beta Was this translation helpful? Give feedback.
-
Yes, thanks, but the issue is with the loss of data if multiple detections occur between the minimum interval. I tried to find the relevant protobuf to see if a count already exists, but not sure which it is. The key point is that messages can be missed, so if the count is important, we can't rely on the client application to keep track of it if the message is lost. |
Beta Was this translation helpful? Give feedback.
-
Unless I have completely missed something here, the current functionality would mean that a repeating event could not be relied upon, so additional hardware would need to be implemented to keep track of the count. So I don't understand why this is closed without discussion. |
Beta Was this translation helpful? Give feedback.
-
The feature would support any measuring devices with pulsed output such as energy meters and flow meters, just to add a couple more to the use case. If implementing a counter breaks the Detection Sensor module, then perhaps a new Event Counter module could be on the cards? |
Beta Was this translation helpful? Give feedback.
-
I've changed the title of this discussion to reflect what has been discussed here. I still believe there is a need for this feature. |
Beta Was this translation helpful? Give feedback.
-
Hi I'd like to add another use case, I have a vibration sensor that closes it's contacts at a frequency proportional to it's movement, or none if no movement. I'm planning to use it as a tamper alarm. A possible feature for the module may be a Threshold setting that alerts only if more than n events in a time period are exceeded. |
Beta Was this translation helpful? Give feedback.
-
Platform
other
Description
Some sensors may trigger a burst of activity that would not be friendly to the mesh. For example, a rain sensor may trigger rapidly during a torrential downpour The minimum reporting interval would mitigate this impact, but with the current functionality, valuable information would be lost.
Proposed enhancement:
The CLI/API could have a function to reset accummulated values to 0. This would provide flexibility so that client applications don't have to worry about starting values.
Beta Was this translation helpful? Give feedback.
All reactions