SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#1 Post by tozett » 15 Jul 2016, 13:29

hi,
the tag-id from the RFID reader is on MQTT and in the Web-Gui the same,
but different if i send it from RULES:

Code: Select all

  SendToUDP,192.168.14.253,4751,[rfid#Tag]
is this as it should, or could this be made the same ID on all channels?

look:
Attachments
Zwischenablage01-mqtt-udp-2-3-2.png
Zwischenablage01-mqtt-udp-2-3-2.png (45.84 KiB) Viewed 10223 times
Zwischenablage01-tag-1.png
Zwischenablage01-tag-1.png (48.07 KiB) Viewed 10223 times
Last edited by tozett on 18 Jul 2016, 23:06, edited 2 times in total.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: BUG -> RFID-ID different in RULES - MQTT

#2 Post by tozett » 16 Jul 2016, 17:18

i played with my new nfc-board and different tags,
so it seems to be a bug (i am on v109) :
while sending the tag-id from RULES it is different from MQTT.
but as i used different types of tags, it looks to me like the TAG-ID from RULES seems to be more the VENDOR, than the ID itself..
??? :? :? :? :?
i myself as a noob looked in the source, but found only an array with the ID up from [5] in the pn532.ino,
but no clue how this all plays together.
seems a thing for devs, so i changed the headline and try to report a bug here..
:cry:
Attachments
rfid-bug-3.png
rfid-bug-3.png (170.67 KiB) Viewed 10159 times

Martinus

Re: BUG -> RFID-ID different in RULES vs. MQTT

#3 Post by Martinus » 18 Jul 2016, 16:50

Bug confirmed. I will try to address this in the next build.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: BUG -> RFID-ID different in RULES vs. MQTT

#4 Post by tozett » 18 Jul 2016, 17:15

wonderful, thanks. and thanks for confirmation--
i wanted to mount my fingerprint-reader yesterday,
but now i wait for the next build and check with it -- before i screw all my elektronics to the wall.
:P

i wish i had experience in coding and could find it myself, but all i could read was to see a char-array for UDP-send and a long-int for the key-id.
but dont know anything more to find the bug, you found. anyway i am glad, this fix will put my fingerprint-reader with wiegand-interface on service..

thanks
:mrgreen:

Martinus

Re: BUG -> RFID-ID different in RULES vs. MQTT

#5 Post by Martinus » 18 Jul 2016, 17:58

Try R111 on github, should work now...

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#6 Post by tozett » 18 Jul 2016, 23:06

i update my units OTA, everything is fine now. THAAAAANKS! :D
i can screw the fingerprint to the wall... ;) :D :D :D

timsson
Normal user
Posts: 77
Joined: 25 Mar 2016, 22:00

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#7 Post by timsson » 22 Aug 2016, 21:25

Hello,
only a question...
I ve got 2 sony devices (z3 and z4) and both have the same rfid (id=1690xxxx) :shock:
Is this correct???
Thanks

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#8 Post by tozett » 22 Aug 2016, 21:55

could you explain some details?
reader-devices have an ID?
or key-fobs on different reader, or with the same ID?...

timsson
Normal user
Posts: 77
Joined: 25 Mar 2016, 22:00

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#9 Post by timsson » 23 Aug 2016, 00:24

If i switch on the NFC on both devices (mobilphone+tablet, the pn532 scan the same tag?!
Is it possible to change the NFC/RFID from the sony phones? How can i dedect the right one to open my door?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#10 Post by tozett » 23 Aug 2016, 14:33

you use your phone as an nfc-key,
and you use your tablet as an nfc-key.

both are read out from the pn532-reader on an ESPEASY with the same ID?

this is your problem?

timsson
Normal user
Posts: 77
Joined: 25 Mar 2016, 22:00

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#11 Post by timsson » 24 Aug 2016, 00:06

Yes it is my problem...

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED (since r111) BUG -> RFID-ID different in RULES vs. MQTT

#12 Post by tozett » 24 Aug 2016, 08:46

so it looks that this is nothing special with the espeasy-firmware.
and nothing special with an nfc-reader connected to the espeasy-firmware.

it looks, that you have static-NFC-IDs on your phone+tablet (android-based firmware, i guess).
may you dive deeper into this, and see it you can change this on your phone/tablet?

http://stackoverflow.com/questions/2723 ... h-hce-mode

Post Reply

Who is online

Users browsing this forum: No registered users and 95 guests