PulseCounter
Jump to navigation
Jump to search
Contents
Introduction
An ESP8266 module can be used as a simple digital pulscounter to retrieve data from all sensors with a digital output. Use it for purposes like gasmeter, watermeter, door open/close counters etc.
In this example we wil connect an optical sensor. Connect the digital output pin to GPIO2 on de ESP module board. Then load the appropiate software and follow those specific instructions.
Software
Domoticz
Within Domoticz, we have to add a special type of hardware called a "dummy". Second, we need to create a virtual device. Note the device IDX, we need to change this in de code. For more information about Domoticz hardware and devices, check domoticz website.
Nodo
todo