The Vera Community forums have moved!

Advanced => Programming => Plugins & Plugin Development => Topic started by: woodsby on July 05, 2010, 09:59:41 am

Title: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 05, 2010, 09:59:41 am
Cheap RFID solution for Vera.  This is now working reliably in UI2 and UI4 beta.  Looking for people to test it.  

http://code.mios.com/trac/mios_activerfid/ (http://code.mios.com/trac/mios_activerfid/)
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: strangely on July 05, 2010, 10:46:41 am
This is very tempting. I'm going to hold off doing this for the time being as I have multiple other projects on the go and I fear with a new baby around at the moment, the poor thing wont get to know she has a Daddy around :)

I love home automation, but the irony of it is that despite whatever time it can save you in the long run, it really does suck up some time initially getting stuff working!

Have you tried to experiment with your scenes a bit to cover multiple transmitters? This is really a place where we need those conditional expressions in vera.

Have you got any other examples of things you are using this for? I think this would be most useful for people with Alarm panels etc that are tied to Vera.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 05, 2010, 11:08:44 am
Strangely, it's very minimal setup, and you being savvy with serial on vera, it should take you no time.

Currently, I am just using 2 40m transmitters on a receiver plugged directly into Vera.  I have two scenes triggered off either device to open and close the garage door.  I will be adding a luup "and" scene to enable thermostat energy save mode if both devices are gone - probably do that this evening.  The security system arm/disarm is probably the most productive concept.

I also have a keychain transmitter that I plan on using to play around with presence sensing around the house; hence my other posts about serproxy...
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: strangely on July 05, 2010, 01:49:44 pm
Its not so much the serial ports I'm worried about time wise, its hours I would then spend tinkering with it :)

I also think this would be good for the garage door but I've been waiting nearly 3 months for ASI to get the relays back in stock :(
The other things I have on the go are:

Zwave Garage door opening / closing  (whenever I get the damn relay)
Patio awning to order, mount on the wall and hack it to work with zwave.
A Kwickset lock to fit.
Aeon energy monitor to fit to my Electrical panel
Etherrain sprinkler controller to install and then replace all my sprinklers (most are worn out), then re-seed my lawn.

After I've done all that, then I can see some RFID in my future :)
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 05, 2010, 03:35:01 pm
Multiple transmitters on multiple receivers confirmed.  Tested with an RSSI receiver plugged directly into Vera, and a standard receiver plugged into another computer on my network via @guessed's IPSerial plugin.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Klunket on July 12, 2010, 10:37:07 am
This looks superb - great work. Once I've bedded down a few things with my setup I may look at adding RFID.

One question about how you've done your setup as I have come across a similar problem planning my own plugin. I notice you manually create each child object for the transmitters, and then assign them based on the ids found in the logs. Instead would it be possible to dynamically create these child objects as they are seen by the serial device? Would save tailing the file, although you might want it to be a setting to stop it adding ones you aren't using.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 12, 2010, 02:36:31 pm
@Klunket - that's my next step - I've been considering different options - automatically adding child devices, or maybe just populating a parent (receiver) state variable with unassigned transmitters, and leaving it up to the user to add transmitters as needed.

But, until MCV adds built-in support for the pl2303, we are still stuck logging in ssh... or using the serial receivers and a supported IP-Serial device.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 13, 2010, 03:37:10 pm
I notice you manually create each child object for the transmitters, and then assign them based on the ids found in the logs. Instead would it be possible to dynamically create these child objects as they are seen by the serial device?

Automatic discovery of transmitters has now been added, tested in UI4, and committed on the code.mios.com page.  Now, we just need MCV to build in support for the PL2303 (hint, hint).  I'll update the wiki with UI4 screenshots when I get some free time.

The next step is to add a "known transmitters" state variable, so transmitters can be deleted without being automatically re-added. Be careful though, if you delete the parent device (RFID receiver) without deleting the child devices (transmitters), and save in UI4, it gets stuck - I don't think this has anything to do with the plugin.

Note, that the "Transmitters" state variable is no longer used, and has been removed.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Klunket on July 14, 2010, 08:14:49 am
This is brilliant - looking at your code has been very insightful about what is possible in Luup.

Is there a luup reference I am missing, or have you just trawled through the built in objects to see what is possible?

Also, I am trying a gutted version of your plugin in UI4 and I can't see any of the variables you have defined - am I missing something? I was expecting them to just appear like in the UI2 screenshots.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 14, 2010, 08:25:03 am
The only state variable that should appear without actually installing the serial port device is ExpireTime. All other variables populate when you install the serial port device and link it to the RFID receiver device, and of course when new transmitters are found by the receiver. I have to make a change today that re-enumerates the id's of the child devices on startup - with yesterday's code mods, you'll have a problem if you delete any transmitters other than the last one added.  I will also add a time limit on addind unassigned transmitters - right now it's set up to add a transmitter if it receives 10 transmissions during a single "uptime" of Vera - I will restrict it to 10 transmissions in 2 minutes. 
Use the lua reference manual and the luup lua extensions on the wiki - that should give you all the info you need.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 15, 2010, 06:23:03 pm
I have to make a change today that re-enumerates the id's of the child devices on startup - with yesterday's code mods, you'll have a problem if you delete any transmitters other than the last one added.  I will also add a time limit on adding unassigned transmitters - right now it's set up to add a transmitter if it receives 10 transmissions during a single "uptime" of Vera - I will restrict it to 10 transmissions in 2 minutes.

Both of these changes were implemented, tested and committed last night.  I will update the wiki in the next couple days, and test exhaustively for the next week.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: shady on July 17, 2010, 04:02:59 pm
Woodsby, I'd like to help test all of your hard work.  I'm still in the dark as to exactly how it is you're using it though.  Are the 40m transmitters mounted in your vehicles?  If so, then 40m might be too much for me, or does it take a while for the system to respond so you want as much early detection as you drive up as possible?

