Kegbot Project

KegBB

Kegbot Kegerator Project Forums

  • You are not logged in.

#1 July 23, 2010 03:22:01

termination
Registered: 2010-07-23
Posts: 1
Reputation : +  0  -
Profile   Send e-mail  

User authentication and solenoid valve

Hello,

We are in the finishing process of building our kegerator using the kegbot project but I have a question.
We want to authenticate users using a barcode and then letting the kegbot open a solenoid valve.
I've read that the kegbot core has some API's to authenticate a user but how should I approacht this using a barcode reader?
Also, how can I open the solenoid valve once the user is authenticated.

Any help is appreciated.

EDIT: Never mind. I ended up spending €100,- on a phidgets RFID reader and 8 tags.
I also take it that the "Relay" outputs on the kegboard are used for the solenoid valves?

Edited termination (July 23, 2010 06:14:58)

Offline

#2 Aug. 18, 2010 01:21:39

mike
Registered: 2003-12-03
Posts: 179
Reputation : +  2  -
Profile   Send e-mail  

User authentication and solenoid valve

termination
Hello,

We are in the finishing process of building our kegerator using the kegbot project but I have a question.
We want to authenticate users using a barcode and then letting the kegbot open a solenoid valve.
I've read that the kegbot core has some API's to authenticate a user but how should I approacht this using a barcode reader?


There's a currently-undocumented TCP protocol between the kegbot 'core' and peripheral devices, called "kegnet". The existing kegboard program speaks this protocol, and uses it to push authentication data (as well as temperature and flow meter data) to the core. Caution, it is undocumented for a reason; it needs some revision and is likely to change in future releases.

As one approach, you can implement this protocol to build a new kind of authentication device, running as a separate process in whichever language you like. Of course, barcode input is likely to be something others would like, so I'd be interested in making it a core app.

termination

Also, how can I open the solenoid valve once the user is authenticated.


This feature is currently unsupported. It was ripped out long ago and just hasn't made it back in (main reason is I don't use it anymore). It is pretty close to the top of my 'todo' list to fix this, however. It will require an updated arduino firmware & a small change to the flow handling in the core. Stay tuned.

termination

EDIT: Never mind. I ended up spending €100,- on a phidgets RFID reader and 8 tags.
I also take it that the "Relay" outputs on the kegboard are used for the solenoid valves?


That's the intention, yes. Note that the output control commands need to be implemented per previous.

Edited mike (Aug. 18, 2010 01:21:39)

Offline

Board footer

Moderator control

Powered by DjangoBB