So I’ve just set up the LG webOS Smart TV integration and it is mostly working. There are three things not right for me here:
- I can’t power on the TV when it is powered off
- The volume level in HA starts off at 0, even though the TV has it at 30 (which HA would see as 0.30)
- When I increase or decrease the volume by HA, HA shows the change being by +/-0.01, (or 1 on the TV), but the TV changes by +/-0.02 (or 2 on the TV)
My configuration.yaml currently has:
wake_on_lan:
#switch:
# - platform: wake_on_lan
# name: LG
# mac: "HI:DD:EN:MA:CA:DR"
# turn_off:
# service: media_player.turn_off
# entity_id: media_player.living_room_tv
webostv:
host: 192.168.1.NN
name: Living Room TV
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
"mac": "HI:DD:EN:MA:CA:DR"
# service: switch.turn_on
# entity_id: switch.lg
customize:
sources:
- Apple TV
- PlayStation 4
- Xbox One
- Switch/PS3
media_player:
The big one for me is not being able to turn the TV on, so all my troubleshooting has been for it.
I’ve looked through a myriad of posts over the last 3 years where people have had the same drama and:
- I’ve tried using a switch instead of the wake_on_lan service, as you can see commented out in the yaml.
- QuickStart+ and Wake over Wifi is turned on on the TV
- I’ve tried the Mac Address with and without quotes
- I’ve tried both
mac
and"mac"
for the data field - I can ping the TV from the Hassio Docker when the TV is on, and response time is less than 5 ms consistently
- I can ping the network broadcast address from the Hassio Docker sucessfully
- When I connect my phone to the same wifi, I can power it on using the app
I get no errors in the system log when I try to turn the TV on from HA sadly, so I don’t really know where to go from here…
My setup:
Raspberry Pi 4, running Hassio using Docker
LG OLED65C9PTA (2019 model), which is on the 04.70.05 firmware
The LG is connected to my Raspberry Pi via a Wifi Network broadcast by the Pi, which does not bridge it to the rest of the home network which is connected via Ethernet to the Pi. I keep a few devices on this little wifi such as a Daikin and a Wemo, and they all work fine.
Like I said, everything else seems to work. I receive the custom input names that I set on the TV through HA, and I can change between them with no issue. I can also power the TV off via HA.
The volume level issue I’ve only looked at briefly. I can use the developer tools to “set” the volume level to, say 0.25, but the TV doesn’t register that change, just HA’s state. I can change the volume with volume_up and _down, but the TV goes up and down by twice the amount HA shows it going up and down by.
So any ideas are welcome. I don’t know how to change the logging levels so if anyone wants to walk me through that I am happy to redo my troubleshooting again with more thorough logging going on.