panasonic-viera icon indicating copy to clipboard operation
panasonic-viera copied to clipboard

Implement Switching TV Inputs

Open bfayers opened this issue 4 years ago • 2 comments

I am creating this issue in favor of my previous issue, #12, since this request includes both apps and input switching since the method used is similar.

I have found example code, albeit in nodejs, for either switching to an app or an input source.

Switching source/app: https://github.com/g30r93g/homebridge-panasonic/blob/master/index.js#L232

HTTP Captures and a method of getting the list of apps can be found in the, now closed, issue #12

bfayers avatar Jun 06 '20 14:06 bfayers

After having a look through the library, it would seem that the library already contains support for launching apps; however it would be preferable that it can generate the app list itself from the TV. as well as switch inputs (See #40 )

bfayers avatar Jun 06 '20 15:06 bfayers

Inputs can be switched via rc.send_key("NRC_HDMI1-ONOFF")

bfayers avatar Jun 06 '20 15:06 bfayers