Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added syslog to log nicely on temp change and start #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cscashby
Copy link

No description provided.

@isdn
Copy link

isdn commented Jul 24, 2021

I added these changes to my system recently.
Seems to be working good.
However, I would suggest the following changes in texts:

-            syslog.syslog(syslog.LOG_INFO, "Reached temperature of " + str(temp) + " turning on fan")
+            syslog.syslog(syslog.LOG_INFO, "Turning on fan (" + str(temp) + " degrees).")

-            syslog.syslog(syslog.LOG_INFO, "Reached temperature of " + str(temp) + " turning off fan")
+            syslog.syslog(syslog.LOG_INFO, "Turning off fan (" + str(temp) + " degrees).")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants