LG-TV 2012 IP - a new plugin for LG SMART TV sets
Posted: Wed May 07, 2014 1:15 am
Here's my first go at writing a plugin. It's written for LG SMART TV:s from 2012 and up. I've only been able to test it on my 2013 LG, but it should work on everything from 2012 and up.
This is my first plugin, and likewise my first Python project, so please be nice.
Seriously though, any and all hints on how the plugin can be improved are more than welcome.
(Oh yeah, I know next to nothing about SOAP either. Or about LG TV:s. As a matter of fact it's something of a miracle that I even got it running.)
Unpack the included zip file in EG's plugin directory, and that should be it.
After some feedback here, a couple of revisions, and I'll try to wrap it up nicely, and create a post in the plugin support forum - at least I think that's how it's supposed to be, right? Any and all info on what's the appropriate way to do that, let me know.
I do plan one additional feature: a kind of macro command where you can pass a string with key codes (such as "<4><42><24>") to the TV at once. Other than that I don't have any ideas on what to add.
- Peter
P.S. The reason I'm writing this is that I failed miserably to get HDMI-CEC to do basic stuff like turning on Live TV. On the other hand, it's impossible to turn on the TV over IP, so both plugins seem necessary for maximum functionality.
This is my first plugin, and likewise my first Python project, so please be nice.
(Oh yeah, I know next to nothing about SOAP either. Or about LG TV:s. As a matter of fact it's something of a miracle that I even got it running.)
Unpack the included zip file in EG's plugin directory, and that should be it.
After some feedback here, a couple of revisions, and I'll try to wrap it up nicely, and create a post in the plugin support forum - at least I think that's how it's supposed to be, right? Any and all info on what's the appropriate way to do that, let me know.
I do plan one additional feature: a kind of macro command where you can pass a string with key codes (such as "<4><42><24>") to the TV at once. Other than that I don't have any ideas on what to add.
- Peter
P.S. The reason I'm writing this is that I failed miserably to get HDMI-CEC to do basic stuff like turning on Live TV. On the other hand, it's impossible to turn on the TV over IP, so both plugins seem necessary for maximum functionality.