Stuffkeeper Development

Development Projects for Stuffkeeper

Mariano Alvira: mar@devl.org

Last Update: 12 Jan 2011

Delete Item Button:

Adds a delete item button to popup_item:

Delete item

RFID Plugin:

The RFID Plugin for Stuffkeeper connects to an RFID server, rfidd, using an Internet socket; this will allows Stuffkeeper to interface to many remote RFID readers, or only one local one, without any excessive configuration of Stuffkeeper. The plugin provides a user interface to create, delete, and access items that have an RFID tag.

Screencast

Video of using Stuffkeeper RFID plugin:

Stuffkeeper RFID screencast

Screenshots

Run the plugin:

Run RFID plugin

Select a tag that already exists:

Select a tag

Create an item from an unknown tag:

Add item from tag Add item from tag Add item from tag

Usage

Scanning items

The RFID Plugin polls rfidd for new tags. Tags are shown and stored in the RFID window. Pressing CLEAR will clear the list of tags.

Adding items

UUIDs not present in the database will show up as buttons with a UUID. Clicking on these buttons will open a window to select the type of item to create.

you will only be able to create items that have a field like 'UUID'

After creating the item, it will be selected and the title of the item will be shown on the RFID button. Edit the item as normal.

Selecting items

Tags that have a UUID in the database will have the title of the item as the button. Clicking on these buttons will select the item.

Deleting items

When a item is deleted from the Stuffkeeper database, the tag button will display the UUID.

Closing the RFID plugin

Press CLOSE to close the plugin. This will stop Stuffkeeper from checking rfidd.

Installation and setup

Get rfidd
git clone git://git.devl.org/git/malvira/rfidd.git
Run rfid-serial.pl
cd rfidd
./rfid-serial.pl &

rfid-serial.pl parses the output of an rfid reader and creates a file named "cache-rfid.txt" that contains a list of the UUIDs currently present.

Run rfidd.pl
./rfidd.pl

rfidd is a simple server that creates a socket on port '57351' (0xe007). When the server receives a line (any line) it sends a list of UUID lines. The last line is sends is "end of tags\n"

Get and build my rfid-WIP branch
git clone git://git.devl.org/git/malvira/stuffkeeper.git
git checkout rfid-WIP

Then read the build instructions in README. You need to get the proper dependencies, run ./autogen.sh, and make install (stuffkeeper will not run in the build directory, you must install it locally).

Activate the RFID plugin in the tools menu. Stuffkeeper will connect to rfidd and display the tags from the reader.

Code changes

The development branches and changes are briefly described below.

branch: expose-interface

These patches expose the Stuffkeeper main interface to the plugins. RFID uses this to set the search bar and automatically select items.

This is currently a bit of a hack and is going to change soon.

branch: rfid-WIP

The RFID plugin. Also merges all the core stuffkeeper changes.

Hardware

Reader

I'm using the TRF796x HF RFID reader IC from TI on a custom dev. board controlled by an Redbee MC1322X module.

Pictures will be added soon

Firmware

The firmware I am currently using is test-findall_trfeval.bin. You can get it here:

git clone git://git.devl.org/git/malvira/trf796x.git

Please see the MC1322x project for building and usage instructions.

Tags

The tags are ISO15693 HF (13.56MHz) RFID tags. These tags have anticollision, so multiple tags can be read by the same reader. The reader firmware implements the full anticollision algorithm.

Other HF Tags could be used (e.g ISO/IEC 14443-A, Mifare, etc..) could be used with additions to the firmware.

Comments:

Connection Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)