dkern / node-red-counter

A Node-RED node to increment a count.
Other
8 stars 9 forks source link

Feature Request: include previous count value when resetting counter #24

Open fusionstream opened 1 year ago

fusionstream commented 1 year ago

I'm trying to detect if a counter has been reset after a certain number has been reached. For the life of me, I can't figure out a way around this.

Scenario: Counter increments everytime a server does not respond to a ping. Once counter reaches 7 (and only AT 7), a message is sent. Once server responds, counter is reset. I am trying to find a way to detect if counter has been reset AFTER reaching 7 on the count.