-
Notifications
You must be signed in to change notification settings - Fork 22
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
Script to summarize Sensorpush data #81
Script to summarize Sensorpush data #81
Conversation
return limit_lower, limit_upper | ||
|
||
|
||
def to_celsius(temp): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange that sensorpush does not give you results in celsius
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a quick look, looks mostly ok to me. I can fix things later if something doesn't work out.
Should run daily to fetch hourly temperature averages for all sensors. Will check if any sensor is outside of its defined limits, and record the start and stop time for the outside of limit interval. For any such interval and 1 hour before and 1 hour after, temperature samples are kept in the original resolution, which seems to be 1 measurement per minute.