I have temporarily stopped testing owfs27p24 since I don't have the 
skills to debug the errors.  I can try again for a specific purpose.  
However I still have trouble in owfs27p22 with ownet.pm as shown below.  
Ow.php works ok, I turned on relay 1.  But ownet.pm has trouble reading 
pio.  Owdir reflects regular problem of not not listing all devices.

1wire server ip > 192.168.0.54:4304
    Owserver new >OWNet=HASH(0x8465880)
    Owserver new returned !>

    Dir 
 >/IO_relay1(DS2408)/LCD_H,/IO_relay1(DS2408)/LCD_M,/IO_relay1(DS2408)/PIO.BYTE,/IO_relay1(DS2408)/PIO.ALL,/IO_relay1(DS2408)/PIO.0,/IO_relay1(DS2408)/PIO.1,/IO_relay1(DS2408)/PIO.2,/IO_relay1(DS2408)/PIO.3,/IO_relay1(DS2408)/PIO.4,/IO_relay1(DS2408)/PIO.5,/IO_relay1(DS2408)/PIO.6,/IO_relay1(DS2408)/PIO.7,/IO_relay1(DS2408)/address,/IO_relay1(DS2408)/alias,/IO_relay1(DS2408)/crc8,/IO_relay1(DS2408)/family,/IO_relay1(DS2408)/id,/IO_relay1(DS2408)/latch.BYTE,/IO_relay1(DS2408)/latch.ALL,/IO_relay1(DS2408)/latch.0,/IO_relay1(DS2408)/latch.1,/IO_relay1(DS2408)/latch.2,/IO_relay1(DS2408)/latch.3,/IO_relay1(DS2408)/latch.4,/IO_relay1(DS2408)/latch.5,/IO_relay1(DS2408)/latch.6,/IO_relay1(DS2408)/latch.7,/IO_relay1(DS2408)/locator,/IO_relay1(DS2408)/por,/IO_relay1(DS2408)/power,/IO_relay1(DS2408)/present,/IO_relay1(DS2408)/r_address,/IO_relay1(DS2408)/r_id,/IO_relay1(DS2408)/r_locator,/IO_relay1(DS2408)/sensed.BYTE,/IO_relay1(DS2408)/sensed.ALL,/IO_relay1(DS2408)/sensed.0,/IO_relay1(DS2408)/sensed.1,/IO_relay1(DS2408)/sensed.2,/IO_relay1(DS2408)/sensed.3,/IO_relay1(DS2408)/sensed.4,/IO_relay1(DS2408)/sensed.5,/IO_relay1(DS2408)/sensed.6,/IO_relay1(DS2408)/sensed.7,/IO_relay1(DS2408)/set_alarm,/IO_relay1(DS2408)/strobe,/IO_relay1(DS2408)/type
    Dir returned !>

    Pio read all >1,0,0,0,0,0,0,0 (*** relay 1 turned on with php)
    Pio read all returned !>

Trouble getting data back Connection reset by peer after 24 of 24 at 
/usr/local/share/perl/5.10.0/OWNet.pm line 340.
Trouble getting header Connection reset by peer at 
/usr/local/share/perl/5.10.0/OWNet.pm line 357.
    Pio present > presence error
    Pio present returned !> Connection reset by peer

$ /opt/owfs/bin/owdir -s 4304
/Volt_Meter(DS2450)
/Moisture_Meter(DS2760)
*** missing some devices
/bus.0
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm

Also I tried ownet.php and got this error
*Notice*: Can't create socket [ow://192.168.0.54:4303], errno: 111, 
error: Connection refused in */opt/owfs/bin/ownet.php* on line *205*

from this

<?php
  require "/opt/owfs/bin/ownet.php";
?>
<!--HTML Head                                           -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>TEST OWNet</title>
</head>
<!--HTML Body                                           -->
<body>
<h1>Test OWNet</h1>
<?php
  $ow = new OWNet("tcp://192.168.0.54:4303");
  $io_1 = ($ow->read("/29.9D6D04000000/PIO.0"));
?>
</body>
</html>

Paul Alfille wrote:
>> This didn't work.  If I stop owserver for owfs2.7p24 and restart it then
>> I get all correct values displayed on my webpage.  But one by one the
>>     
>
> So you start owserver, and access using ownet.php ?
> After the devices "disappear", if you were to access owserver using
> owdir or owhttpd, are the devices still gone?
>
> I'm trying to figure out if the problem is in ownet.php or owserver.
>
> Thanks,
>
> Paul Alfille
>
>   
>> device readings  disappear as ajax/php gets updates and the page doesn't
>> reload at all until I restart owserver.  Owhttpd can't even see the
>> bus.0.  Owfs 2.7p22 continues to work for php, perl.  Ownet doesn't work
>> correctly. Can you list the modules that changed between owfs2.7p22 and
>> owfs2.7p24?  It really is perplexing that this situation exists.  What
>> are we missing? It's usually my error but I can't see it.
>>     
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>   



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to