Git Product home page Git Product logo

sznapsollo / akhomeautomation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 4.24 MB

AKHomeAutomation (Deprecated in favour of TichHome) is Raspberry Pi based home automation / smart home / smart house solution based on common and cheap components.

Home Page: http://cultrides.com/test/Github/AKHomeAutomation

Makefile 0.13% C++ 5.27% PHP 6.80% Python 7.13% JavaScript 50.43% CSS 0.68% HTML 6.55% Less 11.43% SCSS 11.58%
smarthome smart-home house-automation smart-house raspberry-pi home house automation switches sonoff sonoff-devices

akhomeautomation's Introduction

AKHomeAutomation

Before you read: I updated AKHomeAutomation and switched to vertx based system which makes if easier to work with and faster to deploy (does not need apache, php, problems with file permissions etc). It is in another repository under name TichHome. AKHomeAutomation repository will stay here and please folllow the below if you wan to use it but I will probably not update it anymore and focus on TichHome...

About

AKHomeAutomation is Raspberry Pi based home automation / smart home / smart house solution based on common and cheap components, works realiably and I think is very convenient to use.

Main goal for this home automation system was to create something that:

  • would work inside of local network and be accessible from any device whether it is computer, phone or tablet for convenient use.
  • not to be dependent in any way on anything outside of local network – there are no connections to cloud or some 3rd party services. It is all „inside” of local and independent from outside world. Internet is not needed here – just internal network will suffice.
  • most important initial feature of this system was delayed auto disable. Devices that you configure into the system do not have to have that feature enabled but it definately turns out very practical in everyday usage – especially for lamp devices.

What it currently provides:

  • web interface which allows to operate defined devices to anyone from your home network
  • it allows control over radio operated devices/power switches
  • it allows control over web operated devices/power switches
  • provides way to define scheduled working periods for devices by simply clicking in UI
  • allows to define auto disable option with delay times after which devices would be turned off (energy saving for forgetting and salvation for lazy ones ;-))
  • allows to define PIR sensor(s) connected to Raspberry pi and basing on their signal can operate defined devices and/or trigger alarm/sen alarm mails
  • can be easily integrated with Google Voice kit to use voice commands. Example script in one of my repositories.

How it looks - DEMO Time!

  • under UI Demo address you can have a peek at user interface of AKHomeAutomation. It is deployed on shared host with no functionality attached so you will not be able to actually operate predefined devices - they are just for show. However User will have option to change items data(admin->items tab) and perform edits, adds, deletes, reorders - changes will be limited to individual visitor session. This Demo is to present UI, how it displays nodes, scheduling options etc. It is generated from same nodes.json, sensors.json, settings.json that are uploaded here.

Installation & Usage

  • Readme_HomeAutomation_instructions.pdf file contains detailed description of all that I think is important to make this system work and understand how it works/present it/deploy it. I am not very skilled at doc creation so if I missed something or described in not very clear manner let me know I will try to make it better
  • this AKHomeAUtomation Youtube playlist will contain any vids that I make regarding this system. So far I have made some describing in short radio switches connecting and in general how this works

What you need to run it

  • described in detail in Readme_HomeAutomation_instructions.pdf
  • to run the system you just need Raspberry Pi with Apache + PHP configured, Python is also used but it is by default included in Raspbian. Configuration is described in instructions above.
  • to control radio controller power switches you would need such switches and RF radio transmitter like XY-FST
  • to control web controlled power switches you would need such switches - SONOFF devices are ideal for this with custom scripts uploaded. I use such scripts but have not yet uploaded them here will probably do so in the feature with some explanation hot to flash these switches.
  • to use pir sensor you would need pir sensor for Raspberry PI like HC SR501

Notes

  • enjoy it but also be responsible with it. Do not rely on radio controlled switches to connect them to some heavy-duty stuff that might prove dangerous (for example. dont operate owen with it or dont rely on it regarding some security devices - radio controllers may fail and they can also be easily fooled).
  • if you have questions/suggestions you can contact me through githum account mail, youtube and also i have placed mail in Readme_HomeAutomation_instructions.pdf

Take care! Wanna touch base? [email protected]

Example Screens

Set timeout disable when enabling device (optional)

Image of AKHomeAutomation #1

Set scheduled regular actions defining when device should be ON and when OFF (optional)

Image of AKHomeAutomation #2

Example homepage with some configured devices

Image of AKHomeAutomation #3

akhomeautomation's People

Contributors

sznapsollo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

noctilia

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.