Sony Bravia Android TV

I finially got home and can confirm that my Sony only reports ā€˜appā€™ to HA in the media_player if I have an app running, but it shows the actual TV channel if I am watching one in normal TV mode

Would like to share your remote images and front end Lovelace setup for the remote part :)? It looked awesome!

Hi would you please share with me how you have used shell_command component? I am new to HA so would like to know how to integrate my sony bravia tv.
thanks

Sureā€¦ Here are the commands:

# Bravia control commands
bravia_num1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAAAw=='
bravia_num2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAABAw=='
bravia_num3: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAACAw=='
bravia_num4: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAADAw=='
bravia_num5: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAEAw=='
bravia_num6: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAFAw=='
bravia_num7: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAGAw=='
bravia_num8: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAHAw=='
bravia_num9: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAIAw=='
bravia_num0: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAJAw=='
bravia_num11: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAKAw=='
bravia_num12: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAALAw=='
bravia_enter: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAALAw=='
bravia_gguide: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAOAw=='
bravia_channelup: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAQAw=='
bravia_channeldown: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAARAw=='
bravia_volumeup: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAASAw=='
bravia_volumedown: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAATAw=='
bravia_mute: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAUAw=='
bravia_tvpower: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAVAw=='
bravia_audio: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAXAw=='
bravia_mediaaudiotrack: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAXAw=='
bravia_tv: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAkAw=='
bravia_input: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAlAw=='
bravia_tvinput: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAlAw=='
bravia_tvantennacable: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAqAw=='
bravia_wakeup: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAuAw=='
bravia_poweroff: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAvAw=='
bravia_sleep: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAvAw=='
bravia_right: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAAzAw=='
bravia_left: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA0Aw=='
bravia_sleeptimer: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA2Aw=='
bravia_analog2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA4Aw=='
bravia_tvanalog: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA4Aw=='
bravia_display: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA6Aw=='
bravia_jump: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA7Aw=='
bravia_picoff: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA+Aw=='
bravia_pictureoff: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA+Aw=='
bravia_teletext: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAA/Aw=='
bravia_video1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABAAw=='
bravia_video2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABBAw=='
bravia_analogrgb1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABDAw=='
bravia_home: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABgAw=='
bravia_exit: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABjAw=='
bravia_picturemode: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABkAw=='
bravia_confirm: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAABlAw=='
bravia_up: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAB0Aw=='
bravia_down: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAQAAAAEAAAB1Aw=='
bravia_closedcaption: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAAAQAw=='
bravia_component1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAAA2Aw=='
bravia_component2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAAA3Aw=='
bravia_wide: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAAA9Aw=='
bravia_epg: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAABbAw=='
bravia_pap: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAKQAAAB3Aw=='
bravia_tenkey: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAMAw=='
bravia_bscs: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAQAw=='
bravia_ddata: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAVAw=='
bravia_stop: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAYAw=='
bravia_pause: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAZAw=='
bravia_play: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAaAw=='
bravia_rewind: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAbAw=='
bravia_forward: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAcAw=='
bravia_dot: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAdAw=='
bravia_rec: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAgAw=='
bravia_return: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAjAw=='
bravia_blue: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAkAw=='
bravia_red: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAlAw=='
bravia_green: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAmAw=='
bravia_yellow: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAnAw=='
bravia_subtitle: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAoAw=='
bravia_cs: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAArAw=='
bravia_bs: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAsAw=='
bravia_digital: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAAyAw=='
bravia_options: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAA2Aw=='
bravia_media: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAA4Aw=='
bravia_prev: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAA8Aw=='
bravia_next: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAA9Aw=='
bravia_dpadcenter: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABKAw=='
bravia_cursorup: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABPAw=='
bravia_cursordown: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABQAw=='
bravia_cursorleft: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABNAw=='
bravia_cursorright: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABOAw=='
# This messed with all my settings on my bravia. It looks like it is something like reset... Dont use it.
# bravia_shopremotecontrolforceddynamic: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAABqAw=='
bravia_flashplus: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAB4Aw=='
bravia_flashminus: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAB5Aw=='
bravia_demomode: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAJcAAAB8Aw=='
bravia_analog: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAHcAAAANAw=='
bravia_mode3d: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAHcAAABNAw=='
bravia_digitaltoggle: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAHcAAABSAw=='
bravia_demosurround: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAHcAAAB7Aw=='
bravia_ad: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAA7Aw=='
bravia_audiomixup: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAA8Aw=='
bravia_audiomixdown: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAA9Aw=='
bravia_photoframe: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABVAw=='
bravia_tv_radio: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABXAw=='
bravia_syncmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABYAw=='
bravia_hdmi1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABaAw=='
bravia_hdmi2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABbAw=='
bravia_hdmi3: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABcAw=='
bravia_hdmi4: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABdAw=='
bravia_topmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABgAw=='
bravia_popupmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABhAw=='
bravia_onetouchtimerec: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABkAw=='
bravia_onetouchview: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABlAw=='
bravia_dux: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAABzAw=='
bravia_footballmode: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAB2Aw=='
bravia_imanual: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAB7Aw=='
bravia_netflix: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAABoAAAB8Aw=='
bravia_assists: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAA7Aw=='
bravia_featuredapp: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABEAw=='
bravia_featuredappvod: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABFAw=='
bravia_googleplay: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABGAw=='
bravia_actionmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABLAw=='
bravia_help: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABNAw=='
bravia_tvsatellite: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABOAw=='
bravia_wirelesssubwoofer: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAB+Aw=='
bravia_androidmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABPAw=='
bravia_recordermenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABIAw=='
bravia_stbmenu: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABJAw=='
bravia_muteon: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAsAw=='
bravia_muteoff: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAtAw=='
bravia_audiooutput_audiosystem: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAiAw=='
bravia_audiooutput_tvspeaker: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAjAw=='
bravia_audiooutput_toggle: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAkAw=='
bravia_applicationlauncher: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAAAqAw=='
bravia_youtube: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAAAMQAAABHAw=='
bravia_partnerapp1: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAAAw=='
bravia_partnerapp2: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAABAw=='
bravia_partnerapp3: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAACAw=='
bravia_partnerapp4: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAADAw=='
bravia_partnerapp5: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAEAw=='
bravia_partnerapp6: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAFAw=='
bravia_partnerapp7: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAGAw=='
bravia_partnerapp8: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAHAw=='
bravia_partnerapp9: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAIAw=='
bravia_partnerapp10: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAJAw=='
bravia_partnerapp11: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAKAw=='
bravia_partnerapp12: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAALAw=='
bravia_partnerapp13: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAMAw=='
bravia_partnerapp14: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAANAw=='
bravia_partnerapp15: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAOAw=='
bravia_partnerapp16: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAPAw=='
bravia_partnerapp17: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAAQAw=='
bravia_partnerapp18: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAARAw=='
bravia_partnerapp19: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAASAw=='
bravia_partnerapp20: 'bash /home/homeassistant/.homeassistant/send_command.sh 192.168.1.6 AAAAAgAACB8AAAATAw=='

