Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
livebox:hah [2011/12/18 19:34] – brett | livebox:hah [2013/05/13 21:21] – [Architecture] minerva9 | ||
---|---|---|---|
Line 15: | Line 15: | ||
* Easy to control remote RF mains sockets ([[http:// | * Easy to control remote RF mains sockets ([[http:// | ||
* Seamlessly integrated with [[http:// | * Seamlessly integrated with [[http:// | ||
+ | * Control via [[http:// | ||
* Open control protocol ([[http:// | * Open control protocol ([[http:// | ||
* Input sensing (upto 4 switch inputs) as well as output driving (upto 4 relays) | * Input sensing (upto 4 switch inputs) as well as output driving (upto 4 relays) | ||
Line 39: | Line 40: | ||
| {{: | | {{: | ||
+ | Also, control from [[http:// | ||
+ | ^ Mobile App ^ | ||
+ | | {{: | ||
====== Architecture ====== | ====== Architecture ====== | ||
Line 53: | Line 57: | ||
{{block_diagram.png|}} | {{block_diagram.png|}} | ||
- | * [[hah# | + | * xap-HUB - allows multiple xAP devices to be controlled |
* [[xap_adapter|xap-adapter]] - convert the AVR menu interface into an xAP protocol and interfaces with the RS232 port. | * [[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:// | + | * [[xap_currentcost|xap-currentcost]] - USB/Serial interface to the [[http:// |
* [[sms|xap-sms]] - USB/Serial interface via a DLR-3 cable to a Nokia 7110 mobile phone. | * [[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:// | + | * [[pachube|xap-pachube]] - Feed xAP BSC data to the [[http:// |
- | * [[google_calendar|xap-googlecal]] - Trigger xAP event from Google calendar | + | * [[google_calendar|xap-googlecal]] - Trigger xAP events |
* [[twitter|xap-twitter]] - Remote control with Twitter. | * [[twitter|xap-twitter]] - Remote control with Twitter. | ||
- | * [[hah_plugboard_v2|xap-plugboard]] - [[http:// | + | * [[hah_plugboard_v2|xap-plugboard]] - [[http:// |
- | * [[iserver]] - xAP/TCP gateway for running a wi-fi based touch screen for remote control. | + | * [[iserver]] - xAP/TCP gateway for running a Wi-Fi based touch screen for remote control. |
All components use the file / | All components use the file / | ||
- | ====== WebServer ====== | ||
- | The webserver is written in C using | + | {{tag> |
- | * embedded web server from [[http:// | + | |
- | * [[http:// | + | |
- | + | ||
- | The web server listens on PORT 80 from here you can control most of the Home Automation controller features. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | To access any other page but **info** you will need to authenticate. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | [[hah_webserver|More screenshots]] | + | |
- | + | ||
- | + | ||
- | ===== Settings ===== | + | |
- | + | ||
- | There are several settings in the / | + | |
- | ==== Network / Services ==== | + | |
- | + | ||
- | The network section defines what additional services will be enabled and the ports used, whether DHCP or STATIC IP configuration is setup, if the two Ethernet ports should be bridged together into a Switch configuration or addressed individually, | + | |
- | + | ||
- | {{setup1.PNG}} | + | |
- | + | ||
- | < | + | |
- | [network] | + | |
- | lan_proto=dhcp | + | |
- | hostname=hahbox | + | |
- | config_bridge=1 | + | |
- | ether_0=00: | + | |
- | ether_1=00: | + | |
- | domain= | + | |
- | ntp_host=uk.pool.ntp.org | + | |
- | </ | + | |
- | + | ||
- | The power LED indicator, although it appears on the SETUP page, has its own section. | + | |
- | < | + | |
- | [hardware] | + | |
- | power=0 | + | |
- | </ | + | |
- | + | ||
- | These network entries allow in-built services such as SSH, TELNET and FTP to be enabled/ | + | |
- | + | ||
- | {{services.PNG}} | + | |
- | + | ||
- | < | + | |
- | [network] | + | |
- | telnet_enable=0 | + | |
- | telnet_port=23 | + | |
- | ssh_enable=1 | + | |
- | ssh_port=22 | + | |
- | </ | + | |
- | + | ||
- | ==== Access Security ==== | + | |
- | + | ||
- | Access to various pages in the HAH controller can be controlled in the [security] section. | + | |
- | + | ||
- | < | + | |
- | [security] | + | |
- | user=demo | + | |
- | passwd=secret | + | |
- | demo=automation, | + | |
- | </ | + | |
- | + | ||
- | Will create a login user called " | + | |
- | + | ||
- | Up to 10 additional user accounts can be created. | + | |
- | < | + | |
- | [security] | + | |
- | user=demo, | + | |
- | passwd=secret, | + | |
- | demo=automation, | + | |
- | foo=automation, | + | |
- | </ | + | |
- | + | ||
- | The page names are derived from the names of the pages as defined in the URL. For example the page setup.kl1 will be " | + | |
- | + | ||
- | There are two other entries that appear in the security section that are update-able via the webserver\\ | + | |
- | {{admin.PNG}} | + | |
- | + | ||
- | < | + | |
- | info_protect=0 | + | |
- | admin_passwd=21232f297a57a5a743894a0e4a801fc3 | + | |
- | </ | + | |
- | + | ||
- | Info protect controls whether the INFO page is displayed without needing to authenticate as a valid user. The admin_password is an MD5 hash of the special user " | + | |
- | + | ||
- | If you forget the " | + | |
- | + | ||
- | ==== Wake on LAN ==== | + | |
- | + | ||
- | Wake on LAN is a great way to save power by keeping your PC on ' | + | |
- | \\ | + | |
- | \\ | + | |
- | More details of regarding WOL can be found [[http:// | + | |
- | + | ||
- | \\ | + | |
- | {{wol.png}} | + | |
- | + | ||
- | + | ||
- | {{tag> | + | |
~~DISCUSSION: | ~~DISCUSSION: |