Author |
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 15 2008 at 13:41 | IP Logged
|
|
|
I have my home cameras (webcamXP) set to detect motion
and when seen, send a trigger to PowerHome so that I can
then send an SMS message to my cell phone to alert me.
But I can't get it to work. I never get a message on my
phone.
The PH Log shows "email sent to "734604xxxx@txt.att.net"
followed immediately with a second entry that says
"email sent to" with no parameter.
The trigger from webcamXP is successfully firing my
action macro as I get the alert message on the PH
screen, but no SMS message ever arrives at my phone.
My command string used in the macro is . . .
ph_sendemail("734604xxxx@txt.att.net","Motion",time)
The 'time' entry is intended to post the time the motion
was detected as the SMS message. In case this parameter
was the cause of the error, I changed that entry to
"CAM2" but it made no difference.
Can I do what I want with ph_sendemail or do I need to
use the ph_sendsmtpemail function? Also is my call of
'time' proper or do I convert it's results into a text
string to send as an SMS message?
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 15 2008 at 14:42 | IP Logged
|
|
|
I figured out why email was not getting sent. I had not
configured Outlook Express to ever do anything. Once I
set it up with my Yahoo email POP service,all works
well.
I can now get SMS messages. The nice thing now is that
(hopefully) I can next set up a command interface so I
can turn this on/off when away. Days I know there will
be someone in the house to water plants, etc. I can
disable the extraneous SMS messaging.
The problem of how to display TIME still remains though.
How can I present the time of the detected event as the
SMS message?
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: December 15 2008 at 14:59 | IP Logged
|
|
|
I’m out of my expertise but shouldn’t time be a string? Maybe like “{global time}”
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 15 2008 at 15:11 | IP Logged
|
|
|
Yep BeachBum. You are exactly right!
I was just coming back onto the Forum to say, "I'm on a
roll today. I fixed the problem.
That's the good news. The bad news is that I'm almost
as fast Smart as I am Stupid." Unfortunately the latter
is slightly exceeding the former today!
The correct command entry is . . .
ph_sendemail("734604xxxx@txt.att.net","HouseMotion",stri
ng(now()))
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|