{"id":16813578,"url":"https://github.com/bmiddha/oven-temp","last_synced_at":"2026-04-11T15:36:02.798Z","repository":{"id":98812627,"uuid":"296159978","full_name":"bmiddha/oven-temp","owner":"bmiddha","description":"Simple temperature 🌡 and humidity 💧 sensor with logging 📜 and graphs 📈","archived":false,"fork":false,"pushed_at":"2021-01-07T07:52:13.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:25:42.346Z","etag":null,"topics":["dht","dht22","docker","docker-compose","grafana","grafana-dashboard","influxdb","iot","python","python3","raspberry-pi","systemd","systemd-service"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmiddha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-16T22:21:15.000Z","updated_at":"2024-03-03T17:37:50.000Z","dependencies_parsed_at":"2023-03-09T19:45:12.817Z","dependency_job_id":null,"html_url":"https://github.com/bmiddha/oven-temp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bmiddha/oven-temp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmiddha%2Foven-temp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmiddha%2Foven-temp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmiddha%2Foven-temp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmiddha%2Foven-temp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmiddha","download_url":"https://codeload.github.com/bmiddha/oven-temp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmiddha%2Foven-temp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31686140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dht","dht22","docker","docker-compose","grafana","grafana-dashboard","influxdb","iot","python","python3","raspberry-pi","systemd","systemd-service"],"created_at":"2024-10-13T10:27:19.644Z","updated_at":"2026-04-11T15:36:02.751Z","avatar_url":"https://github.com/bmiddha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌡 Oven Temp\n\nJust a simple temperature monitor.\n\n## ✨ Features\n\n- ⚡ 128x64 OLED display over I2C to display environment data and IP address.\n- 🌡 DHT22 temperature sensor to get environment data.\n- 📈 Grafana + InfluxDB to log and graph data (😍 📈📉📊).\n- 🐳 Also, it uses docker 😏.\n\n## 📷 Images\n\n![dashboard](images/grafana.jpg)\n![display](images/display.jpg)\n![pi](images/pi.jpg)\n\n## 🔌 Wiring\n\n| Pi Pin              | Device  | Device Pin |\n| ------------------- | ------- | ---------- |\n| 1 (3V3)             | SSD1306 | VCC        |\n| 3 (GPIO 2 - SDA)    | SSD1306 | SDA        |\n| 5 (GPIO 5 - SCL)    | SSD1306 | SCL        |\n| 6 (GND)             | SSD1306 | GND        |\n| 7 (GPIO 4 - GPCLK0) | DHT22   | OUT        |\n| 17 (3v3)            | DHT22   | VCC        |\n| 9 (GND)             | DHT22   | GND        |\n\n## 🔧 Setup\n\n### 🥧 General Pi Setup\n\nSetup locales, update default passwords, run updates and such. You know, the general setting up a new Pi stuff.\n\n### 🚧 Enable I2C and SPI\n\n- Enable I2C and SPI in the \"Interfacing\" menu of `raspi-config`.\n- Reboot.\n\n### 🐳 Install Docker\n\nYou can install docker and run containers wherever you want, on the Pi, or another host. The code assumes `localhost` be default for the InfluxDB connection.\n\nInstalling docker on a Pi running Rasbpian is easy:\n\n```sh\ncurl -fsSL https://get.docker.io | sudo bash\nsudo apt install -y docker-compose # the install script does not include compose :(\nsudo usermod -aG docker pi # should take affect after a re-login\n```\n\n### 🐍 Python Bits\n\nInstall dependencies\n\n```sh\nsudo apt install -y python3-pip libopenjp2-7 libtiff5\nsudo pip3 install --no-cache-dir rpi.gpio influxdb adafruit-circuitpython-ssd1306 Pillow Adafruit_DHT python-dotenv\n```\n\nDownload the repo\n\n```sh\nsudo apt install -y git\ngit clone https://github.com/bmiddha/oven-temp\n```\n\nCopy the systemd service. The service assumes that the repo is cloned in `/home/pi`, change the service file if repo is located in another location.\n\n```sh\nsudo cp oven-temp.service /etc/systemd/system # in the oven-temp dir\n```\n\n### 🔥 Bringing everything together\n\nStart the Grafana and InfluxDB services\n\n```sh\ndocker-compose up -d # in the oven-temp dir\n```\n\nStart and enable service\n\n```sh\nsudo systemd enable --now oven-temp.service\n```\n\n### 📈 Dashboard Setup\n\n- Open a browser to `http://RASPBERRY_PI_IP:3000/` to access Grafana. Default credentials are admin, admin.\n\n- Add a new datasource for InfluxDB with the host as `http://influxdb:8086`, access as \"Server\" and the database, username, password details based on configuration. Might be worthwhile adding a read-only user for Grafana using the `INFLUXDB_READ_USER`, and `INFLUXDB_READ_USER_PASSWORD` environment variables.\n\n\n- Now you can make cool graphs! 📈😎📉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmiddha%2Foven-temp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmiddha%2Foven-temp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmiddha%2Foven-temp/lists"}