From: Darryl V. <da...@va...> - 2006-10-19 00:44:06
|
I'd be interested in seeing what you created with respect to HVAC control. -darryl On 10/18/06, Jim Duda <ji...@du...> wrote: > > > I use OWFS (owfw.sourceforge.net) with the OWPerl interface, however; I'm > using the serial interface. > I've created object oriented pm modules to interface with OWFS. I've built > a thermostat object which > interfaces with HTML using the HVAC interface. I've been meaning to push > the modules and wll do > so if there is interest in what I have created. The thermostat object is > currently controlling my > furnace with 5 thermometers distributes around my house. > > Jim > > "Ben Griffith" <griffithbaI us...@gm...> wrote in message > news:9a3...@ma...... > I've been using OWPerl, which is part of owfs. I actually use the > iButton_Item that's built into MH to store the names/addresses of the 1-wire > items. Note that owfs uses the addresses in reverse compared to MH (and > compared to the labels on the iButtons themselves), so MH will complain that > the checksums don't match, but it seems to do no harm. > > This is the code I use to read the temperature from a DS18S20: > > sub read_ow_temp { > my ($ib) = @_; > my $ib_id = $ib->id; > my $ib_name = substr $ib->{object_name},1; > if (my $temp = OW::get($ib_id.'/temperature')) { > $temp = (9/5 * $temp) + 32; > set_receive $ib int($temp * 100)/100; # so temp shows up under > "browse iButton" > return $temp; > } else { > print "Cant read $ib_name at $ib_id!\n"; > return; > } > } > > I know... there are routines to round numbers and convert between Celsius > and Fahrenheit. I'm still just starting out with MH and perl, so my code is > a little rough around the edges. > I do actually have owserver set up to use Fahrenheit, but owPerl still gets > the temp in Celsius so I convert it. > > > > On 10/18/06, Tom Buskey <to...@bu...> wrote: > > I've been using 1-wire for awhile with digitemp and owfs-httpd. Now I > want to bring it into MH. What are others doing? The MH code seems to only > do serial. > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ________________________________________________________ > > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > > ________________________________ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ________________________________ > > > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > > -- http://randomthoughts.vandorp.ca |