From: Bruce W. <br...@mi...> - 2003-09-02 03:34:43
|
Version 2.83 was just uploaded to: http://misterhouse.sf.net/download.html http://misterhouse.net:81/download.html New Features: - Thomas Vogl has started a MisterHouse Journal' at http://www.trvonthe.net/mh-journal/ where he cronicles his experiences of setting up MisterHouse on Linux Redhat. - David Norwood created code/common/mp3.pl, mp3_winamp.pl, and mp3_xmms.pl. He reorganized the winamp and xmms mp3 scripts to be easier to setup and maintain. There was a lot of duplication in the winamp and xmms code and some things like playlists were handled differently. - Sean Walker added an option to have proxies regsiter themselves with the main mh, to allow for an optional security, and for better starting and stopping of proxies. - Gregg Liming enabled support for a new TTS engine from Cepstral: http://www.cepstral.com . $30 per voice, for either Linux or Windows (only tested on Linux so far). Set mh.ini parm voice_text=theta and modify voice_text_theta to point to the theta binary. - David Lounsberry modified his vv_tts wrapper to wrap around either viavoice, festival, or the new Cepstral TTS engine. Use vv_tts_engine=festival or vv_tts_engine=theta. - Steve Switzer created lib/PAobj.pm and common/pa_control.pl to enable the rooms= speak and play parm to target specific rooms via a relay controled PA system. See comment at the end of pa_control.pl for example .mht entries. Bug Fixes and Other Changes: - Ross Towbin updated lib/X10_W800RF.pm to fix a case typo and increased a delay so a single press from a remote isn't processed multiple times. - Steve Haehnichen fixed lib/Lynx10PLC.pm to work correctly with Lynx10PLC_XMIT_PWR values of 94 -> 100. - Robert Mann added line 1/2/etc support to common/phone_logs.pl and web/bin/phone_in.pl - Wally Kissel noted the File_Item method index should have been get_index in doc/mh.pod - Brian McKissick fixed the web code browser on linux and noted a missing frameset tag in the new my_mh/index.html file. - Chris Witte updated mh so it no longer has to be re-started to activate a password change and he updated the 'password accepted' message. - Chris Witte and I updated the tie_event method to correctly enable get_set_by for objects set by tied events. - Jaco Botha updated common/internet_irridium.pl to work with date_format=ddmm, rather than the default of mmdd. - Steve Switzer added a link to results of web/bin/phone_search.pl - David Norwood added info and links on IR interfaces to the hardware section of docs/mh.pod. - Sean Walker and I updated enabled the File_Item set_watch method to set the respond target field and updated common/tv_info.pl to use respond instead of speak so we can better query tv show info from other locations. - Gregg Liming noticed that 2.82 could cause volume to muted on startup. - Richard Phillips updated code/public/mp3_control_xmms.pl to auto-start xmms if it isn't already running. - Craig Schaeffer fixed a cleanup problem in common/comic_dailystrips.pl. - Jon Boehm sent in common/speak_mac.pl, to enable speech on the Mac (support was there since 2.76, but I forgot to include this file). - Steve Switzer updated the setup menus with logon menus if accessed by non-admin users. - Scott Johnson updated lib/Stargate.pm to echo Stargate generated X10 commands to MisterHouse. - Steve Switzer updated lib/Telephony_Interface.pm to allow 'call from number' instead of 'call from unknown' for NetCallID calls of known numbers, but unknown names. - Gregg Liming suggested we update lib/Telephony_Interface.pm to ignore callerid data that has neither name or number. - Steve Switzer added 'Get AWS weather data' to common/weather_aws.pl - Richard Phillips discovered a case where an mh restart would fail if a ``Can't use string (''1``) as a HASH ref'' error. - David Norwood and Steve Switzer updated bin/get_tv_grid to create non-cachable 'TV today' pages. - Moved the 'proxy is dead' check into bin/mh. - Updated common/news_yahoo.pl to store its html page in the ia5 news directory. Bruce |
From: Mickey A. <mi...@mi...> - 2003-09-04 03:12:00
|
Can we make a change to \bin\dailystrips on line 148: change $long_date = strftime("\%A, \%B \%e, \%Y", @localtime_today); to $long_date = strftime("\%A, \%B \%d \%e, \%Y", @localtime_today); This will allow the day number to be listed on the top of the page. Currently, my comics page says 'dailystrips for Wednesday, September , 2003' Mickey Argo -----Original Message----- From: mis...@li... [mailto:mis...@li...]On Behalf Of Bruce Winter Sent: Monday, September 01, 2003 10:34 PM To: Misterhouse-Announce; Misterhouse-Users Subject: [misterhouse-users] Version 2.83 posted on 09/01/2003 Version 2.83 was just uploaded to: http://misterhouse.sf.net/download.html http://misterhouse.net:81/download.html New Features: - Thomas Vogl has started a MisterHouse Journal' at http://www.trvonthe.net/mh-journal/ where he cronicles his experiences of setting up MisterHouse on Linux Redhat. - David Norwood created code/common/mp3.pl, mp3_winamp.pl, and mp3_xmms.pl. He reorganized the winamp and xmms mp3 scripts to be easier to setup and maintain. There was a lot of duplication in the winamp and xmms code and some things like playlists were handled differently. - Sean Walker added an option to have proxies regsiter themselves with the main mh, to allow for an optional security, and for better starting and stopping of proxies. - Gregg Liming enabled support for a new TTS engine from Cepstral: http://www.cepstral.com . $30 per voice, for either Linux or Windows (only tested on Linux so far). Set mh.ini parm voice_text=theta and modify voice_text_theta to point to the theta binary. - David Lounsberry modified his vv_tts wrapper to wrap around either viavoice, festival, or the new Cepstral TTS engine. Use vv_tts_engine=festival or vv_tts_engine=theta. - Steve Switzer created lib/PAobj.pm and common/pa_control.pl to enable the rooms= speak and play parm to target specific rooms via a relay controled PA system. See comment at the end of pa_control.pl for example .mht entries. Bug Fixes and Other Changes: - Ross Towbin updated lib/X10_W800RF.pm to fix a case typo and increased a delay so a single press from a remote isn't processed multiple times. - Steve Haehnichen fixed lib/Lynx10PLC.pm to work correctly with Lynx10PLC_XMIT_PWR values of 94 -> 100. - Robert Mann added line 1/2/etc support to common/phone_logs.pl and web/bin/phone_in.pl - Wally Kissel noted the File_Item method index should have been get_index in doc/mh.pod - Brian McKissick fixed the web code browser on linux and noted a missing frameset tag in the new my_mh/index.html file. - Chris Witte updated mh so it no longer has to be re-started to activate a password change and he updated the 'password accepted' message. - Chris Witte and I updated the tie_event method to correctly enable get_set_by for objects set by tied events. - Jaco Botha updated common/internet_irridium.pl to work with date_format=ddmm, rather than the default of mmdd. - Steve Switzer added a link to results of web/bin/phone_search.pl - David Norwood added info and links on IR interfaces to the hardware section of docs/mh.pod. - Sean Walker and I updated enabled the File_Item set_watch method to set the respond target field and updated common/tv_info.pl to use respond instead of speak so we can better query tv show info from other locations. - Gregg Liming noticed that 2.82 could cause volume to muted on startup. - Richard Phillips updated code/public/mp3_control_xmms.pl to auto-start xmms if it isn't already running. - Craig Schaeffer fixed a cleanup problem in common/comic_dailystrips.pl. - Jon Boehm sent in common/speak_mac.pl, to enable speech on the Mac (support was there since 2.76, but I forgot to include this file). - Steve Switzer updated the setup menus with logon menus if accessed by non-admin users. - Scott Johnson updated lib/Stargate.pm to echo Stargate generated X10 commands to MisterHouse. - Steve Switzer updated lib/Telephony_Interface.pm to allow 'call from number' instead of 'call from unknown' for NetCallID calls of known numbers, but unknown names. - Gregg Liming suggested we update lib/Telephony_Interface.pm to ignore callerid data that has neither name or number. - Steve Switzer added 'Get AWS weather data' to common/weather_aws.pl - Richard Phillips discovered a case where an mh restart would fail if a ``Can't use string (''1``) as a HASH ref'' error. - David Norwood and Steve Switzer updated bin/get_tv_grid to create non-cachable 'TV today' pages. - Moved the 'proxy is dead' check into bin/mh. - Updated common/news_yahoo.pl to store its html page in the ia5 news directory. Bruce ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
From: Craig S. <csc...@ya...> - 2003-09-14 14:31:14
|
Yesterday I started to move some mh code from my old pc to the new server in the basement. I have a Red October I/R unit with the ir codes stored in a DBM file. Perl was unable to read the DBM file. The error was something like 'no such file or directory'. I thought that it might be due to a compatibility issue between perl 5.6 and 5.8. So, I loaded 5.6 on the new server, but had the same problem. I eventually wrote some code to export the old dbm file to a text file and reimported it into a new dbm file. I checked the DB_File.pm versions and found that the old pc was running 1.73 and the new pc was running 1.806 (under both 5.6 and 5.8) Long story, but does anyone know if there should be a problem reading old dbm files with newer versions of DB_File? I noticed that some mp3 code had the same issue. I deleted the old file and mh re-created it. I suspect that I will have a similiar problem when I move my phone code (callerid.dbm) to the new pc. Anybody else notice this issue? -Craig __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Craig S. <csc...@ya...> - 2003-09-18 01:39:49
|
Bruce, I believe that I have found a (obscure) bug in the way that mh handles Preset_dim commands. In the section of mh that 'checks for merged or broken X10 data' (~line 3323) mh walks the X10 string and 'remembers' previous unit data. The problem is, if the data is something like 'XMFFPRESET_DIM1', it walks through the string in pairs and tests the need to remember 'MF', 'FP', 'RE', 'SE', 'T_', 'DI' and then finally 'M1'. Most of these are not matched and ignored, but the M1 (or M2) is a valid match and is remembered. I think this was causing me problems since I kept getting weird X10 behaviour during periods of high preset_dim command usage (RCS thermostat queries/responses). I fixed it by inserting: $length -= 10 if $event_data =~ /.+PRESET_DIM.$/; just before the while loop. This then ignores 'RESET_DIMx' leaving the P, but you will probably come up with some ultra cool perl code magik that does it better :) I wonder if there are any other 'interesting' X10 commands that might suffer the same fate passing through this code. -Craig __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Bruce W. <br...@mi...> - 2003-09-18 03:10:21
|
> I believe that I have found a (obscure) bug in the way that mh handles > Preset_dim commands. In the section of mh that 'checks for merged > or broken X10 > data' (~line 3323) mh walks the X10 string and 'remembers' > previous unit data. > The problem is, if the data is something like 'XMFFPRESET_DIM1', it walks > through the string in pairs and tests the need to remember 'MF', > 'FP', 'RE', > 'SE', 'T_', 'DI' and then finally 'M1'. Most of these are not matched and > ignored, but the M1 (or M2) is a valid match and is remembered. I > think this > was causing me problems since I kept getting weird X10 behaviour > during periods > of high preset_dim command usage (RCS thermostat queries/responses). > > I fixed it by inserting: > > $length -= 10 if $event_data =~ /.+PRESET_DIM.$/; > > just before the while loop. This then ignores 'RESET_DIMx' > leaving the P, but > you will probably come up with some ultra cool perl code magik > that does it > better :) I wonder if there are any other 'interesting' X10 commands that > might suffer the same fate passing through this code. > > -Craig Yikes! You are right about the dim1 / dim2 strings getting parsed as M1 / M2 does. Not sure how you found that ... that code is not the most straightforward. I think I'll add the last clause in the loop, like so: while ($pos < $length) { last if $event_data =~ /PRESET_DIM/; # The DIM1 and DIM2 strings would get parsed as M1 and M2 Bruce |
From: Craig S. <csc...@ya...> - 2003-09-21 21:46:27
|
Bruce, I am using a Lynx10PLC proxy for X10. Do you know why when I push A1 and then ON from my very old Leviton controller, mh does the following: Proxy serial data sent to mh: interface= data=XA1. Serial data: event_type=X, event_data=XA1 Proxy serial data sent to mh: interface= data=XAJ. Serial data: event_type=X, event_data=XAJ X10: Previous units=A1 reset_flag=1 X10: Merged string data=XA1AJ Running serial_data_buffer string: XA1AJ Proxy serial data sent to mh: interface= data=XA1AJ. Serial data: event_type=X, event_data=XA1AJ The main mh process displays: proxy data received: serial, XA1. Serial data: event_type=X, event_data=XA1 X10: Previous units=A1 reset_flag=0 proxy data received: serial, XAJ. Serial data: event_type=X, event_data=XAJ X10: Previous units=A1 reset_flag=1 X10: Merged string data=XA1AJ Running serial_data_buffer string: XA1AJ Serial data: event_type=X, event_data=XA1AJ X10: Previous units=A1 reset_flag=1 X10: Merged string data=XA1A1AJ proxy data received: serial, XA1AJ. Serial data: event_type=X, event_data=XA1AJ X10: Previous units=A1 reset_flag=1 X10: Merged string data=XAJA1AJ The proxy sends A1, then AJ and then A1AJ. The main process gets the A1, ignores it (no x10 item defined as A1), gets the AJ (ignored), but then merges them and finds an x10 object match. But then it gets the A1AJ from the proxy and fires the state now code again. This seems like a fundamental proxy problem, so I don't know why everyone wouldn't be experiencing it. Am I the only one seeing this? Is this a Lynx10PLC issue perhaps? I made a recent change to the Lynx10PLC.pm file to send the house and units codes. Without the change it waits for the command to be pressed before it sends the whole thing. But the problem seems to be related to the merging and sending of the 2 strings which is outside of th Lynx10PLC code. I'm stumped. -Craig __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Bruce W. <br...@mi...> - 2003-09-22 03:42:37
|
> The proxy sends A1, then AJ and then A1AJ. The main process gets the A1, > ignores it (no x10 item defined as A1), gets the AJ (ignored), > but then merges > them and finds an x10 object match. But then it gets the A1AJ > from the proxy > and fires the state now code again. This seems like a fundamental proxy > problem, so I don't know why everyone wouldn't be experiencing > it. Am I the > only one seeing this? Is this a Lynx10PLC issue perhaps? I made a > recent change > to the Lynx10PLC.pm file to send the house and units codes. > Without the change > it waits for the command to be pressed before it sends the whole > thing. But the > problem seems to be related to the merging and sending of the 2 > strings which > is outside of th Lynx10PLC code. I'm stumped. > > -Craig Indeed! Now that you mention it, I have had some duplicate X10 strings. I'm not quite as observant as you ;) Plus I usually don't hit my X10 maxi-control Unit - on/off slow enough that they come in as seperate strings. Lets try this fix, at the top of sub process_serial_data in bin/mh: &Serial_data_hooks($event_data) unless $prev_pass; # Created by &add_hooks By adding the unless test, we bypass the the crazy X10 serial_data_buffer munging in code hooks like the proxy hook. That $prev_pass flag gets set by that munging code, which is what merges the seperate X10 buttons. Bruce |
From: Craig S. <csc...@ya...> - 2003-09-23 00:30:22
|
--- Bruce Winter <br...@mi...> wrote: > > The proxy sends A1, then AJ and then A1AJ. The main process gets the A1, > > ignores it (no x10 item defined as A1), gets the AJ (ignored), > > but then merges > > them and finds an x10 object match. But then it gets the A1AJ > > from the proxy > > and fires the state now code again. This seems like a fundamental proxy > > problem, so I don't know why everyone wouldn't be experiencing > > it. Am I the > > only one seeing this? Is this a Lynx10PLC issue perhaps? I made a > > recent change > > to the Lynx10PLC.pm file to send the house and units codes. > > Without the change > > it waits for the command to be pressed before it sends the whole > > thing. But the > > problem seems to be related to the merging and sending of the 2 > > strings which > > is outside of th Lynx10PLC code. I'm stumped. > > > > -Craig > > Indeed! Now that you mention it, I have had some duplicate X10 strings. > I'm not quite as observant as you ;) Plus I usually don't hit my X10 > maxi-control Unit - on/off slow enough that they come in as seperate > strings. > > Lets try this fix, at the top of sub process_serial_data in bin/mh: > > &Serial_data_hooks($event_data) unless $prev_pass; # Created by > &add_hooks > > By adding the unless test, we bypass the the crazy X10 serial_data_buffer > munging in code hooks like the proxy hook. That $prev_pass flag gets set by > that munging code, which is what merges the seperate X10 buttons. > > Bruce > That worked great. Thank you. -Craig __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Craig S. <csc...@ya...> - 2003-09-23 00:25:25
|
Joe Blecher or Bruce, I would like to propose 2 changes to the lynx10 code. To support running as a proxy, change the send_plc sub to: sub send_plc { # Make sure we are passed a pkt return unless ( 2 == @_ ) ; my ($serial_port, $cmd) = @_; if ($::config_parms{Lynx10PLC_port} =~ 'proxy') { print "Lynx10PLC proxy, calling main::proxy_send\n" if $main::Debug{proxy}; &main::proxy_send('Lynx10PLC', 'lynx10plc', 'send_plc', $cmd); return; } return unless my $payld = &cmd2payld($cmd); &send(NETID_X10, $payld); } The current code does not support sending just the house-code/unit-code strings. Most controllers will send a A1AJ as a sequence, but some controllers allow for just the A1. Currently the Lynx10PLC module will 'hold' the A1 waiting for the AJ. The following is not quite as clean as it should be, but fixes the problem. In the sub process_PktX10: if ($_paycmd == X10_UNITADDRESS) { $_cmds = "X" . $table_hcodes{$data[1]} . $table_ucodes{$data[2]} if ($_paysz >= 3); $noun="X"; } -Craig __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Bruce W. <br...@mi...> - 2003-09-24 03:01:20
|
> Joe Blecher or Bruce, > > I would like to propose 2 changes to the lynx10 code. Ok by me. If you don't hear back from Joe, feel free to send me the updated Lynx10PLC.pm module whenever. Bruce |
From: Craig S. <csc...@ya...> - 2003-09-27 11:57:14
|
I have 3 webcams connected to my mh server. Currently I am using an old (and no longer supported) shareware application called webcam32. I would like to upgrade to something that better integrates with mh. What are others using? I would like to be able to mask areas of the image to monitor for motion. I would like to be able to upload via ftp (I can this via mh if the webcam software doesn't do it automatically). And I would like to be able to capture an image under mh control. This way I can upload and/or email an image based on some event (motion, driveway sensor, doorbell, etc) Anybody got any good suggestions? Is anybody doing this kind of monitoring with standard cameras? What capture board are you using and what software controls them? -Craig __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Pete F. <pj...@ca...> - 2003-09-27 14:00:21
|
Webcams ... Havn't finished up this one either. I have not made a decision about hardware though. Seems like the ATI TV wonder card ($35-45)is a good inexpensive choice. It's supported in windows well, and out-of-the-box in linux too (Open Source software is available, and is failrly mature too). It has a cable and video' inputs that can be (soft)selected that a relay/weeder board can easily switch for multiple cameras. Alternately there are several standalone webcams that can sit on a network, and automatically send pics to a server, I like this option too, alas my budget prohibits purchasing (? $180.00+) Anybody found a good USB linux video capture device, that actually works well/easily under linux ? -Pete On Sat, 2003-09-27 at 07:56, Craig Schaeffer wrote: > I have 3 webcams connected to my mh server. Currently I am using an old (and no > longer supported) shareware application called webcam32. I would like to > upgrade to something that better integrates with mh. What are others using? I > would like to be able to mask areas of the image to monitor for motion. I would > like to be able to upload via ftp (I can this via mh if the webcam software > doesn't do it automatically). And I would like to be able to capture an image > under mh control. This way I can upload and/or email an image based on some > event (motion, driveway sensor, doorbell, etc) Anybody got any good > suggestions? > > Is anybody doing this kind of monitoring with standard cameras? What capture > board are you using and what software controls them? > > -Craig > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 -- -------------- "No trees were killed in the sending of this message. However, a large number of electrons were terribly inconvenienced." Author unknown -------------- -Pete Flaherty pj...@ca... http://vsa.cape.com/~pjf/MrAudrey.html |
From: jason <ja...@sh...> - 2003-09-27 15:52:37
|
I use BTTV cards in linux with the gnu "motion" program. There are a couple of boards available to multiplex video signals (frame by frame) fairly cheap ($150). Played with one a couple of years back that did 8 video sources (reduce frame rate by 8 though). You could write a simple program to divy up the frames and spawn mutliple instances of the motion program to watch each channel. check out http://www.exploits.org/v4l/ for more ideas. -J On Sat, 27 Sep 2003, Pete Flaherty wrote: > Webcams ... > Havn't finished up this one either. > I have not made a decision about hardware though. Seems like the ATI TV > wonder card ($35-45)is a good inexpensive choice. It's supported in > windows well, and out-of-the-box in linux too (Open Source software is > available, and is failrly mature too). It has a cable and video' inputs > that can be (soft)selected that a relay/weeder board can easily switch > for multiple cameras. > > Alternately there are several standalone webcams that can sit on a > network, and automatically send pics to a server, I like this option > too, alas my budget prohibits purchasing (? $180.00+) > > Anybody found a good USB linux video capture device, that actually works > well/easily under linux ? > > -Pete > > On Sat, 2003-09-27 at 07:56, Craig Schaeffer wrote: > > I have 3 webcams connected to my mh server. Currently I am using an old (and no > > longer supported) shareware application called webcam32. I would like to > > upgrade to something that better integrates with mh. What are others using? I > > would like to be able to mask areas of the image to monitor for motion. I would > > like to be able to upload via ftp (I can this via mh if the webcam software > > doesn't do it automatically). And I would like to be able to capture an image > > under mh control. This way I can upload and/or email an image based on some > > event (motion, driveway sensor, doorbell, etc) Anybody got any good > > suggestions? > > > > Is anybody doing this kind of monitoring with standard cameras? What capture > > board are you using and what software controls them? > > > > -Craig > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product search > > http://shopping.yahoo.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > ________________________________________________________ > > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > |