Page 1 of 1

Translate RFID tag numbers to names using Rules

Posted: 18 Nov 2016, 11:59
by rhannink
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

Re: Translate RFID tag numbers to names using Rules

Posted: 18 Nov 2016, 22:56
by dise
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.

Re: Translate RFID tag numbers to names using Rules

Posted: 20 Nov 2016, 19:12
by rhannink
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

Re: Translate RFID tag numbers to names using Rules

Posted: 21 Nov 2016, 13:57
by dise
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.