I need more experience with serial and Vera so this might be a good way to get it.  Can you explain some of your plans for using RFID, if not here then on your other post which I am having trouble finding, specifically range-wise, where the receivers get placed, smaller transmitters on key-chains possibly.  Like I said I'm still confused, but intrigued and ready to spend a bit on this.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 21, 2010, 09:12:40 am
@shady, sorry for the delay - had a UPS blow-up to deal with the last five days...
Anyway, I bought a 40m transmitter for each car, opened them up, replaced the batteries with name-brand ones, wrapped the battery pack in electric tape to prevent them from becoming dislodged, and the sealed the transmitters using liberal amounts of liquid electrical tape ($5 at the hardware store).  I mounted the transmitters inside the front bumper (behind the plastic bumper, away from the metal frame).  In both cars, the bottom of the bumper has cutouts in it, so I was able to ty-rap the transmitters to the bottom of the inside of the bumper.  I stretched the antenna out (left-to-right across the bumper) and ty-rap or duct tape it down.  I wouldn't place it inside the car, since the metal frame really interferes.
The plugin doesn't take long at all when it finds transmitters, so the only delay i see is the z-wave delay opening the door.  I would stick with the 40m transmitters - you don't get nearly 40m with it through walls, and the RSSI receiver has shorter range if you go that route.  I have a keychain version, but I haven't played around with it much.
As for serial setup, I think the final release of UI4 will automatically find the USB version of the receiver.  I have not had a chance to update the wiki, but the latest version of the plugin automatically finds transmitters and creates devices for you, so we will soon be able to just plug-and-play.
I don't know what my plans are just yet.  I placed a receiver in the bedroom, but what's funny is the keychain is found by the RSSI receiver in the family room while standing outside, but is not found by the standard receiver when standing more than 10 feet away.  It also seems that the 40m is found by the stardard receiver before it is found by the RSSI receiver.  So, I have some playing around to do.  I don't know if the RSSI receiver will offer many benefits at this point, but I do intend to add "signal strength goes above/below" events... if I can.

One last note, I took @guessed advice, and bought a wiznet wiz112sr, and coincidentally enough, I can plug it right into the RFID board and fit it in the same enclosure - just a little bit of soldering involved.  I just need to cut out for the network jack and power supply, but when I do, I will post instructions/pictures.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 26, 2010, 06:52:10 pm
The wiki has been updated for UI4, with updated screenshots.  These instructions are compatible with version 1.1.1029 (or later).
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: shady on July 27, 2010, 01:05:20 pm
One last note, I took @guessed advice, and bought a wiznet wiz112sr, and coincidentally enough, I can plug it right into the RFID board and fit it in the same enclosure - just a little bit of soldering involved.  I just need to cut out for the network jack and power supply, but when I do, I will post instructions/pictures.

Is this so the receiver can link wirelessly via Wi-Fi to Vera?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: guessed on July 27, 2010, 02:50:14 pm
This particular WIZnet (WIZ110SR) is for wired Ethernet-to-RS232....  there are others that'll do Wireless (WIZ6000) althought I haven't tried them and, pricing wise, they're about the same as buying the equivalent iTach Wifi RS232.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: shady on July 27, 2010, 04:19:13 pm
Thank you, I couldn't find that exact part number on their website for clarification.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on July 27, 2010, 08:42:11 pm
IMHO, I'm a little uncomfortable using the wired version, since it introduces another point of failure, especially if you're not plugging the wiznet directly into a Vera eth port... I certainly wouldn't want to use a wifi connection for this. I have the wiznet working and I am testing. I will say that putting the receiver on the back wall of the garage made range worse, probably  due to the metal garage door. I will try to move it to the garage ceiling by the opener and see if it improves this.
On a different note, I have found a couple bugs, that I cannot intentionally reproduce. First, it seems that the "incoming" function (serial incoming) seems to start running before the startup function completes. @guessed (or anyone else), can you confirm if this happens with any of your plugins. One of the first statements in my startup function is to create a variable RFID_Data equal to "". In the "incoming" function, I concatenate this variable with the next character received. I get an occasional error in the log that it's trying to concatenate a nil value.
Second, I think very occasionally, it doesn't correctly enumerate child devices, and one of my child devices isn't indexed properly, so a new device is created.
I can fix the first issue with two lines of code, but it seems dumb to try to fix it instead of posting a bug report, if it is in fact happening.
The second, I can also fix by re-enumerating the child devices before adding new children, but I'll spend a little more time trying to identify the problem.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: guessed on July 27, 2010, 09:02:34 pm
It's possible, but it would be unlikely I'd run into that case as each of my components [generally] will only tell me something (via <incoming>) when I ask them to send me something.

The Alarm Panel is a little different, but someone would have to Open a Window Zone and/or Move in a Motion Sensor Zone during startup for me to see that behavior. Well, ok, Technically my Onkyo amp could as well, but I dont implement anything meaningful in it's incoming block.

You'll want to open a Ticket for that, since it really shouldn't ever do that until the initializer is complete.

In the meantime, default the "local" to "" at the top, outside of all the functions....


Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Ap15e on July 28, 2010, 01:21:32 pm
@woodsby

Yes, I can confirm that the 'incoming' function gets called before the startup function completes. IIRC, my 'solution' was to move the code that instructs my external device (a Squeezebox Server) to send bytes to Vera to the end of the startup function.

We should file a bug report/feature request.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: guessed on July 31, 2010, 06:37:16 pm
@woodsby,
I haven't tried this so, take this with a grain of salt, but it may also be possible to use luup.io.intercept() to block the <incoming> calls until your startup/initialization method is finished.

It would have to be the "very first" command in your initializer, and there's still a small window of opportunity for something to slip by.  What I don't know is whether the IO ops are "queued" during this, or "dropped", so you'd need to experiment.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 30, 2010, 05:04:38 pm
Been a while since I've been on - I have to say after about a month of leaving the plugin alone, it has worked flawlessly with a non-RSSI receiver plugged directly into vera1 using UI4.  I have not modified the code recently, but hope to get back to it soon.  I will test for 1 month using the modified RSSI receiver (modified to include a wiz110sr) and post results then.  FYI, I have posted a picture of the modified receiver housing opened up.

@guessed - when I get time to get back to coding, I will try this... or i might use the easy way out and set a variable to 0 at line 1 of startup code and to 1 at the end of the startup code, and look for 1 in the incoming function. Create yet another global variable, but it works... and what's one more anyway?

@shady - did you order hardware?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: santakrooz on September 25, 2010, 01:39:16 pm
Thanks Woodsby. I'm very interested in this solution. Definitely where I want to go with my system. What is the difference between RSSI and non-RSSI? I see they offer both at Cliste.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on September 26, 2010, 06:52:02 am
The RSSI receiver provides signal strength with every transmission in the form of a 2-3 digit number that I have seen range from about 70 thru 120. I was originally thinking I'd do something with this information in the plugin, but I've started thinking I might not.
It seems the 40m transmitters work better with the non-RSSI receiver and it seems that the keychains work better with the RSSI receiver, but it could just be me.
@Santakrooz, please note that this is still a "beta" plugin, so don't jump in head-first. I would appreciate the help in testing/refining the plugin.

