Hello
First post in Home Assistant. I am a newbie to HA but have been autoating my house with Digitalstrom and now yearning to swap over.
I have successfully got my Switchbot curtians to work using a ESP32 and love it.
I now want to be able to scan RFID Tags and have bought a couple of ESP32 boards and a RFID reader. With ESPHOME I have created this:
esphome:
name: rfid-one
esp32:
board: m5stack-core-esp32
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "4cfb6aad255fc9ebe69c9d0040fa82f1"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Rfid-One Fallback Hotspot"
password: "vqygAzx0n2j3"
captive_portal:
## Device-specific
i2c:
sda: 26
scl: 32
scan: true
rc522_i2c:
# ...
on_tag:
then:
- homeassistant.tag_scanned: !lambda 'return x;'
light:
- platform: fastled_clockless
chipset: WS2812B
pin: 27
num_leds: 1
rgb_order: GRB
id: status_led
name: ${friendly_name} Light
effects:
- random:
- flicker:
- addressable_rainbow:
binary_sensor:
- platform: gpio
pin:
number: 39
inverted: true
name: ${friendly_name} Button
on_press:
then:
- light.toggle: status_led
I get the error:
Communication with the MFRC522 might be down, reset in -58
I just can’t wrap my head around it. I have lots of experience getting things to work but no with ESP32’s. Any help would be wonderful!
Thank you!!