Hi
I’m configuring my onewire devices, and have a problem with the sensor.
Got a esera OW ethernet controller. Which has a binding with OH as you can see below
I think it has something to do with the sensor ID. In other topics i’ve seen that everyone has an ID with 12 symbols. The id of the sensor im using has 14 symbols. But i can’t change it in the controller software to 12.
As you can see below, the sensor is working fine. 14,93 degrees.
If discovery does not find the sensor, it is not reported correctly from the server. You could check if the log reports something. Probably increasing the loglevel to DEBUG for org.openhab.binding.onewire could give some more insight.
2021-01-06 09:07:30.904 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler OwserverBridgeHandler tried updating the thing status although the handler was already disposed.
Will increase the loglevel to DEBUG tomorrow to see if there is more info
interesting i see you use a esera config tool. i use the esera buskoppler usb pro but i didn´t know about the existence of such a tool.
did you use it on oh2.5 already or newly on oh3? i onyl use the ow-server with a couple of ds18b20 sensors on a rpi4b and running oh2.5 with a textual config.
the only difference i can see is that i use the local network address 127.0.0.1 because esera is connected direct to the raspi.
this are my things and items, perhaps it may give you a hint:
// **********************************************************************************************************************************
// 1wire Temperatursensoren, angeschlossen über ESERA Buskoppler
// **********************************************************************************************************************************
Bridge onewire:owserver:mybridge [
network-address="127.0.0.1"
]{
Thing basic OwTemp_KWL_Aussen "OwTemp_KWL_Aussen" @ "Temperatur" [
id="28.07E285080000",
refresh=60,
resolution="10"
]{
Channels:
Type temperature:temperature
}
... more sensors and ist channels ...
}
and
Group iG_OneWire "Alle 1Wire-Temperatursensoren" <temperature> // verwendet für influx-persistence
Number:Temperature iOwTemp_KWL_Aussen "Außen [%.1f %unit%]" <temperature> (iG_OneWire) { channel="onewire:basic:mybridge:OwTemp_KWL_Aussen:temperature" }
... more items ...
additional infos that i realized and noted sometimes:
the 1wire web-directory does not work, doesn´t matter, not needed
the path /sys/bus/w1 does not exist
the path /mnt/1wire is empty, not needed
and one last thing: i had to edit the /etc/owfs.conf:
! server: server = localhost:4304
#server: FAKE = DS18S20,DS2405
#
# ESERA 1-Wire-Buskoppler
server: device = /dev/ttyUSB0
(alles dazwischen kann mit "#" ausgeklammert werden!!)
http: port = 2121
ftp: port = 2120
.. dieses mal aktiv gelassen
server: port = localhost:4304
Have been reading a lot, and i think i must add an OWFS channel in the bridge binding?
Have searched for something like OWFS in the esera CONFIG tool 3/controller, but didn’t find anything.
Maybe if i install OWFS on the openhab server(Ubuntu20.4) it would work?