[Opendispense] Vending Machine again!

Bernard Blackham [email protected]
Sat Jun 26 16:39:43 2004


You can now use the vending machine to dispense drinks and open the
door ... it's running of the current dispense system, hence items
from the vending machine itself are not yet charged for (though
there's nothing of value yet).

Expect things to break until the dispense rewrite is complete and
running. I'm working on it still, but less often at the moment.

The gist for using the vending machine:

Create a file in your UCC homedir called .pin. In this, put a
4-digit number, and ensure the file is readable only by you -
otherwise you won't be able to use it. Find out your userid by
typing 'id' when logged into any UCC machine (should be a 5-digit
number for most people, like 11002).

Wander up the the vending machine. Type your 5-digit UID (left-pad
with zeroes if yours is shorter). Then enter your 4-digit PIN. Then
if all is well, you can:
 - open the door by typing '55'
 - dispense drinks by typing 'X8', where X is the slot number in the
   coke machine
 - vend a snack (currently free, if there are any)
 - hit reset to log out.

There are a couple of bugs with the current code, in that you have
to type slowly (wait a second between keypresses), else it doesn't
quite work as expected. This should be fixed shortly though.

And all of the above is subject to change too :)

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>