Smart Home Manager

Description

The program is a control panel for sensors in Smart Home. The sensors are connected with the program through MQTT Broker.

The project contains also sensors' sciripts written in Python.

Sensor scripts working

Gif presents sensor scripts working.

Preview control panel

Gif presents control panel working.

Interaction with sensors

Gif presents interaction with sensors.

Adding new floor and a sensor - editing scheme

Gif presents editing scheme.

Libraries

  • Kivy
  • PahoMQTT

How to run

  1. Clone this repo.

git clone <repo>

  1. Change directory (for each: 'ControlPanel' and 'SensorScripts' do 2-6).

cd <repo>

  1. Instal virutalenv if you don't already have virtualenv installed.

pip install virtualenv

  1. Create your new environment.

virtualenv venv

  1. Enter the virtual environment.

source venv/bin/activate

  1. Install the requirements in the current environment.

pip install -r requirements.txt

  1. Run mosquitto broker (Install mosquitto mqtt broker if you don't have it).

mosquitto –p 1883 –v

  1. Run makefile.

make run

Authors

  • Marcin "Cozoob" Kozub
  • Rafał "rafibz007" Kamiński