Anonymous wrote:Hey Matt,
I guess what I'm asking is how do you "use Indigo to send an X10 command (like A1 On) to tell the device to send that IR code" All I can find is the simple options for the different light switches/dimmers etc.
Thanks again,
Eric James
There are a couple of different approaches:
1) Define a new device to represent that particular X10 address. If you just need to send on/off commands to that address, then I would probably choose the device type "Remote Button" from the Type popup menu in the device dialog. Next, click on the Options... button in the device dialog and check "Supports On/Off" command." Now you have a device that for that address (you'll probably need multiple devices since the IR Linc support multiple X10 addresses) Indigo knows to allow the On/Off X10 commands. Next, create your Trigger or Time/Date Action. Within the Action panel choose Send Device Action from the Type popup menu. Now select the Action you want (Turn On or Turn Off) and the device you created at the beginning of the step.
2) This approach is much more straightforward, but requires a line of AppleScript. Within the Action tab for the Trigger or Time/Date Action, choose Execute AppleScript for the Type. Next, put this line in the Embedded edit field:
send x10 on to address A1
Obviously, the second approach is easier. The first one abstracts it out a bit more, but it probably overkill given what you need to do.
Regards,
Matt