Hello There!

I have just recieved a prebuilt package with a USB DS9490 adapter, and two 
temperature sensors (ds18s20) on the 1-wire bus. I got it as a christmas 
present :)

And I had planned that I should use owfs together with the temp sensors, and 
to logg and display temperature curves on a webpage.

I run a Mandriva 2007.1 as a personal server, and I downloaded the following 
packages from 
the sourceforge download section.
owfs-2.7p2-1.src.rpm      owfs-libs-2.7p2-1.i586.rpm  
owfs-mon-2.7p2-1.i586.rpm  owfs-server-2.7p2-1.i586.rpm
owfs-fs-2.7p2-1.i586.rpm  owfs-man-2.7p2-1.i586.rpm   
owfs-php-2.7p2-1.i586.rpm  owfs-shell-2.7p2-1.i586.rpm
I first Installed fuse and fuselibs that I dident have, then I tried to 
install these rpms like this:
rpm -i owfs-libs-2.7p2-1.i586.rpm 
rpm -i owfs-server-2.7p2-1.i586.rpm
rpm -i owfs-fs-2.7p2-1.i586.rpm
rpm -i owfs-man-2.7p2-1.i586.rpm
error reading information on service owman: No such file or directory
error: %post(owfs-man-2.7p2-1.i586) scriptlet failed, exit status 1
rpm -i owfs-shell-2.7p2-1.i586.rpm
error reading information on service owshell: No such file or directory
error: %post(owfs-shell-2.7p2-1.i586) scriptlet failed, exit status 1

All above where done as root. If anyone knows why two of these packages dident 
wanna install, ill be intrested. I dident know which of these rpms that I 
acctually needed, I havent found a description for them. Since I use Mandriva 
Linux that is a rpm package based distribution, I thought that I should use 
the rpm's that were available.
I have tried to read up on owfs on both owfs.org and on sourceforge project 
page.

I managed to start the server like this
"owfs -C -u -m /mnt/1wire" after I created the mountpoint 
directory /mnt/1wire, and did a "modprobe fuse" that is.
and could read temperature like this.
"cat /mnt/1wire/bus.0/10.53AE60010800/temperature"

What is the temphigh & templow directory on the same level as temperature? I 
see mine is on 70 and 75, and how do I use those?

I have created /etc/fuse.conf with a single line "user_allow_other" and after 
that I thought I should restart owfs, but I dont know how to do that in the 
right way, Im guessing killing the process isent the right  way? "man owfs" 
doesent show how to do it. I tried to google how to stop owfs and read 
that "umount /path/mountpoint" should do it, Is this correct? It seems to 
work well when I had added my fuse.conf, because after that I could read temp 
as a normal user :)

Also one of these rpms created startup scripts for me 
like "/etc/rc.d/rc5.d/K05owfs" & "/etc/sysconfig/owfs" should I replace the 
last files entry OPTIONS[0]="-d /dev/ttyS100" with OPTIONS[0]="-u" since I 
have a usb master (ds9490)?

Now It remains to try to use it to logg and show off curves. I have read 
briefly about some mentioning using mysql for storing the data, and I have 
heard from a forum that some peopl use cacti for showing data. And I have 
seen the temploggerd, that I thought perhaps I can download and read the 
instructions from. 

I will be intressted if you have some tip on how to store the temperature data 
(and time/date of course) in smart way, so that I't can be backuped and 
restored in a straight forward way, when I reinstall my OS wich I do every 
6-12 months.

I have to say its very intressting software you developers have created 
here :) 

Best regards Patrik Andersson.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to