Just download the script I shared and follow the install instructions. After that follow the documentation of the shell command and you should be able to use it successfully.

@asif Sorry, I dont have them anymore as I stopped using the script. I guess i deleted themā€¦ :frowning:

3 Likes

no worries, thanks a lot anyways :wink:

I found my old files and setup!
I had lots of messages asking for these files.
To anyone interested, I am just leaving this here:

View config:

  - title: Media
    panel: false
    icon: mdi:television-classic
    id: media
    background: center / cover no-repeat url("/local/images/cinemabg.jpg") fixed
    cards:
      - type: horizontal-stack
        cards:
      # Dpad buttons
          - type: picture-elements
            image: /local/images/remote/dpad.png
            elements:
              - type: image
                image: /local/images/remote/confirm.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_confirm
                style:
                  top: 50%
                  left: 50%
                  width: 10%
              - type: image
                image: /local/images/remote/arrow-left.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_left
                style:
                  top: 50%
                  left: 27%
                  width: 15%
              - type: image
                image: /local/images/remote/arrow-right.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_right
                style:
                  top: 50%
                  left: 73%
                  width: 15%
              - type: image
                image: /local/images/remote/arrow-up.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_up
                style:
                  top: 15%
                  left: 50%
                  width: 15%
              - type: image
                image: /local/images/remote/arrow-down.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_down
                style:
                  top: 85%
                  left: 50%
                  width: 15%
              - type: image
                image: /local/images/remote/picoff.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_pictureoff
                style:
                  top: 15%
                  left: 87%
                  width: 20%
              - type: image
                image: /local/images/remote/back.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_exit
                style:
                  top: 85%
                  left: 13%
                  width: 20%
              - type: image
                image: /local/images/remote/home.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_home
                style:
                  top: 85%
                  left: 87%
                  width: 20%

      - type: horizontal-stack
        cards:
      # Volume Buttons
          - type: picture-elements
            image: /local/images/remote/bg.png
            elements:
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: none
                style:
                  top: 20%
                  left: 70%
                  width: 30%
              - type: icon
                icon: mdi:volume-mute
                tap_action:
                  action: none
                service: shell_command.bravia_mute
                style:
                  top: 20%
                  left: 76%
                  --iron-icon-height: 50%
                  --iron-icon-width: 50%
              - type: image
                image: /local/images/remote/pwrbtn.png
                tap_action:
                  action: none
                style:
                  top: 80%
                  left: 70%
                  width: 30%
              - type: icon
                icon: mdi:power-standby
                tap_action:
                  action: call-service
                service: shell_command.bravia_tvpower
                style:
                  top: 80%
                  left: 76%
                  --iron-icon-height: 50%
                  --iron-icon-width: 50%
              - type: image
                image: /local/images/remote/chngbtn.png
                tap_action:
                  action: call-service
                style:
                  top: 50%
                  left: 30%
                  width: 30%
              - type: image
                image: /local/images/remote/plus.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_volumeup
                style:
                  top: 20%
                  left: 30%
                  width: 20%
              - type: image
                image: /local/images/remote/minus.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_volumedown
                style:
                  top: 80%
                  left: 30%
                  width: 30%

          - type: picture-elements
            image: /local/images/remote/bg.png
            elements:
      # App Buttons
              - type: image
                image: /local/images/remote/netflix.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_netflix
                style:
                  top: 20%
                  left: 25%
                  width: 40%
              - type: image
                image: /local/images/remote/youtube.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_youtube
                style:
                  top: 20%
                  left: 75%
                  width: 40%
              - type: image
                image: /local/images/remote/spotify.png
                tap_action:
                  action: call-service
                service: shell_command.tobeconfigured
                style:
                  top: 40%
                  left: 25%
                  width: 40%


      # Media buttons
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_rewind
                style:
                  top: 90%
                  left: 20%
                  width: 25%
              - type: icon
                icon: mdi:skip-backward
                tap_action:
                  action: call-service
                service: shell_command.bravia_rewind
                style:
                  top: 90%
                  left: 42%
                  --iron-icon-height: 25%
                  --iron-icon-width: 25%
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_stop
                style:
                  top: 90%
                  left: 50%
                  width: 25%
              - type: icon
                icon: mdi:stop
                tap_action:
                  action: call-service
                service: shell_command.bravia_stop
                style:
                  top: 90%
                  left: 62%
                  --iron-icon-height: 40%
                  --iron-icon-width: 40%
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_forward
                style:
                  top: 90%
                  left: 80%
                  width: 25%
              - type: icon
                icon: mdi:skip-forward
                tap_action:
                  action: call-service
                service: shell_command.bravia_forward
                style:
                  top: 90%
                  left: 82%
                  --iron-icon-height: 80%
                  --iron-icon-width: 80%
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: call-service
                service: shell_command.bravia_pause
                style:
                  top: 70%
                  left: 30%
                  width: 25%
              - type: icon
                icon: mdi:pause
                tap_action:
                  action: call-service
                service: shell_command.bravia_pause
                style:
                  top: 70%
                  left: 48.5%
                  --iron-icon-height: 30%
                  --iron-icon-width: 30%
              - type: image
                image: /local/images/remote/btn.png
                tap_action:
                  action: none
                style:
                  top: 70%
                  left: 65%
                  width: 25%
              - type: icon
                icon: mdi:play
                tap_action:
                  action: call-service
                service: shell_command.bravia_play
                style:
                  top: 70%
                  left: 72%
                  --iron-icon-height: 50%
                  --iron-icon-width: 50%

