mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
added v3
This commit is contained in:
@@ -1084,7 +1084,7 @@ else:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print(psutil.sensors_fans())
|
print(psutil.sensors_fans())
|
||||||
fan_data = psutil.sensors_fans()["asus"][0].current
|
fan_data = psutil.sensors_fans()["pwmfan"][0].current
|
||||||
except:
|
except:
|
||||||
fan_data = "None"
|
fan_data = "None"
|
||||||
mem_data = psutil.virtual_memory()
|
mem_data = psutil.virtual_memory()
|
||||||
|
|||||||
Reference in New Issue
Block a user