Hi there.
I’am trying to get 1-wire and owserver to work.
But i keep getting this error in the openhab.log
2016-08-14 00:43:14.068 [ERROR] [o.o.b.o.i.c.OneWireConnection ] - Couldn't connect to owserver [IP '127.0.0.1' Port '4303']:
2016-08-14 00:43:14.068 [WARN ] [o.o.b.o.i.c.OneWireConnection ] - Inital connection to owserver failed!
I only have owserver installed.
My owfs.conf:
!server: server = localhost:4303
server: device = /dev/ttyUSB0
server: port = 4303
My openhab.cfg:
############################## OneWire Binding ########################################
#
# OwServer IP address
onewire:ip=127.0.0.1
# OwServer Port (optional, defaults to 4304)
onewire:port=4303
# refresh interval in milliseconds (optional, defaults to 60000)
onewire:refresh=30
ignore85CPowerOnResetValues
# the retry count in case no valid value was returned
# upon read (optional, defaults to 3)
#onewire:retry=
# defines which temperature scale owserver should return temperatures in. Valid
# values are CELSIUS, FAHRENHEIT, KELVIN, RANKIN (optional, defaults to CELSIUS).
onewire:tempscale=CELSIUS
I tried different ports, and different variations of localhost and 127.0.0.1
Nevertheless openhab can’t connect to owserver.
I have onewire-1.8.3 binding installed and use a LinkUSBi to connect to 1-wire devices.
Openhab and owserver is running on the same linux mint machine… not a Raspberry Pi.
Thanks for your time.