[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
RE: MSN Messanger as home control interface anyone?
- To: <ukha_d@xxxxxxx>
- Subject: RE: MSN Messanger as home control interface
anyone?
- From: "Dan Khan" <dhk@xxxxxxx>
- Date: Fri, 7 Dec 2001 15:27:39 -0000
- Delivered-to: mailing list ukha_d@xxxxxxx
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
Paul,
I've not done much COM stuff for quite a while now, but would be interested
in helping you since this was exactly the sort of thing that I wanted to do
as well!
Currently, I am very busy though, but may have some spare time after xmas.
I'll take a look at the messenger API over xmas and see what I can come up
with.
I know a web browser is probably a more-widely available client for talking
to your server, but my machines are all win2k anyway, and my main use would
be for playing around whilst I am at work or on the road. Plus how cool
would it be to be able to message your HA server?
Also, messenger is on WinCE too so also makes a neat interface from your
iPaq or whatever...
-Dan
-----Original Message-----
From: Paul Gordon [mailto:paul_gordon@xxxxxxx]
Sent: 07 December 2001 12:44
To: ukha_d@xxxxxxx
Subject: [ukha_d] MSN Messanger as home control interface anyone?
Hi chaps,
I've been thinking about using MSN Instant Messanger as an interface to
control my HA server. To which end, I've registered a new Hotmail passport
account for my server, and installed the MSN messanger client. I've added
my
HA server to MY messanger contacts list, and added ME to my HA servers'
contact list. So now I can hold an IM conversation between my HA server,
and
myself, wherever I happen to be in the world.
The idea being that it is so much faster than an email interface (which I
already have thanks to Homeseer), and of course there is the instant
feedback available as well. - Also, it could be a handy indication of the
state of the HA server - just check the status of my IM contacts, and if
the
HA server is not online for MSN Messanging, then I know something is
wrong...
The next bit I need to do is to create the agent on the server end that
will
listen to the messanger client for incoming messages and do the smart
bit...
(oh is that all?). I've had a look at the Messanger object model and
interface API, and I don't think that's going to be particularly tricky..
My HA server runs Homeseer, but I don't want the agent to be a Homeseer
script - it would need to run all the time, and I prefer not to turn off
the
script timeout setting, so I'm envisaging that the agent will be a small VB
app, that will be a COM "middleman" between MSN Messanger and
Homeseer, and
probably do little more than call a Homeseer script whenever an inbound
message arrives, and pass the message text to it. - then all the action can
take place in a homeseer script which makes the whole thing more flexible.
To get to the point, I'm looking for:
a) Offers of help with programming the VB part, - I'm only a (very) amateur
VB coder!
b) Offers of help with programming the Homeseer script part,
c) Suggestions & ideas for what kind of things could be controlled -
and
How!
I'm guessing that some kind of rudimentary protocol will need to be
defined,
as messanger will be providing free-form text that will need to be parsed
by
the VB script, so to code for parsing that text will require some rules
about the text format, so I'm currently thinking along the lines of
"COMMAND:ARGUMENT" similar to the following:
"SPEAK:a string of text" - Homeseer will speak the given text
string
"CALL:a homeseer script name" - Homeseer will execute the named
script
"X10:<devicecode> <function>" (Example: "X10:A1
off") - obvious enough?
"STATUS" - Homeseer will report back various status information.
Homeseer would send back a confirmation message for every command received,
and I also envisage that homeseer would be able to instigate an outgoing
conversation with me as well, if there is something it needs to report..
I envisage a conversation going along the lines of:
Paul Gordon Says:
STATUS
Paul's HA server says:
Security system is armed to away mode
The internal temperature is 16 degrees
The heating system is off
There have been 3 visitors to the front door so far today,
There are no new messages waiting.
Paul Gordon Says:
CALL:heating_on.txt
Paul's HA server says:
Script: heating_on.txt executing
Paul Gordon Says:
X10:C5 ON
Paul's HA server says:
X10 command C5 (Immersion Heater) ON has been sent.
Paul Gordon Says:
whoogoahoomphdamumph
Paul's HA server says:
Command not recognised, type HELP for list of available commands.
Now I know you could say why use IM when you could just use the Homeseer
web
interface, but personally, I think this would be pretty cool! - any
comments/thoughts/ideas?
Cheers.
Paul G.
_________________________________________________________________
Home |
Main Index |
Thread Index
|