I got this NFC reader working with D0/D1 and level shifter, HA registers all tags correctly, the issue is, how do I add the BUZZ and LED to the code? I couldn’t find any reference in the docs, this is my current code:
switch:
- platform: gpio
pin: 16
name: "Solenóide Entrada"
id: rele_solenoide
icon: "mdi:lock"
- platform: gpio
pin: 17
name: "Portão Garagem"
id: rele_portao
icon: "mdi:gate"
# Configuração de pulso (liga e desliga após 500ms)
on_turn_on:
- delay: 500ms
- switch.turn_off: rele_portao
wiegand:
- id: leitor_entrada
d0: 25
d1: 33
on_tag:
then:
- homeassistant.tag_scanned: !lambda 'return x;'
And this is a picture if all wiring (yes LV/GND is inverted to the keen eyes, got it fixed already):
Later I repeated the same wiring and connected BUZZ and LED to the level shifter and ESP.
