How to Build a Smart Home Sensor?+

How to Build a Smart Home Sensor?