alengwenus / esphome_components

External components for ESPHome
GNU General Public License v3.0
30 stars 9 forks source link

Example for Wemos D1 mini? #7

Closed kayloehmann closed 2 years ago

kayloehmann commented 2 years ago

Hi there,

thanks for the great work! Could you please share your hardware setup based on the Wemos D1 mini, especially PIN selection? I have put together hardware based on homeassistant glow, but cannot retrieve any values.

Kay.

alengwenus commented 2 years ago

I bought one of these sensors: https://www.ebay.de/itm/ttl-ir-lesekopf-lese-schreib-Kopf-EHZ-Volkszahler-Hichi-Smartmeter/313460034498 I connected it to GPIO1 (TX) and GPIO3 (RX). But I had to switch the logger to UART1. Actually any sufficient IR sensor should do. Maybe you have to play around with the internal pull-up/pull-down resistors?

kayloehmann commented 2 years ago

I got it working by adding a fourth pin, also using UART1. Thx. :-)

zaehler