This package contains an generic driver for SPI temperature sensors.
As I based my system on Raspberry Pi and "debian stretch", I had to manually set the frequency of the SPI bus. This is a known issue of the Raspberry Pi kernel, starting from stretch.
Install the MeatForge package
Use the download button at the top of the page to install the project.
Here are the schematics which I used. But this is no rocket science. You can use every other temperature sensor or amplifying circuit.