To follow up on my last post, it seems the modified rssi/wiznet device doesn't work as well for two reasons - first, the data seems to "back up" occasionally, so a car won't read as being gone until a while after - in this scenario, if I telnet into it, it'll dump all the backed up data on the screen. I'll play around with the wiznet software and see if there's something there. The second problem with this config is that the receiver doesn't seem to get enough power from the wiznet, so signal strength suffers. I'll try powering this separately and see if it helps.  That said, the garage door opens about 95% of the time when I get home, closes about 85% of the time when I leave, and false trips about once a week at 45sec delay. The failed open/close, I attribute to lost zwave commands and backed up serial/telnet communication. The false trips are probably due to the low power to the board - I determined this by using the rssi info.
Next, I am going to try plugging directly into another computer and use serproxy and see if that works better than the wiznet combo.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: santakrooz on September 29, 2010, 04:01:46 pm
Thanks Woodsby. I would like to know when the cars leave and arrive the house. But for people, I'm most interested in using RFID for Keyfob triggering the Kwikset lock. The 8 meter transmitters I don't think will work for that. Any ideas on how to use ActiveRFID for a keyfob swipe? Do I just need to get lower powered RFID receiver/tags such as http://cgi.ebay.com/125kHz-RFID-USB-ID-Reader-10-Keyfob-Tag-10-Card-/280564479343?pt=LH_DefaultDomain_0&hash=item4152f2356f#ht_2650wt_914
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on September 29, 2010, 05:02:35 pm
For the cars, you will probably need active RFID. For the keyfobs, those are passive RFID, which means they are powered off the RF signal from the receiver. You may be able to work a passive RFID system for your cars, but you'd have to do something similar to department stores that tag all their products.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: guessed on September 29, 2010, 05:23:57 pm
@woodsby, you might want to have something poll Vera to see of it's responding at the times where you're seeing failures.  And by Poll, I mean calling Lu_status over a URL, not just a ping (which will give you false availability data)

The only time I've seen things backup like you describe is when Vera detects a problem and auto-restarts itself.  During these times you'll see significant delays
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: santakrooz on September 29, 2010, 07:09:24 pm
For the cars, you will probably need active RFID. For the keyfobs, those are passive RFID, which means they are powered off the RF signal from the receiver.

thx. is there a known passive RFID reader that works with Vera?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on December 14, 2010, 07:34:56 pm
I committed a new version of the imp file today. The core code is totally redesigned.  Rather than starting a call_timer for every transmission received, I store the expire time for each transmission, and then run one repeating call_delay every 3 seconds to check for expired transmissions (untrip the "sensors").  This seems to be much more vera-friendly and seems to be working great now.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on December 21, 2010, 04:01:13 pm
Just an update... Thanks to @Guessed and @Ap15e, I have committed a version of this plugin I feel really comfortable with.  Still looking for testers, but if nobody's interested, I'm happy using it in my house anyway.

Thanks again @Guessed and @Ap15e...
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: BrianAz on January 14, 2011, 11:56:48 pm
Not sure if you mentioned this somewhere, but I've not found it in my reading... did you get the articulating antennas with your 40m Transmitters?

Thinking of trying this out at the end of the month perhaps.

Thx,
Brian
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on January 15, 2011, 06:21:26 am
No antennas. And, don't get them sealed. Buy liquid electrical tape at the hardware store and seal them yourself. I say this for two reasons - first, so you can put good batteries in, and put a couple wraps of electric tape around the batteries to keep them from getting unseated. The second reason being that you can put batteries in one transmitter at a time, so you can identify which transmitter is which - if you get multiple transmitters.
The 40m transmitters don't get me very far through my insulated garage door - partially due to the obstruction, and partially due to my wiznet ip-serial rigging - I don't think the wiznet board provides the receiver with enough power. I have my receiver hung on the back wall of my garage, and it picks up just as I pull into the driveway - about 50' distance through the garage door.  If you can run serial cable or USB cable to it, you'll probably be in better shape.  Inside the receiver casing is a dc power jack to supply additional power if you aren't getting enough over USB.
Finally, in both cars, I was able to tie wrap the transmitter to the inside of the front bumper, with the wire antenna stretched and tie wrapped across the inside of the bumper.  If you have transmission issues, drill a small hole in the receiver casing, and extend the wire antenna on that out of the casing.  And, hey, I haven't updated the documentation since I made my recent changes - it should still install the same, although I heard the pl2303 ip-serial device (which is built into the USB receivers) may not be supported out of the box anymore, although I haven't noticed that. In either case, that's easy enough to get around.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: BrianAz on January 15, 2011, 02:40:52 pm
Cool, thx!
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: rlmalisz on January 26, 2011, 05:25:47 pm
So a few clarifying questions--at least, I hope they clarify things for me!

1) in the code-download page, you say you're currently using the USB non-RSSI receiver plugged straight into Vera.
    a) does this mean you've got your Vera out in the garage?
    b) my best route for doing this would be to use USB over CAT5/6, as I have open ports out there, and can move Vera into the AV-center where the firewall switches, and patch-panel all live.  Most of these USB/CAT solutions seem to be USB1.1.  I'm guessing that would more than suffice, but don't see which "USB" the receiver supports/requires.
2) you put your transmitters behind front bumpers, to avoid interference/signal-loss from the car body and such.  It seems to me that a 40m transmitter would work through, among other things, windshield glass.  Thoughts?

Thanks in advance.  I'm still holding off on buying the bits to make this happen until MCV releases solid firmware for V2...since it looks like your code at least expects V2, or has only been tested against same.

--Richard
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on January 27, 2011, 08:48:33 am
@rlmalisz, to answer your questions in order:

1) I've used both style USB (RSSI and non-RSSI) receivers in a variety of ways.  Plugged into the USB port on Vera, plugged into another computer running ser2net with @guessed's IPSerial plugin, and connected to a wiznet IP-Serial board.
  a) Currently, I have the RSSI Receiver that I opened up, disconnected the USB-Serial board and plugged in a wiznet IP-Serial board.  I connect to it from my Vera2 using the IPSerial plugin.  I have this hung on the back wall of my garage.  I have another USB receiver (non-RSSI) plugged into my Vera1.  This is in the family room AV closet, and does pick up on the cars through the walls, but not from out in the street.
  b) This is probably your best route or getting the serial version and running a long serial cable.  I would imagine USB 1.1 should be ok, but I'm not sure.

