LG TV - wake on LAN

Hello,

I’m trying to get my TV to turn on via HASS. I have this so far: It’s paired, and I can change sources and switch it off. It just doesn’t respond when I try to switch it on.

I’ve checked the MAC and it’s fine. any ideas? thank you

#LG TV LoungeRoom
media_player:

  • platform: webostv
    host: 192.168.1.119
    name: TV
    timeout: 5
    filename: webostv.conf
    turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
    mac: 38:8C:50:EF:72:6F
    message: “Turn on action”
    customize:
    sources:
    - livetv
    - youtube
    - switch
    - xbox
    - netflix
    - stan

Config looks ok; just checking you have wake_on_lan: in your configuration.yaml as well?

ie:

wake_on_lan: # enables `wake_on_lan` domain

#LG TV LoungeRoom
media_player:
    -platform: webostv
    host: 192.168.1.119

etc…

Try remove the line:
message: “Turn on action”

Markus

Mine looks like this, works perfectly:

wake_on_lan:

media_player LGtv:

  • platform: webostv
    host: 192.168.2.76
    turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
    mac: E8:5B:5B:9D:75:C1
    name: TV
    timeout: 5
    filename: webostv.conf
    customize:
    sources:
    - livetv
    - youtube
    - netflix
    - AppleTV
    - Kodi
    - DVD
1 Like

thanks this worked perfectly with me

wake_on_lan:

media_player:
  - platform: webostv
    host: 192.168.0.19
        name: Living Room TV
        filename: webostv.conf
        timeout: 5
        turn_on_action:
          service: wake_on_lan.send_magic_packet
          data:
            mac: 43-2E-B8-1F-EA-BB