Equipment/Kiosk
This is the machine next to the club Mate fridge that drives the Membership_Kiosk, It runs Debian.
It runs Chrome with the Chrome window displayed on the kiosk, it then goes to this [1] section of the london hackspace website for the UI.
There is also some code that talks to the card reader and pastes any card UIDs found into a hidden field on the web page. [2] The config for kiosk2 is under ansible control. Theoretically to rebuild in the event of failure is to bootstrap debian and then point ansible at it.
If the kiosk gets restarted you'll need to click the mouse once on the chrome window for it to get focus (or be activated or brought to the foreground or something like that) before it will read cards.
It also runs waspd as a systemd service, code from here: https://github.com/londonhackspace/wasp-label-printer to talk to the printer, which isn't a standard cups-supported printer.
Obsolete code that is not used here: https://github.com/londonhackspace/enrolment
See also Equipment/WASP_WPL305E, Membership_Kiosk
Fault diagnosis checklist:
- Does the little unmanaged hub on the side have blinking lights? If not, it's probably a power problem, check the power strip inside the cabinet
- Is there a dinosaur on the screen? If so, there's a network error, and it's wiring or something, or the hub (see above)
- Reboot the computer (on the floor to the right)