Author |
|
edtude Groupie
Joined: July 26 2006 Location: United States
Online Status: Offline Posts: 64
|
Posted: May 09 2013 at 17:52 | IP Logged
|
|
|
I am trying to run this through email. I have the timed event set up to check email and I can do that successfully and have it working as well with ph_insteon I send this formula through email
ph_insteon ("OFFICE SCONCE", ioff, 0) {}
and my wall sconce above me shuts off. However when I try the following I get nothing.
ph_insteonraw ("POWERLINE MODEM", "OFFICE SCONCE", 19, 0) {}
and when I say nothing that is exactly what I mean. I get no message in the event log telling me of a Syntax error and I surely do not get any outgoing messages from my modem. Any suggestions?
Thanks
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 09 2013 at 22:07 | IP Logged
|
|
|
edtude,
For the ph_insteonraw command, you must use the Insteon address of the device you're trying to control for the second parameter. Im also assuming that the first parameter ("POWERLINE MODEM") is the controller ID (the ID listed under Setup->Controllers) of your Insteon controller and not the device ID of your controller (the ID listed under the Devices tab of Insteon Explorer).
So in actuality, it should look something like this:
ph_insteonraw("POWERLINE MODEM","AA.BB.CC",19,0){}
The reason why there was no error, is the syntax is basically correct in that you've got the right number of parameters of the right type (string, numeric, etc).
Hope this helps,
Dave.
|
Back to Top |
|
|
edtude Groupie
Joined: July 26 2006 Location: United States
Online Status: Offline Posts: 64
|
Posted: May 09 2013 at 23:00 | IP Logged
|
|
|
It is a thing of beauty Dave! Thank You!
|
Back to Top |
|
|
|
|