Alfille, Paul H.,M.D. wrote:

Hi Paul,

> Believe it or not, the problem is in your command line:
> /opt/owfs/bin/owserver -C -d "DS9097U" /dev/ttyS0 -p 3333 
 >
> OWFS interprests this as two devices: "DS9097U" and /dev/ttyS0
> Clearly only the second one is a real adapters, the first is NOT a serial 
> device
> (its a text string) and so is a BadAdapter. 

Oh. Now THAT was simple. :-) Thanks!

> Intermittent los of devices is not unusual. The 1-wire bus can be a little
> flaky, especially with a "hub" that sounds like a line spltter.

I don't know what it is exactly, but as it cost only about $10, you are
most likely right.


 From what I've read so far, the search for devices on the bus
tends to cause the most errors in flaky conditions, and the reading of 
sensors is not that critical.

owserver probably regularly scans the bus, and if it "misses" a device, 
that device is "gone" and inaccessible until the next sucessful scan is 
performed. Am I correct with that?

Is there a way of just giving owserver a list of devices (the IDs etc.) 
that it always expects on the bus in addition to what is scans? If not, 
I think that would be a nice new feature to have, e.g. via command line 
options or a file that can be dumped/read.

What do you think of that? It would probably solve all my
intermittent loss problems. The one other 1wire home automation
system I know (a commercial product sold im Germany) offers this
solution with a sensor database it keeps, so they thought it's not a bad 
idea, at least...

Philipp


-------------------------------------------------------------------------
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