Quoting David Norwood (4/19/07 3:08 AM):
> Gregg et al,
>
> I was thinking of writing up a "how to" for the wiki on getting started with
> xAP. I thought getting Misterhouse to send weather data to xAP Desktop
> would be easy and something a lot of people could use. I gave up after
> hacking xAP_send.pl for a few hours with no significant results.
I just looked at the support for sending weather in xAP_send.pl and
noticed that it is non-conformant. So, it's not a surprise that it
didn't work. I've revised a bit of it and will hope to get it committed
fairly soon. However, xAP desktop seems to have some issues w/ anything
other than the xAP weather "sender" from the same author; so, xAP
desktop might not be a good candidate regardless.
> Can you think of any application of xAP technoiogy and misterhouse that is
> relatively easy to setup and would appeal to a wide audience?
I can think of several areas that are "relatively" easy:
1) Distributed speech (I do this personally w/ a Linux main mh instance
and xAP speech on a win2k system to take advantage of win voices)
2) Distributed display. xAP Intranet and xAP Desktop (I'd recommend the
former) are known "soft clients" whereas a recent xAP squeezebox plugin
allows for a hardware client. Admittedly, I still using xPL for my
squeezebox
3) Voice Command remoting. I had intended to setup VR on a windoze
system and have it remote commands on my linux instance. There are
other applications as well if you have multiple instances running.
4) xAP NetIOM (and possibly other xAP BSC-compliant hardware). The
NetIOM provides DIO and analog inputs. It's somewhat less commonly used
by most mh users though
5) xAP Opnode's Opn-one. This is a dedicated one-wire appliance that
talks via xAP. No owfs or digitemp; just plug it in and it works.
6) Zoneminder integration. Portions are extremely simple (e.g.,using
the distributed warnings to xAP displays as well as an ability to change
"run states"). The ability to change run-state is a semi-advanced use
of zm; but, is extremely simple on the mh side. Also, for OMP-oriented
users, zm zone's mimic Motion_Items.
There may well be other areas that don't immediately come to mind. Let
me know if any of these appeal and I'd be happy to assist w/ the writing.
Gregg

Gregg et al,
I was thinking of writing up a "how to" for the wiki on getting started with
xAP. I thought getting Misterhouse to send weather data to xAP Desktop
would be easy and something a lot of people could use. I gave up after
hacking xAP_send.pl for a few hours with no significant results.
Can you think of any application of xAP technoiogy and misterhouse that is
relatively easy to setup and would appeal to a wide audience?
David
----- Original Message -----
From: "Stu Wells" <stu@...>
To: "The main list for the MisterHouse home automation program"
<misterhouse-users@...>
Sent: Friday, April 13, 2007 2:29 PM
Subject: Re: [mh] some fairly simple proxy questions?
> Gregg,
>
> Thanks for your response, I'll have to dig around and see if there is
> an FM for me to RT on the xAP as I've not used it before. I've turned
> off my testing of the proxy system, after about 45 minutes mh gets stuck
> at 100% cpu usage on the main mh box and never drops from there. I'm
> not doing anything with the proxy set up other than seeing if the boxes
> will talk to each other. When I have some free time I'll take another
> stab at it, it sounds like I'm going to have to rewrite a good chunk of
> my code to get a proxy doing what I need, so I'm not in a big rush.
>
> Stu
>
> Gregg Liming wrote:
>> Hi Stu,
>>
>> Quoting Stu Wells (4/12/07 5:18 AM):
>>
>>> I'm playing around with a proxy MH setup for the first time. What I'm
>>> wondering is how well they pass info back and forth and stay in sync. I
>>> noticed the proxy doesn't inherit the .mht items from the master box.
>>> Other than manually keeping the files in sync or reading them from a
>>> DFSish mount, is there a way for them to sync and read each others
>>> objects.
>>>
>>
>> I am unaware of anything built in.
>>
>>
>>> Can or are triggers shared?
>>>
>>
>> ... not that I'm aware of. However, a key part of triggers is typically
>> a Voice_Cmd and Voice_Cmd can now be "remoted" (initiated by one mh
>> "peer" and implemented by another--while responding back to the
>> initiator) via xAP (not a part of the proxy setup). This isn't well
>> documented and is fairly new. If interested, I can elaborate.
>>
>>
>>> Are object states kept in sync
>>> between the boxes?
>>>
>>
>> This is also possible via xAP (or xPL) by setting xap_enable_items = 1
>> (or, in contrast, xpl_enable_items = 1); the default is that they are
>> disabled. Don't enable both as the mechanism (unlike many/most xAP/xPL
>> implementations) uses a schema that is specific to mh and there's no
>> reason to enable both. In addition, you should be aware that it will
>> forward state info for all objects for each peer as they change. If you
>> have a large number of objects and especially ones that chain propagate
>> (as the OMP ones do), then use this w/ considerable caution as the
>> traffic can become excessive. Also, as you noted, there is no "magic
>> items.mht" replication; so, state synching relies on object name
>> matching before state is sync'd--no "magic, auto-object-create" action.
>>
>> Gregg
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ________________________________________________________
>> To unsubscribe from this list, go to:
>> http://sourceforge.net/mail/?group_id=1365
>>
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ________________________________________________________
> To unsubscribe from this list, go to:
> http://sourceforge.net/mail/?group_id=1365
>

I'm not aware of a script that deals with incoming e-mail attachments, but
code/common/news_email_breaking.pl is a good example of how to do something
useful when a message with a given subject comes in.
If you want to hear announcements about breaking news, but don't want to
hear who is sending you messages, activate these scripts:
news_email_breaking.pl
internet_mail.pl
and set this ini parameter:
speak_apps = email => voice=none
David
----- Original Message -----
From: "Roger Simon" <famille@...>
To: <misterhouse-users@...>
Sent: Wednesday, April 18, 2007 1:28 PM
Subject: [mh] extracting attached wav files when reading email
> Hello
>
> My VOIP provider has the good idea to send me a wav file when somebody
> lets me
> a voice mail when I am not there I would like to extract that file when I
> use
> the get_email function Did somebody already do that ?
> I use MH with Linux FEDORA 5
>
> Many thanks for help
>
> Roger Simon
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ________________________________________________________
> To unsubscribe from this list, go to:
> http://sourceforge.net/mail/?group_id=1365
>

So, I got the VR working on my MH install this weekend and created a
test file to, well, test it. One of the first voice commands I created
was that MH would respond with "I heard that about him. He really does
stink!" when I tell it that my friend stinks. Man, I lauged so hard.
Guess that proves that I'm a geek. I think I'll leave those fun
commands in there.
Mike

to reply to my own message, I found the second place in mh_sound.pl
to edit. It seems to be OK now. Since the only audio coming from
the system are announcements, hardcodng the volume level is OK.
Me
--- In misterhouse@..., "storemike" <storemike@...> wrote:
>
> I got the VR and TTS working fine on my Win2K box this AM, but the
wave
> out volume goes to zero sometimes after the TTS finishes speaking.
I
> modified mh_sound.pl to keep it at 100%, but it still happens. Has
> anyone else encountered this?
>
> Thanks,
> Mike
>
>
> --------------------------------------------------------------------
-----
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ________________________________________________________
> To unsubscribe from this list, go to: http://sourceforge.net/mail/?
group_id=3D1365
>