I am able to publish the events from spark core and able to register the event listener using c# libraries and there is no issues. I am doing it for water sensor. Now I want my “Monitor” or c# event listener to stop listening to events from spark.
Is there any way to do that??
I am using the code below to listen to spark events:
@satendra4u I checked an update in on GitHub. Please update your source code and let me know how it goes. I am pleased to see you using my library and would value any feedback you have.
I found the same issue with sending too many events sometimes. My issue was around debouncing a physical switch. Pressing a switch sometimes generated 2-5 events in a second. I had to take care of this in local code to prevent the flood of events.