Page 1 of 1

Send ON or OFF Directly to X10 Address?

PostPosted: Fri Apr 25, 2003 10:42 pm
by sjmarbu
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

Re: Send ON or OFF Directly to X10 Address?

PostPosted: Sat Apr 26, 2003 7:03 am
by matt (support)
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

Re: Send ON or OFF Directly to X10 Address?

PostPosted: Mon May 05, 2003 1:45 am
by matt (support)
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