maybe sell it on ebay for whatever and buy an old android instead. having an app like tasker makes it a lot easier for that type of automation. you can even use tasker to make a basic interfaces if you want to control a lot of different things from one screen