ESP-RFID MQTT do not work

I'm french and my english is very poor ...
Thank you for your help, solution work very well
If i want checking users only, i need  change {{ value_json.username}} in sensor and in my automation what need i change ?
Regards

Please try:

  1. create a sensor:
   - platform: mqtt
     name: "rfid_reading"
     state_topic: "rfid/send"
     value_template: "{{ value_json.username}}"
     expire_after: 2

…check if the sensor is showing georges for two seconds, when you´re holding card in front of the reader.When working:

  1. create automation (card name=georges)
- id: 'testfrid1'
  alias: testrfid
  trigger:
  - entity_id: sensor.rfid_reading
    platform: state
    to: 'georges'
  condition: []
  action:
  - entity_id: switch.sonoff
    service: switch.toggle

Hi
Thank you for your help, it’s work very well !
i will continue my project for my rfid chicken tracker…
Regards

Hi
After only several minutes , i can’t check any tag , i need rebooting ESPRFID app
Do you have a solution ?
Regards

Could you help me to follow my chickens with rfid tags
I would like to know in the form of change of state of binary sensor for each hen when she is returned for example ?
Regards
Giloris