Since I cant upload a .zip file, I am uploading the images, one by one.
Please bare with me. Just save all images in your www/images/remote folder (you have to create one)

Images

arrow-down
arrow-left
arrow-right
arrow-up back

btn confirm home minus netflix picoff plus pwrbtn spotify youtube

I hope the filenames will not be altered.

EDIT: It looks like the files were renamed after uploading them.
Here is a screenshot of how they should be.

1 Like

Thank you.
It works perfect :slight_smile:

Hi guys, Iā€™m here to get some help with my Sony Bravia tv.

I set the Tv in HA with ā€œbraviatvā€ component and it work perfectly.
I can turn on and off, change channels and source, turn volume up and down. Made it all through the TV entity in HA Interface. So far everything fine !

When I add google home voice commands, I can only turn TV on and off.

I just want to be able to do with voice commands all the actions I had with entity in HA Interface.
Can anyone help me to do so, Iā€™m quite new with HA configurations and codes.

Thank you

I just moved to HA from OpenHAB and I am so happy now. But the Bravia integration in OpenHAB was better. Each App was a channel just like the other sources which you could switch on and off and get the state.

just set this up for a test on mine as the BraviaTV set up only seemed to work on showing the state of the tv and the volume and nothing else. this one works great apart fromā€¦ when i select ā€œITV HDā€ it loads up channel 808 and shows nothing but a blank screenā€¦ cant find anywhere in the code that these are hard coded at all so any suggestion? BBC1 HD etc seem ok for the couple i tried and inputs etc.

