Same devices - same codes?

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
jiran
New user
Posts: 5
Joined: 09 Nov 2017, 17:33

Same devices - same codes?

#1 Post by jiran » 16 Nov 2017, 12:22

HI. I have 3 the same motion sensor. Each of them sends little bit different codes (8 codes in single broadcasting, 4 are the same other little bit different. I use entered those commands:

10;RFFind;0;xxxxxx;B;xx;1;
10;RFFind;0;xxxyxx;B;xx;1;
10;RFFind;0;xxxxyx;B;xx;1;

But after I want to let show using 10;rfshow; which codes rflink learned it shows only single code.

I have arduino connected to raspberry via USB but it sends the same device code for all motion sensors. How could I change those remembered device codes to be sent to raspberry under different codes?

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Same devices - same codes?

#2 Post by Stuntteam » 18 Nov 2017, 00:35

The 0 in your command is the record number you are writing to.
Thus you write 3 times to the same record..
Result: you have 1 record.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests