Cellfreak
Posts: 10
Joined: Wed May 30, 2012 7:18 pm

X10 control

Tue Jun 05, 2012 11:37 pm

Today I got Heyu up and running on my Pi. I am using a PL2303 USB to serial adaptor to a RF CM17A.
With Heyu it uses line comands or scripts.

heyu fon A1
heyu foff A1

the f is used with the CM17A for RF.

I will also be using a script to allow it to work with a X10 app on my Android.

mredeker
Posts: 8
Joined: Tue Jan 31, 2012 12:54 pm

Re: X10 control

Wed Jun 06, 2012 2:50 pm

OpenRemote runs on the Pi and has support for X10.
Maybe you want to take a look at: www.openremote.org

Freeballer
Posts: 17
Joined: Thu Mar 08, 2012 10:09 pm

Re: X10 control

Thu Jun 07, 2012 8:03 pm

thanks for the post.
One of the main reasons for my (first) raspberry pi was for home automation.
I'm using it for half-a--ed security system (when doors open, room occupied) and lights.
So far I used a laptop and either had weak signal because of position or used a ethernet -> usb adapter. Hopefully when it arrives this will help

synthaxx
Posts: 3
Joined: Thu Jun 07, 2012 12:32 pm

Re: X10 control

Sat Jun 09, 2012 9:33 pm

Another heyu user Pi user checking in.

Using the same serial controller (the one that came with the set) and a CM11a.

Switching time isn't exactly as fast as my primary server, but it's pretty good.

I'll check out openremote, looks interesting. For the time being though, i'm using "Lazier geek" on my android phone to just issue ssh commands directly to the Pi.

izzi4
Posts: 1
Joined: Wed Jul 18, 2012 1:34 pm

Re: X10 control

Wed Jul 18, 2012 1:42 pm

I am having the hardest time getting HeyU to work on my Raspberrypi any help? I am using the debian release and when i try to sudo ./configure it comes back with the following error

root@raspberrypi:/var/www/heyu# ./Configure.sh

This script will create a Makefile based by default on
the output of uname(1), or otherwise on the system type
parameter you enter.

+ ./configure --localstatedir=/var --mandir=$(prefix)/man --enable-postinst=./post-install.sh --sysconfdir=/etc CPPFLAGS= LDFLAGS= LIBS=
./Configure.sh: 182: ./Configure.sh: ./configure: Permission denied

I have never compiled anything before so i'm not sure if i'm just doing something incorrectly or where I should even start.

Any guidance would be fantastic.
Thanks

dark_avenger
Posts: 12
Joined: Wed Feb 22, 2012 5:18 am

Re: X10 control

Tue Jul 24, 2012 2:49 am

I recently received my Raspberry Pi and am looking to use it for home automation.

I'm just wondering if anybody has tried the Rasp Pi with the CM19 X10 USB module with any success?

dhewison
Posts: 4
Joined: Thu Aug 02, 2012 2:28 pm

Re: X10 control

Sun Aug 05, 2012 8:30 am

Hi,

I am interested in using the Raspberry Pi as an automation controller/server, I currently use PowerHome on a Windows box, which works great but I want to reduce the controller hardware in size and power consumption and get rid of moving parts like disks and fans. The RPi seems the ideal platform to have a go but I'm not great on Linux (and that's an understatement).
I currently use X10 via an CM11 interface over Ethernet via a Moxa N5150 serial server, I'm looking to continue the model of server -> Ethernet / TCP -> X10 preferably being able to use the existing CM11 and N5150.
Powerhome allows a database of devices such as X10 switches and the like, which can be named and grouped (by room) to be meaningful, it also provides scheduling, macros and scripting interface. My existing control system consists of a series of scheduled events that trigger macros, most of which run some jscript, the web interface allows direct switching of the configured X10 devices and the ability to run the macros / scripts, it also provides a view of the status of the devices.
Any suggestions on where to start would be appreciated.

Regards,
David

bbx10node
Posts: 6
Joined: Wed Aug 08, 2012 5:51 am

Re: X10 control

Wed Aug 08, 2012 6:04 am

dark_avenger wrote:I recently received my Raspberry Pi and am looking to use it for home automation.

I'm just wondering if anybody has tried the Rasp Pi with the CM19 X10 USB module with any success?
I am using mochad with a CM15A and a CM19a.

http://sourceforge.net/apps/mediawiki/m ... =Main_Page

bbx10node
Posts: 6
Joined: Wed Aug 08, 2012 5:51 am

Re: X10 control

Wed Aug 08, 2012 6:09 am

dhewison wrote: I currently use X10 via an CM11 interface over Ethernet via a Moxa N5150 serial server, I'm looking to continue the model of server -> Ethernet / TCP -> X10 preferably being able to use the existing CM11 and N5150.
mochad works with the CM15A, CM19a, and CM15Pro (all USB controllers) but not the CM11.

http://sourceforge.net/apps/mediawiki/m ... =Main_Page

Heyu works with the CM11 but I have not tried it.

http://www.heyu.org/

amyren
Posts: 91
Joined: Tue Jun 12, 2012 10:49 am

Re: X10 control

Mon Sep 10, 2012 11:15 am

Cellfreak wrote:Today I got Heyu up and running on my Pi. I am using a PL2303 USB to serial adaptor to a RF CM17A.
With Heyu it uses line comands or scripts.

heyu fon A1
heyu foff A1

the f is used with the CM17A for RF.

I will also be using a script to allow it to work with a X10 app on my Android.
Thats cool. For users that are not so familar with creating linux apps from source code, do you think you can write a short howto for installing Heyu, and possibly the PL2303 USB driver if needed?

dmb
Posts: 38
Joined: Wed May 30, 2012 9:33 am

Re: X10 control

Fri Nov 09, 2012 6:24 pm

The installation is straightforward:

$ apt-get install build-essentials
$ wget http://heyu.org/download/heyu-2.11-rc1.tar.gz
$ tar xzvf heyu-2.11-rc1.tar.gz
$ sh ./Configure.sh
$ make
$ sudo make install
<choose the option to install into /etc/heyu, and enter your serial port (I think /dev/ttyAMA0)>
<edit your /etc/x10.conf file>
<issue heyu commands, e.g. heyu turn A1 on>

I also use Domus.lite to put a web front end on heyu, works well, and I have a separate mobile template for phone use.

jon wise
Posts: 49
Joined: Thu May 31, 2012 8:21 pm

Re: X10 control

Mon Dec 30, 2013 5:12 pm

I have just bought a CM15pro and installed Mochad software but cannot switch X10 devices, including an AM12. It does log other X10 activity, such as from SM10E, so it is reading X10 messages. Has anyone found a need for any special setup for the Pi beyond the basic install instructions for Mochad?

Return to “Automation, sensing and robotics”