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-12-11 14:57:36 +01:00
source Merge pull request 'license' (#4) from fiveop/doorstatus:license into master 2020-11-22 23:07:22 +01:00
LICENSE.AGPL Add AGPL to Arduino code 2020-11-21 21:21:26 +01:00
README.md Mention Space API 2020-11-26 09:15:31 +01: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 provides the current state of the door lock upon request via UDP. 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 follows the Space API specification, which includes a field indicating whether the space is open or closed.

Arduino

Python Script

API

License

The authors of the Arduino code license the code under the AGPL 3.0 (see LICENSE.AGPL). The respective authors are listed in the in the preambles of each source file.

Dependencies

The Arduino code depends on the following libraries:

Arduino Core published by the copyright holders under the LGPL 2.1 or later.

SPI Master Library for Arduino Zero published by the copyright holders under the LGPL 2.1 or later.

Library for Arduino WiFi Shield published by the copyright holders under the LGPL 2.1 or later.