This Home Assistant service allows you to cast a website to a Google Chromecast.
PS. All thanks to @stestagg, developer of DashCast app for Google Chromecast.
Method 1. HACS custom repo:
HACS > Integrations > 3 dots (upper top corner) > Custom repositories > URL:
AlexxIT/DashCast
, Category: Integration > Add > wait > DashCast > Install
Method 2. Manually copy dash_cast
folder from latest release to /config/custom_components
folder.
Method 1. GUI:
Configuration > Integrations > Add Integration > DashCast
If the integration is not in the list, you need to clear the browser cache.
Method 2. YAML:
dash_cast:
New service dash_cast.load_url
:
service: dash_cast.load_url
data:
entity_id: media_player.hall_tv
url: https://www.home-assistant.io/
force: true # use this option if iframe blocking is enabled on the site
reload_seconds: 60 # reload page every X seconds