madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
392 stars 74 forks source link

Volume no longer works with LGOPT soundbar connected #120

Closed ssorgatem closed 8 months ago

ssorgatem commented 9 months ago

The volume of the soundbar is controlled directly by the TV through the OPT connection using their own proprietary protocol (LGOPT)

It worked before the last update, now volume controls are being ignored.

madmicio commented 9 months ago

please update and let me know

triumfas commented 8 months ago

The last working version is 1.1.2. I use sound through eArc and it stopped controlling it with the latest version.

madmicio commented 8 months ago

In version 1.1.3 if you do not configure the av-receiver entity, the card should work as in version 1.0 but with the addition of the long press. basically it calls the same service as before. Let me know

triumfas commented 8 months ago

Oops - RTFM helped. Thanks @madmicio. After adding ampli_entity it works.

madmicio commented 8 months ago

Sorry if I exploit your situation. I would like to understand better. with version 1.0 you were able to control the volume of the ac-receiver without problems (therefore via hdmi-cec) and now to do this you need to configure the av-receiver entity?

triumfas commented 8 months ago

Correct. Previously if my audio system was on - it controlled volume of that one. If audio system due to some reasons was off and TV used its' own speakers - it controlled TV ones. So it could control TV volume no matter where sound went to. It worked in 1.1.2. Starting with 1.1.3 I had to add separate entity and now it controls volume directly on my audio system (I don't see volume pop-up on tv).

madmicio commented 8 months ago

There's a problem in the code, I'll check as soon as I can. theoretically if only the TV entity is configured, the card should work exactly as it did in version 1.0 but with the addition of the long press.

triumfas commented 8 months ago

Appreciate your work. If anything is needed - let me know and I'll do the testing.

ssorgatem commented 8 months ago

Sorry, I was on holiday and I couldn't test it earlier. The latest version seems to work now. Thank you