Steinar Midtskogen stei...@latinitas.org writes:
I've run into two problems with owserver (on an NSLU2 with a DS9490R
USB adapter). I've been using 2.7p17 and 2.7p21, both have the same
problems.
1. Owserver is unable to read all sensors on my Hobby Boards hub, but
the sensors
Paul Alfille paul.alfi...@gmail.com writes:
On 5/25/09, Steinar Midtskogen stei...@latinitas.org wrote:
digitemp fails to see quite a few sensors (but occationally it finds
them but incorrectly list them on the main bus), whereas Oww never has
had any problems after years of use.
Sounds
Steinar Midtskogen stei...@latinitas.org writes:
Paul Alfille paul.alfi...@gmail.com writes:
On 5/25/09, Steinar Midtskogen stei...@latinitas.org wrote:
digitemp fails to see quite a few sensors (but occationally it finds
them but incorrectly list them on the main bus), whereas Oww never has
Matthias Urlichs sm...@smurf.noris.de writes:
Hi,
Steinar Midtskogen:
In some directory listings for the hubs, I notice that the hub
(1F.xxx) and others on hte main bus reappear. Is that an error?
Yes. That shouldn't happen.
I'm suspecting that this is another issue, and less harmful
Michael Markstaller m...@elabnet.de writes:
I think since polling owserver more heavily (uncached dir every 500ms) it
shows a memleak.
As experience with debugging such things is close to zero, if someone can
point me to the nescessary steps, I'd be happy to create some debug-output..
(use
Paul Alfille paul.alfi...@gmail.com writes:
Great, a nice test case. Should be fixable. I like the shell script approach.
...
The problem seems to be that owserver is relatively fine as long as
the requests come in an orderly fashion, such as in this script:
...
But if I change
[Christian Magnusson]
Right now we seldom have more than 1 connecting request in the listen-queue
at a time... mostly since the code _very_ quickly accepts all connections
and removes them from the queue. I'm sure nobody would notice any difference
if the listen-queue was lowered from 10 to 1
I have a counter on a Hobby Boards hub which is detected by owserver,
but all its contents, that is, counters.*, mincount and memory are
unreadable:
# cat 1F.3BB30400/main/1D.3FE20500/counters.A
cat: 1F.3BB30400/main/1D.3FE20500/counters.A: Invalid argument
# owget -s 3000
Paul Alfille paul.alfi...@gmail.com writes:
Two maneuvers would help me with debugging:
1. If you can test without the Microhub (DS2409) it would take some
complexity out of the scenario.
2. Create an error log with --foreground --error_level=9 (compress teh
log and attach it to a
I've noticed a difference between version 2.5p1 and 2.6p0. When I do
several
owget -s 3000 /uncached/1F.FAC60200/main/26.7AAB4200/VAD
the behaviour is different. In 2.5 the hub is not accessed at all
(expect for the first time) which makes sense since I don't access
anything else not
Paul Alfille paul.alfi...@gmail.com writes:
I'll look into the behavior for the current version, this is a bug
that may still persist (We're at 2.7p22 rather than 2.6p0).
Yes, it's in 2.7p22 as well.
I discovered the changed behaviour when I tried to move my snow depth
sensor to 2.7p22. I
[Paul Alfille]
In 2.5 we assumed uncached referred only to the property value, not
the location.
In 2.6 and later, uncached refers to both location and property
value. This forces clearance of stale directories.
I suppose we could change this behavior:
uncached/device/property uses the
Paul Alfille paul.alfi...@gmail.com writes:
On Sun, Jul 5, 2009 at 1:23 AM, Steinar Midtskogenstei...@latinitas.org
wrote:
When the property is asked for with the full path of the location, a
successful read will confirm its location, so an explicit directory
scan adds nothing in that
[Christian Magnusson]
So, what is a suitable limitation when reading from a remoteserver? Should
it be allowed to do 10, 20 or 50 concurrent requests?
As I can see, something must be really wrong if it increase over 20
concurrent requests for one single 1-wire adapter.
10 or 20 is probably
Christian Magnusson m...@mag.cx writes:
Trying to do something like this will not crash owserver anymore...
#!/bin/bash
while [ 1 ]; do
/opt/owfs/bin/owget /uncached/10.01/temperature
sleep 0.1
done
Excellent. I've put my bus at risk by having all my sensors available
[Paul Alfille]
So I'd guess that people access an public owhttpd should be pretty
safe, as long as the 1-wire devices aren't controlling something
delicate.
Apart from the queueing issue, my main worry (if it turns out to be
a problem, I'll just remove access) has been that a lot of uncached
Steinar Midtskogen stei...@latinitas.org writes:
For example:
1. owwrite -s server:port 26./page.3 123456789
2. owserver dies
owserver should either ignore the extra characters (9 in this
example), or reject the request altogether.
A couple of related problems:
1. It doesn't
For example:
1. owwrite -s server:port 26./page.3 123456789
2. owserver dies
owserver should either ignore the extra characters (9 in this
example), or reject the request altogether.
I haven't checked if this also applies to writing memory on other DS chips.
--
Steinar ; NIL
I have two AAG anemometers, both DS2450 based. Eight reed switches
are organised in such a way that each of the four inputs to the AD
converter either is (roughly) 0V, 2.5V or 5V and the combination of
the four levels will identify one of 16 bearings of the vane (whose
magnet will connect the
Paul Alfille paul.alfi...@gmail.com writes:
So one DS2405 works well, and the other not?
You mean DS2450? Both work in oww, but only one works in owfs. So it
looks like the adc stuff in owfs has a problem.
-Steinar
Paul Alfille
On Fri, Jul 10, 2009 at 8:21 AM, Steinar
[Jan Kandziora]
Am Freitag, 10. Juli 2009 schrieb Steinar Midtskogen:
None of the anemometers have external power.
Simultaneous conversion is not possible when on parasitic power. That's a
limitation of the hardware. If OWW works, it just doesn't use simultaneous
conversion.
I'm not sure
Paul Alfille paul.alfi...@gmail.com writes:
Looking through the oww source code, it looks like they reset all the
parameters before every measurement. I wonder if the flaky sensors
have an intermittent connection and do unscheduled power-on-resets?
Is it easy to add the reset in owserver as
[Erik Freiholtz]
My DS2450S based light sensors is powered and fails measuring voltages
around 5V after a while. At the moment everything has been ok for a day
or two.
I don't know if it's related, but I also have two DS2760's (Hobby
Boards moisture meters) which owfs sometimes gets
I've recently added 6 powered DS18B20's to my bus. Normal reads of
28.*/temperature work fine. If I write 1 to simultaneous/temperature
just before the reads, reading will go faster, but the temperatures
will be the same every time. I've run this procedure for hours, so
I'm sure that the reason
[Matthias Urlichs]
Hi,
Steinar Midtskogen:
In some directory listings for the hubs, I notice that the hub
(1F.xxx) and others on hte main bus reappear. Is that an error?
Yes. That shouldn't happen.
Is it most likely anything more than a bit annoying, i.e. harmless?
I see this every
[Steinar Midtskogen]
[Matthias Urlichs]
Hi,
Steinar Midtskogen:
In some directory listings for the hubs, I notice that the hub
(1F.xxx) and others on hte main bus reappear. Is that an error?
Yes. That shouldn't happen.
Is it most likely anything more than a bit annoying, i.e
Christian Magnusson m...@mag.cx writes:
Trying to do something like this will not crash owserver anymore...
#!/bin/bash
while [ 1 ]; do
/opt/owfs/bin/owget /uncached/10.01/temperature
sleep 0.1
done
I grabbed the current cvs version today to try it. Using that code I
Paul Alfille paul.alfi...@gmail.com writes:
There were problems with the DS2409 microhub support. I think I've
fixed it. (At least it works well in extensive testing here).
New Release 2.7.24 includes the changes.
I've just tried the new release. I still lose devices pretty quickly
until I
Paul Alfille paul.alfi...@gmail.com writes:
Drat!
Can you describe your topology a little? Are these DS18S20's off a
DS2409 microhub? Which bus master? Which devices (seem like rather
high temperatures mixed in).
Here are the files accessed:
[Paul Alfille]
I think the duplication should be fixed.
I can give it a try if you commit to cvs (I just did an update, but
there didn't seem to be any changes)
Which bus master? The possibilities include poor electrical connection
(less likely if some versions work), a problem in the
[Steinar Midtskogen]
[Paul Alfille]
I think the duplication should be fixed.
I can give it a try if you commit to cvs (I just did an update, but
there didn't seem to be any changes)
Or perhaps there were changes, just that cvs doesn't report them at
update as svn which I'm more used
[Steinar Midtskogen]
I've now run the latest owserver for a couple of hours, and all
devices are still there. I still see the duplication, though.
I then tried to run my logger program without queueing. It creates
one thread per sensor, each going into a loop polling its sensor once
every
Paul Alfille paul.alfi...@gmail.com writes:
Thanks, again, for the update.
I have a few of those hubs, so your generous offer isn't needed.
Can you tell me which bus master you are using?
Mostly The Links, but the DS9490R USB thing in one of my setups. I
also have the regular serial adapter
Rob Conway rjcon...@bigpond.com writes:
A couple of weeks ago we had a bad storm. It looks like its taken out my
entire wire network. I have a 30 metre cable from my server to the devices
across the other side of the house. I had run the cable in the roof. It has
put me to a point of do I
) fully. http://owfs.org/
index.php?page=uvi
It works in 2.7p26, but not in the latest 2.7p35. Is this
intentional? I haven't tried the versions between to find out exactly
when it stopped working.
--
Steinar Midtskogen
http://voksenlia.net/met
[Paul Alfille]
I just tested under 2.7p36 and the UVI sensor works well. If that
isn't your experience, can you provide more details?
I compiled 2.7p35 and ran it on a bus with only the UVI sensor. It
wasn't listed at all, as if it wasn't on the bus. Then I downloaded
2.7p26 and tried that
[Alex Shepherd]
Hi Steinar,
My 1-wire networks are made up of about 125 sensors using 10
different 1-wire adapters on 6 different computers (mostly
Linksys NSLU2) on 3 different locations.
What distro are you using on the NSLU2 and how do you recompile/cross
compile the latest owfs code
[Paul Alfille]
Any information you can give me on problems you find in owserver would
be appreciated.
1. When you say it crashes, does it just close? Become unresponsive? Segfault?
2. What bus master and devices a re involved.
3. How is owserver being accessed? owhttpd? owfs? shell?
It ran
[Steinar Midtskogen]
1. The crash in this case seems to be an assert (see log).
I got another crash after about 7 hours, same assert.
--
Steinar
--
___
Owfs-developers
[Paul Alfille]
Here is the most cogent explanation:
http://sources.redhat.com/ml/libc-help/2008-05/msg00071.html
They suggest its a problem with mutex attribute initialization.
In the CVS version I've tightened up all the mutex initialization.
Perhaps this will solve the intermittent error
[Paul Alfille]
On Wed, Apr 28, 2010 at 1:08 AM, Steinar Midtskogen
stei...@latinitas.org wrote:
[Paul Alfille]
I forgot to mention that while owserver is 2.7p36, the C program that
accesses owserver, was built using 2.7p22 owcapi. Does that matter?
I don't know. I presume you
[Rob Conway]
Has anybody got a simple battery backup on their network to keep the sensors
alive ?
Not really simple, but I can describe it anyway. It may be a bit off
topic. My requirements are probably a bit different. I also need to
keep the datalogger alive, and heaters (to melt snow and
Paul Alfille paul.alfi...@gmail.com writes:
On Tue, Apr 27, 2010 at 5:46 AM, Steinar Midtskogen
stei...@latinitas.org wrote:
DEBUG: handler.c:Handler(141) OWSERVER handler done
DEBUG: ow_net_server.c:ProcessAcceptSocket(225) Normal exit.
owserver: tpp.c:66: __pthread_tpp_change_priority
Steinar Midtskogen stei...@latinitas.org writes:
Paul Alfille paul.alfi...@gmail.com writes:
In the CVS version I've tightened up all the mutex initialization.
Perhaps this will solve the intermittent error you are seeing.
I installed 2.7p37 and it's run fine for a week now. Previously
[Mick Sulley]
Does anyone know of a 1-wire pressure sensor to measure water pressure,
something like 0 to 3 bar would be ideal.
You might have to find a sensor which outputs something that can read by
easily available 1-wire devices. Here's what I did:
). This one isn't
available anymore, so I suppose my options are either the new AAG
anemometer (the Christmas tree version) or the Hobby Boards
alternative. Are any of these or both supported (wind speed and
direction) in owfs?
--
Steinar Midtskogen
http://voksenlia.net/met
Marc MERLIN marc_n...@merlins.org writes:
On Sun, Jul 18, 2010 at 10:22:08PM +0200, Steinar Midtskogen wrote:
Last week a thunderstorm passed over my family's cabin where I've set
up a 1-wire weather station. Unfortuneately, most electronics inside
the cabin died, including every single 1
Alberto albe...@albsan.it writes:
Pardon My English!
I wanted to point this new product.
http://www.sparkfun.com/products/10167
http://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf
It seems interesting and economically.
Could be included in OWFS
It doesn't seem to be 1-wire as
few have tried.
Will owserver be able to access sensors on different adapters
simultaniously, and so be able to handle requests faster than the hub
solution? I suppose I could also run 16 (or whatever) instances of
owserver to achieve that speed, but that's not as neat.
--
Steinar Midtskogen
http
Marc MERLIN marc_n...@merlins.org writes:
On Tue, Aug 02, 2011 at 03:23:54PM +0200, Steinar Midtskogen wrote:
Hello
A lightning strike recently fried a couple of my 6 port 1-wire hubs,
so I need to do some shopping. Since owfs (still?) has some issues
with these hubs, I'm considering
[Marc MERLIN]
If they don't exist as wireless, you're indeed out of luck. You obviously
know what you're doing, while in the past I saw people with the same problem
using 1-wire devices that totally exist as wireless options and where
actually cheaper in a WMR-200 than as independent 1-wire
[Jim Pruitt]
I think this is probably one of them:
http://voksenlia.net/met/snow.php
Steinar are you still using it? Have you run into any more issues? I
regularly search the net for DIY snow depth gauges but seldom see more than 2
or 3. Yours pops up the most and looks the most
[Jim Pruitt]
I think this is probably one of them:
http://voksenlia.net/met/snow.php
Steinar are you still using it? Have you run into any more issues?
Here's a picture of the new issue:
http://voksenlia.net/nytt/2011/snodybdemaler-20110729-med.jpg
That's an explosion. Note the bent
Paul Alfille paul.alfi...@gmail.com writes:
I just tried 7 DS9490R adapters (all I had at hand). Worked well.
...
I believe that the only limit of adapters is libusb and the USB protocol.
owserver puts all the adapters in linked list of effectively unlimited size.
I've now tried a setup
Unfortunetaly, owserver only ran a few hours this way and died. I'll
try to get some debug info.
-Steinar
Steinar Midtskogen stei...@latinitas.org writes:
Paul Alfille paul.alfi...@gmail.com writes:
I just tried 7 DS9490R adapters (all I had at hand). Worked well.
...
I believe
Paul Alfille paul.alfi...@gmail.com writes:
Just a thought -- are your hubs powered? I wonder if bus power is being
overextended. Is there any information in dmesg?
Not powered, as I don't expect DS9490R to draw much power, but you
have a point and I can try to power them if I cascade again.
--foreground --error_level=9 --error_print 2
I have 16 DS9490R adapters connected. owserver 2.8p13.
-Steinar
Steinar Midtskogen stei...@latinitas.org writes:
Unfortunetaly, owserver only ran a few hours this way and died. I'll
try to get some debug info.
-Steinar
Steinar Midtskogen
I split the problematic bus into three (using three adapters for them
rather than one), and this solved the problem. At least no problems
for over two weeks now.
-Steinar
Steinar Midtskogen stei...@latinitas.org writes:
owserver ran fine for a day or so, then I began to see random device
Paul Alfille paul.alfi...@gmail.com writes:
Most of Michael's corrections are now in the CVS version. As soon as fully
tested, we'll make a new release.
Perhaps this is related to the problems that I reported a few years
ago, when I had a number of hubs, long wires and many sensors, which
over
problem on one leg wont bring down
any of the other legs.
I've also had some stability issues (disappearing devices until
restart) with owfs and hubs, which get eliminated by the multi-adapter
approach.
--
Steinar Midtskogen
http://voksenlia.net/met
o...@sevenfifty.de writes:
Hi all,
I just got myself a ultrasound distance meter that hooks up nicely to my
1wire bus
(http://www.digitale-elektronik.de/shopsystem/product_info.php?products_id=571).
This is an interesting device. Perhaps difficult to answer if you're
unable to get the
[Thomas Parvais]
Could OWW operate on the same 1-wire bus than OWFS ? I use Hobby board hub
6-channels / serial interface.
I think what you need for a proper solution is an owfs frontend for
Oww. You could perhaps ask about it in the 1-wire list at
Hello,
It's probably not an owfs problem, but perhaps people here have some
experience with the new humidity sensor from Hobby Boards. It seems to
work fine with the latest owserver, but the readings seem a bit low.
It's heavy fog and rain outside (i.e. 100%), but I only get 80-85%. The
Mick Sulley m...@sulley.info writes:
I would like to monitor my electricity usage via the LED on the meter.
I found this project
http://www.jon00.me.uk/electmon.shtml
which is exactly what I want to do, but it uses an AAG counter board
model TAI8585 and it would appear that AAG no longer
I struggled a few years with the most terrible connectors that you can
use outdoors, rj12 or rj45, then switched to XLR connectors, which are
cheap and sturdy. You can get IP67 rated XLR connectors as well, but
even the cheapest XLR connectors seem to work well with basic humidity
protection.
I
Guy COLIN writes:
> Why almost? Because sometimes I loose devices. I have been fighting with this
> for a very long time. First it was happening on the swimming pool system last
> year, I was accusing the hardware so I replaced the 2482 i2c bus master with
> a serial one,
For what it's worth, I've had 2.8p13 running on a PC for 437 days
straight.
I also have a Linksys NSLU2 which been up for 1354 days (but doesn't run
owserver). It's running my seismometer and the software I wrote from
scratch myself has been running since 2015. :)
steinar 32583 33.6 1.2
Matthias Urlichs via Owfs-developers
> This might be a stupid question, but I do wonder why that board would
> need a DS2409 in the first place.
>
> Do you have a circuit diagram?
>
> I'd simply skip that chip. Just connect pads 2, 3 and 4.
I don't have the circuit diagram, but I think you have
Hi all,
Many years ago I built a snow depth sensor based on the LP-THS
temperature/humidity board, but it has now had a failure. I do have
some spare parts, including the DS2409 which apparently had failed on
the board, but I've had to give up repairing. First, a pad came off
when I desoldered
one of these sensors to lightning before, but then the whole
box had gone up in flames so there was no doubt what the cause was.
-Steinar
Steinar Midtskogen writes:
> Matthias Urlichs via Owfs-developers
>
>> This might be a stupid question, but I do wonder why that board would
>
70 matches
Mail list logo