Hi,

I'm working on a Linux machine whit Mint 13 on it.


I'm trying to run an example in php to list the 1-wire sensors in my
network.
I've compiled and build the owfs suite Version 2.8p20
Now
owfs is running
owserver is running
owhttpd is running
on http://localhost:2121/ I can see my sensors and there actual values.

I've followed the documentation at: http://owfs.sourceforge.net/owphp.html

in php.ini enable_dl = On    // dl(...) does not seems to work
in php.ini I have loaded the extension "libowphp.so" directly.

I've tried the example from owfs Development:
http://owfs.org/index.php?page=ownet-php

<?php
require_once('/opt/owfs/share/php/OWNet/ownet.php');
$ow=new OWNet("tcp://127.0.0.1:4304");
print_r($ow->dir("/"));
print_r($ow->read("/10.E8C1C9000800/temperature"));
unset($ow)

 Without success, I get no reply on the screen!

How to go further

Thanks in advance,

Willy Verbiest
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to