You can use this APP to set timer inside power socket through Bluetooth.
There are three modes for timer setting.
Mode-1 is the simplest one while Mode-3 is the most complex one.
It is a free APP and welcome to use.
The matched BT Power Socket (Hardware) is also available and cheep to get:
http://goods.ruten.com.tw/item/show?21652968783580
The key electronic componens are also in above link.