Send ON or OFF Directly to X10 Address?

Posted on
Fri Apr 25, 2003 10:42 pm
sjmarbu offline
Posts: 11
Joined: Apr 08, 2003

Send ON or OFF Directly to X10 Address?

Matt,

Is there a way to send an X10 ON or OFF directly to an X10 address (like E16) inside an embedded or attachment script? I'm trying to avoid defining an Indigo device for the address.

In an attachment script I tried:
using terms from application "Indigo"
on SetFurnaceTemp(temp, Furnace)
set houseCode to "E"
set command to houseCode & "16"
receive x10 event turnOn for address command
--turn on device command
end SetFurnaceTemp
end using terms from

It only works when there is an Indigo device called E16 (the commented out line "turn on device command" also works, but only if there's an Indigo device E16 defined).

TIA,

Scot

Posted on
Sat Apr 26, 2003 7:03 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Send ON or OFF Directly to X10 Address?

sjmarbu wrote:
Is there a way to send an X10 ON or OFF directly to an X10 address (like E16) inside an embedded or attachment script? I'm trying to avoid defining an Indigo device for the address.

Not currently, but I can see how this is needed. I'll make sure a new verb (or I'll extend the current "turn on" verb) gets into the next beta build of 1.1. Should be trivial.

regards,
matt

Posted on
Mon May 05, 2003 1:45 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Send ON or OFF Directly to X10 Address?

The latest beta version 1.1 now has the following verbs to send on/off commands to a raw X10 address:

  send x10 on
  send x10 off

You can download the beta at:

http://www.perceptiveautomation.com/ind ... o_beta.dmg

regards,
matt

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 21 guests