Power Meter internal filter

This commit is contained in:
Otto Winter 2018-10-30 16:49:33 +01:00
parent 51c9fd77e7
commit a4d8520837
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -41,6 +41,19 @@ Thus, rearranging the expression yields a proportional factor of ``0.06`` from `
And if a technician shows up and he looks confused about what the heck you have done to your And if a technician shows up and he looks confused about what the heck you have done to your
power meter, tell them about esphomelib 😉 power meter, tell them about esphomelib 😉
.. note::
Photoresistors often have a bit of noise during their switching phases. So in certain situations,
a single power meter tick can result in many pulses being counted. This effect is especially big on
ESP8266s. If you're experiencing this, try enabling the ``internal_filter:`` filter option:
.. code:: yaml
sensor:
- platform: pulse_counter
# ...
internal_filter: 10us
See Also See Also
-------- --------