I flashed with ESPHOME which seems cool and functional, however something is wrong, the physical buttons work but in HA the buttons on the cover do not work and I only get a wifi LED on and off… I leave the code here but my capabilities can’t give more… if someone can help, thank you
esphome:
name: estore_quarto
platform: ESP8266
board: esp01_1m
wifi:
ssid: "xxxx"
password: "xxxx"
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.1.82
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.254
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
binary_sensor:
- platform: gpio
pin:
number: GPIO9
mode: INPUT_PULLUP
inverted: True
name: "Abrir"
- platform: gpio
pin:
number: GPIO5
mode: INPUT_PULLUP
inverted: True
name: "Stop"
- platform: gpio
pin:
number: GPIO4
mode: INPUT_PULLUP
inverted: True
name: "Fechar"
- platform: status
name: "Estado"
switch:
- platform: gpio
name: "Open"
pin: GPIO9
interlock: &interlock [open_cover, close_cover]
id: open_cover
- platform: gpio
name: "stop"
pin: GPIO5
interlock: *interlock
id: stop_cover
- platform: gpio
name: "Close"
pin: GPIO4
interlock: *interlock
id: close_cover
cover:
- platform: time_based
name: "Cover"
id: my_cover
open_action:
- switch.turn_on: open_cover
open_duration: 70s
close_action:
- switch.turn_on: close_cover
close_duration: 70s
stop_action:
- switch.turn_off: open_cover
- switch.turn_off: close_cover
output:
- platform: esp8266_pwm
id: blue_led
pin: GPIO13
inverted: True
light:
- platform: monochromatic
name: "Led estore"
output: blue_led