Archive for December, 2015

Output from multiple DS18B20 to Cacti

If you need to read multiple (variable number) of sensors into Cacti, the following python script will read the sensors and format the output ready for Cacti. Be aware though that the sensor numbering is based on their serial numbers - the order will change if sensors with different serial numbers More >

Reading multiple DS18B20 sensors

Some people have been asking for some Python code that can read multiple temperature sensors. The following code will work for up to 10 sensors (maximum allowed under the kernel driver) #!/usr/bin/env python from os import path, listdir, system from time import sleep # Borrowing More >
Go to Top