We already develop Nodemcu Esp8266 project. where we use firebase. We want to add some other function in app. We want pulse counter in our exiting app. Means we given some pulse on any two Pins of nodemcu and in app that pulse show. means how many pulse comes which pin show in app.
In that we want set 1 pulse value is 10 means suppose any one pin revived 10 pulse then in app show 10x10=100 (because 1 pulse value set is 10).
One pin Name is Input Pin and Another Pin Name is Output pin.
In Log file we want calculation like input value - Output value= Difference value
We want in app we can create nodemcu group, means like rooms name, if in 1 room we use 10 nodemcu then first in app show "Room No.1" and in that option we see all nodemcu and each nodemcu log file (Means in and out pin pulse count)
How log file need look see the attached image.