g30r93g / homebridge-panasonic

A Homebridge plugin for Panasonic Viera TV's. Written to support the new Homekit TV accessory.
MIT License
21 stars 3 forks source link

Legacy Input Control #38

Closed ValoV83 closed 4 years ago

ValoV83 commented 4 years ago

I was wondering if it’s possible to configure the plugin to be able to switch to legacy analogue inputs like the AV1 and AV2 inputs if defined within the config.json?

g30r93g commented 4 years ago

yep. definitely possible. i’ll find out the inputs needed to send to the tv and update the code if need be

ValoV83 commented 4 years ago

That would be brilliant if possible as I have a few legacy devices I’d like to automate 👍

I’m guessing the ability to change channels and adjust volume are not possible?

g30r93g commented 4 years ago

Channels, unfortunately not with the current API. Volume should work when your TV shows up in the TV remote control center toggle but it's unstable whenever I test it.

g30r93g commented 4 years ago

I've tried to find some direct AV switching but it seems the only way I can find is by cycling through the AV inputs :/

ValoV83 commented 4 years ago

Shame direct AV switching doesn't seem possible. Thanks for trying to find a solution to define it like an HDMI input.

With the workaround you've found how would it work? Would it be a button within the tile on the Home app lime the Power On/Off or would it be within the input slider for TV and Defined HDMI Inputs?

g30r93g commented 4 years ago

It would act as a stateless switch, so you'd tap a tile and it would cycle through. At least that's how I've pictured it in my mind

g30r93g commented 4 years ago

I'll see if i can add it in for you.

g30r93g commented 4 years ago

So I've been playing around but it seems to be hit and miss and I wouldn't feel comfortable adding something half-baked. Sorry about that. If at some point I figure out the exact command I'll comment in here and let you know.