Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.59 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.59 KB

HomeAutomation with bot for Telegram and homebridge

[video demonstration of homebridge/HomeKit part]

alt

Manual for installation of Raspbian and homebridge on Raspberry Pi and a project of home automation via HomeKit using Raspberry Pi.

Overview

First of all you need to install homebridge on your machine (Raspberry Pi) along with plugins (personally I use cmdSwitch2 and TemperatureFile for now).

Then you need to configure your home automation system inside the system.py file.

Used plugins:

npm install -g homebridge-cmdswitch2
npm install -g homebridge-http-temperature

After that just generate new config.json and replace ~/.homebridge/config.json with newly generated newconfig.json:

python home_automation/generate_config.py -r

To start all services you can use res/startup.sh (with screen commands) or res/tmux_startup.sh (with tmux commands).

Resources

Name Description
Etcher Burn Raspbian images to Raspberry Pi
homebridge Server for HomeKit
python-telegram-bot Telegram API wrapped into package for Python