Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Home Automation Hub (Overview) ====== Navigate to the [[livebox#home_automation_hub|top level page]] for more information about all the components of this system. The Home Automation Hub (HAH) Project transforms the [[Livebox]] into one of the **most capable and affordable** Home Automation systems that you might imagine. {{:livebox:block_diagram.png?460}} The following features were proven to make this project a winner: {{ hah-box.jpg?200}} * Browser based [[hah_webserver|user interface]] * Pre-programmed automation scheduling via [[google_calendar|Google Calendar]] * Instant control via [[twitter|Twitter]] * Data logging to [[pachube]] * Power use monitoring/graphing from a [[http://www.currentcost.com|Current Cost]] unit * Easy to control remote RF mains sockets ([[http://www.byebyestandby.com/|Bye Bye Standby]] & [[http://www.homeeasy.eu/|HomeEasy]]) * Seamlessly integrated with [[http://www.jeelabs.org|JeeNodes]] * Control via [[http://www.homeautomationhub.com/content/building-android-interfaces-using-corona|Andriod]] devices * Open control protocol ([[http://www.xapautomation.org|xAP]]) * Input sensing (upto 4 switch inputs) as well as output driving (upto 4 relays) * Free, Open Sourced, [[https://github.com/dbzoo/hah]] * User scripting language for customisation of operation * Cheap to run. Only uses 6 Watts of power * Solid operation - not prone to hangups * Gets its IP address via DHCP or STATIC * Remote firmware 'auto-updates' * Configuration not lost on 'hard' reset * Makes a great solar PV controller **HAH components can be bought from the [[http://www.homeautomationhub.com/|shop]] or drop by the [[http://www.homeautomationhub.com/forum|forums]] if you have any questions about the HAH project.** \\ Note that your Livebox needs to be like the one pictured above. The newer [[http://exotech.biz/public/Images/nouvelle-mini-livebox-orange.jpg|Livebox 'mini' version]] won't do the job. You might want to read about the experience of a HAH user. Karl has a writeup [[http://www.boxingorangeonline.net/|here]]. Now with a [[xAPFlash]] interface! ^ Monitor ^ | {{:livebox:monitor-hah.png?400}} | ^ Control ^ | {{:livebox:control-hah.png?400}} | Also, control from [[http://www.homeautomationhub.com/content/building-android-interfaces-using-corona|Andriod]] devices ^ Mobile App ^ | {{:livebox:xapuiv2_1.png?400}} | ====== Architecture ====== The 20,000ft view of how the HAH controller fits into a network and the devices that it is able to control with the custom hardware. {{:livebox:hah-usage.png|}} Focusing on the software that controls the HAH additional Hardware * Using the open protocol [[http://www.xapautomation.org|xAP]] gives us the flexibility that our project requires * For the webserver component we use [[http://www.koanlogic.com/klone/index.html|klone]]. It's a webserver where you build all the web pages using normal HTML but the embedded scripting language is C. Then it compiles all the pages into a BINARY executable which you ship. One binary and that **IS** your application. No CGI. No interfacing issues, and best of all no possibility that the scripting language can't do it! A block diagram of how the daemons interact with one another on the livebox.\\ {{block_diagram.png|}} * xap-HUB - allows multiple xAP devices to be controlled from a server. In this case, the Livebox. * [[xap_adapter|xap-adapter]] - convert the AVR menu interface into an xAP protocol and interfaces with the RS232 port. * [[xap_currentcost|xap-currentcost]] - USB/Serial interface to the [[http://www.currentcost.com/|CURRENT COST]] electricity monitor. * [[sms|xap-sms]] - USB/Serial interface via a DLR-3 cable to a Nokia 7110 mobile phone. * [[pachube|xap-pachube]] - Feed xAP BSC data to the [[http://www.pachube.com|PACHUBE]] data aggregation service. * [[google_calendar|xap-googlecal]] - Trigger xAP events from Google calendar. * [[twitter|xap-twitter]] - Remote control with Twitter. * [[hah_plugboard_v2|xap-plugboard]] - [[http://www.lua.org/|Lua]] based scripting engine. * [[iserver]] - xAP/TCP gateway for running a Wi-Fi based touch screen for remote control. All components use the file /etc/xap-livebox.ini as the universal registry for their settings. This is in "windows ini" file format using [[http://code.google.com/p/minini|minini]] the INI file parser. {{tag>livebox xap andriod}} ~~DISCUSSION:off~~ livebox/hah.txt Last modified: 2015/03/13 04:24by brett