Code Monkey home page Code Monkey logo

smartlighting's Introduction

SmartLighting

SmartLighting is VTTs project to enhance energy savings and efficiency of lighting in buildings. The system uses passive infrared sensors to turn on lights and sensors in luminaires to track times when lights are on. Every sensor works wirelessly and every event is stored in database for later inspection.

The purpose of this software is to analyze movement at the building’s monitored corridor and calculate the exact energy savings of SmartLighting system.

Requirements

  1. Python 2.7 (https://www.python.org/)
  2. pip (should come paired with python)
  3. PostgreSQL Database (https://www.postgresql.org/)

Installation

Consider using virtualenv to keep your projects separate from eachother https://virtualenv.pypa.io/en/stable/

  1. make sure you have all the requirements

  2. clone the repository somewhere

    git clone https://github.com/olkorhon/SmartLighting.git

  3. navigate to repository folder and install dependencies with pip

    pip install -r requirements.txt

  4. modify a config.py file from template file dbconfig.py.TEMPLATE, which is found in SmartLighting/src/dbconfig.py.TEMPLATE

    USER: your_postgres_username

    PASSW: your_postgres_user_password

    DBNAME: name_of_the_database_you_want_to_access

  5. run main.py and optionally provide starting time for the analysis (See open issue about this)

    python main.py 12.4.2015

smartlighting's People

Contributors

olkorhon avatar paavoee avatar jpajukan avatar hkaarlel avatar

Watchers

Lari-Matias Orjala avatar  avatar  avatar  avatar  avatar

smartlighting's Issues

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.