Skip to content

kaspernyhus/gladibad

Repository files navigation

gladibad.pythonanywhere.com

This project persists of two parts; an Arduino senory module and a Django web page displaying results.

The overall goal is to couple these to parts to deliver sensory results on a webpage. The particular application is light sensoring to determine whether a shared bathroom is available or not.

Arduino sensory module

The part only consists of one file, which is located in the Arduino folder. All this file does is run a loop that checks if the sensored light is above or below a certain threshold and sends an update if the state changes.

Django web page

This part of the project exposes an API endpoint, GET changestate/<state>/, to update the light state in the database and a few html pages to display the information.

Project pictures

2019-05-01 14 56 05 2019-05-01 21 50 06 ledigt optaget

About

A project to determine bathroom availability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published