Code Monkey home page Code Monkey logo

faisalthaheem / machine-learnt-air-conditioning Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 11.0 67.56 MB

System that learns how often a room is occupied based on time, movement, air conditioning preferences and learns on historic data. This can have a significant impact on the energy use around a house/building.

License: Apache License 2.0

C++ 22.40% C 2.14% Assembly 0.09% Python 0.28% Makefile 0.21% Shell 0.11% HTML 0.15% JavaScript 68.84% TypeScript 0.09% CSS 4.37% Batchfile 0.01% Jupyter Notebook 1.31%
air-conditioning artificial-intelligence neural-network powerwall energy-efficiency deep-learning deep-neural-networks tensorflow nodered hvac

machine-learnt-air-conditioning's Introduction

Smart Air Conditioning using machine learning

(Hey Elon - heard you want to do something similar - would be great if this code can help :)

System that learns how often a room is occupied based on time, movement, air conditioning preferences and learns on historic data. This can have a significant impact on the energy use around a house/building.

This sytem can learn based on the following habits

  • how often a room is occupied - based on PIR data
  • hat time of day is the air conditioning demanded by residents
  • which months, days are most demanding in terms of air conditioning
  • difference between outside temperature and humidity (acquired through open weather) to inside temperature and humidity

This means if somone switches on the air conditioning everday at the same time then after a while the system will automatically start to switch on the AC wihtout any manual intervention.

Quick Start

Document Summary Link
Introductory post Discusses the idea behind the system Blog Post
Quick Start Minimal setup that walks through getting software aspect of the system up and running quickly Wiki
Hardware Setup Brief introduction to assembling the hardware sensors Hardware Sensors

Brief Introduction

There are 3 hardware components developed using esp8266 modules, which are

  1. An IR Blaster which relays smart phone app commands to the air conditioning thereby allowing the system to learn about the desired temperature at any given instance. The blaster uses reversed engineered IR codes for a SHARP ac.
  2. A PIR Sensor which senses movement in the area and reports it to the node red app.
  3. A DHT-22 sensor which monitors the temperature and humidity in the room, this information is used in the machine learning phase.

Following image shows the data acquisition on the operational system Sensor data

The following diagrams show the high level system services, which are packaged as docker containers for ease of deployment.

System Block Diagram

Services Diagram

machine-learnt-air-conditioning's People

Contributors

faisalthaheem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

machine-learnt-air-conditioning's Issues

Issue about android code

How We connect Offline data to firebase database through code.
Because we working on online database and this project you have MongoDB database.

Running the code without Docker

Hello, I've been trying to run the learning process without using the actual Docker containers, by now I was able to build the image and run node-red, the problem that I am facing is with the following piece of command:

docker run -d -p 5000:5000 --name ltrest \
-e mongodbhost=192.168.100.100 \
--restart unless-stopped \
faisalthaheem/lt-rest:1.0

Can I execute this without using docker? If the answer is positive, do you know by any chance how am I supposed to do that?

dataset

can you please share the dataset used in the algorithm for machine learning? also, the circuit diagrams are not clearly explanatory!

simplify image building and running process

current process requires too much user input, automated installation of nodered packages through npm install and initialize the flows in the same process.

update the build image shell script and wiki instructions.

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.