@onlize wrote:
Hello, I purchased https://www.amazon.com/gp/product/B0718T232Z
I connected GPIO13 to 3.3v using 2.2k resistor as it shown here:
I am trying to setup binary sensor for my door. This is the configuration that I use:
esphome: name: ring_and_salt_system platform: ESP32 board: nodemcu-32s wifi: ssid: !secret wifi_ssid password: !secret wifi_password captive_portal: # Enable logging logger: baud_rate: 0 uart: rx_pin: RX baud_rate: 4800 # Enable Home Assistant API api: ota: binary_sensor: - platform: gpio pin: number: GPIO13 mode: INPUT_PULLUP inverted: True name: "Front Door" device_class: door
It does not work for me. It always show that the door is closed.
Can someone help me with this?
Posts: 9
Participants: 3