In TV UI, enable Aquos Link and set the user and password to blank/none. To clear both choose the “initialize” option.
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).
The Sharp TV commands are all 8 characters long, pad with blanks to the \x0D (return).
Other commands, such as set HDMI, only work if TV is on.
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