Hi All, as per the title, I have a ESP32 set up with esphome for my garage doors (x2) - its as simple as configuring the button(s) in esphome/esp32 and connecting the pin outs on the esp32 to the pin outs on garage door motor where the physical button would be connected.
the problem I need help with is: when there’s a power outage (not very frequent), as soon the power comes back on and the esp32 powers back on it activates the button and my garage doors open (or close if already open) .
maybe it’s a self-start test/cycle or something? how do I stop this behavior?
my esphome config is below (hopefully it formats correctly):
esphome:
name: "garage-door-opener"
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "myssid"
password: "supersecret"
manual_ip:
static_ip: 0.0.0.0
gateway: 0.0.0.0
subnet: 255.255.255.0
dns1: 0.0.0.0
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "Supersecretpassword"
binary_sensor:
- platform: status
name: "Status Wifi Garage door 1 ESP32"
id: etatWportail
sensor:
- platform: wifi_signal
name: "WiFi Signal Garage door 1 ESP32"
update_interval: 60s
id: signalWportail
switch:
- platform: restart
name: "Restart Garage door 1 ESP32"
output:
- platform: gpio
pin: 5
id: output1
- platform: gpio
pin: 4
id: output2
button:
- platform: output
name: "Garage Door 1"
output: output1
duration: 500ms
- platform: output
name: "Garage Door 2"
output: output2
duration: 500ms