2) You would think, but I certainly don't get anywhere near 40m.  Even outside with the receiver plugged into my laptop and me walking the transmitter back in plain site, and watching signal strength on my iphone, I don't think I got farther than about 60 or 70 feet.  That being said, arrangement of the antenna wire is critical - both on the receiver and the transmitter.  I haven't gotten it nailed down enough to get long distances, but you may be better off getting the RSSI receiver to actually see what works best. That said, in the Honda, it does work on the dash, but not nearly as well as in the bumper.  The metal garage really puts a damper on things.  In the mercedes, it doesn't work at all through the "purple" glass windshield - but I have other issues with transmissions through that glass - IR and RF.

Now, to throw one more curveball at you, I have a keychain model that seems to get almost as much distance as the 40m (AAA battery) transmitters.  I have seen that work from inside the Honda, with the garage door closed.  In fact, when the mail lady was delivering my last order of (1) 40m and (1) keychain, I happened to be working on the code for this plugin and watching the serial data.  My receiver in the AV closet picked up one of them as she got out of her mailtruck - as it turns out, it was the keychain that picked up.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: rlmalisz on January 27, 2011, 10:48:11 am
So is the keychain transmitter also from Cliste (whose website seems more than a but sick right now), and if not, whence?

--Richard
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on January 27, 2011, 02:18:17 pm
Ya - weird about their site. I was just on their site the other day. I got the keychain from cliste - only their transmitters work with their receivers.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on January 28, 2011, 04:52:55 am
Hey, I just came across this last night.  The cheaperRFID hardware is the same hardware that Cliste sells... seems they'll be back up in a couple days, btw.

http://board.homeseer.com/showthread.php?p=941270 (http://board.homeseer.com/showthread.php?p=941270)

I'm going to try the full wave length antenna on the receiver and try it up in the attic this weekend - that guy says he get a full city block away, so we'll see.

edit:  ya, I know I posted a link to the homeseer boards, but they've been playing around with RFID a lot longer than us vera folks have.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on January 30, 2011, 07:28:00 am
So I replaced the antenna on my receiver with one that is twice the full length - approximate 71 5/16". Of course, when I moved it into the attic, the wiznet board stopped working... Must have fried it somehow. So I couldn't test it's range. So I disconnected the ip serial board and reconnected the USB-serial adapter and have it plugged directly into Vera in the av closet. Of course the av closet doesn't have enough room to extend a 6' antenna straight in any direction. I imagine for this reason and because of the av closet's location, I'm not getting much further range than the end of the driveway. I will say though that reliability of received transmissions has greatly improved. I have reduced the expire time to 15 seconds and have not had any false "untrips".
I ordered a new wiz110sr (and a serIO while i was at it - for a different project) so hopefully this week I can test in the attic. I will also try to replace the antenna on one of the transmitters to a true half-wave length. I will post results back.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: massilia on May 13, 2011, 04:35:40 am
Can you give me a  download link because on the wiki i 'am not found the file ActiveRFID Plugin

It's ok http://code.mios.com/trac/mios_activerfid/browser

Thx cedric  :)

Thanks
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on May 13, 2011, 08:49:26 am
I attached the current version to the original post at the top of this thread.  Please note that I haven't updated the instructions recently, and there are 7 files that need to be loaded onto the Vera.  Load all 7 files contained in the zip file.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: guessed on May 15, 2011, 08:59:46 pm
I attached the current version to the original post at the top of this thread.  Please note that I haven't updated the instructions recently, and there are 7 files that need to be loaded onto the Vera.  Load all 7 files contained in the zip file.
Hey woodsby,
Since you have your stuff in code.mios.com already, you can get it to generate the ZIP files for you.  All you'd have to do, is "push" your top level files down one level into a directly (like "trunk", "tags", etc), and then on that directly a "ZIP Archive" link becomes available under the "Download in other formats:" area at the bottom of the Browse-source page.

I'm about to start converting mine over to do this, since it saves a packaging step (which I've made mistakes on in the past), and save me uploading them to Box.net (etc)

See the "Download" link that's on pages like this for an example of what I mean:
    http://code.mios.com/trac/mios_sqblaster/browser/trunk

If you want to control the releases even further, you can create the /tags/nnnn sub-area, and label your files prior to release.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: ExHempKnight on July 30, 2011, 05:23:41 pm
I'd like to try to increase the range of my receiver. I know the antenna is just a ~4" piece of wire inside the enclosure... Would it be feasible to solder on a longer wire? I'd route it outside the enclosure... Would I have to calculate a proper length for the frequency?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 07, 2011, 08:53:27 pm
@Woodsby,

A couple of observations on this plugin.

1. In your instructions for scene setup your indicating the event trigger is
"An armed sensor is tripped"
and the "Tripped" state is Tripped.

With the files I just uploaded the options are:
"Home or Away" & "Armed Home or Away"
(see attachment)

2. I like to have my security sensors setup to indicate the untripped / reset (Blue standing man) to = all is secure, with the RFID it would indicate the vehicle is Home.
When the vehicle leaves the sensor would be tripped (Red running man)

However, changing the transmitters tripped "1" => "0" does not appear to change the state, so it's always tripped (Red running man) when the transmitter is home.

Is it possible to reverse the Trip state?

3. Small typo in the instructions.  "Create device". Under "UpnpDevFilename?", type "D.ActiveRFID.xml" (no quotes).

Good work, this is a nice addition to my system. Thank you.

JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 06:54:19 pm
@woodsby,

I'm having an issue with keeping the receiver online for extended periods, >24hrs. I contacted Cliste thinking it was an issue with the receiver.

Jeff at Cliste stated "Some older Windows versions and some older software (like the CheaperRFID plug in for Homeseer) can have trouble reading the receivers over a period of time"

When I connect to the receiver through Vera with PuTTY, I am seeing the data from each of my transmitters, so all devices are working, but the plugin is not registering it.

Any suggestions?

JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 06:55:42 pm
Is it plugged directly into Vera, or are you using serial IP?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 06:57:00 pm
Directly into Vera via the USB port.

JOD.

