Implementation in Python for polling weatherdata to a database on raspbian