The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: smpt and xFP cmds was xAP News 3.1 Released



Hi James,

>>>>I'm not exactly sure how the email
>>>> server configuration would work

I'd probably just set up a local domain name whose mx record pointed at the
gateway app (or Floorplan if it's integrated into that).

>>>>that dealing with all the slight differences between
>>>> smtp servers would prove tricky.

Ultimately I think that it would only need to be a pretty dumb smtp server
as all it really would need to do is receive the email message, break it
down into parts (from, to, body, etc) and act on the body section.  Maybe
there would need to be some form of access control i.e. only accept
messages
from / to certain addresses and junk the rest.

>>>>The bot is still rather dumb but can respond to simple
>>>>questions and can send on command xAP messages, and because
>>>>it's instant i can get a reply straight away.

I'd thought of some form of IM bot too, or some other form of remote
command
interface, but I figured that smtp would be more accessible and not require
any additional software.  The simpleness of being able to send an email
from
my phone to "xapcmd@xxxxxxx" with some sort of command in the
message body that would switch on my lights etc appeals a lot!

Talking of IM, I do have a pretty cool idea for a xAP IM application, but
I'll save that for another day as at the moment it's more of a late night
beer induced haze than a solid outline :)



Martyn

----- Original Message -----
From: "James" <james@xxxxxxx>
To: <xap_automation@xxxxxxx>
Sent: Sunday, March 12, 2006 1:05 PM
Subject: Re: [xap_automation] smpt and xFP cmds was xAP News 3.1 Released


>
>> I think it would be useful for Floorplan to be able to do that but
>> instead
>> of relying on polling a pop3 mailbox which introduces a delay, it
would
>> do
>> it immediately when an email is received over smtp?
>>
> Right, totally get the idea now. I'm not exactly sure how the email
> server configuration would work so that just certain emails get
> forwarded to an alternate smtp server, but i'm guessing it something
> sendmail can do. If you are using sendmail then you could probably do
> something in a procmail script?  Either way I like the concept, I do
> think it shouldn't be internal to Floorplan but a seperate gateway app
> and i can imagine that dealing with all the slight differences between
> smtp servers would prove tricky.
> As a possible alternate I have been working on a Jabber connector.
> Jabber is an instant messenger protocol  so has all the advantages of
> presence, two way instant chat etc. Clients exist for pretty much all
> platforms and unlike the closed msm, skype,aim type instant messagers
> all jabber systems talk to each other. My jabber bot links to my home
> jabber server. At work we use jabber for our internal IM and i can
> simply add my home jabber bot as a contact even though it's on a
totally
> different server. The bot is still rather dumb but can respond to
simple
> questions and can send on command xAP messages, and because it's
instant
> i can get a reply straight away.
>
>> It would also be good to be able to send Floorplan a simple xap
message
>> by
>> email like:
>>
>> <xAP>
>> Class=floorplan.cmd (??)
>> <msg>
>> script.execute (??)
>> {
>> script=MissedCalls
>> }
>> </xAP>
>>
>> and Floorplan would then immediately run the script
"MissedCalls".
>>
> absolutly, tbh i'm not sure why I've never had that!  It should also
be
> possible to include time information so you can say run the script at
> 10pm etc.
>>
>> Hope that makes more sense??
>>
> Yep, I get  there in the end ;-)
>
> James
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>





___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
voicemail http://uk.messenger.yahoo.com




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.