I recently installed ESPHome on my Xiaomi Smart Kettle 2 Pro, and I wanted to share my experience while seeking some advice.
Using this guide, the installation went smoothly and was relatively straightforward. At the moment, the ESP32 successfully connects to my Wi-Fi network when I plug the kettle into the socket. However, that’s where things currently stand.
So far, I’ve only used the basic ESPHome configuration from the guide, but I haven’t added the necessary sensors yet. I could use some help configuring those, as I’m unable to remove the circuit board due to the rotary head holding it in place.
Here’s what needs to be integrated into the configuration:
• Piezo buzzer
• Temperature sensor
• Rotary knob (with lighting and a two-digit display)
• Two sensor buttons
• Heating logic
If anyone has experience with this or could point me in the right direction, I’d greatly appreciate it!
I doubt it’s glued, so find a way to disconnect it, otherwise you are half blind.
Locate all connected hardware and identify sensors.
Observe chips onboard U1…U4 and try to identify them.
Find the ssr (or whatever switch is used) that connects mains to heating element.
Try to trace components that are connected to Esp gpios with multimeter in continuity mode…
I don’t fully understand that yet. Over the next few days/weeks, I will try to control some components with ESPHome (of course only with 3.3V and 5V). If anyone has tips on components and control, feel free to share.
There are 5 transistors to switch things, so far I’ve only really controlled one (Buzzer) with ESPHome. Another one is for the big relay, the others are not quite clear to me yet.
The touch buttons are now working.
I was also able to get the display to light up, but it is not an oled display but a 7-segment display (something like a TM1637).
So far the display just lights up, I can’t control the segments yet.
I still have problems with the following things:
The thermostat (GPIO12), I have tried the following but I get an error message when compiling.
If you only set plain adc_sensor with attenuation auto, what readings you get ?
Anyway the whole setup is very strange, GPIO12 is strapping pin, also it’s ADC2 pin and that has conflict with wifi. Wouldn’t be my first choice to use it for analog readings. Also, based your tracing it’s connected through Q5… You need to trace all the circuit left from Q5.
Based on your tracing relay is triggered by Gpio22 through Q2. That is clear circuit.
But what is that big boy with heat sink doing? It’s connected to Gpio23 through Q3 and I doubt that the two outer legs are connected to the resistor like you traced. And where is the middle leg going?? I see physical separation on PCB, could be triac, but what is it controlling if heating element is switched by relay?
I’ll have a look next week, this picture is the current status
The large relay switches 230v on and off, the triac somehow controls the current for the heating element (keep warm function), therefore controllable.
Or it is responsible for the conversion from 230v to 5v, but then why is it controllable?