Skip to content

TichHome is Raspberry Pi based home automation / smart home / smart house solution based on common and cheap components. It is evolved version from AKHomeAutomation

Notifications You must be signed in to change notification settings

Sznapsollo/TichHome

Repository files navigation

TichHome

About

TichHome 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 ON/OFF/RANDOM operations 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 TichHome. 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_TichHome_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 TichHome 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_TichHome_instructions.pdf
  • to run the system you just need Raspberry Pi with Java 8 available, Python is also used but it is by default included in Raspbian. Configuration is described in instructions above (brief steps from raspbian installation to working TichHome i also paste at the end of readme).
  • 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_TichHome_instructions.pdf

Take care! Wanna touch base? [email protected]

In Big short how to deploye on fresh raspberry

It really takes few minues once you get the hang of it

  • Install Raspbian
  • setup hosts, hostname, enable vnc, ssh
  • Initial run and setup wifi and static IP (from this point you are headless)
  • sudo apt-get update
  • sudo apt-get upgrade
  • install ftp: sudo apt-get install proftpd
  • install java: sudo apt install openjdk-8-jdk
  • sudo update-alternatives --config java (choose java8)
  • create tichhome folder
  • copy webroot
  • copy jar
  • copy testfolders to main folder
  • change settings file
  • compile RadioDevices: sudo make, if it does not compile and RCSwitch.o changed its size from 12.6 to 12.1 copy RCSwitch.o again and retry compile
  • test if scripts work: ./codesend 1070161, ./codesend 1070164
  • test if python scripts work: python /home/pi/tichhome/processes/./run_radio_switch.py /home/pi/tichhome/RadioDevices/codesend 1070164
  • test run: java -jar /home/pi/tichhome/tichhome-1.0-SNAPSHOT-fat.jar --conf /home/pi/tichhome/config/settings.json
  • should be running http://192.168.0.44:8081/tichhome/#/
  • create service: sudo cp /home/pi/tichhome/tichhome.service /etc/systemd/system/tichhome.service (add to solution)
  • sudo systemctl enable tichhome.service
  • sudo systemctl start tichhome.service
  • [optional] sudo systemctl stop tichhome.service
  • [optional] sudo systemctl status tichhome.service
  • add items
  • enjoy!

Example Screens

For more screens please see Readme_TichHome_instructions.pdf and also checkout UI Demo address

Set timeout disable when enabling device (optional)

Image of TichHome #1

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

Image of TichHome #2

Example homepage with some configured devices

Image of TichHome #3

Example items administration screen

Image of TichHome #4

Example item administration form

Image of TichHome #4

About

TichHome is Raspberry Pi based home automation / smart home / smart house solution based on common and cheap components. It is evolved version from AKHomeAutomation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published