So you use the FUSE system.
I gather that pH and Conductivity Temperature and Liters(?) are directly measured, CO2 is derived.
It looks like all the DS2450 values stop briefly at the same time.
It's hard to tell how many samples are dropped. Can you look at the statistics for the error statistics. If there are a lot of rereads, bus errors, reconnections, etc then we'd have an answer.
 
Paul Alfille
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Rob Conway
Sent: Friday, November 03, 2006 8:12 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)
 
  ## Read script ############
 
  #!/bin/bash
  PH=$(/opt/bin/awk '{printf "%4.2f\n",((($0-1)/2.6667)+5.5)}' /tmp/1wire/uncached/20.B71F05000000/volt.A)
  US=$(/opt/bin/awk '{printf "%5.1f\n",($0*100)}' /tmp/1wire/uncached/20.B71F05000000/volt.B)
  T_DEGC=$(/opt/bin/awk '{printf "%3.1f\n",((($0-1)*5)+20)}' /tmp/1wire/uncached/20.B71F05000000/volt.C)
  CO2=$(/opt/bin/awk -v PH="$PH" '{printf "%4.1f\n",((3*$0)*(10^(7-PH)))}' /public/kh_value)
  TDS=$(/opt/bin/awk -v COND="$US" '{printf "%3.1f\n",(COND*$0)}' /public/tds_factor)
  LITRES=$(/opt/bin/awk '{printf "%3.1f\n",(($0-3.1)*65)}' /tmp/1wire/uncached/20.952A05000000/volt.D)
  rrdtool update /public/aquaph.rrd N:$PH
  rrdtool update /public/aquadegc.rrd N:$T_DEGC
  rrdtool update /public/aquaco2.rrd N:$CO2
  rrdtool update /public/aquacond.rrd N:$US
  rrdtool update /public/level.rrd N:$LITRES
##########################

 

Are the grahps generated on the actual NSLU2?

Answer: Yes I use rrdtool, on the NSLU2

 

Do you read from a mounted fuse-filesystem on the NSLU2, or are you connecting to a running owserver on the NSLU2?

Answer: I just read from the file system

 

Do you use the owshell-commands on a NSLU2 or some other remote-server?

Answer: Everything is running on the NSLU2,

 

Do you use the Bonjour/Zeroconf feature on the NSLU2?

Answer: ??? Don't know what this is, must have a look ? never touched any of the owfs configuration files.  Just use the :3001 web page to view some data and reset the PIO.x flags.

 
 
Is it normal to have all these processes running for 4 off 1wire devices on the network ?
 
## Output of ps ################
446 root        848 S   owserver -P /opt/var/run/owserver.pid -u -p 3002
  456 root        852 S   owserver -P /opt/var/run/owserver.pid -u -p 3002
  462 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  464 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  466 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  471 root        628 S   owftpd -P /opt/var/run/owftpd.pid -s 3002 -p 0.0.0.0:
  474 root        628 S   owftpd -P /opt/var/run/owftpd.pid -s 3002 -p 0.0.0.0:
  475 root        628 S   owftpd -P /opt/var/run/owftpd.pid -s 3002 -p 0.0.0.0:
  476 root        628 S   owftpd -P /opt/var/run/owftpd.pid -s 3002 -p 0.0.0.0:
  481 root        488 S   owhttpd -P /opt/var/run/owhttpd.pid -s 3002 -p 3001
  484 root        492 S   owhttpd -P /opt/var/run/owhttpd.pid -s 3002 -p 3001
  488 website    4056 S   /usr/sbin/thttpd -C /etc/thttpd-website.conf
  639 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  640 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  641 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  644 root        492 S   owhttpd -P /opt/var/run/owhttpd.pid -s 3002 -p 3001
  702 root        492 S   owhttpd -P /opt/var/run/owhttpd.pid -s 3002 -p 3001
  715 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
  789 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 5218 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 5219 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 5220 root        928 S   owfs -P /opt/var/run/owfs.pid -s 3002 /tmp/1wire
 9222 root        824 S   upnpd &>/dev/null
10012 root       1828 S   sshd: [EMAIL PROTECTED]
10014 root        568 S   -sh
10236 root        852 S   owserver -P /opt/var/run/owserver.pid -u -p 3002
10237 root        852 S   owserver -P /opt/var/run/owserver.pid -u -p 3002
 
 
cheers from australia
 
 
 
 
 
 
----- Original Message -----
Sent: Friday, November 03, 2006 11:40 PM
Subject: Re: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)

 

How do you read your sensors from the NSLU2?

 

Are the grahps generated on the actual NSLU2?

Do you read from a mounted fuse-filesystem on the NSLU2, or are you connecting to a running owserver on the NSLU2?

Do you use the owshell-commands on a NSLU2 or some other remote-server?

Do you use the Bonjour/Zeroconf feature on the NSLU2?

 

I'm just trying to figure out if it could be a network problem (either hardware or owfs-network code), fuse-related problem, mDNS bugs (in my quick compilation), or problem the new owshell commands.

 

/Christian

 

 


Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 3 november 2006 12:24
Till: owfs-developers@lists.sourceforge.net
Ämne: [Owfs-developers] Fwd: [owfs - Help] DS2450 and the NSLU2 (SLUG)

 

>From the forum:
----------------------

Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3993682
By: rob_conway


First post to this group however have been usinf owfs for a couple fo months
and want to grow my network.  I have loaded owfs on my NSLU2 "aka SLUG" and
have a number of devices off the link.  It works great 99.9% of the time and
am very pleased.  I log the data and sync to NTP time and display this on a
web page.


I was wondering if anybody else has seen the following with respect to the DS2450
(4 ch A/D)

a/ A PIO channel sometimes, maybe once per month, change from 1 to 0 thus disabling
the analog input channel.  I then go back into the interface (web page) and
change it back to 1 and all is well again.  It can happen on any of the the
four channels however only 1 channel PIO gets changed.  I have no scripts quering
PIO.x  I suppose a fix maybe to query the PIO.x's and set it if its 0.

b/ The analog input reading seems very noisy ie the values change +/- 0.1 volts
on the Volt.x register ie 0-5v scale.  I have ended up doing a number of reads
and averaging the result over a 15 minute period.

c/ You will also see on the attached link below a spike on one of the temperature
inputs.  This can happen very infrequent and also late in the morning so I have
discounted any type of interference.
http://img.photobucket.com/albums/v319/rjconway/1wire.jpg


cheers

rob

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=292718


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to