Loading

Script to read enclosure temperature (Octopi DS18B20 mod)

Please Login to Comment

I use Octoprint with my Qidi X-Max. I have added a DS18B20 sensor for reading the temperature for inside the enclosure. This script produces a temperature value, for use with the Navbar Temperature plugin.

Place in /usr/local/bin

Change the serial number to match your sensor.

DS18B20 mod: https://tutorials-raspberrypi.com/raspberry-pi-temperature-sensor-1wire-ds18b20/

Navbar Temperature plugin: https://plugins.octoprint.org/plugins/navbartemp/