This repository contains all the code required to run the IoT sleep monitoring system designed and is divided in the following folders
This folder contains PHP scripts that connect to the Withings API in order to obtain access keys and tokens as well as data from the Sleep Analyzer.
This folder contains the scripts that acquire data from a photoresistor (light) and a DHT22 sensor (temperature and humidity) and connect to a MongoDB database.
This folder contains the data cleaning pipeline as well as all the data anlaysis scripts and notebooks.
Unfinished flask code to create a web app.
This folder contains the local versions of the datasets stored on the Cloud in order to perform analytics when offline.
This folder contains the scraping script used to retrieve information from the Withings web app.