*Edit. I'm using the RF8315-uc receiver.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 07:06:00 pm
Hmmm... I've never had that problem plugged in directly.  I'm wondering if you could add a luup.log line to the RFID_Serial function at line 77 (right before RFID_Strength[TagID] = tonumber(TagStrength)).

You could do something like luup.log("RFID tag found: " .. TagID).  Then when it starts acting up, ssh into vera and do tail -f /var/log/cmh/LuaUPnP.log | grep RFID and see if it is actually receiving data from the receiver.

If it is, I'm guessing what's happening is the function RFID_Check is not getting called by call_delay... are you having issues with other timers - like a turn off lights after x seconds/minutes scene?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 07:13:32 pm
The current setup is this:
Vera 1: RFID and two transmitters & the Ademco AD2USB with 3 scenes and two timers to arm the alarm at midnight and disarm at 6:00am. That's it.
No issues with those timers.

Question. Do you have prior versions of the plugin I could try? As I stated in the previous post, your wiki example is different than what I've installed, but I'm guessing you are using the same version with no issues?

I've asked Cliste, If I order another receiver and the problem goes away if they will do a call tag and refund the receiver cost. Just in case it's a receiver issue, waiting to hear back.

JOD.


Hmmm... I've never had that problem plugged in directly.  I'm wondering if you could add a luup.log line to the RFID_Serial function at line 77 (right before RFID_Strength[TagID] = tonumber(TagStrength)).

You could do something like luup.log("RFID tag found: " .. TagID).  Then when it starts acting up, ssh into vera and do tail -f /var/log/cmh/LuaUPnP.log | grep RFID and see if it is actually receiving data from the receiver.

If it is, I'm guessing what's happening is the function RFID_Check is not getting called by call_delay... are you having issues with other timers - like a turn off lights after x seconds/minutes scene?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 07:19:26 pm
The older version of the code will give you more problems.   That one called a lot of timers.  This one only calls one timer that repeats.  I am using the current version - the same one you are using.  The tripped/untripped vs. home/away has always been set up as home/away, but during one of the UI4 updates, it reverted back to tripped/untripped - that's when I took the screenshots.  Since then, I corrected that through the json file.

I think the first thing to do would be to confirm that it's not the call_delay timer loop thats dropping out.  I've got a lot of call_delay and call_timer code that will drop out of the delay/timer due to other issues with Vera - especially more frequently lately.  When that happens, the status will never change until I click save - at which point it starts the call_delay loop over.

When it stops working for you after long periods of time, how do you get it to start working again?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 07:26:47 pm
Ok, I've found the area.
Quote
if you could add a luup.log line to the RFID_Serial function at line 77 (right before RFID_Strength[TagID] = tonumber(TagStrength)).

In the I_xml?
Code: [Select]
local TagID = string.sub(RFID_Data,1,4)
local TagStrength = string.sub(RFID_Data,5,7)
RFID_Strength[TagID] = tonumber(TagStrength)
RFID_Found(TagID)
RFID_Data = ""
To get it restarted I have to delete the device and re-create it. Restarting the engine or rebooting does not work. But when it's not working, I can use PuTTY and see the transmitters data being passed.
The receiver is the correct one isn't it?

JOD.

Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 07:43:29 pm
Yes sir - in the I_ file - sorry I didn't clarify...
Wow, I have never had to delete and re-create it.  So, you can see the transmitter data being passed through putty?  How do you see that? Do you turn on verbose logging?  Or are you just taking batteries out of the transmitters?

I have used both the RSSI (9315) and standard (8315) USB receivers plugged directly into vera and over serial ip. Your situation sounds very strange.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 07:56:16 pm
So why don't we do this, I'll make the change to the I_xml and check the logs, and at the same time wait for Jeff to reply about it possibly being a receiver problem?

To see the transmitters, I do this.
1. SSH into Vera

2. Stop cmh (Luup):
/etc/init.d/cmh stop

3. Make sure that all serproxy and ser2net processes are stopped:
ps ax | grep -i 'ser2net\|serproxy'
kill <ser2net_and_serproxy_process_ids_list_separated_by_space>

4. Connect to the 8315 with microcom:
microcom -s 9600 /dev/usb/tts/1

5. After testing, start cmh:
/etc/init.d/cmh start

