2 RDM6300 on one ESP32

Hello,

i tested the example here RDM6300 NFC/RFID — ESPHome and it works fine.
But i wonder if it is possible to have 2 RDM6300 to get to work with 2 different topics?
How to make? How to use the UART_ID mentioned?

thanks Christian

...
uart:
  - rx_pin: GPIO3
    baud_rate: 9600
    id: UART1

  - rx_pin: GPIO16
    baud_rate: 9600
    id: UART2

rdm6300:
    uart_id: UART1
    on_tag:
      then:
        - mqtt.publish:
            topic: rdm6300/tag
            payload: !lambda 'return to_string(x);'

That’s what i made till now but how to make the second…

rdm6300:
  - id: rdm1
    uart_id: UART1
    ...
  - id: rdm2
    uart_id: UART2
    ...

should do the trick

Hello,

thanks for reply. No also tried, get an “expected a dictionary” error.

Christian

That’s unfortunate that it doesn’t allow an array to define multiple devices. You will need to open a issue over at the esphome github to give a heads up that it is “broken” (it doesn’t allow to define more than one rdm6300).