Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: phone control Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: February 13 2005 at 01:27 | IP Logged Quote phil13

Hi,

it is possible to manage powerhome through a phone line (without internet) ?

I'd like for example :
- call my system from anywhere
- could hear a menu from powerhome (1:alarme state, 2:X10 command , ...)
- ask it by dtmf tone the alarm state and change it
- turn on my coffee machine
- turn of ....

Philippe
Back to Top View phil13's Profile Search for other posts by phil13
 
seattlechris
Groupie
Groupie


Joined: June 29 2002
Location: United States
Online Status: Offline
Posts: 49
Posted: February 13 2005 at 12:28 | IP Logged Quote seattlechris

There's no direct way, no.

I'm planning on eventually doing exactly what you're suggesting on my system though, by combining PH with other software. PH would control the x10 and alarm functions, and PH would use sendkeys or window API commands to control third party software that handles modem and DTMF functions. I probably won't get around to it for months though.

You can do many of the things you want by buying an x10 telephone transponder, like those for sale at smarthome: http://www.smarthome.com/x10telephone.html.

Alternatively if you're able and willing to use text messaging from your phone you can use email to PH for remote control, which is what I do currently (details elsewhere on this forum).
Back to Top View seattlechris's Profile Search for other posts by seattlechris
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 14 2005 at 16:26 | IP Logged Quote dhoward

Phil,

PowerHome does not currently support TAPI (Telephone Application Programming Interface). I was working on it many months ago, but the Microsoft TAPI interface was so flaky, it wouldnt stay running long enough for me to even test.

I would like to one day get back to this issue, but it is a ways off in the future.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 19 2005 at 10:58 | IP Logged Quote phil13


dave,

why not directly manage modems as any rs232 device using "AT" commands ?

Back to Top View phil13's Profile Search for other posts by phil13
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 19 2005 at 11:36 | IP Logged Quote TonyNo

Phil,

PH can communicate with RS232 devices, but the AT command set does not support tone recognition, nor speech, AFAIK.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 19 2005 at 13:56 | IP Logged Quote phil13

Thanks tony,

What is AFAIK ?

My modem (an olitec self memory) can send and receive .wav files with AT commands but i don't know if i can decode DTMF codes ...

Otherwise, it seems that homeseer software can manage voice modem without tapi.

It is not possible to do it in the same way ?

Back to Top View phil13's Profile Search for other posts by phil13
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 19 2005 at 19:58 | IP Logged Quote TonyNo

AFAIK = As Far As I Know

I'll check with my HS pals and report back!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 19 2005 at 22:18 | IP Logged Quote TonyNo

HS Phone only works with these two modems, and it does not use TAPI.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 20 2005 at 02:56 | IP Logged Quote phil13

Tony,

Why not try to combine standard voice modem with AT command and a software like that :
http://www.tapiex.com/PhoneToneDecoder.htm
http://www.softizer.com/show_product/software_development/ac tivex/phone_tone_decoder/

My idea is to connect my modem to the pc sound card and use this kind of software to decode tone in live and use ph.tts to send voice.

So perhaps with rs232 AT commands and tone decoder software with sound card, i could automate powerhome by phone ...

Do you think it will be possible ?


Back to Top View phil13's Profile Search for other posts by phil13
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 20 2005 at 07:05 | IP Logged Quote phil13

An other solution will be perhaps to connect on the telephone line a DTMF decoder in parallel with the modem.

Something like that :
http://www.alltronics.com/download/k153.pdf.

I have to use a serial port for the voice modem (with AT command) and another for the decoded dtmf.

For the speech, if i connect my output sound card to the voice modem, with ph_tts, i can speak to the telephone line.

So i could manage the modem with AT command, capture DTMF command on another serial port, make ph command and answer with ph_tts on the telephone line.

Do you think it is possible ?

Back to Top View phil13's Profile Search for other posts by phil13
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 20 2005 at 07:56 | IP Logged Quote phil13

just a "little" (big) error :

to send voice to the phone line, you have to send a .wav file to the modem, and not connect sound card because there is no voice input on the modem ...
Back to Top View phil13's Profile Search for other posts by phil13
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 23 2005 at 17:21 | IP Logged Quote dhoward

I don't think this would be possible without either TAPI or writing dedicated code specific to a couple of modems (apparently what HS has done). However, this is currently a little out of my range of expertise so don't take my word for it .

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: May 24 2005 at 12:46 | IP Logged Quote phil13

Ok Dave,

Just for information, i've begun to make my phone application with excel VBA and AT commands of my voice modem (I don't use TAPI).

I've not finished yet but today i can send/receive calls, detect caller ID, send/detect tones and send/receive voice messages (.wav files).

To do that, i've used an answering machine (the best one for me is www.ventafax.com) and a serial port monitor (
http://www.aggsoft.com/serial-port-monitor/) in spy mode.

I've then just reproduice the dialog with MSCOMM.

When i've finish, i'll try to do the same in powerhome with scripts and macros.

Philippe
Back to Top View phil13's Profile Search for other posts by phil13
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 01 2005 at 11:51 | IP Logged Quote dhoward

Philippe,

If you come up with any scripts or macros for telephone control within PowerHome, I'd love to see them. If it's generic enough, I'll look into building it directly within PowerHome.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
phil13
Groupie
Groupie
Avatar

Joined: December 19 2004
Location: France
Online Status: Offline
Posts: 60
Posted: July 12 2005 at 00:28 | IP Logged Quote phil13

sorry, i've seen your answer before today ....

I've tried to manage phone with vb express 2005 and with vba in excel. I've used standard AT commands.

I've created the basics macros (hang, call, play, rec, ...) but not the full program.

If you want my macros, i can send them to you.

Philippe

Back to Top View phil13's Profile Search for other posts by phil13
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum