Skip to content
Raspberry Weather code for DS18B20
Python Shell
Branch: master
Clone or download
Pull request Compare This branch is 23 commits ahead of peterkodermac:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Forked from

This python script uses two sensors and a Raspberry Pi to read temperature, humidity, as well as readings from, and stores readings in Elasticsearch. For full write-up, visit

Important env variables to set up

  • ES_URL: location of elasticsearch. I.e:[:portNum for ES, 9200]
  • ES_INDEX: name of ES index. i.e: rpi_temps
  • OW_API_KEY: api key for


  • Include outside weather temp and; add test.
  • Fix dht22 sensor crash issue wiring error fixes
  • Find better solution for cronjob env variables fixed by writing vars in /etc/environment
  • Mock test api call to ES
  • Set up docker
  • Set up CI/CD
  • Set up automatic deployment to pi / git webhooks
  • Write better documentation/ include sources I used
  • Rewrite to golang
  • Find weatherproof/outdoor assembly for the pi to sit outside
  • Add a try/catch to check if OW_API_KEY is empty to skip this step if the value is empty
You can’t perform that action at this time.