Closed honzakutil closed 6 months ago
You likely need to invert all 3 pins, that has pretty consistently been the case so far on the Beken platform.
thanks for quick reply, inverting all three pins solved the issue. Power meter is now working correctly.
Hello, I was able to upload esphome to BK7231N (board CB2S). Wifi and GPIOs are working, but I am not able to get working the HLW8012 power sensor (https://esphome.io/components/sensor/hlw8012.html). The esphome HLW8012 seems to need
pulse_counter_sensor.h
, which needsesphome/core/hal.h
.So the question is: Is the
pulse_counter_sensor
somehow tightly connected with ESP32/ESP2866 hardware or is it supposed to work also with BK7231N?ESPhome config file follows: