D18B20 - what should i write into the "slave" field


#1

Hello,
what should i write into the “slave” field when i want to use a D18B20 Temperature Sensor.
Once it was detected automatically but later it doesn`t work well.
Kind regards
Cay


#2

Hi Cay,

Welcome to the Cayenne community!

The short answer to your question is the DS18B20 address goes in the slave field.

or

Each 1-Wire slave device has a unique, unalterable, factory-programmed, 64-bit ID (identification number), which serves as device address on the 1-Wire bus.

The slave address for a DS18B20 looks like this 28-000006908c5f .

If Cayenne can’t ‘see’ the device you can use the below link to instructions to check to see if the RPi and 18B20 are working together.

Good luck,

Ian


#3

Hi Ian,
thank you for your reply.
That was really helpfull.
kind regards
Cay


#4

Very good to hear!

Thank you for your patience.

-Ian


#5

@cay.kruse

Cay,

I’ve moved this to the ‘helped’ topic. Please let me know if this is not correct.

Ian