09-15-2024, 11:55 PM
if you want to use HC-SR04 now, the fast way is config your board by ESPHome, i have checked, ESPHOme support : HC-SR04
you can config it , then make AUTOMATION in ESPHome yaml file.
https://esphome.io/components/sensor/ultrasonic.html
you can config it , then make AUTOMATION in ESPHome yaml file.
https://esphome.io/components/sensor/ultrasonic.html