pvvx / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometers and Telink Flasher
https://github.com/pvvx/pvvx.github.io/tree/master/ATC_MiThermometer
Other
3k stars 209 forks source link

MY18B20 sensor #562

Open user784213 opened 4 weeks ago

user784213 commented 4 weeks ago

Hello. In the source code of the firmware I found a mention of the MY18B20 sensor. I think this is a great idea! It would be very convenient to connect this sensor to the TS0201 TZ3000 sensor, since it is powered by two AAA elements.

Is it possible to get firmware for TS0201 TZ3000 with MY18B20 support?

pvvx commented 4 weeks ago

The interface in TelinkMiFlasher.html is not yet ready to work with different types of sensors.

Thermometers can service a maximum of 2 MY18B20 sensors. But to reduce consumption, each MY18B20 is connected to different outputs - the poll is carried out in parallel.

Today there is only a firmware build for the TB-03F module TB03F_v48.bin

image

And a water tank sensor with a pressure sensor (HX710) and contact floats: TNK01_v48.bin image image image

pvvx commented 2 weeks ago

Added beta version:

  1. One MY18B20 on PD2 TS0201S1, ZTH01S1
  2. Two MY18B20 on PD2 and PD4 TS0201S2, ZTH01S2

Temperature from MY18B20 is transmitted in BTHome format.