misho
1
Regards,
I have problem with 1-wire sensors (e.g. DS18B20), they send the same fields.
Plugin sensors
2019-12-14T09:58:07Z I! Starting Telegraf 1.13.0
sensors,chip=rpi_volt-isa-0000,feature=in0,host=raspberry-pi in_lcrit_alarm=0 1576317489000000000
sensors,chip=w1_slave_temp-virtual-0,feature=temp1,host=raspberry-pi temp_input=6.562 1576317489000000000
sensors,chip=w1_slave_temp-virtual-0,feature=temp1,host=raspberry-pi temp_input=13.125 1576317489000000000
Plugin temp
2019-12-14T09:58:46Z I! Starting Telegraf 1.13.0
temp,host=raspberry-pi,sensor=w1_slave_temp_input temp=6.562 1576317529000000000
temp,host=raspberry-pi,sensor=w1_slave_temp_input temp=13.125 1576317529000000000
root@raspberrypi:/etc/telegraf# sensors
rpi_volt-isa-0000
Adapter: ISA adapter
in0: N/A
w1_slave_temp-virtual-0
Adapter: Virtual device
temp1: +6.6°C
w1_slave_temp-virtual-0
Adapter: Virtual device
temp1: +13.1°C
How to separate sensors because i have in canvas to add 5 more sensors
Thank you
rawkode
2
It looks like they’re identifiable by the chip
tag. You can filter on this in your queries and dashboards
1 Like
misho
3
The chip tag is the same for all the sensors
w1_slave_temp-virtual-0
rawkode
4
I’ve not seen devices with the same chip before, but it seems like it might be a bug in lm-sensors
1 Like
rawkode
5
I see you’ve actually responded to that issue. Unfortunately we’re bound by what that library returns.
Hopefully they get it fixed
1 Like
misho
6
Thank you for response, but I think lm-sensors not fast fix it.
This bug reported.