{"id":15931331,"url":"https://github.com/cfelde/raspberry-pi-temperature","last_synced_at":"2026-05-18T15:33:12.902Z","repository":{"id":210564727,"uuid":"726866878","full_name":"cfelde/raspberry-pi-temperature","owner":"cfelde","description":"Raspberry Pi temperature vs room temperature","archived":false,"fork":false,"pushed_at":"2023-12-03T17:06:54.000Z","size":453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T06:03:56.018Z","etag":null,"topics":["data-visualization","kotlin","raspberry-pi","sigbla","temperature-sensor"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfelde.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}},"created_at":"2023-12-03T16:27:20.000Z","updated_at":"2023-12-03T17:19:39.000Z","dependencies_parsed_at":"2023-12-03T18:23:00.437Z","dependency_job_id":"10bfef60-5ba1-4718-b47b-0be058a91217","html_url":"https://github.com/cfelde/raspberry-pi-temperature","commit_stats":null,"previous_names":["cfelde/raspberry-pi-temperature"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfelde/raspberry-pi-temperature","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfelde%2Fraspberry-pi-temperature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfelde%2Fraspberry-pi-temperature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfelde%2Fraspberry-pi-temperature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfelde%2Fraspberry-pi-temperature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfelde","download_url":"https://codeload.github.com/cfelde/raspberry-pi-temperature/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfelde%2Fraspberry-pi-temperature/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["data-visualization","kotlin","raspberry-pi","sigbla","temperature-sensor"],"created_at":"2024-10-07T01:20:29.722Z","updated_at":"2026-05-18T15:33:12.882Z","avatar_url":"https://github.com/cfelde.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi temperature vs room temperature\n\nI have a Raspberry Pi 4 running 24/7, doing various infrequent activities.\n\nIt's passively cooled, which means that its idle temperature is impacted by the ambient room\ntemperature.\n\nCould it then be possible to create a model where, by measuring the Raspberry Pi temperature,\nwe can calculate the ambient room temperature?\n\nTo build such a model I bought an external USB connected temperature sensor, and started logging\nthe internal (Raspberry Pi) temperature together with the external (room) temperature, and also load averages.\n\nThis project uses [Sigbla](https://sigbla.app) to load and display the internal and external\ntemperatures in a chart. No model has yet been created, but this is a first step towards that. I'll do a follow-up\nlater at some point where I also include the load averages and likely some linear regression to build such a model.\n\nI have done a [blog post](https://blog.cfelde.com/2023/12/raspberry-pi-vs-room-temp/) if you're keen, but here's what\nthe chart looks like:\n\n![Temperature chart](chart.png)\n\n## How to run\n\nI've included the temperature logs in the `data` folder.\n\nYou can build and run using these files like so:\n\n``` sh\n./gradlew clean build\njava -jar build/libs/raspberry-pi-temperature-1.0-all.jar data/temperature.log data/outside_temp.log\n```\n\nWhen running you can access the chart and temperature table in your browser from the URLs printed to the console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfelde%2Fraspberry-pi-temperature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfelde%2Fraspberry-pi-temperature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfelde%2Fraspberry-pi-temperature/lists"}