Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.12 KB

Status tools

⚠️ ⚠️ ⚠️

This project is in deprecated and no longer maintained.

If you're searching for a hackspace status page, please have a look at our follow-on projects:

⚠️ ⚠️ ⚠️

These tools are used to display status information of our hackerspace.

There's a simple Python script that generates a HTML page from a jinja2 template and a script aggregating the status JSON from a WiFi router.

connected_devices, connected_users and generate_spaceapi run on a WiFi router and collect information about the devices in our WiFi network to tell wether someone is connected and thus the space is open. This is of course just an approximation but it's cheap and works pretty well with a low DHCP lease time.

Usage:

  • Copy config.py.example to config.py and adapt settings (at least file paths for output and includes)

  • Copy includes/ folder to the build folder specified in config.py

  • execute python generate_status.py