basically my entire adult life has been building up to this house and making it smart, its probably a mental complex. my father built our house with his bare hands, I cannot do that because my career needs me to be in a big city where a perpetual construction project like that wont fly.. so instead make this house uniquely mine through other engineering projects, hopefully equally as impressive

.. I remember watching TV in parents basement, ~12yrs old and being annoyed that I had to turn the volume up every time the heater kicked on and then back down again after it shutoff or I'd get yelled at for having TV too loud.. So I built a device that did it for me and then nearly got my ass beat when dad found it tapped into his heater's wiring.
The TV is like 10 years old now; was a huge purchase back then for a tv like this and when I bought it the serial port was a requirement because someday I would need it.. it took about 6-7 years but finally I started using it.. I didnt even own, was still renting a tiny apartment back then.. got to plan ahead! I knew from early automation experiences that one-way control (like IR Remote) is not enough, you need two way interaction.. otherwords things get out of sync with what the program thinks is happening.. like thinking its turning a TV on when its really turning it off.
Before purchasing either the TV or my AVR I located and downloaded the documentation that outlines command codes and reviewed it to ensure the capabilities I was looking for were available.. trying to get this after the fact is almost certainly going to result in a failure unless your really lucky.. System integrators have been using the serial control forever and there available from most brands but it is the higher end models that seem to even have them, and then only on select models.. the docs are public and usually available right from the manufacturer's website.
My AVR is in the racks in the basement and the TV is on a fireplace mantle with a hidden HDMI cable and a long-run USB cable going to a small hub behind it, the hub breaks out to a usb to serial cable, bluetooth module, Z-Wave stick and a cheap webcam (that will be replaced by a IPCam soon).. all that plugs into my lil CuBox ArchLinux-ARM powered automation server locked in an in-wall security panel in my datacenter.