Paul I'm in really deep here. My irrigation system is not working because I cannot get owfs or ownet to work on Ubuntu 8.10. Ownet is not reading the devices. Creating new owserver comes back defined, directory read not defined. Any suggestions. My code follows:
#!/usr/bin/perl -w # 1w_net_volts.pl use warnings; use strict; use OWNet; # DS2408 my $volts_sid = '/20.F6BF0C000000'; my $volts_sname = 'DS2450'; my $volts_suse = 'Voltage sensor'; # directory names my $volts_A_dir = $volts_sid.'/volt.A'; # program use my $volts_A; # print "\nbuild owfs dirs\n"; print "\tVolts dir >$volts_A_dir\n"; # 1 wire server init my $ow_server_ip = "192.168.0.54:4304"; print "\n1wire server ip >$ow_server_ip\n"; my $owserver = OWNet->new("$ow_server_ip -v") ; if (defined ($owserver)) { print "\towserver new success\n"; } else {print "\towserver new failed\n";} # Volt A get print "\nVolt A get dir >$volts_A_dir\n"; $volts_A = $owserver->read($volts_A_dir); if (defined ($volts_A)) { print "\tVolts A get success >$volts_A\n"; } else {print "\tVolts A get failed\n";} Paul Alfille wrote: > On Sat, Feb 14, 2009 at 3:48 AM, William Brown <mahi...@earthlink.net > <mailto:mahi...@earthlink.net>> wrote: > > > PS Should I be writing on a different mailing list? Are there any good > ones to subscribe? > > > > This is the perfect place for these questions. > > Paul Alfille > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers