哇,这篇文章非常适合你了
树莓派制作智能家居服务器
http://shumeipai.nxez.com/2016/06/26/raspberry-pi-diy-with-a-smart-home-server.html