Skip to content

Instantly share code, notes, and snippets.

View LutfiTekin's full-sized avatar
🎯
Focusing

Lütfi Tekin LutfiTekin

🎯
Focusing
  • Appsfactory
  • Leipzig Germany
View GitHub Profile
@mortie
mortie / temp.py
Last active January 13, 2021 19:21
Color a phillips hue light according to your CPU temperature.
import wmi
import time
import phue
import os
hot = 70 # Celsius
cold = 60 # Celsius
timeout = 10
ip = "10.0.101.23"