Cast to WebOS smart tv

Hello,

I can’t find a way to cast a video to my new smart TV running WebOS. I’ve a DLNA server in my network and I can successfully browse media files both from home assistant and directly using the “media player” application on the TV using the remote control (in this case I can also play them).

With the old TV, that was connected to a Chromecast, I remember I could directly select it as output in the home assistant’s “media” tab clicking on the bottom right TV icon. Now instead I can only select “browser” there.

Obviously I’ve enabled the WebOS integration and I can confirm I’m able to pause/play, set volume and switch it off, etc…

Probably I could solve my problem making home assistant behave like a remote control but it isn’t what I want.

On the integration page I cannot find an answer, it explains many things but not this. Also on the forum I didn’t have luck. Isn’t this a functionality commonly used in home assistant? I ask because I’m quite new to this world.

Anyway, I can confirm this should be technically doable because using the bubbleupnp app I’m able to browse my DLNA medias and cast them to the TV, so it’s something that the TV supports.

Chromecast is something about hardware right? If the tv doesn’t support casting from other device,it won’t work.

Chromecast is something about hardware right?

Yes, it’s a dongle you connect to TV’s hdmi ports, see here.

If the tv doesn’t support casting from other device,it won’t work.

It supports! Using Bubbleupnp (the android application) I’m able to select a media from my DLNA server and cast it to the TV, directly to WebOS I mean, without any external device like the Crhomecast.
This is why I really hoped that Home assistant detected it as media player, as it does for the Chromecast.

so, if your TV does not support chrome based casting, you cannot cast a video/dashboard from home assistant to your TV. Currently, home assistant only supports google cast based method.

or you can plug in a chrome cast to TV hdmi port and chromecast device will be available to home assistant.

Here, casting looks like a general word, so casting by DLNA is different than casting by chrome cast. and Home assistant supports casting by chrome cast.

Good article: https://www.sony.co.uk/electronics/support/articles/00236316

Thanks!
I found it written here now:

Home Assistant Cast allows you to cast your Home Assistant installation to Chromecast video devices and to Google Assistant devices with a screen.

I wonder how difficult it would be implementing this. Casting to chromecast is conceptually quite easy IIRC, I remember using mkchromecast and substantially it was just starting an http server hosting the video and call somehow the chromecast (probably always an http API?).
And I also think that webos casting cannot be so different.

I also wonder if exists something that proxies chromecast to webos.

Hi,

I don’t know if you fixed this but it seems easy in fact…

This is what I did

Created this in scripts yaml

play_tf1:
  alias: Play TF1
  sequence:  
    - service: media_player.play_media
      target:
        entity_id: media_player.lg_webos_tv_oled55cs6la
      data:
        media_content_id: "TF1"
        media_content_type: "channel"
        
play_tf1hd:
  alias: Play TF1 HD+
  sequence:  
    - service: webostv.command
      target:
        entity_id: media_player.lg_webos_tv_oled55cs6la
      data:
        command: "system.launcher/open"
        payload:
          target: http://xxx.tv:xxx/live/xxx/xxx/xxx.ts

Then I created button to call these scripts in dashboard.

So I can switch between antenna and a stream.

Then it can clearly be optimized with inputs to call an inventory.

I don’t know if it can help

Rgds

1 Like