1wire – missing unique IDs (28-xxxxxxxxxxxx)
-
I’ve testet the sketch “DallasTemperatureSensor.ino”. Only info I can see is temperature of each DS18B20. But I can’t see from which DS18B20 this temperature is. One importend thing of 1wire are the unique IDs. Only with these IDs I know from which senser the temperature is.
Is it possible to include these IDs?
-
You can send them using V_ID.
-
@hek
thanks for your quick answer.
I understand: sending with V_ID. But how to get the ID? I've no idea.
Do you have an example for me because I'm very new to mysensors.
-
It's really up to the controller to pick up the id-value and show it for the temp-sensor. Not sure if all of them do that...
-
Take a look in File->Sketchbook->libraries->DallasTemperature->Multiple in the Arduino IDE. There is some code to fetch the addresses.
-
@mfalkvidd
thats very interesting. I thought I can use only examples from MySensors-lib.
Am I right: I use a body of a MySensors example and transform the DallasTemperature->Multiple in this body?
-
Yes, that's correct.
-
thank you all.
I'll try to create a working sketch.