Now, this is what I see, but don't know if this is good data?
Code: [Select]
connected to '/dev/usb/tts/1' (9600 bps), exit with ctrl-X...
 Ö       Ö    W `W       W  Ö     W      Ö      Ö       Ö                          Ö Ö     W Ö     Ö  W W Ö W       Ö  W Ö      `W `W   W       W  Ö Ö Ö     Ö   Ö   Ö  W Ö   Ö   W W  W   Ö     Ö         `W Ö             W     Ö       Ö    Ö           Ö W    Ö        Ö WÖ Ö Ö     W Ö   Ö   Ö       Ö  W Ö    Ö     Ö  W W  Ö    W  `W     W W  W  Ö Ö W  W    W           Ö Ö Ö       Ö     W  Ö
Removing one set of batteries from one of the transmitters, either the W or the Ö will not be generated depending on which transmitter the batteries were removed from.

*Edit. The W & the Ö are the last character from each of the transmitters.

JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 08:08:04 pm
OK, so there is something wrong with the microcom serial settings... it should spit out in plain text the 4-character code of the transmitter.  If you try the luup.log line I recommended, it should give you a plain text tag which may be a little easier to deal with/identify.

How many transmitters are you using?  just out of curiosity...
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 08:17:12 pm
Good info!! I'll do some more testing but at least you cleared up some of my "?"'s.

I'm using two transmitters.

I've reported serial port issues just recently. But now I'm stuck between a rock and a hard place with it being a possible serial port issue, receiver issue or (I doubt it) transmitter issue.

But I'll check the logs and wait to hear back from Jeff as I sent him the same info as he was the one who asked me to connect via PuTTY to view the data.

Thanks @woodsby...

JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 08:20:18 pm
One more question - in vera, are the TagID variables of your tranmitters a 4-character alphanumeric value?  Just making sure that is set up properly.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 08:21:47 pm
LOL...Yeah, I saw that entry in the I_xml and double checked it right away...
Yes they are.

Code: [Select]
luup.variable_set("urn:ActiveRFID:serviceId:RFIDTransmitter1","TagID","Enter 4-digit ID",k)
JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on August 19, 2011, 08:26:04 pm
OK, so the vera serial device is configured properly... please let me know what the luup.log command turns up when you find out...

When you do get it working right, what do you plan on using the RFID for?  Cars, garage door, door locks, thermostats, or anything more creative???
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 08:36:36 pm
Quote
OK, so the vera serial device is configured properly... please let me know what the luup.log command turns up when you find out
Will do.

My initial use was for the vehicles (the wife who fails to use the away code)  (but/and) thought about a 2nd instance (but not the same transmitters) of automating my pet feeders by using tags on their collars. I'll probably need to use passive devices for that.

JOD.

*Edit. Check this out. http://www.robotshop.com/search/search.aspx?locale=en_us&keywords=rfid



Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on August 19, 2011, 09:48:52 pm
Quote
I'm wondering if you could add a luup.log line to the RFID_Serial function at line 77 (right before RFID_Strength[TagID] = tonumber(TagStrength)).

with "luup.log" before returns: Lua Engine Failed to Load.

JOD.

Title: Re: [_CODE_] ActiveRFID Plugin
Post by: cedriclocqueneux on September 01, 2011, 11:09:00 am
Hey, I just came across this last night.  The cheaperRFID hardware is the same hardware that Cliste sells... seems they'll be back up in a couple days, btw.

http://board.homeseer.com/showthread.php?p=941270 (http://board.homeseer.com/showthread.php?p=941270)

I'm going to try the full wave length antenna on the receiver and try it up in the attic this weekend - that guy says he get a full city block away, so we'll see.

edit:  ya, I know I posted a link to the homeseer boards, but they've been playing around with RFID a lot longer than us vera folks have.

Anybody test Ananiah solution ? What modules must i buy to work with your plugin ? 

http://www.ananiahelectronics.com/RF9315R-u.htm

and

http://www.ananiahelectronics.com/RF40315T.htm
http://www.ananiahelectronics.com/RF40315Tx.htm
http://www.ananiahelectronics.com/RF8315T-sc.htm

are ok ?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on September 10, 2011, 06:19:18 am
Hi,
I am looking to use this plugin and make it work simply with a RFID keytag but I am a bit confused. It seems like I need more than one piece of hardware.
Exactly what hardware do I need to make it run? And please also provide link to the store if possible.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on September 11, 2011, 10:47:36 pm
@woodsby,

Jeff @ Cliste thought the receivers firmware chip got corrupted and sent me another receiver, that solved the issue and I'm good to go again...

JOD.



Title: Re: [_CODE_] ActiveRFID Plugin
Post by: mysticjay on October 21, 2011, 11:36:51 pm
Could someone please help me with where to get the ActiveRFID hardware?? thx.

I found this on ebay - Wondering if this would work with the ActiveRFID Plugin? Any inputs please...

http://www.ebay.com/itm/RF9315R-Active-RFID-Receiver-Module-RSSI-USB-Versi-/290483083015?pt=LH_DefaultDomain_0&hash=item43a2241707#ht_1843wt_915
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: teonebello on December 12, 2011, 12:10:00 pm
Hi,

I would ask you, if this was the right product?

Thank you
Regards,
Matteo

Could someone please help me with where to get the ActiveRFID hardware?? thx.

I found this on ebay - Wondering if this would work with the ActiveRFID Plugin? Any inputs please...

http://www.ebay.com/itm/RF9315R-Active-RFID-Receiver-Module-RSSI-USB-Versi-/290483083015?pt=LH_DefaultDomain_0&hash=item43a2241707#ht_1843wt_915
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on December 12, 2011, 12:17:32 pm
They appear to be identical part numbers to that from Cliste.
So yes, they look correct.

This plugin is working in UI4, not working in UI5.

JOD.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: smilligan on December 20, 2011, 05:58:21 pm
Hello,

Just wanted to say that we tested this Plugin and it works like a charm.  Test with both of the following serial interfaces for the RFID Rxer:

1) UDS 1100 IP to Serial Server (works great)
2) USB RS232 Prolific (works great)

We tested with the 40315 Tx/Rx as asked by previous integrator (cedriclocqueneux) in Sep 11.   We did not test with the the 8 and 9 series 315 RFID gear

These Ananiah RFID products (TX/RX combo) create a 4 digit code just like Mr Woodsby's sample.

Quote
Anybody test Ananiah solution ? What modules must i buy to work with your plugin ? 

http://www.ananiahelectronics.com/RF9315R-u.htm

and

http://www.ananiahelectronics.com/RF40315T.htm
http://www.ananiahelectronics.com/RF40315Tx.htm
http://www.ananiahelectronics.com/RF8315T-sc.htm

Thanks for a great plugin.

The only suggestion would be a "lock down" so as not to pick up STRAY or Unwanted RFID transmitters.  In our case we will use multiple rxers throughout a building, and there will be certain rxers that will pickup the transmission that might be associated with another rxer.  We will look into making this change when we have a chance, and if we actually get into a deployment.

Again, thanks for a great and well documented plugin. 

Kind Regards
Sean

Title: Re: [_CODE_] ActiveRFID Plugin
Post by: massilia on January 02, 2012, 04:23:05 am
It's possible to have a update for UI5 please

Thanks :)
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: mcvflorin on January 03, 2012, 01:05:07 pm
@massilia
Have you tried the plugin published on apps.mios.com? I know that it doesn't work for JOD, but I suspect that is an upgrade issue. If you install it on 'clean' it should work.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on January 09, 2012, 11:33:38 am
So I just received my RFID reader that was suggested in this thread and followed the instructions to install it. However it doesn't seem as if I have any active RFID tag nearby as it doesn't automatically create a motion sensor device. I assume my car keys are too old.

I am due to that wondering where I could get some active RFID tags that would work with this receiver?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Gjones on January 10, 2012, 08:00:51 am
 I 've been following this thread as I'd also like to test RFID and I'm looking for key fobs

it appears that Ananiah don't sell a key fob, I contacted them and asked about the key fob enclosure shown on the RF8315T-xl. Apparently this was 'designed by there USA distributor for there customers'

http://www.ananiahelectronics.com/RF8315T-x%20%28Loop%20Antenna%29.htm

I'm wondering if this was Cliste when they were still trading.

I think I've tracked down the enclosure shown in the picture, to a NewAge Enclosure S-251605
http://www.newageenclosures.com/cart.php?m=product_detail&p=5&c=11

I'm looking to purchase some RF8315T-xl's and enclosures unless any one else knows where to get key fobs
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: macrho on January 20, 2012, 09:37:52 am
I managed to install the plugin on UI5 and it finds the reader, I can't find any of my car keys either and they are newer (2012)
Have you had any luck?

So I just received my RFID reader that was suggested in this thread and followed the instructions to install it. However it doesn't seem as if I have any active RFID tag nearby as it doesn't automatically create a motion sensor device. I assume my car keys are too old.

I am due to that wondering where I could get some active RFID tags that would work with this receiver?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on January 20, 2012, 03:07:27 pm
I managed to install the plugin on UI5 and it finds the reader, I can't find any of my car keys either and they are newer (2012)
Have you had any luck?

So I just received my RFID reader that was suggested in this thread and followed the instructions to install it. However it doesn't seem as if I have any active RFID tag nearby as it doesn't automatically create a motion sensor device. I assume my car keys are too old.

I am due to that wondering where I could get some active RFID tags that would work with this receiver?
I'm starting to doubt that active RFID is a common technology in car keys. It's more likely to be passive RFID. I used to have a car that locked itself if the key was too far away though, that sounds pretty much like active RFID to me, but I'm not sure.

However this is what I ordered:
http://www.ananiahelectronics.com/RF8315T-sc.htm

I will return on how well they work with the reader as soon as I've received them.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: kgrr on January 24, 2012, 11:16:51 am
Both my Honda car keys and my ID badge for work don't have batteries in them.  They are both passive RFID.   Active RFIDs run on an external power supply.

RFIDs run on all sorts of different frequencies:
http://www.rfid-handbook.de/rfid/frequencies.html (http://www.rfid-handbook.de/rfid/frequencies.html)

I believe that the car keys only transpond if the code sent to them is correct.  The code response is unique for every key.  The car key has to have been previously registered with the car for it to work.

Has anyone "played" with this kit?
http://store.qkits.com/moreinfo.cfm/MK179 (http://store.qkits.com/moreinfo.cfm/MK179)


Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on January 31, 2012, 04:18:16 am
Got my transmitters today and can confirm that everything is working as expected as of now.
Just make sure that the transmitter and receiver has matching frequency.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: PaulMcT on January 31, 2012, 03:04:54 pm
I am also interested in RFID. Can you tell me the RFID hardware that works for you and what application you are using it for?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on January 31, 2012, 03:23:17 pm
I can confirm that this hardware work with this plugin:
http://www.ananiahelectronics.com/RF9315R-u.htm
http://www.ananiahelectronics.com/RF8315T-sc.htm

Title: Re: [_CODE_] ActiveRFID Plugin
Post by: smilligan on February 02, 2012, 07:04:13 pm
Woodsby,

We are testing your RFID plugin and it works like a champ.
I was wondering if you had any plans to add the Lua code to update "LastTripped" property for both Trip and Untrip states?
Similar to the variable that is maintained by the zWave motion and door sensors?

Thanks
Sean
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: teonebello on February 15, 2012, 07:16:20 am
Hi All,

I installed the plug in last week in y Vera 2 UI4 and it was working perfectly with one 8 meter active RFID and one 40 meter active RFID.

Starting from this week the 8 meter RFID started to be not updated correctly in Vera and from yesterday also the 40 meter RFID is not more working correctly.

What can be happened? Before was working corruptly. Can I reset the two transmitter?

Thank you guys
Matteo
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: computerScience on February 15, 2012, 08:07:16 am
Hi Matteo,
I have no idea what's wrong with your devices, but I would like to know where you got that 40m transmitter?

Thanks in advance,
computerScience
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on February 19, 2012, 05:03:46 am
All, it's been a long time since I've been on the boards, or even had time to play with Vera, but I am so glad to see RFID finally getting some traction in the MCV world.

I am going to reach out to @mcvflorin and see how far he's come with the UI5 port of this plugin, and see if it makes sense for me to work any further on this.  It looks like he's made some great progress, and I'll be honest - after my initial investment of 80 hours or so of programming/testing, I wasn't that excited to port to a new UI.

As far as 40m transmitters that stop working - this is very likely a battery that has come out of the internal battery pack... for this reason, I recommend buying the 40's with no sealant; wrapping tape around the battery pack inside, and then externally sealing the unit with some Plastic Dip from the hardware store.  I haven't had this happen with the keychain model though.  Actually, at times, the keychain almost works better than the 40's.

Finally, I am pleased to say that on UI4, I have had Active RFID running great for about a year without touching vera... this, combined with the garage door plugin, has been working great.

@smilligan, I think I will add the lasttripped variable as soon as I get done upgrading to  UI5 and Vera3.
I'll also look into adding a "locked" checkbox... good ideas.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on February 19, 2012, 06:04:29 pm
Alright, I really should have caught up on the hardware before my last post.  Looks like Cliste Electronics is out of the RFID business.  It seems the 40m transmitter they used to sell - the one that took (4) AAA batteries - isn't sold anymore.  I'm also guessing that this had the small version of the 40m board - based on the pictures.  I am ordering the 40315t-x now, and going to hardwire it into the car.  I'm hoping this gets better distance than what I was using... and no more plastic dip... I hope.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: woodsby on March 02, 2012, 06:25:25 pm
OK, so I ordered the RF40315T-x transmitters on ebay, and I like these way better than the old cliste enclosed 40m transmitters that took 4 AAA batteries.  As suggested on a post on the homeseer board, I installed these above the dome lights in both cars, powered off the car battery, and they are working great.  The Honda actually picks up about a block from the house.  The Mercedes is shorter than that, but much better than it was.

No more plastic dip or replacing batteries.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: LightsOn on June 11, 2012, 04:53:09 am
Hi Woodsby (and all),

Has this now been updated to work with v3 UI5?  i realy hope so; if so do i use the same download or could you provide a link to the new?

Also could someone be kind enough to offer me some clarity - I have done lots of reading but wanted to make sure I am on the corect lines.

This:
http://www.ananiahelectronics.com/RF9315R-u.htm
is the reciver plugged into Vere - this is what recives the signal of the tag correct?

This:
http://www.ananiahelectronics.com/RF8315T-sc.htm
I understand is the transmitter that when in range of the reciver then sends a signal to vera so we scenes etc or similar casn be activated dependant on desired use.

My Question is - could i use:
http://www.ebay.com/itm/RFID-Proximity-Token-Access-Control-5-pieces-/300187631546?pt=LH_DefaultDomain_0&hash=item45e493bfba

instead of the ttransmitter as i realy just want s0omething i can put on my key ring.

Very greatful in advance for any help you could supply.

Thanks.

 -LightsOn
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: JOD on June 11, 2012, 10:20:29 am
Quote
This:
http://www.ananiahelectronics.com/RF9315R-u.htm
is the reciver plugged into Vere - this is what recives the signal of the tag correct?
Correct.

Quote
This:
http://www.ananiahelectronics.com/RF8315T-sc.htm
I understand is the transmitter that when in range of the reciver then sends a signal to vera so we scenes etc or similar casn be activated dependant on desired use.
Correct.

Quote
My Question is - could i use:
http://www.ebay.com/itm/RFID-Proximity-Token-Access-Control-5-pieces-/300187631546?pt=LH_DefaultDomain_0&hash=item45e493bfba
No. Different protocol/code
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: LightsOn on June 11, 2012, 10:29:36 am
Thanks Jod,

Greatly apreciated.

Kind regards,
LightsOn
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: dabbsy on August 25, 2012, 09:01:12 pm
Hi,

Im trying to get this to work with UI5.

The RFID shows, The transmitter appears but one it appears it doesn't update the status of the Transmitter e.g tripped not tripped

I have connected putty to the RFID reciever and the string shows.

Any ideas ?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: macrho on September 05, 2012, 04:53:00 pm
Is 1.3 the appropriate version to use for 5? I see the app store has 1.0
I've tried both versions and my serial port (connected via USB) is not showing under Serial Port Configuration
I have 2 already showing, one from my global cache itach and the other from my RFXtrx
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: frichter09 on October 08, 2012, 01:21:31 pm
Thanks for the great plugin @Woodsby!

Can anyone shine some light on the Versions that are avail;able?
I am currently running UI5 and wonder which version to install? I think that this question has not been answered before.
I am confused about the newest version having the lowest version number?

Please let me know if there is any version that works with UI5 available.

Thanks guys!
Flo
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: ExHempKnight on November 03, 2012, 12:23:18 pm
I've got the same problem as dabbsy. Plugin installed fine, transmitter shows up, but does not update (tripped/untripped).

I had this working fine on my Vera2, using UI4. Just upgraded to UI5 (1.5.408), and now it doesn't work. I tried uninstalling everything, and starting from a clean install. No dice.

Also, the RFID tag doesn't show up in the list of triggers for scenes.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: ExHempKnight on November 06, 2012, 01:36:21 pm
Is there any information/updates on this?

I've got a whole lot of RFID equipment sitting idle. Under UI4, the RFID hardware worked great, but the UI was pretty limited (unless I learned Lua). Now, with UI5, the UI can do what I want it to (without having to write code), and the RFID hardware doesn't work.

I truly apologize for sounding impatient, but it is a bit frustrating.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: csader on November 30, 2012, 12:30:29 pm
Is there any information/updates on this?

I've got a whole lot of RFID equipment sitting idle. Under UI4, the RFID hardware worked great, but the UI was pretty limited (unless I learned Lua). Now, with UI5, the UI can do what I want it to (without having to write code), and the RFID hardware doesn't work.

I truly apologize for sounding impatient, but it is a bit frustrating.

Just getting into the Vera world myself, and this was one of the first projects I was hoping to complete. I have a VeraLite with the latest version of UI5, so I'm hoping someone can give input about how to get this working before I drop the money on the transmissers/receivers...

Anyone?
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: ExHempKnight on December 03, 2012, 01:59:51 pm
I got into contact with woodsby, and he sent me an updated file which got the system working. Been working well since. I have occasional issues with the receiver losing the transmitter, but that is probably my own fault (I have the 8m key fob transmitters rather than the 40m ones, and my receiver is in very close quarters with my Vera, my wireless router, computer, and all my A/V stuff).

So, to get it working (in my case):

1. Install plugin.

2. Get appropriate updated file, upload to Lua files (Apps tab -> Develop Apps -> Luup files)

3. Follow instructions here: http://code.mios.com/trac/mios_activerfid (http://code.mios.com/trac/mios_activerfid) (starting with step 7). The Serial Port Configuration part is on the Apps tab, under "Develop Apps."

4. Enjoy.

I cannot speak to how the currently available RFID hardware works, as I bought mine from Clieste before they shut down.
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Fitzy on May 05, 2013, 03:55:06 am
OK, so I ordered the RF40315T-x transmitters on ebay, and I like these way better than the old cliste enclosed 40m transmitters that took 4 AAA batteries.  As suggested on a post on the homeseer board, I installed these above the dome lights in both cars, powered off the car battery, and they are working great.  The Honda actually picks up about a block from the house.  The Mercedes is shorter than that, but much better than it was.

No more plastic dip or replacing batteries.

Hi Woodsby

I notice in your post you purchased the 40m transmitters from eBay.

I too am looking at the 40m ones but the seller has a disclaimer on the item listing saying "the transmitters are not suitable for small in house applications". Advising that "the RF is bouncing inside small structure which will generate many fault signal".

Are you able to confirm or deny this at all?

I would prefer to go with the 40m transmitters but if they just don't work when used inside a home (I will likely have the transmitter permanently mounted in the car and the receiver just inside the garage likely in the roof space) etc then I will go with the safer option of the 8m transmitters.

Appreciate any feedback

Thanks
Title: Re: [_CODE_] ActiveRFID Plugin
Post by: Fitzy on May 27, 2013, 08:17:15 am
I got into contact with woodsby, and he sent me an updated file which got the system working. Been working well since. I have occasional issues with the receiver losing the transmitter, but that is probably my own fault (I have the 8m key fob transmitters rather than the 40m ones, and my receiver is in very close quarters with my Vera, my wireless router, computer, and all my A/V stuff).

So, to get it working (in my case):

1. Install plugin.

2. Get appropriate updated file, upload to Lua files (Apps tab -> Develop Apps -> Luup files)

3. Follow instructions here: http://code.mios.com/trac/mios_activerfid (http://code.mios.com/trac/mios_activerfid) (starting with step 7). The Serial Port Configuration part is on the Apps tab, under "Develop Apps."

4. Enjoy.

I cannot speak to how the currently available RFID hardware works, as I bought mine from Clieste before they shut down.

Is anyone able to advise if they have this working under UI5 and if so is it stable?

I have the hardware but don't want to spend all the time setting it up if its not going to work under UI5.

Thanks in advance :-)