JsBergbau / MiTemperature2

Read the values of the Xiaomi Mi Bluetooth Temperature sensor 2 including custom encrypted format.
705 stars 162 forks source link

Attaching a DS18B20 probe Data wire location #92

Closed Sukalo0290 closed 3 years ago

Sukalo0290 commented 3 years ago

I plan on adding one of these water proof probes to replace the sensor but i'm wondering where the data wire would be attached.

image

I plan on editing this file https://github.com/atc1441/ATC_MiThermometer/blob/master/ATC_Thermometer/sensor.c

Where would i attach the data wire? I have seen the diagram but where would the data cable go?

Red connects to 3-5V - already know Blue/Black connects to ground - already know Yellow/White is data - not sure

image

JsBergbau commented 3 years ago

Hi Sukalo0290, thanks for your interest. However I'm just developing a script to read transmitted data. So I can't help you to connect the DS18B20 to LYWSD03MMC Temperature sensor. I don't even know whether firmware can read the data or not. I see you have already asked it there https://github.com/pvvx/ATC_MiThermometer/issues/105 So I'm closing here.

Sukalo0290 commented 3 years ago

No problem, i didn't know if these questions would reach others who might be able to help. But thanks for all your work already, script all working great.