AntonioMeireles / homebridge-vieramatic

Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Apache License 2.0
43 stars 9 forks source link

Add the CEC-HDMI on/off trick #63

Closed stan69b closed 3 years ago

stan69b commented 3 years ago

Solution for old tv sets that do not support wake on lan

I've not made an .md file in a while, you may need to fix some line returns and stuff if you don't mind. Feel free to edit anything I wrote if you feel the need :)

AntonioMeireles commented 3 years ago

@stan69b,

[sorry lag] much thanks for this, will help a ton of ppl. will merge as is, and edit a bit.

Thanks!

AntonioMeireles commented 3 years ago

@stan69b can you give me permission to commit to your PR branch please :-) (per https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)

Thanks in advance!

stan69b commented 3 years ago

The « allow maintainer to edit ... » checkbox is checked, it’s my first pull request, i have to say I’m a little bit lost xD I’m looking into it at the moment ;)

stan69b commented 3 years ago

I added you to the repo as a collaborator, does it help ?

AntonioMeireles commented 3 years ago

@stan69b

never mind. edited and committed from my side ( https://github.com/AntonioMeireles/homebridge-vieramatic/commit/7011790264881262f5bc0b0c2bdebbf074bee931 ).

at sight, and after yet another read 0 just one thing left with room to improvement, imho.

You can disable on your homebridge device the system that changes your tv input to that of the homebridge device if you want, google is your friend.

can you elaborate on this ?

stan69b commented 3 years ago

You are right, now that I read it again ..... this is the link I used to fix this "problem" : https://raspberrypi.stackexchange.com/questions/6682/stopping-rasppi-raspbmc-from-auto-changing-source-on-tv

The thing is, when you wake up a TV using CEC, the TV will automatically change input to the one of the device. for example : My raspberry pi turns on my tv via HDMI but I want the tv to be on the input of my TVBox and not the input of the raspberry pi.

The links explains how to change a setting so that when the device wakes up the tv, it does not trigger an input change (HDMI1, HDMI2, HDMI3 .... and so on)

Is it clearer or not so much ?

stan69b commented 3 years ago

Sorry for the inconvenient with my lack of knowledge on PR, guess I'll have to make more PR to get better at them :D

AntonioMeireles commented 3 years ago

@stan69b

updated tip per your feedback. i think it's fine by now. will close if you have no objections!

many thanks for your patience!

stan69b commented 3 years ago

Nicely done :) way better explained than what I did, thanks for spending the time on it ;) You can close this PR.

Have a great day

AntonioMeireles commented 3 years ago

merged manually by https://github.com/AntonioMeireles/homebridge-vieramatic/commit/7011790264881262f5bc0b0c2bdebbf074bee931 and https://github.com/AntonioMeireles/homebridge-vieramatic/commit/17fb6c069dd57ad9159fc964e26c5501bdfa72cb.

many thanks to @stan69b hard work and patience! . closing.