Skip to content

metalab-kassomat/kassomat-changeomatic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

change-o-matic

Metalab coin-change machine (using the Payout JSON API)

  • Source
  • Written in Java, can be built (and run) with Maven
    • build: mvn install
    • run: mvn exec:java -Dexec.mainClass="at.metalab.changeomatic.ChangeomaticMain"
  • UI: Graphical Swing Frontend
  • libs

screenshot

Example trace, showing the exchange of a 10 Euro note

"PUBLISH" "validator-event" "{\"event\":\"reading\"}"
"PUBLISH" "validator-event" "{\"event\":\"reading\"}"
"PUBLISH" "validator-event" "{\"event\":\"read\",\"amount\":1000,\"channel\":2}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"credit\",\"amount\":1000,\"channel\":2}"
"PUBLISH" "hopper-request" "{\"cmd\":\"do-payout\",\"msgId\":\"de21cbee-7bef-4786-935a-0e84231ce916\",\"amount\":1000}"
"PUBLISH" "hopper-response" "{\"correlId\":\"de21cbee-7bef-4786-935a-0e84231ce916\",\"result\":\"ok\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":0}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"stacked\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":0}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":100}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":900}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":1000}"
"PUBLISH" "hopper-event" "{\"event\":\"cashbox paid\",\"amount\":0,\"cc\":\"EUR\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensed\",\"amount\":1000}"

About

Metalab change machine using the Payout JSON API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.5%
  • Shell 0.5%