Client- und Serveranwendung, um den Raumstatus in der API des Hackspace Jena e.V. zu setzen. Weiterführung des Repos unter https://git.kraut.space/Krautspace/doorstatus.
This repository has been archived on 2022-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-11-18 21:56:24 +01:00
api api file added 2019-07-27 02:20:26 +02:00
api_template add file api_template 2019-07-27 17:36:07 +02:00
apistatusd.conf statusd.py in apistatusd.py, statusd.conf in apistatusd.conf umbenannt 2020-09-10 14:55:07 +02:00
apistatusd.py keepalive aktiviert 2020-10-22 16:07:16 +02:00
README.md Add README.md including overview and headings for detailed sections. 2020-11-18 21:56:24 +01:00
setstatus.conf konfiguration an kraut.space angepaßt 2020-09-07 15:17:49 +02:00
setstatus.py Umwandlung in eine Klasse 2020-10-22 23:58:17 +02:00
statusd.service statusd.service: change options user, group and identifier 2019-09-15 00:01:39 +02:00
watchdoor.py anbindung an setstatus 2020-10-22 23:59:04 +02:00
watchdoor.service systemd-unit für watchdoor hinzugfügt 2020-09-08 17:59:13 +02:00

KrautStatus

This repository contains documentation and sources of KrautStatus. KrautStatus is the n-th iteration of a software/hardware project to communicate whether Jena's Krautspace is open or closed.

KrautStatus consists of three components: an Arduino-sensor-combination at the door, a Python script on a local server, and an API file served on by web server.

The Arduino broadcasts the current state of the door lock to our LAN. The state is determined by a reed sensor in the door lock. In addition, it controls an RGB LED matrix shield that provides a visual indication of the door locks's state in the room.

The python script polls the broadcast state and pushes changes to Twitter, Mastodon and our API file.

The API file is just that, a JSON file. It contains, among other things, the current state of the door lock.

Arduino

Python Script

API