Difference between revisions of "Bering-uClibc 5.x - User Guide - Advanced Topics - Setting Up a Home Automation controller with heyu"

From bering-uClibc
Jump to: navigation, search
m (Test your setup)
Line 29: Line 29:
  
 
===Test your setup===
 
===Test your setup===
At this point you can either reboot the firewall or install heyu.lrp manually by:  
+
At this point you can either reboot the firewall or install <code class ="filename">heyu.lrp</code> manually by:  
  
 
  mount /dev/sdx1 /mnt  # x= default to a, but could be b, c, etc, if you have other disks  
 
  mount /dev/sdx1 /mnt  # x= default to a, but could be b, c, etc, if you have other disks  
 
  cd /mnt  
 
  cd /mnt  
 
  apkg -i heyu  
 
  apkg -i heyu  
  heyu  
+
  heyu
 
+
  
 
===Troubleshooting===
 
===Troubleshooting===

Revision as of 19:05, 12 April 2014

Advanced Topics - Setting Up a Home Automation Controller with heyu
Prev Bering-uClibc 5.x - User Guide Next

Objectives

This page explains how to turn a LEAF Bering-uClibc router into a Home Automation controller using the heyu.lrp Package. Taken from http://www.heyu.com introduction: "Heyu is a text-based console program for remotely controlling lights and appliances in the home or office. The complete source is made available under the GNU GPLv3 license. Heyu uses the CM11A computer interface to send and receive X10 control signals over the AC power lines to modules which can turn On, Off, or Dim attached lamps or appliances. It can store a schedule of timed events in the CM11A memory for execution without any more computer intervention." It is also mentioned that " Heyu supports an optional W800RF32A, MR26A, or RFXCOM RF receiver connected to a second port as an auxiliary input device for RF signals from X10 and other supported transmitters. Heyu can also use an optional CM17A interface to transmit X10 RF signals." Though what follows has only been tested on the CM11A computer interface.

Prerequisites

The prerequisites are:

  • a working LEAF Bering-uClibc 5.x router.
  • a CM11A Computer interface module, some might still be available on line.[1]
  • a few X10 appliance or lamp modules.[2]
  • a serial port on your router, Heyu uses by default ttyS0.
  • the heyu.lrp Package which is available starting with Bering-uClibc 5.0.3.

Configure the System

Loading the Package

Load the heyu.lrp Package by adding heyu to the list of Packages specified in the leaf.cfg file on the boot media. There are no dependencies for this Package.

Configuration files

To start and test heyu.lrp the default configuration files /etc/heyu/x10.conf and /etc/heyu/x10.sched should work.

Test your setup

At this point you can either reboot the firewall or install heyu.lrp manually by:

mount /dev/sdx1 /mnt   # x= default to a, but could be b, c, etc, if you have other disks 
cd /mnt 
apkg -i heyu 
heyu

Troubleshooting

Additional reading

The net is crowded with x10 howtos, here are a few interesting links:


Prev Up Next