Skip to content

Luxor73/webos-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webos-player

A compact size custom mod webos player for Home Assistant Lovelace

wosp04 wosp05 wosp06 wosp03 wosp09 wosp08 wosp02

Update - Added volume shadow

vol shadow vol shadow2

Features

  • navigator pad
  • keynumber pad
  • sources selector
  • favorite channels selector
  • channel up/down
  • play/pause
  • forward/rewind
  • volume slider
  • volume value
  • volume mute button
  • home, back, exit buttons
  • settings, channels list, info buttons
  • color buttons
  • channel logo background
  • source image background
  • power on/off
  • channel/source name label
  • input text to write, notify or web search

Requirements

Prerequisites

At least one webos tv integrated in Home Assistant with customized sources

webostv:
  - name: my_tv
    host: !secret my_tv_ip
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: !secret my_tv_mac
    customize:
      sources:
        - Browser Web 
        - Live TV   
        - HDMI 1
        - ...

Instructions

  1. Download tv_logos folder into ' www/ ' directory, add here yours tv logos with .png extension

  2. Add the webos player custom template wosp-template.yaml to button_card_templates:

  3. Put a package wosp_package.yaml into the packages folder, and rename it for one specific tv device.
    E.g.: wosp_package_my_tv.yaml or wosp_package_bedroom_tv.yaml.

    Into the renamed package:

    • replace all occurences of WOSP_ENTITY with the webos media_player object_id.
      E.g.: media_player.my_tv --> replace WOSP_ENTITY with my_tv
    • edit your favorite channels after 'favorites' field
      E.g.:
        options: >
          {{ [
            'favorites'
          , 'channel 1'
          , 'channel 2'
          , 'channel 3' ] }}
      
    • check tv channel source name
      in some webos versions the name of tv channels source is different from 'Live TV', because depends on the system language.
      In this case need modify the name on the package, replacing "Live TV" with correct name of tv channels source
      E.g: for italian language the correct source name is "Canali TV". So
      From
      variables:
        source: "Live TV"
      
      to
      variables:
        source: "Canali TV"
      

    * Repeat step 3 for every tv device

Adding webos player to lovelace

  - cards:  
      - type: 'custom:button-card'
        entity: media_player.my_tv
        template: wosp

Releases

No releases published

Packages

No packages published