Code Monkey home page Code Monkey logo

apartmentmonitor's Introduction

apartmentMonitor

Store and graph Philips Hue Motion, Ambient light, Temperature in combination with outside weather.

What is it?

Philips sells Hue motion sensors. These sensors collect motion, light and temperature (undocumented).

  • The "get_data" part of this project reads the Hue API, collects the sensor data periodically and saves this in a database.
  • In addition to the Hue data, it also collects outside weather data from the Dutch government meteorological institute. This data can be used to compare for example room temperature with outside temperature.
  • The server part of this project uses the database to graph and show statistics on the data. Screenshots of a small part of the functionality can be found below.

Why?

  • Collecting data always is fun!
  • Knowing if my heating system works correctly
  • What is the influence of my curtains on the temperature inside. Should I close them or leave them open?
  • Use motion data, ambient light information and outside information to automate my lighting. Learn my behaviour and turn the lights on without me touching it.

The application

Default graph:

Screenshot

Graph showing three days:

Screenshot

Graph showing temperature and ambient light measurements:

Screenshot

Acknowledgements

This project uses:

  • Hue API
  • Flask
  • jsonp.js
  • moment.js
  • chart.js
  • utils.js
  • jquery

apartmentmonitor's People

Contributors

hyhend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

damok6

apartmentmonitor's Issues

Adding some "how to" ?

Hello,

To you plan to add some documentation on how to deploy/use it ? It would be nice to have the possibility to deploy it on a Docker container.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.