Definitely get an AVR remote app for your Yamaha.
Depending on what you have, there are remote apps for home thermostats (Radio Thermostat), home lightings and garage doors (Lift-Master/Chamberlain), cameras (D-Link), etc.
My Samsung Note3 has a IR remote, so I can use it as a universal remote if I wanted to. If your Samsung tablet has an IR, you could turn it into a universal IR remote.