Could someone give me some insite, and maybe an exmple how to create a
event, so that when a certain key is received from a X10 remote it triggers
MH to do certain events?
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: 9/22/2006
From: Tim Sailer <tps@ma...> - 2006-09-27 05:41:18
On Tue, September 26, 2006 21:21, Dickie Bradford said:
> Could someone give me some insite, and maybe an exmple how to create a
> event, so that when a certain key is received from a X10 remote it
> MH to do certain events?
# define keys on remote RF
X10TR, C1, button1
X10TR, C2, button2
X10TR, C3, button3
X10TR, C4, button4
X10TR, C5, button5
X10TR, C6, button6
X10TR, C7, button7
X10TR, C8, button8
In your code:
# rules for remote
if (state_changed $button1)
set $All_Lights (state $button1);
if (state_changed $button2)
set $living_room_light (state $button2);
if (state_changed $button3)
set $tims_bedroom_light (state $button3);
That's a very simple example, but it should work.
Coastal Internet, Inc.
Get latest updates about Open Source Projects, Conferences and News.