Author |
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: October 02 2008 at 00:34 | IP Logged
|
|
|
I have the garage door output all setup and can see the state and control the door in device stat. But I am now trying within a macro to send a message to close the garage door via the digital output. I am using:
ph_setotherdigitalout (ELKGOLD, 1, 1, 13, 1)
Where ELKGOLD is the ID of the controller, next is 1 for the type of output, 13 is the output I want to contol on the ELK relay board and the next 1 is the status to turn the relay on. But it will not work for me. Any ideas? Thank you.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: October 06 2008 at 00:43 | IP Logged
|
|
|
Smarty... where are you when I need you?
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: October 06 2008 at 07:47 | IP Logged
|
|
|
Do you have quotes around ELKGOLD?
From the Help file...
Quote:
For use with the Elk M1 Gold, specify the ID of the Elk M1 controller. For the "Unit" and "Point" properties, the Elk M1 Gold supports two different numbering schemes. You can set the "unit" value to 0 and then set the "Point" value to the Elk logical point value. You can also set the "Unit" to the address of any external modules (use 0 for the on-board points) and the "Point" to the actual point value on the external board. |
|
|
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: October 06 2008 at 15:43 | IP Logged
|
|
|
That was it... I needed the quotes... thank you.
ph_setotherdigitalout ("ELKGOLD", 1, 1, 13, 1)
Edited by tbeckman - October 07 2008 at 01:04
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: October 06 2008 at 20:43 | IP Logged
|
|
|
tbeckman wrote:
Smarty... where are you when I need you? |
|
|
On business travel to DC actually
Glad to see you have it worling. I haven't dabled with this type of ELK output control yet...but will soon.
This board has really help me, so I encourage others to share their successes!
Edited by smarty - October 06 2008 at 21:55
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|