[Owfs-developers] ownet.php and owserver timeouts

2011-01-07 Thread office-42
Hi! I'm using owfs with ownet.php module. There were no problems with owfs 2.7p34. But after installing 2.7p35...2.8p5, PHP script can't get temperature value from DS18B20. I found that ownet.php can read temperature9 and temperature10 properties but read null for temperature11, temperature12. B

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Paul Alfille
Send me a patch? On Sun, May 31, 2009 at 3:09 PM, Matthias Urlichs wrote: > > ... IMHO, placing bcadd.php and ownet.php in /whatever/bin does not make > much sense. These modules are not callable from the command line. > (People like the Debian FTP archive maintainer, whose task is to approve > n

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Matthias Urlichs wrote: > Hi, > > Brian Fahrlander: > >> What was missing was this clever and decisive piece of code: >> >> > Well ... > > >> require "/opt/owfs/bin/bcadd.php"; >> require "bcadd.php"; >> die("File 'bcadd.php' is not found.\n"); >> > > ... IMHO, placi

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Matthias Urlichs
Hi, Brian Fahrlander: > What was missing was this clever and decisive piece of code: > Well ... > require "/opt/owfs/bin/bcadd.php"; > require "bcadd.php"; > die("File 'bcadd.php' is not found.\n"); ... IMHO, placing bcadd.php and ownet.php in /whatever/bin does not make much se

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Jaap Struyk wrote: > On 31-05-09 19:16, Brian Fahrlander wrote: > > >> A piece of code *inside* the tarball is running (I had to put a >> #!/usr/bin/php as the first line) >> > > owfs is a damn good piece of work and all parts from *inside* the > tarball I used are working very well..

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Jaap Struyk
On 31-05-09 19:16, Brian Fahrlander wrote: > A piece of code *inside* the tarball is running (I had to put a > #!/usr/bin/php as the first line) owfs is a damn good piece of work and all parts from *inside* the tarball I used are working very well... --

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Jaap Struyk wrote: > On 31-05-09 17:31, Brian Fahrlander wrote: > >> This is all new for me; can ya throw me a rope? > > I don't know about the php module but ownet.php is a frontend for > owserver, I attached an example piece of code I was working on... Wait: something interesting has happe

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Jaap Struyk
On 31-05-09 19:08, Brian Fahrlander wrote: > I need the code that goes *** HERE*** TB3 messed it up, look at the mails source and you find the full script... -- Register Now for Creativity and Technology (CaT), June

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Roberto Spadim wrote: > downlaod the source code So *inside* the code is php code, too? Well, I'll give it a shot; I compile almost everthing to get it installed; I was unaware of the Hardy-repo packages until a couple of nights ago. Thanks (Shouldn't this be in the exterior docs?)

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Jaap Struyk wrote: > On 31-05-09 17:31, Brian Fahrlander wrote: > >> This is all new for me; can ya throw me a rope? > > I don't know about the php module but ownet.php is a frontend for > owserver, I attached an example piece of code I was working on... > > --

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Jaap Struyk
On 31-05-09 17:31, Brian Fahrlander wrote: This is all new for me; can ya throw me a rope? I don't know about the php module but ownet.php is a frontend for owserver, I attached an example piece of code I was working on... read("/1D.E4D90D00/counters.B",$parse_value=false)); $rpm_eng=($o

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Roberto Spadim
downlaod the source code 2009/5/31 Brian Fahrlander > Roberto Spadim wrote: > > see ownet.php examples >I've been doing that; four days now. Documentation is incomplete. > > > ownet.php: > http://owfs.org/index.php?page=ownet-php > > owphp: > http://owfs.org/index.php?page=owphp > > These

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Brian Fahrlander
Roberto Spadim wrote: > see ownet.php examples I've been doing that; four days now. Documentation is incomplete. ownet.php: http://owfs.org/index.php?page=ownet-php owphp: http://owfs.org/index.php?page=owphp These are the closest examples to working code Google knows about. Function

Re: [Owfs-developers] ownet.php

2009-05-31 Thread Roberto Spadim
see ownet.php examples 2009/5/29 Brian Fahrlander > I need some help, guys. > > I had been using OWFS and perl (the hard way) to control and measure > my network, but I'm changing over to PHP for it's easier programming > style, lighter footprint and actual case statement (which I use a lot

[Owfs-developers] ownet.php

2009-05-29 Thread Brian Fahrlander
I need some help, guys. I had been using OWFS and perl (the hard way) to control and measure my network, but I'm changing over to PHP for it's easier programming style, lighter footprint and actual case statement (which I use a lot, really.). But I'd had trouble on Ubuntu's Hardy, ge

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Matthias Urlichs schreef: > The core problem is that the PHP function is named "bccomp", > as a glance at the appropriate manpage should have told you. :-P Auch, now I am ashamed... (I will complain at google that they missed that ;) That indeed did work, pity that php is always telling that the

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Matthias Urlichs
Hi, Jaap Struyk: > php is telling undefined function so it looks like bccmp is not > available, could it be related to suhosin? > The core problem is that the PHP function is named "bccomp", as a glance at the appropriate manpage should have told you. :-P -- Matthias Urlichs | {M:U} IT Desi

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Roberto Spadim schreef: > ownet.php use bcmath extension I have bcmath compiled in, php -i | grep bcmath is showing me it is available. Using: PHP 5.2.8 with Suhosin and eaccellerator. > or... change ownet code where using bccmp function, use somethink like > if(x>y) or (x bcmath is a precise ca

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Roberto Spadim
ownet.php use bcmath extension dl('bcmath.so'); dl('bcmath.dll'); or... change ownet code where using bccmp function, use somethink like if(x>y) or (x > Hello, > > Trying to play with ownet.php I run into: > PHP Fatal error: Call to undefined function bccmp() in /root/ownet.php > on line 516 >

[Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Hello, Trying to play with ownet.php I run into: PHP Fatal error: Call to undefined function bccmp() in /root/ownet.php on line 516 when trying to read my counter: $rpm_eng=($ow->read("/1D.E4D90D00/counters.A")); All other sensors are fine and php has bcmath builtin, is this me doing somethin

Re: [Owfs-developers] ownet.php

2007-01-06 Thread Paul Alfille
On 1/6/07, Roberto Spadim <[EMAIL PROTECTED]> wrote: hello paul, how can i write an manual for ownet.php? it's the only api that don't have an manual yet :( another help... how can i write an manual and read it with unix man command? any tool that you can send to me? jade? latex? what's man form

[Owfs-developers] ownet.php

2007-01-06 Thread Roberto Spadim
php documentation: http://www.spadim.com.br/owphp.txt Defined constants OWNET_DEFAULT_HOST='127.0.0.1' OWNET_DEFAULT_PORT=1234 OWNET_LINK_TYPE_SOCKET=0 OWNET_LINK_TYPE_STREAM=1 OWNET_MSG_ERROR=0 OWNET_MSG_NOP=1 OWNET_MSG_READ=2 OWNET_MSG_WRITE=3 OWNET_MSG_DIR

[Owfs-developers] ownet.php

2007-01-06 Thread Roberto Spadim
hello paul, how can i write an manual for ownet.php? it's the only api that don't have an manual yet :( another help... how can i write an manual and read it with unix man command? any tool that you can send to me? jade? latex? what's man format? thankx roberto spadim --

[Owfs-developers] OWNet.php new version

2007-01-03 Thread Roberto Spadim
i changed sethost to allow HOST:PORT syntax we don't need owserver://host:port syntax when parse_url don't return an ['scheme'] index we try again with "tcp://$host", and parse tcp://host:port syntax the last version is VERSION: 2007.01.03 - 23:36 BRST thankx