https://dtechub.github.io/posts/sensors-rpi/
Home automation with Raspberry Pi - Part 3 - The Tech Hub