Stepan Mazurov

Stepan Mazurov

I am a software engineer that loves solving complicated problems. Once in a while I solve a problem I want to document, so I’ll do that here.

Recent Posts

ESPHome YK-H/531E Climate Component: IR Control for AC Units

I recently modernized an existing custom ESPHome component first develped by @iverasp for controlling AC units that use the YK-H/531E IR remote control protocol. This component allows you to integrate compatible air conditioners into your home automation system using infrared signals. I have been able to fully test it on ESP32 dev board as well as ESP8266-based Athom Tasmoda IR Controller using latest ESPHome v2025.7.0. Features In addition to what was already working I added a few features to my custom YKH531E component it includes the following capabilities: ...

July 11, 2025 · 3 min · 495 words

Server to Server Authentication with Google Provider in oauth2-proxy

At Quantum Metric, we use very popular, and fantastic oauth2-proxy. Since QM is a Google shop, using Google OAuth2 Clients for authentication of our internal services makes a whole lot of sense. One challenge with that, though, is server to server communication. There isn’t a simple way to authenticate APIs when using Google provider in oauth2-proxy. Overview In order to do server to server auth through oauth2-proxy when using Google Provider, you have to do the following: ...

January 12, 2022 · 3 min · 498 words