A robot to power on and off a Sony Bravia TV.
Run the following command:
java -jar sonybraviarobot.jar -ip TV_IP -mac TV_MAC -iniciar
When running it for the very first time it will register the executing "device" on the TV asking for the PIN which will show up on TV screen:
Digite o PIN exibido na TV:
xxxx[ENTER]
java -jar sonybraviarobot.jar -ip TV_IP -mac TV_MAC -iniciar
java -jar sonybraviarobot.jar -ip TV_IP -mac TV_MAC -desligar