pvvx / ATC_MiThermometer

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

expand compatibility #360

Open rodgers-95 opened 1 year ago

rodgers-95 commented 1 year ago

Hello,

Do you plan to do the same with other xiaomi devices? For example: mi door and window sensor 2, mi motion sensor, mi switch... ?

Thanks in advance ;)

pvvx commented 1 year ago

The work of “CGPR1 Qingping Motion & Light” with the official firmware completely suits me. Supported in CGPR1_Utils.html. I don't use "Mijia Mi Flood Detector SJWS01LM". I have my own DIY version of capacitive humidity measurement (soil, leakage). The remaining functions - reed switches-counters work in Xiaomi LYWSD03MMC with minimal modifications (soldering reed switch). The buttons can be programmed on any version of the thermometers in the current versions of fw.

Street spotlights, in addition to the scenario in the "Smart House", are additionally turned on and off by a button on the MJWSD05MMC or CGDK2 in the hallway...

When connecting a device of the type AdScanerTrg the response time to the door opening (a reed switch in LYWSD03MMC or a button on another thermometer) is 2.9..3.5 ms:

image

GPIO_P1 is an already received signal to a lamp or other actuator.

This is unattainable when using programs such as "Home Assistant".

In some cases, it is more convenient to use such a button - iSearching image There are options here for how to program such a button - https://github.com/biemster/st17h66_Find Mine. I haven't published my version of the program yet - I don't speak English, and user support takes a lot of time.

rodgers-95 commented 1 year ago

Hello and sorry for the late reply

Thanks for all these details ^^

I'd like to know if it's possible to do something with this sensor: https://www.mi.com/global/product/mi-door-and-window-sensor-2

An integration with your firmware (and especially BTHome as you have done, which is easily integrated with Home Assistant) would be wonderful :)

Thanks in advance, and thanks for the work you've already done ;)