After upgrading to the new onewire binding I'm getting these error messages in the log:
2015-06-22 10:34:04 ERROR o.o.b.o.i.c.OneWireConnection[:222]- reading from path 26.0FA840010000/temperature attempt 1 throws exception
org.owfs.jowfsclient.OwfsException: Error -1
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.readPacket(OwfsConnectionImpl.java:264)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.exists(OwfsConnectionImpl.java:159)
at org.openhab.binding.onewire.internal.connection.OneWireConnection.checkIfDeviceExists(OneWireConnection.java:187)
at org.openhab.binding.onewire.internal.connection.OneWireConnection.readFromOneWire(OneWireConnection.java:203)
at org.openhab.binding.onewire.internal.OneWireBinding.updateItemFromOneWire(OneWireBinding.java:259)
at org.openhab.binding.onewire.internal.OneWireBinding.devicePropertyWantsUpdate(OneWireBinding.java:216)
2015-06-22 10:34:04 INFO o.o.b.o.i.c.OneWireConnection[:119]- Trying to reconnect to owserver...
2015-06-22 10:34:04 INFO o.o.b.o.i.c.OneWireConnection[:99]- Connected to owserver [IP 'localhost' Port '4304']
2015-06-22 11:54:04 ERROR o.o.b.o.i.c.OneWireConnection[:222]- reading from path 26.0FA840010000/temperature attempt 1 throws exception
org.owfs.jowfsclient.OwfsException: Error -1
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.readPacket(OwfsConnectionImpl.java:264)
at org.owfs.jowfsclient.internal.OwfsConnectionImpl.read(OwfsConnectionImpl.java:133)
at org.openhab.binding.onewire.internal.connection.OneWireConnection.readFromOneWire(OneWireConnection.java:204)
at org.openhab.binding.onewire.internal.OneWireBinding.updateItemFromOneWire(OneWireBinding.java:259)
at org.openhab.binding.onewire.internal.OneWireBinding.devicePropertyWantsUpdate(OneWireBinding.java:216)
at org.openhab.binding.onewire.internal.scheduler.OneWireUpdateTask.run(OneWireUpdateTask.java:59)
2015-06-22 11:54:04 INFO o.o.b.o.i.c.OneWireConnection[:119]- Trying to reconnect to owserver...
2015-06-22 11:54:04 INFO o.o.b.o.i.c.OneWireConnection[:99]- Connected to owserver [IP 'localhost' Port '4304']
Despite error messages I'm getting valid numbers, until the disconnects happen, at which point I'm getting default values (which give me false alarm emails, hence this post).
It used to work fine with the old binding, and I haven't changed anything on the one-wire server, just upgraded the binding and the config.
Here is the relevant entry in the .config file:
Number HumidityEastAttic "East attic humidity [%.1f%%]" (gHumidity,gEastAttic) {onewire="deviceId=26.4A9C40010000;propertyName=humidity;tukeyfilter"}
############################## OneWire Binding ########################################
#
# OwServer IP address
onewire:ip=localhost
onewire:tempscale=FAHRENHEIT
Ah yes, and I fixed the tempscale bug to make FAHRENHEIT work, but that should not have anything to do with the disconnects.
Anybody else having the same issue?