Hi everyone, I bought a garage door opener from Avatto GDS16:
I was able to get the original firmware and get the info below:
I: UPK: Found BK7231N config!
I: UPK: Switch/plug config
I: UPK: - relay 1: pin P6
I: UPK: - button 1: pin P26
I: UPK: Status LED: pin P9, inverted False
After that, flashing the ESPhome kickstart firmware was easy.
The relay and the LED work fine, no problem at all, but I was not able to make the sensor pin work.
I try to mark the pin as an input_pullup and other pins as well, but nothing works.
I have two of it and the result is the same for both.
Can someone help me figure this out?
This is the code that I use:
binary_sensor:
- platform: gpio
pin:
number: 26
mode:
input: true
pullup: true
name: STATUS PORTAO A 2
filters:
- delayed_on_off: 1000ms
device_class: garage_door
I was able to get the original firmware and get the info below:
I: UPK: Found BK7231N config!
I: UPK: Switch/plug config
I: UPK: - relay 1: pin P6
I: UPK: - button 1: pin P26
I: UPK: Status LED: pin P9, inverted False
After that, flashing the ESPhome kickstart firmware was easy.
The relay and the LED work fine, no problem at all, but I was not able to make the sensor pin work.
I try to mark the pin as an input_pullup and other pins as well, but nothing works.
I have two of it and the result is the same for both.
Can someone help me figure this out?
This is the code that I use:
binary_sensor:
- platform: gpio
pin:
number: 26
mode:
input: true
pullup: true
name: STATUS PORTAO A 2
filters:
- delayed_on_off: 1000ms
device_class: garage_door