Hi and welcome :slight_smile:

The channel list should be taken from your TV I thinkā€¦? For me this is the case. So after reading your post I would assume that when you grab your remote and switch to 808 you wonā€™t see anything, too. Is that the case? Maybe you are just not aware that you have a not working channel name ā€œITV HDā€ on 808 (I have tons of them :))?

Guys, can u help me with understanding, I have kd-43xf7005, and I donā€™t have an pre-shared key, I can only set the PIN at this TVā€¦ So, I canā€™t integrate it into HA?

PS. Itā€™s non-android but fresly device.

hello @argykaraz,

sorry i dont understand which integration you choose for bravia tv? : Sony Bravia TV ( https://www.home-assistant.io/integrations/braviatv ) or Braviatv_psk (media_player.braviatv_psk) ?

I try both but the scipt doent do anything, i am under hassio, but i already used scripts for record camera stream with no problem, i have no error or warning in the log,

thanks for your help, your work is great, love your remote buttons but it doesnt work, i only succeed with the Hacs integration of braviatv_psk and the mini media player, netflix start ok, but there is not a lot of option for sourceā€¦like you tube or moreā€¦

UPDATE : ok it works great, i have just modify the path and the script for me to work. Great work! thanks

1 Like

I use hass.io, so I was wondering where it would be natural to place the shell scripts necessary for the commands?

Somewhere under /config. Probably under www.

Can you please be more specific which one of those 2 integrations you used and what did you modify?
Thanks in advance.

We are talking about this:

1 Like

Hello folks. Iā€™ve made a simple integration based on that shell script, so you may add it to your setup and control TVs from remote domain.

Feel free to edit it as you wish.

1 Like

@divanikus
Thanks a lot, sounds great! :slight_smile: Havenā€™t installed it yet, but will try in the next days.

But, I have a question: would you mind opening up an own thread for your component, please? Problem is, it clutters up the thread here, and in the end, nobody knows, which is the one that is talked aboutā€¦ I see this in the last days with the Grocy addon, and it is awful. People are looking for a custom_component, whereas they get the Hass.io-AddOnā€¦

Please do us the favor, I know, itā€™s more work, to take a look at, but isnā€™t your component worth it? :slight_smile:

Thanks a lot! :slight_smile:

PS: Oh, and please post a link to your thred into this thread! :smiley:

anybody this integration not working