Building a smart home can be an expensive business. Some devices, such as cheap Zigbee sensors, can cost just a few bucks, but other devices can run to hundreds of dollars. The good news is that it's often possible to build your own smart home devices, and the total cost can sometimes work out far less than buying a ready-made product.