Kassomat

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Version vom 1. November 2016, 23:43 Uhr von M68k (Diskussion | Beiträge) (added component summary, still needs to be wikified)
Zur Navigation springenZur Suche springen


Kassomat
KASSOMAT.png
Gestartet: XX.10.2012
Involvierte: User:anlumo User:m68k User:ripper User:phaer User:hetti
Status: in progress
Beschreibung: box which changes banknotes into coins
Shutdownprozedur:
Zuletzt aktualisiert: 2016-11-01


Kassomat

Development

In case you don't have the actual hardware available you can use the Payoutd/Cash hardware Simulator instead: https://github.com/hettipeti/PayoutSimulator

The https://github.com/hettipeti/PayoutSimulator/tree/master/PayoutSim_v3/PayoutSimulator folder contains the latest version.

Status

payoutd controls the hardware and feeds into redis queues where other tools may pick them up. Changeomatic listens to events in those redis queues and allows users to change banknotes into coins. The protocol is documented in the payoutd repository. People who are interested in implementing a more advanced POS system are very welcome to do so! :)

Components

* Changeomatic
	- Source at: https://github.com/sixtyeight/changeomatic
	- Written in Java
	- UI: Graphical Swing Frontend
	- libs
		- Redisson (Redis client)
		- Jackson (JSON library)

* Maintenance Mode Application
	- Source at: https://github.com/phaer/kassomat-scripts
	- Written in Python
	- UI: Console interface

* Payout
	- Source at: https://github.com/sixtyeight/Payout
	- Written in C
	- Linux daemon
	- JSON API (accessible via Redis)
	- UI: none
	- libs
		- hiredis (Redis client for C)
		- libevent2 (Event Dispatching)
		- libjansson (JSON library)
		- libuuid
		- ITL example code (aka "vendor hardware library")

* Redis
	- message broker between the different components (Changeomatic, Payout and the Maintenance Mode Application)
	- not used as a datastore!

{{#ev:youtube|V_DINDvbJZY|360|left|Kassomat mit Change-o-matic in Action}}