Not both ON & OFF power commands of the yamaha, but you can control volume, using code 30176. There has to be a TV code programmed to the TV device, or the vol keys won't work. Then;
1. av1 or av2
2. press and hold MUTE & SELECT for two blinks
3. enter 9 9 3
4. press SELECT
1. av1 or av2
2. press and hold MUTE & SELECT for two blinks
3. enter 9 9 3
4. press SELECT