Version 2.76 posted on 01/12/2003

"Bruce Winter" <[email protected]> Sun, 12 Jan 2003 16:13:33 -0600
Newsgroups gmane.comp.misc.misterhouse.announce
Message-ID <NABBKAINGKODEFEKADKFGEJECGAB.bruce__26783.4177626812$1042409856@misterhouse.net>
Version 2.76 was just uploaded to:

  http://misterhouse.sf.net/download.html
  http://misterhouse.net:81/download.html

New Features:

- Pete Flaherty posted his updated his mh Audrey image at to version 2-01 at
http://vsa.cape.com/~pjf/MrAudrey.html.

- Bill Sobel is back :) Lots of updates from him this release:

 - AudiotronPlayer.pm fixes for latest firmware, support password if set in
.ini file.
 - Compool.pm fixes for solar power.
 - DSC_Alarm: supports proxy config.
 - Varios small updates to http_server.pl.
 - read_table_a.pl: new x10 transmiter, yacclient and wakeonline stuff
 - stargate.pm: Fixes, digital relay updates, ir support (initial)
 - stargate485.pm: LCD keypad digit support
 - telephony_item: base work for dialed ability (we now log outgoing
   calls as well if the CID hardware detects DTMF and reports them)
 - xantech.pm: made some logging optional
 - internet_weather.pl  added nws_city .ini parm nws_city= paramter which
overrides city if set
 - allow a return_state in set_with_timer

- Bill Sobel created lib/WakeOnLan.pm, for waking up computers from susbend
or hibernated states from  mh via a lan connection. See
code/public/wakeup_on_lan.pl for more info.

- Bill Sobel created lib/CID_Server, so mh can share callerid data with
other callerid clients, with initial support for the YAC client from
http://www.sunflowerhead.com/software/yac. To enable, see common/callerid.pl
for an example of adding a CID_Server_YAC object. To support this, we also
created bin/send_ip_msg for sending generic messages with tcp.

- Andrew Drummond sent in lib/Acid.pm, which I added to Bill's CID_Server,
to broadcast callerid data to Audrey Acid clients, which is included in
Pete's nifty Audrey image.

- Another Bill Sobel idea was to allow for sets of states in one string. To
start with we have allowed for ~ seperated sets of states and delays. For
example, $object->set(s1~t1~s2~t2...sn~tn) would set states s1, s2, ... sn,
with delays for t1, t2, ... tn. We may update this in the next release with
other options that Bill posted earlier.

- Bill Sobel and I added a get_parm_file function, so we can tell if a
config_parm was overridden or not. This allowed us to fixed the ia5 weather
page to not display the 'click to set parm' button if the weather parm has
already been overridden.

- Jason Sharpee et all updated the new CID modules. We also updated
code/common/callerid.pl announcement to $format1, which includes City and
State if the call is from out of City and/or State. Also enabled RING for
Telephone_Interface and added some different 'Test callerid #' tests.

- Steve Switzer and I updated telnet.pl to use the new respond function. To
allow for security between different sessions on the same box, we added new
code that allows us to write to a Socket_Item by its socket handle.

- Sean Walker and Jason Sharpee had the idea of allowing for an optional
speak chime sound, to be played before non-interactive speech event to avoid
the startled spouse effect, so we created mh/code/common/speak_chime.pl.

- Brian Paulsen suggested we use Data::Dumper on the %Save data, like we do
with the %Persistant data, so now we can store nested data in %Save ( e.g.
$Save{temp_setpoints} = { basement => 70, living_room => 40}; ) I also
updated the save/restore code to allow for ~ characters in the state and
state_log for objects.

- Added set_timeout and timed_out methods for Process_Item. See
code/examples/test_process.pl for an example.

- Added a phrase_match function, which calls Dree Mistrut's updated
PhraseDistance.pm module. This allows us to find commands that are the
closest match to a given string. Dree was able to speed up his algorithm
enough that we can now use it interactivly, at least on faster boxes. Not
useful yet, but you can test it with the new ia5 search 'Smart command
search' menu and/or if you type an invalid command from the updated
common/telnet.pl server.



Bug Fixes and Other Changes:

- Change the test for 'unspeakable text' to still allow speech if < 10
unspeakable characters.

- Tom Kotowski updated code/public/news_drudge_report.pl

- Joe Doss fixed a few problems in the new lib/Telephony_Interface.pm code.

- Bill Sobel found a problem with looping caused by his code that tied
items, groups, and X10 whole house codes. To fix this, we added
X10_Transmitter object and a like X10_Item 'transmitter' type. . Like
X10_Item, but it will not be set when incoming or outgoing house codes are
set.

- Steve Switzer noticed that set_by and respond target were not working in
the new Text_Cmd object.

- Chris Witte made set_by smarter when set by the web and user code. It will
now return web [ip_address] or UserCode [filename].

- Thomas Caligiuri noticed a 2.75 bug with some browsers not loading the
full html file, due to a bug in the http length value.

- Andrew Drummond made an update to allow for mh.ini specified serial/socket
modules to be in user code.

- Axel Brown noticed that the pronouncable_list_file was not being read in
(a recent bug).

- Jon Boehm noticed that hidden items still showed up on the list_buttons
web pages.

- Bill Sobel added code hook processing to the serial proxy data.

- Andrew Drummond updated the RCSs code to allow for control of multiple
thermostats and to allow for control of the RS485 models.

- Paul Wong noticed a bad return code when running 'Set the clock via the
internet' from XP when run from the tk or web menu, so we changed this to be
a background process, which also avoids mh pauses.

- David Norwood fixed a bug in the web iniedit function when updating parms
with quotes.

- Brian Rudy updated code/public/mp3_control_xmms.pl to remove the need for
xmms-shell, and the site specific code.

- Fixed a 2.75 respond related bug in internet_top10.pl and dvd_releases.pl.
The web server would stop if those commands were run from something other
than a web browser. Fixed them by calling a new &respond_wait function,
which we can call to tell the web server to wait for respond data.

- Use UNIVERSAL::isa function, rather than isa method, in http_server, to
avoid mh abends.

- Added more data to data/logs/monitor_memory_leak.log, like total average
MB/hour leak rate.

- Updated dailystrips comic script 1.0.25 (a few new comics added changes).

- Updated LWP and LWP and HTTP libraries from the latest libwww to fix a
problem some were having with dailystrips comic downloads.

- Fixed a 2.75 bug that would allow data_log/logs/error.log to grow (if you
had code errors) without prunning on restart. This would cause mh to load
slowly on startup, if your error.log file got large.

- Run 'Check the http server' every 10 minutes in mh_control.pl, to make
sure the web server is working.

- Removed un-needed targets from various web/bin scripts, so single window
browsers like the Audrey work better.

- Moved code/bruce/monitor_router.pl to code/common, after moving the Bruce
specific code to bruce/monitor_router_bruce.pl. This code monitors router
traffic via udp broadcasts from NetGear and LinkSys routers.

- Allow objects for tk_label, like we do for the other tk_* widgets.

- Fix common/tv_grid.pl to not create bad code when clicking on the VCR link
if a $VCR object is not defined.

- Fixed a web select_code bug that would not show the ini parm help text
unless you had already run iniedit.pl

- Joseph Gaston fixed a net_mail_send bug when account was specified, but
not server.

- Danal Estes updated the code he uses in his house in code/public/Danal.

- Updated the xAP code to work with Patrick's latest hub.


Bruce




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com