Unable to setup LG WebOS TV notification

Hi all,

I’m unable to show notification on my LG web OS Tv (that was working some version ago).

This is the code in notify.yaml

  - platform: webostv
    host: 192.168.x.xx
    name: TVSoggiorno
    filename: webostv.conf  

and this the code inside an automation

  • service: notify.TVSoggiorno
    data:
    message: “Marco, qualcuno ha lasciato una porta aperta. La porta dell’ingresso è
    {{ states.sensor.opening_door.state }}. La porta
    della cucina è {{ states.sensor.kitchen_door.state
    }}. La porta dello studio è {{ states.sensor.studio_door.state
    }}. La finestra del bagno è {{ states.sensor.bathroom_door.state
    }}.”
    data:
    icon: “/local/jarvis.png”

Also this code didn’t changed (and works if the message is sent to pushbullet).

Can someone please support me?

Thank you in advace

Did you ever get this working again?

Sort of. I’m doing some test right now

Anyone recently do a software upgrade?
Mine works fine right now and my tv is telling me to update it, but i don’t want it to break on me and have HA not see it all.

I did a recent update (WebOS 3 - 05.80.35) and everything works (notify also).

How do I add an icon to the notification? The documentation seems to be for hassbian or similar…
I am running Hass.io and was hoping to use existing .png files in my www folder. Has anyone been able to do this?
Ive tried different paths and /local/file.png and even tried mdi icons but the notification doesnt show.

Removing the data and icon lines seems to fix it but i get no icons :frowning:

This is an automation I used to use to do so:

- id: 123
  alias: Lounge TV Dinner time
  trigger: []
  action:
  - data:
      data:
        icon: www/images/dinner.png
      message: Food Time...Come and Eat
    service: notify.lounge_tv

So under my config folder I have a www folder and under that I have the images folder.
So if you just the have www folder just omit the images/ and put your filename in there like my dinner.png

Hope that does it for you.

Thank you sir! Ill will try it when I get home.
Is there a preferable icon size?

Still no good. Is there a prefered icon size?

I can’t get this to work either. I have tried different size images and mdi icons and different paths. The notification just doesn’t work if I add the data: icon: lines

Some (most) of my icons are 100x100. Some are 48x48.
If you go to developer tools and services does something like the following work for you?

{
  "data": {
    "icon": "www/images/dinner.png"
  },
  "message": "Food Time...Come and Eat"
}

image

that’s weird. If I use dev tools i can see message. If i use action in automation it doesn’t work!

Do you use the automation editor or do it all in yaml?
If you use the editor you should be able to copy and paste from dev tools to the automation editor.
Otherwise I would suggest looking for an extra space or something in the yaml.