l00ma / OctoPrint-roomTemp

Octopi : Displays room temperature in navbar
GNU Affero General Public License v3.0
9 stars 15 forks source link

Use CPU temperature (Not an issue) #5

Open intensite opened 7 years ago

intensite commented 7 years ago

Hello Frederic,

I wrote some scripts to control a cooling fan in my printer enclosure. I am using the Raspberry cpu temp to drive a PID loop to proportionally adjust the fan speed. I am using the vcgencmd measure_temp command to get the CPU temp. Do you think it would be possible for me to customize your plugin to use vcgencmd measure_temp instead of w1-gpio?

I quickly browsed the code I have identified checkRoomTempas a potential area for modification.

Could you give me a few pointers?

Thanks.

Stephen..