For Sony, try using the Power Toggle for ON and then try to use the Sony System Off Code for Power Off.
[Link: files.remotecentral.com]Also for that receiver, try the Power On/Off codes (there are 2 sets) on this page.
[Link: files.remotecentral.com]