Re: [Owfs-developers] owfs (owserver) on DNS-323. Will not run in the background. SOLVED

2010-03-09 Thread Göran Roseen
Thank you all for the help. I compiled using the version of daemon() supplied in ow_daemon.c, and that did the trick! /Göran -Original Message- From: Christian Magnusson [mailto:m...@mag.cx] Sent: den 8 mars 2010 21:49 To: 'OWFS (One-wire file system) discussion and help' Subject: Re:

Re: [Owfs-developers] BAE0910 setup -Some questions

2010-03-09 Thread Pascal Baerten
Hi, from owhttpd, select eeprom/page.0, upload the generated file and save change. You may need to erase the page if it already content some data. You may also copy your generated file rob.bin to eeprom/page.0 (via fuse file system) from the shell or within the makefile. Pascal 2010/3/9

Re: [Owfs-developers] AAG TAI-8540 humidity sensor dead? humitidy?

2010-03-09 Thread Marc MERLIN
On Mon, Mar 08, 2010 at 10:38:41PM -0800, Marc MERLIN wrote: gargamel:~# cat /owfs/26.E836F500/{IAD,VAD,VDD,temperature,humidity}; echo 00.014.68 60.9125 -26.695 Mmmh, actually the humidity sensor seems to have died. Does anyone have experience with the One

[Owfs-developers] owfs file locked during volatile update?

2010-03-09 Thread Jaap Struyk
Hello, We are pretty close to a usable sdl frontend for owfs but I keep running into some timing problems. We read the sensors from the owfs mountpoint (not owcapi because this way it is also possible to read from proc or sys) but due to the amount of sensors the total reading time is a problem.

[Owfs-developers] owfs debian package

2010-03-09 Thread Thomas Mueller
hi I've managed to build a simple,limited debian (lenny, 5.x) package from owfs. configure options used for this package: --enable-debian --disable-owperl --disable-owtcl \ --disable-swig --disable-owphp you can get it here: amd64: http://chaschperli.ch/debian/lenny/owfs_2.7.31-1_amd64.deb

Re: [Owfs-developers] My wish list for implementing Intelligent Slave Devices

2010-03-09 Thread Jim Kusznir
This is my thought, yes. I was thinking something along the lines of read an int at addres and call it temperature type commands. --Jim On Mon, Mar 8, 2010 at 10:13 AM, Paul Alfille paul.alfi...@gmail.com wrote: So if I understand correctly, the firmware upload not only programs the

[Owfs-developers] owserver stops responding

2010-03-09 Thread Patrik Åkerfeldt
I've been adding a new device to my 1-wire network that I regularly poll (a solar sensor + temp from hobby-boards). Since then (I think!), owserver seems to stop responding after a while. Sometimes it takes 6-10h before it hangs and sometimes just a couple of minutes. The last time I started

Re: [Owfs-developers] BAE0910 setup -Some questions

2010-03-09 Thread Mr Robert Conway
OK did some more testing, If I type into the page0 area and [CHANGE] it saves it to the slave. I think the problem is the [upload] as I now assume when you upload a file, its contents will appear in the Page0 text area then pressing [Change] will store it to the slave. Does anybody know how

Re: [Owfs-developers] My wish list for implementing Intelligent Slave Devices

2010-03-09 Thread Jerry Scharf
Jim, I like your idea. I think your example needs to be more like: create the filename temperature read a 16 bit int at address x push it through transform table q that outputs a float output the float with the printf string %s. This assumes that the transform is done on the OWFS side rather

Re: [Owfs-developers] AAG TAI-8540 humidity sensor dead? humitidy?

2010-03-09 Thread Paul Alfille
Thank goodness the problem was a bad sensor. I ran a test also with no problems: p...@amd64$ for x in 1 2 3 4 5 6 7 8 9 ; do /opt/owfs/bin/owread /uncached/26.3D3A1500/humidity ; sleep 1 ; done 27.505 27.505 27.8532 27.505 27.505 27.8532 27.505 27.505

Re: [Owfs-developers] owfs file locked during volatile update?

2010-03-09 Thread Paul Alfille
C++ ? Is all the reading in one big loop? Then how fast is your loop actually cycling? The filesystem does an actual call to libow and so may block while the temperature conversion is progressing if the cached value is old. Paul Alfille. On Tue, Mar 9, 2010 at 12:58 PM, Jaap Struyk

Re: [Owfs-developers] Python to read 1-wire temperatures

2010-03-09 Thread Paul Alfille
There are 3 ways to use python and OWFS. 1. run the FUSE virtual filesystem (program owfs) and just do standard read and writes. 2. run owpython, which is a standalone program and embeds all of owlib. see http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/swig/python/examples/ 3. run

Re: [Owfs-developers] My wish list for implementing Intelligent Slave Devices

2010-03-09 Thread Paul Alfille
To answer a very small part of your question: No problem. The owserver that actually connects to the slave in question will be the one that holds its configuration. It seems like you almost want a small transform language embedded in OWFS. Does this already exist? It would be nice to use an

Re: [Owfs-developers] BAE0910 setup -Some questions

2010-03-09 Thread Paul Alfille
On Tue, Mar 9, 2010 at 6:14 PM, Mr Robert Conway rjcon...@bigpond.comwrote: OK did some more testing, If I type into the page0 area and [CHANGE] it saves it to the slave. I think the problem is the [upload] as I now assume when you upload a file, its contents will appear in the Page0 text

Re: [Owfs-developers] BAE0910 setup -Some questions

2010-03-09 Thread Mr Robert Conway
Hi PAul, 1) In normal operation does the contents of the uploaded file appear in the text window ? and then you press [change]. Knowing this would help me in fault finding. 2) Can the bin file you upload be on the client machine (win XP) ? 3) Pascal stated the AE file goes into the EEPROM

Re: [Owfs-developers] AAG TAI-8540 humidity sensor dead? humitidy?

2010-03-09 Thread Marc MERLIN
On Tue, Mar 09, 2010 at 07:57:14PM -0500, Paul Alfille wrote: Thank goodness the problem was a bad sensor. I ran a test also with no problems: Well, not really. My problems (serial not working) are still there, the fact that this sensor's AD convertor apparently just died is separate.

Re: [Owfs-developers] My wish list for implementing Intelligent Slave Devices

2010-03-09 Thread Jerry Scharf
Paul, I wasn't so much thinking about what was right but looking at generalizing what OWFS does today. How do you convert from the data reading on a 18B20 to a temperature? Same goes for a humidity level or a thermocouple reading. It seems like you have readings you get back, and by knowing