Aquostv addon - Sharp TV

This addon work fine with the Aquos LC-606500U, but not with LC-32LE653U.

Quite familiar with the Sharp TVs; tried all combinations, with and without password, etc. Both TVs use the same codes.

Also, the power on/off uses the power toggle, rather than explicit on/off. Harmony Hub/HA and Sharp remote can get out of sync.

Can I help with more info ?

1 Like

Some cheap Sharp TV have a reduced command set, such as those with “653” in the part number.

This works for me on such TV’s, including status:

switch:
  - platform: command_line
    switches: # for Sharp TV with "653" in part number
      sharp_tv_ip_power:
        command_on: echo -e "POWR1   \x0D" | nc 192.168.1.208 10002
        command_off: echo -e "POWR0   \x0D" | nc 192.168.1.208 10002
        command_state: ( sleep 1; echo -e "POWR????\x0D"; sleep 1 ) | nc 192.168.1.208 10002
        value_template: '{{ value[:1] == "1" }}'
      sharp_tv_ip_enableipcontrol:
        command_on: echo -e "RSPW2   \x0D" | nc 192.168.1.208 10002
      sharp_tv_ip_viewdotbydot:
        command_on: echo -e "WIDE08  \x0D" | nc 192.168.1.208 10002
      sharp_tv_ip_hdmi1:
        command_on: echo -e "IAVD1   \x0D" | nc 192.168.1.208 10002
        command_state: ( sleep 1; echo -e "IAVD????\x0D"; sleep 1 ) | nc 192.168.1.208 10002
        value_template: '{{ value[:1] == "1" }}'
      sharp_tv_ip_hdmi2:
        command_on: echo -e "IAVD2   \x0D" | nc 192.168.1.208 10002
        command_state: ( sleep 1; echo -e "IAVD????\x0D"; sleep 1 ) | nc 192.168.1.208 10002
        value_template: '{{ value[:1] == "2" }}'
      sharp_tv_ip_hdmi3:
        command_on: echo -e "IAVD3   \x0D" | nc 192.168.1.208 10002
        command_state: ( sleep 1; echo -e "IAVD????\x0D"; sleep 1 ) | nc 192.168.1.208 10002
        value_template: '{{ value[:1] == "3" }}'

Notes:

  1. In TV UI, enable Aquos Link and set the user and password to blank/none. To clear both choose the “initialize” option.
  2. To enable IP control the command “sharp_tv_ip_enableipcontrol” must be sent once, while the TV is on. Most will likely choose to do this with putty (use RAW mode in Putty).
  3. The Sharp TV commands are all 8 characters long, pad with blanks to the \x0D (return).
  4. Other commands, such as set HDMI, only work if TV is on.
  5. Modify the IP as needed.

My interest in getting control of this crippled Sharp TV is driven by my prolific use of Karl’s fantastic mini-media-player. Here is the code to create a limited media_player out of these switches, which enables power control and status of the Sharp TV from within the mini-media-player.

More functionality (volume, mute, channel, etc, can easily be added), I just needed power since TV is always driven by a receiver.

# make a media_player out of Sharp TV switches
  - platform: universal
    name: Sharp TV
    commands:
      turn_on:
        service: switch.turn_on
        data:
          entity_id: switch.sharp_tv_ip_power
      turn_off: 
        service: switch.turn_off
        data:
          entity_id: switch.sharp_tv_ip_power 
    attributes:
      state: switch.sharp_tv_ip_power

does anyone know if the following sharp tv can be controlled via some IP based method ?

https://www.sharpconsumer.uk/tv/50bj4k/

I dont need too much just ability to change source and turn on/off

Played about but lost … any help appreciated

Hi Expert out there,

I tried below codes, but is not working. May I know what went wrong?

media_player:
  - platform: aquostv
    host: 192.168.3.16
    port: 10002
    username: none
    password: none
    name: Sharptv
    power_on_enabled: true

File is at the following location: \HOMEASSISTANT\config\Configuration.yaml