EMC2101 Octoprint Plugin
This plugin allows you to control the temperature of your printer enclosure using a 4 pin PWM fan connected to an Adafruit EMC2101 fan controller/temperature sensor. This Octoprint plugin is for use with a Raspberry Pi connected to an Adafruit EMC2101 fan control board.
This first release runs a process int he background on startup of Octoprint that monitors an EMC2101 temperature. The plugin settings allow you to configure the target temperature of that sensor, and a percentage power to apply to the fan when the temperature is equal to the target, as well as percentages for each degree (up to 7 degrees c) above that target.
This allows you to control a PWM fan speed based on your desired temperature and fan curve.