jeena / vlc_remote

HomeAssistant component to use a remote VNC as a media_player with help of the HTTP interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HomeAssistant VLC HTTP component

This component let's you add a remote VLC as a media_player to your HomeAssistant instance.

Preconditions

  • A computer which is accessible via network by HomeAssistant running VLC
  • The Web interface in VLC is enabled, see this how-to
  • This component is installed in HomeAssistant (config/custom_components/vlc_http)
  • This component is enabled in the configuration.yaml like this:
media_player:
  - platform: vlc_http
    host: 192.168.2.20
    port: 8080
    password: !secret vlc_http_password

After doing that you need to restart your HomeAssistant.

Notes

It only works with HTTP because the VNC Web interface is only available via HTTP and not HTTPS.

You can autostart VNC on your computer and it will play for example text to speach messages from HomeAssistant on it while you're on the computer, without the need of an additional speaker connected to HomeAssistant.

This component is basically a copy of vlc_telnet but it replaces the Telnet backend with a HTTP backend.

I hope I will be able to get it into HomeAssistant one day, perhaps by extending the vlc_telnet component instead of having a copy of it.

License

This code is under the same license as HomeAssistant: Apache License 2.0

About

HomeAssistant component to use a remote VNC as a media_player with help of the HTTP interface

License:Apache License 2.0


Languages

Language:Python 100.0%