I bought this shutter switch and this is the circuit
I need to know if anyone tried to flash this shutter switch using esphome before?
I bought this shutter switch and this is the circuit
I need to know if anyone tried to flash this shutter switch using esphome before?
Hello,
I was able to do it successfully
below the pins
switch:
- platform: gpio
pin: GPIO04
name: "IN1"
id: IN1
- platform: gpio
pin: GPIO13
name: "IN2"
id: IN2
- platform: gpio
pin: GPIO15
name: "IN3"
id: IN3
- platform: gpio
id: status_led_1
pin: GPIO01
name: "LED all blue"
- platform: gpio
id: status_led_2
pin: GPIO14
name: "LED center red"
- platform: gpio
id: status_led_3
pin: GPIO16
name: "LED up red"
- platform: gpio
id: status_led_4
pin: GPIO00
name: "Led Linki gren"
- platform: gpio
id: status_led_5
pin: GPIO02
name: "LED down red"
binary_sensor:
- platform: gpio
pin:
number: GPIO03
mode:
input: true
pullup: true
inverted: true
name: "Button in1"
on_press:
- switch.toggle: IN1
- platform: gpio
pin:
number: GPIO05
mode:
input: true
pullup: true
inverted: true
name: "Button in1"
on_press:
- switch.toggle: IN2
- platform: gpio
pin:
number: GPIO12
mode:
input: true
pullup: true
inverted: true
name: "Button in1"
on_press:
- switch.toggle: IN3
Hi,
What platform and board have you defined in esphome?