Your old phone is a better home server than a Raspberry Pi
… You can even use the phone's ambient light sensor to trigger sunset lighting or the microphone as a glass break detector for your security system, giving you a multi-sensor advantage over alternatives. …