Hi
In the log I see the read RFID TAG. But it doesn’t arrive in IOBroker ESPHOME Device. In the MQTT device I only see the message in the debug. How do I get the TAG in the ESPHomeDevice
external_components:
source:
type: git
url: https://github.com/ssieb/custom_components
components: [wiegand, key_provider]
wiegand:
- id: reader
d0: D1
d1: D2
on_tag:
- lambda: ESP_LOGD("TEST", "received tag %s", x.c_str());
on_key:
- lambda: ESP_LOGD("TEST", "received key %d", x);
ESPHOME Log
[17:25:53][V][wiegand.text_sensor:048]: received 26-bit value: 22efc4e
[17:25:53][D][wiegand.text_sensor:051]: received 26-bit tag: 1539623
[17:25:53][D][TEST:145]: received tag 1539623
MQTT Device debug
[0;36m[D][TEST:145]: received tag 1539623 [0m