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.
Suggested Topics
-
Controlling Blinds.com RF Dooya Motors with Arduino and Vera
My Project • 24 Mar 2014, 13:27 • petewill 12 Aug 2023, 16:39 -
wireless gateway
Feature Requests • 8 Jun 2023, 14:05 • Thomaswortman 8 Jun 2023, 14:05 -
debug serial gateway (homeassistant raspberry py 4)
Feature Requests • 2 May 2023, 09:01 • Branther 8 Jun 2023, 12:38 -
ESP32 Wired (no WiFi)
Feature Requests • 15 Nov 2024, 10:39 • Marcin 9 Mar 2025, 07:54 -
"ZHNetwork" a esp-now based mesh network for ESP8266/ESP32 hardware
Feature Requests • 17 Mar 2023, 07:25 • graffiti 17 Mar 2023, 07:25 -
PJON on RS485
Feature Requests • 11 Apr 2022, 06:58 • hypnosiss 9 Mar 2025, 07:57