If you plug in your phone next to your bed when you go to sleep, use this Applet to make sure the sound is on after you get up.
This Trigger fires every time your Android device is unplugged.
This Action will set the ringtone volume of your Android device.
Explore more great ways to automate
Android Battery and Android Device