[Feature Request]: Detection sensor accumulate count between reports #5572
Replies: 4 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.
-
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