[collectd] onewire plugin does not allow family code 28
downloadmail0815
downloadmail0815 at online.de
Sun Jul 20 17:09:51 CEST 2014
Hello List,
i try to work a bit with the one wire sensor DS18B20+
The Problem with the DS18B20 is: he has a family code of 28..not 10. So
the onewire plugin seems to ignore the sensor.
The man page says "Currently only temperature sensors (sensors with the
family code 10, e. g. DS1820, DS18S20, DS1920) can be read. If you have
other sensors you would like to have included, please send a sort
request to the mailing list.".
And here it is....
Setup:
Hardware: DS9490R + 1xDS18B20+
Software: gentoo 64bit with 3.15.5 kernel + "owserver -u" + collectd
5.4.1 from official portage tree.
Start owserver simple with "owserver -u"
Testing if he is working:
owget returnes:
/28.100xxxxx0000
/81.Axxxxx0000000
/bus.0
/settings
/system
/statistics
/structure
/simultaneous
/alarm
owget /28.100xxxxx0000
/28.100xxxxx0000/address
/28.100xxxxx0000/alias
/28.100xxxxx0000/crc8
/28.100xxxxx0000/die
/28.100xxxxx0000/family
/28.100xxxxx0000/fasttemp
/28.100xxxxx0000/id
/28.100xxxxx0000/locator
/28.100xxxxx0000/power
/28.100xxxxx0000/present
/28.100xxxxx0000/r_address
/28.100xxxxx0000/r_id
/28.100xxxxx0000/r_locator
/28.100xxxxx0000/temperature
/28.100xxxxx0000/temperature10
/28.100xxxxx0000/temperature11
/28.100xxxxx0000/temperature12
/28.100xxxxx0000/temperature9
/28.100xxxxx0000/temphigh
/28.100xxxxx0000/templow
/28.100xxxxx0000/trim
/28.100xxxxx0000/trimblanket
/28.100xxxxx0000/trimvalid
/28.100xxxxx0000/type
owget /28.100xxxxx0000/temperature12
25.9375
So....1wire natively works, but not with collectd onewire plugin.
some testings with the onewire plugin offers
Device "-s localhost 4304" <-- works "better" than "localhost:4304".
# Sensor "100285050000/"
# Sensor "28.100285050000/temperature"
# Sensor "28.100285050000 fasttemp"
Sensor "28.100285050000"
result:
onewire plugin: OW_get (/) failed. status = 0xffffffff;
different testings, with or without the hardware ID, with or without the
familiy code, with or without the special attribute "temperature" or
"temperature12" won´t work. always the same error.
Can someone help me ?
thorsten
More information about the collectd
mailing list