Unstable 1wire /OWFS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unstable 1wire /OWFS

sherif
This post has NOT been accepted by the mailing list yet.
Hi !

I have fight with 1wire since last 3 weeks without success :(

Previously My 1wire network based on 14 x DS18b20 (on 4 branches 5-15m longs) works perfectly on Pi2 with I2c /1wire adapter (DS2482) + OWFS 2.8. I have used Openhab's binding which communicate with sensors via owserver. No errors for more then 6 months.
Month ago I have added DS2408 and problems appeared :(. I have described here:
http://owfs-developers.1086194.n5.nabble.com/Problem-with-DS2408-td12205.html

Firstly I got random error of particular ports on DS2408:
PIO.0 Error: No such file or directory

I have upgrade owfs to 3.1, double check cables, etc .. nothing.

Then I recognized that if I disco one of the branch the rest is ok, so I bought second I2C / 1wire. I have installed it and sensors + DS2408 are visible under owhttp, connected to both adapters (i.e 50:50), but since this moment I started received following errors on Openhab:

2016-06-01 19:43:13.953 [INFO ] [o.o.b.o.i.c.OneWireConnection ] - Trying to reconnect to owserver... 2016-06-01 19:43:14.326 [INFO ] [o.o.b.o.i.c.OneWireConnection ] - Connected to owserver [IP '192.168.1.106' Port '4304'] 2016-06-01 19:45:53.968 [ERROR] [o.o.b.o.i.c.OneWireConnection ] - reading from path 29.BB791A000000/PIO.1 attempt 1 throws exception org.owfs.jowfsclient.OwfsException: Error -1 at org.owfs.jowfsclient.internal.OwfsConnectionImpl.readPacket(OwfsConnectionImpl.java:264) ~[org.owfs.jowfsclient-1.2.6.jar:na] at org.owfs.jowfsclient.internal.OwfsConnectionImpl.exists(OwfsConnectionImpl.java:159) ~[org.owfs.jowfsclient-1.2.6.jar:na] at org.openhab.binding.onewire.internal.connection.OneWireConnection.checkIfDeviceExists(OneWireConnection.java:189) ~[bundlefile:na] at org.openhab.binding.onewire.internal.connection.OneWireConnection.readFromOneWire(OneWireConnection.java:205) ~[bundlefile:na] at org.openhab.binding.onewire.internal.OneWireBinding.updateItemFromOneWire(OneWireBinding.java:306) [bundlefile:na] at org.openhab.binding.onewire.internal.OneWireBinding.devicePropertyWantsUpdate(OneWireBinding.java:259) [bundlefile:na] at org.openhab.binding.onewire.internal.scheduler.OneWireUpdateTask.run(OneWireUpdateTask.java:59) [bundlefile:na] 2016-06-01 19:45:53.970 [INFO ] [o.o.b.o.i.c.OneWireConnection ] - Trying to reconnect to owserver... 2016-06-01 19:45:54.836 [INFO ] [o.o.b.o.i.c.OneWireConnection ] - Connected to owserver [IP '192.168.1.106' Port '4304'] 2016-06-01 19:48:33.956 [ERROR] [o.o.b.o.i.c.OneWireConnection ] - reading from path 29.BB791A000000/PIO.1 attempt 1 throws exception org.owfs.jowfsclient.OwfsException: Error -1 

and so on ...
this errors are not only for DS2408 (29. xxx), but sometimes for DS18. Even when I disconnect almost all sensors, DS2408, all brunches errors appear on every or every few refresh time

I have got debug from owserver:
raport.txt
but it tells me nothing.

Any ideas why it gives errors, maybe some suggestion what to check ?