Kassomat: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
(added component summary, still needs to be wikified)
K (typo)
Zeile 21: Zeile 21:
== Status ==
== Status ==


payoutd controls the hardware and feeds into redis queues where other tools may pick them up.
payoutd controls the hardware and feeds events 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.
Changeomatic listens to events in those redis queues and allows users to change banknotes into coins.
The protocol is documented in the [https://github.com/sixtyeight/Payout/blob/master/docs/overview.md payoutd repository]. People who are interested in implementing a more advanced POS system are very welcome to do so! :)
The protocol is documented in the [https://github.com/sixtyeight/Payout/blob/master/docs/overview.md payoutd repository]. People who are interested in implementing a more advanced POS system are very welcome to do so! :)

Version vom 2. November 2016, 02:21 Uhr


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-02


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 events 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}}