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

extract_hobo.py does not insert if csv has a mix of old and new readings #89

Open
matthew-schultz opened this issue Jun 13, 2019 · 3 comments

Comments

@matthew-schultz
Copy link
Member

If a hobo csv has readings already in the database AND readings that are not in the database, extract_hobo.py will not insert the new readings.

@carlosparadis
Copy link
Member

I'm assuming this issue is a reminder that this should be added to the documentation?

@matthew-schultz
Copy link
Member Author

Yeah, unless we wanted to try to update extract_hobo.py to deal with cases like that.

@matthew-schultz
Copy link
Member Author

matthew-schultz commented Oct 8, 2019

TODO:

Fix issue by updating extract_hobo to use if statement to check if reading.datetime > sensor_info.last_updated_datetime before inserting

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

No branches or pull requests

2 participants