“This device supports i2c and a very easy to use "one wire mode". If you plug it into a pi and can’t see it on the i2c bus, you’re in the other mode and the above python will read the sensor just fine. The datasheet is very worth your time - it’s about 30 pages long, contains all sorts useful stuff including an introduction to i2c and will show you how to put the device into that mode. However you read from it, it’s simple to do and seems pretty reliable and accurate.”