Translate RFID tag numbers to names using Rules

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rhannink
New user
Posts: 7
Joined: 14 Nov 2016, 10:49

Translate RFID tag numbers to names using Rules

#1 Post by rhannink » 18 Nov 2016, 11:59

Hello,

I am building an alarm control panel build on ESp8266 and esp easy.
The PN532 is working, and the RFID tag number is sent over generic http to Homey (my domticz system).

But can i use ESP easy Rules to translate the RFID tag number to a name and sent the name of the person presenting the tag?

So: if tagid=12345 the name is Jan
if tagid=12346 then name is Piet

Anyone ?

Gr. Remco

dise
New user
Posts: 2
Joined: 14 Nov 2016, 13:57

Re: Translate RFID tag numbers to names using Rules

#2 Post by dise » 18 Nov 2016, 22:56

Hi Remco, may you please give me some instructions how did you configure Domoticz do receive ID's from this module ?
Please let me know how to set domoticz and espeasy.

Thanks.

rhannink
New user
Posts: 7
Joined: 14 Nov 2016, 10:49

Re: Translate RFID tag numbers to names using Rules

#3 Post by rhannink » 20 Nov 2016, 19:12

Hello,

Iam using an PN532 RFID reader with ESP easy R120. Whenever I offer a RFID tag, the ID goes into %value%.
This is all standard ESP easy.

Now I sent the value to my domtic system (Homey) by using generic http protocol.

Using the template (under Tools advanced) I send the ID through the URL http://10.0.0.1/api/com.internet/RFID/%value%

The Homey domotic bridge now knows that RFID with ID %value% was used.

Now I want inside ESP easy, by using rules, that it does not send the ID: %value% but that it looks up the username belonging to the ID.

I think i can do this with rules, but I don't know exactly how.

Gr. Remco

dise
New user
Posts: 2
Joined: 14 Nov 2016, 13:57

Re: Translate RFID tag numbers to names using Rules

#4 Post by dise » 21 Nov 2016, 13:57

Thanks a lot for info , i thought that you are using Domoticz ... ;) i will try to test it in this week i will let you know how it works.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests