This code is meant to be used with Esp8266 boards.
This acts as a translation layer between the sony remote I found in my drawer, and handic TV that I bought at local flea market for equivalence of 4 euros. Codes were taken from Lean Remote App for Android.
Also controllable via Blynk.
Two files are available, with blynk support and without it. Choose your flavor :-) More info in the code files.