Comments (7)
It doesn't work like that any more. There's no text_sensor and no stored value. Just the on_tag:
trigger which is triggered once per scan.
from esphome_components.
Hi
thanks that sounds good, then I'll try it once and integrate it into IOBroker. Has it already been tested with IOBroker?
danke das hรถrt sich gut an, dann werde ich es einmal versuchen und in IOBroker einbinden. Wurde es schon mit IOBroker getestet?
from esphome_components.
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
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
from esphome_components.
I don't know what IOBroker is or how it works, but it sounds like it uses mqtt. At the place where your config sends the [17:25:53][D][TEST:145]: received tag 1539623
log message now, you can change that to send an mqtt message instead. Or use a template text_sensor and publish to that.
from esphome_components.
I tried it like this and it works for now
text_sensor:
- platform: template
name: "RFID Tag"
id: rfid_tag
wiegand:
- id: reader
d0: D1
d1: D2
on_tag:- lambda: ESP_LOGD("TEST", "received tag %s", x.c_str());
- text_sensor.template.publish:
id: rfid_tag
state: !lambda 'return x;'
on_key: - lambda: ESP_LOGD("TEST", "received key %d", x);
from esphome_components.
Unfortunately, an update of the TAG (text_sensor) is sent every 60 seconds. The update_interval of the text_sensor cannot be deactivated and therefore IOBrocker gets the TAG sent every 60 seconds
from esphome_components.
I didn't think it would be sending anything if it hasn't changed. But you can disable it, update_interval: never
. You should be using a direct mqtt publish anyway instead of a text_sensor.
from esphome_components.
Related Issues (20)
- Debugging mode via uart_mitm does not work HOT 3
- ht16k33a needs to updated now that ESPTime namespace change (ESPHome 2023.6) HOT 1
- Uart_mitm usage question HOT 1
- Esmart3 HOT 18
- seesaw neopixel [Adafruit StemmaQT Rotary Encoder]
- Problem using magic_switch component HOT 5
- Esmart3 load On Load Off
- Problem with magic_switch pulse timing report HOT 2
- Could not find components folder for source. HOT 3
- Another problem with magic_switch component
- Failed to compile the firmware with Magic Switch for Sonoff Basic R4 HOT 2
- `serial_csv` text and binary sensor
- No response from any Buttons on an ANO rotary encoder
- [pin] is an invalid option for [binary_sensor.seesaw] HOT 2
- [pin] is an invalid option for [sensor.seesaw] and type: encoder HOT 4
- Adafruit I2C Quad Rotary Encoder Breakout with NeoPixel / Seesaw Neopixel LED issue with 4 LED HOT 1
- Request Qr HOT 1
- on_clockwise & on_anticlockwise triggers invalid options for [Adafruit StemmaQT Rotary Encoder] HOT 2
- [analog_keypad] `index: 0` is ambiguous HOT 1
- [analog_keypad] State is unknown until a button is pressed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome_components.