Giter Site home page Giter Site logo

miquipuig / thermostatproject Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 21.27 MB

Python-based Raspberry Pi thermostat application for home automation

License: GNU General Public License v3.0

Shell 2.23% Python 97.11% Rich Text Format 0.65%
raspberry-pi python3 domotics

thermostatproject's Introduction

HEAT-PI-CONTROL

Python-based Raspberry Pi thermostat application for home automation.

Install fonts

Copy the setup/thermoFonts repo to the /usr/share/fonts/¡. You can use the follow command in the setup folder:
$ sudo cp -r thermoFonts/ /usr/share/fonts

And the follow is needed to load in memory without restart:
$ sudo fc-cache -f -v

Install libraries

Install tk libraries:
$ sudo apt-get install python3-tk

Install pip3 with:
$ sudo apt-get install python3-pip

The rest of app dependencies:
$ pip3 install -r requirements.txt

Start application

To start de application in test mode use the follow command on the project path : $ python3 -m heatPicontrol test

Prototipage mockup

drawing

Basic Sketch

drawing

Final installation

drawing

Hardware Components

Picture Component Functionality Price Purchase Link
drawing Tenstar Robot HLK-PM01 Power Suply x 3 7€ Link Amazon.es
drawing DHT 22 AM2302 Temperature Sensor 2.33€ - 9.50€ Link Amazon.es
drawing CESFONJERSPDT Interruptor Rockers Switch x 10 5.99€ Link Amazon.es
drawing Raspberry Pi 3 Model B Mother Board 32.54€ - 37.44€ Link Amazon.es
drawing KY-040 Rotary Encoder x 3 0.46€ - 5.99€ Link Amazon.es, Link aliexpress.com
drawing KY-019 5V Relay x 3 1.20€ - 6.49€ Link Amazon.es
drawing 3.5 inch 320*480 TFT Screen 16,92 - 19€ Link Amazon.es, Link aliexpress.com
drawing Resistor 10.00k Resistor for Temperature Sensor N/A N/A
drawing RIBBA White Frame 1,50€ Link ikea.es

Versioning

version 0.2.1 (Structured version) includes:

  • Logs
  • Well structured Python project
  • GNU liscense
  • Homogenic Canvas and code simplicity
  • Basic Readme.md
  • New package load
  • Package structured global variables

version 0.1.0 (Stable Version) includes:

  • graphic interface
  • tactile configuration
  • Integration with a weather API
  • Temperature and humidity sensor lectures
  • History registration
  • Daily temperature graph
  • minimum api configuration
  • Rotate button integration

thermostatproject's People

Contributors

miquipuig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

unupingu

thermostatproject's Issues

Documentation

Update the minimum functions and installation documentation.

Project Structure

Structure like:
~/code/sandman
$ tree
.

  • LICENSE
  • README.md
  • TODO.md
  • docs
    • conf.py
    • generated
    • index.rst
    • installation.rst
    • modules.rst
    • quickstart.rst
    • sandman.rst
  • requirements.txt
  • sandman
    • init_.py
    • exception.py
    • model.py
    • sandman.py
  • test
    • models.py
    • test_sandman.py
  • setup.py

Homogenic canvas

Define a canvas that contain all graphical interface. At the moment interface is composed to multiple canvas and objects in different labels. It difficult the work to upgrade new functionalities.

liscence

Assign license to the project

Server API update

Update the API to offer all possible configurations and, at the same time, return an accurate information of the state.

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.