grzegorz914/homebridge-lgwebos-tv

Volume does not change

Closed this issue · 10 comments

Hi, i get the below error while i attempt to change to volume

[LgWebOsTv] Device: 192.168.200.109 LG TV, set Volume error: ReferenceError: volume is not defined
[26/10/2024, 11:01:52] [LgWebOsTv] Device: 192.168.200.109 LG TV, set Volume error: ReferenceError: volume is not defined
[26/10/2024, 11:01:52] [LgWebOsTv] Device: 192.168.200.109 LG TV, set Volume error: ReferenceError: volume is not defined
[26/10/2024, 11:01:52] [LgWebOsTv] Device: 192.168.200.109 LG TV, set Volume error: ReferenceError: volume is not defined
[26/10/2024, 11:01:52] [LgWebOsTv] Device: 192.168.200.109 LG TV, set Volume error: ReferenceError: volume is not defined

If you set the slider to 0, TV goes in mute mode and you get

 Device: 192.168.200.109 LG TV, debug: Socket send: {"id":"f5368ce6000b","type":"request","uri":"ssap://audio/setMute","payload":{"mute":true}}
[26/10/2024, 11:10:18] [LgWebOsTv] Device: 192.168.200.109 LG TV, set Mute: ON
[26/10/2024, 11:10:18] [LgWebOsTv] Device: 192.168.200.109 LG TV, debug: Audio: {
  "changed": [
    "mute"
  ],
  "scenario": "mastervolume_tv_speaker",
  "active": false,
  "action": "changed",
  "volume": 31,
  "returnValue": true,
  "mute": true
}
[26/10/2024, 11:10:18] [LgWebOsTv] Device: 192.168.200.109 LG TV, Volume: 31%
[26/10/2024, 11:10:18] [LgWebOsTv] Device: 192.168.200.109 LG TV, Mute: ON
[26/10/2024, 11:10:18] [LgWebOsTv] Device: 192.168.200.109 LG TV, debug: Audio: {
  "returnValue": true
}

Thanks
Alex

awesome thanks!

Hi,
I have updated to 3.2.1, but Volume on LG TV doesn‘t changed. Loook at Plugin debug log.

homebridge-lgwebos-tv.log.txt

With hardware buttons RC or with slider? How do You change the volume?

With slider. I changed slider from 9 % to 20 %, nothing happend.
When I change Volume with RC the plugin shows immediatly the correct changed volume.
IMG_0844

Already tested and slider and fan working correct

Thank you for this feedback. Then the error must be with my LG TV. If I change the status using the remote control, the volume is displayed correctly. Changing it using Homekit is not possible. I have now found another solution, so I don't want to be a nuisance any longer. Best regards and thank you for this plugin, Manuel

In your debug I don’t see that You try to volume changed, can You try this and post the debug again.

Hello, thank you for your invitation to post a new log. I now wanted to increase the volume using the slider.
homebridge-lgwebos-tv.log 2.txt

@Kohle81 fixed in 3.2.4