inital dump

This commit is contained in:
2021-09-04 23:20:35 +02:00
parent 8d187d4413
commit 976d93836a
189 changed files with 26587 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
<= -5°C --> Critical Coold
<= 5°C --> Warning Coold
>= 45°C --> Warning Hot
>= 50°C --> Critical Hot
+11
View File
@@ -0,0 +1,11 @@
vcgencmd measure_temp
import os
def getCpuTemperature():
tempFile = open( "/sys/class/thermal/thermal_zone0/temp" )
cpu_temp = tempFile.read()
tempFile.close()
return float(cpu_temp)/1000