Author |
|
npavkov Groupie
Joined: February 29 2004 Location: United States
Online Status: Offline Posts: 91
|
Posted: September 26 2004 at 20:51 | IP Logged
|
|
|
Dave, Hope you are winning over the numerous hurricanes down there lately.
I was hoping either yourself or some other PH user could help me with examples of how to use the com port commands within ph, to detect a phone ring on the modem and answer the modem, read or write data to/from the com port, then hangup.
I would like to experiment with a ph phone control application and another one that I would like to toy with is maybe a tv recording scheduler,,,, but I need to "play" with doing these in either svripts (vbscript or other) or ph native commands...... can anyone help????
Thanks Nick
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: September 27 2004 at 07:27 | IP Logged
|
|
|
I want to convert my VB CID program to a set of macros. Looking over the COM control functions, it seems that it should be fairly easy, but, I just haven't done it yet. That should be my next project.
The recording scheduler would also seem to be be pretty easy using a timed event to send power on, channel change, and record commands.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: September 27 2004 at 19:08 | IP Logged
|
|
|
Dave,
Since I already have this in VB, would it be better to make it a script, or, to translate it into a macro?
Thanks,
Tony
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: September 28 2004 at 19:17 | IP Logged
|
|
|
Nick,
I havent played to much with interfacing with a modem so Im not sure if the internal PowerHome COM functions would be useful. I will try to play around with a modem (gosh...if I can find one ...thank goodness for high speed internet) and see what I can do. If the internal commands dont have enough flexibility, then you should be able to put something together in VB and interface it to PowerHome using the Windows Messaging interface. Actually, if you are able to put a skeleton together in VB, I would be able to convert it to PowerHome commands for you.
When I finish the plug-in interface for PowerHome, this would be perfect for this type of application.
Dave.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: September 28 2004 at 19:24 | IP Logged
|
|
|
Tony,
It would probably be better to translate into a macro. I think you sent me the source of your program once but I have no idea where it is. If I remember correctly, it is triggered by data arriving at the serial port. This would be difficult to do completely in a script. You would need to open the com port and give the id of a macro. This macro, in turn could call a vbscript however and you should be able to access the port using the ph.com commands.
In any event, Im currently working on the plug-in interface for PowerHome and would like to have it ready for the release version (no promises ). This would be the ideal way to do this.
It would be interesting however to see what could be done using strictly the PowerHome internal commands if you're up for the challenge
Dave.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: September 28 2004 at 20:39 | IP Logged
|
|
|
Cool! A plug-in interface!
I'll see what I can come up with for a set of macros to handle CID. Looks like a real challenge!
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: September 29 2004 at 16:24 | IP Logged
|
|
|
Uhmmm...you may want to hold up just a little. See this post here for more info
http://power-home.com/forum/display_topic_threads.asp?ForumID=2&TopicID=341&PagePosition=1
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: September 29 2004 at 22:53 | IP Logged
|
|
|
Hehehe. I'll circle for a bit then...
|
Back to Top |
|
|