You need to set your TV to use a pre-shared key.
- Navigate to: [Settings] → [Network] → [Home Network Setup] → [IP Control]
- Set [Authentication] to [Normal and Pre-Shared Key]
- There should be a new menu entry [Pre-Shared Key]. Set it to 0000. If you choose anything else, you need to change the PSK in the
print_ircc_codes.sh TV_IP_HEREto get an overview of the commands possible.
send_command.sh TV_IP_HERE ONE_COMMAND_HERE. A command looks like
- The TV will execute the command and immediately return. If you want to navigate through menus, you'll have to manually
sleepuntil the TV has finished the command/animation.
example_goto_media_player.sh on how to build your automations.
More detailed explanation
The original blog post describes how to figure this out in general: https://blog.yrden.de/2014/11/14/remote-control-bravia-tvs-with-authentication.html
StefanPuntNL figured out how to use it with a Pre-Shared-Key, which is much simpler: https://www.domoticz.com/forum/viewtopic.php?t=8301