Integrating HID Proxpro 5352 RFID Reader with ESPHome

Integrating an HID Proxpro 5352 RFID reader with ESPHome can be a great way to add smart access control to your home automation setup. Here’s a quick guide on how to get started!

What You’ll Need

  • HID Proxpro 5352 RFID Card Reader
  • RS232 to TTL Converter
  • Lolin Wemos D1 Mini ESP8266 Board
  • Power Supply (12V)
  • Cables and Connectors

Setup Steps

  1. Wiring the Components

    • Connect the RS232-TTL converter to the D1 Mini, ensuring correct pin orientation.
    • Wire the RFID reader to the RS232 converter, making sure to connect ground, power, and data lines properly.
  2. ESPHome Configuration

    • Flash a base ESPHome image onto the D1 Mini.
    • Use the provided ESPHome configuration to set up the UART communication and text sensor for reading RFID tags.
  3. Testing and Automation

    • Once everything is connected, test the setup to ensure the RFID reader is detected and sending data.
    • Create automations in Home Assistant to trigger actions based on RFID card scans, such as unlocking doors or turning on lights.

Example ESPHome Configuration

yaml
esphome:
name: door_rfid
platform: ESP8266
board: d1_mini

wifi:
networks:
- ssid: “YourNetworkSSID”
password: “YourNetworkPassword”

uart:
id: uart_bus
tx_pin: RX
rx_pin: TX
baud_rate: 9600

sensor:

  • platform: custom
    lambda: |
    auto rfid = new RFIDSensor(id(uart_bus));
    App.register_component(rfid);
    return {rfid};
    text_sensors:
    • name: “Door RFID”

Conclusion

With this setup, you can easily integrate RFID-based access control into your smart home. It’s a great way to enhance security and convenience! If you have any questions or improvements, feel free to share below. Happy coding! :rocket: