Skip Menu |

This queue is for tickets about the OWNet CPAN distribution.

Report information
The Basics
Id: 62334
Status: new
Priority: 0/
Queue: OWNet

People
Owner: Nobody in particular
Requestors: hugh.barnard [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: access to owserver/sketchy solution
Date: Thu, 21 Oct 2010 08:33:54 +0100
To: bug-OWNet [...] rt.cpan.org
From: Hugh Barnard <hugh.barnard [...] gmail.com>
Hi First of all thanks for all this, makes all my one-wire experiments much easier. There's a bug on CPAN about connecting to the server: 1. I've given up trying to use a specified port and dropped back to default. 2. If you enable verbose for the connect using non default, you get the error message in the ticket + complaint about Net/Rendezvous, that doesn't seem to install from CPAN, so I gave up on that.. 3. Currently working on Ubuntu 10,4 LTS: sudo /opt/owfs/bin/owserver -d /dev/ttyUSB0 (therefore port 4304 I believe?) then: use OWNet ; my $owserver = OWNet->new( "localhost -v" ) ; my $temperature = $owserver->read( "/28.AE806B020000/temperature" ) ; print "temp is $temperature\n" ; Incidentally somwhere on the owfs site, somewhere there's some capitalisation mistakes OWNET rather than OWNet for example. Easy but enough to trip up a beginner. Thanks again Hugh Barnard -- http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/