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

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
Zuletzt aktualisiert: 02.11.2016



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.


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! :)


* 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!
Kassomat mit Change-o-matic in Action