{"id":21381972,"url":"https://github.com/jangita/docker-raspbian-temp","last_synced_at":"2026-05-09T13:17:37.315Z","repository":{"id":137239370,"uuid":"304958029","full_name":"jangita/docker-raspbian-temp","owner":"jangita","description":"Small utility to send out the temperature of your Raspberry Pi (running Raspbian) to an external URL. It also posts the host name in case you are monitoring a Raspberry Pi swarm or something cool like that. Works with https://github.com/jangita/docker-raspbian-temp-server","archived":false,"fork":false,"pushed_at":"2020-11-11T03:01:09.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T23:11:24.388Z","etag":null,"topics":["docker","raspberry","raspberry-pi","raspberry-pi-3","raspberry-pi-4","raspberry-pi-zero","raspberry-pi-zero-w","raspberrypi","raspbian","temp","temperature","temperature-monitoring","temperature-sensor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jangita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-17T19:53:26.000Z","updated_at":"2023-12-12T03:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1c12b57-be92-4ee8-95b5-5a0da880678b","html_url":"https://github.com/jangita/docker-raspbian-temp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangita%2Fdocker-raspbian-temp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangita%2Fdocker-raspbian-temp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangita%2Fdocker-raspbian-temp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jangita%2Fdocker-raspbian-temp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jangita","download_url":"https://codeload.github.com/jangita/docker-raspbian-temp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858056,"owners_count":20359271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","raspberry","raspberry-pi","raspberry-pi-3","raspberry-pi-4","raspberry-pi-zero","raspberry-pi-zero-w","raspberrypi","raspbian","temp","temperature","temperature-monitoring","temperature-sensor"],"created_at":"2024-11-22T10:50:54.017Z","updated_at":"2026-05-09T13:17:32.279Z","avatar_url":"https://github.com/jangita.png","language":"Python","funding_links":["https://paypal.me/exoscale"],"categories":[],"sub_categories":[],"readme":"# Docker Raspbian Temp Reporter\n\n## What is this ?\n\nSmall utility to send out the temperature of your Raspberry Pi (running Raspbian) to an external URL. It also posts the host name in case you are monitoring a Raspberry Pi swarm or something cool like that.\n\nThere is an example express-nodejs-Docker server that can receive this information here https://github.com/jangita/docker-raspbian-temp-server\nI have a stable version over at docker here https://hub.docker.com/repository/docker/jangita/raspbian-temp-post\n\n## Why ?\n\nI've always found myself wanting to monitor my Raspberry Pi's temperature remotely. So I'd just run one of these containers in each and presto. Don't have to bother coding. And yes I do work my Pi's hard and install fans and stuff like that, especially for my commercial products. Hopefully it will be of use to you too!\n\n## How do I run it?\n\nInstall docker. Check out the documentation here \u003e https://docs.docker.com/engine/install/debian/\nThe docker page for reference is here https://hub.docker.com/repository/docker/jangita/raspbian-temp-post\n\nTo run the version over at Docker hub which is \"stable\" and I maintain, type\n\n```\ndocker run -d -v /sys/class/thermal/thermal_zone0/temp:/app/temp -v /etc/hostname:/app/hostname -e POST_SECONDS=10 -e POST_URL=\"http://docker-raspbian.jangita.io:16111/temp\" jangita/raspbian-temp-post:latest\n```\n\nTo run the version from this repo which is bleeding edge and may break, but has the latest and greatest features, first build from this Github repo then run: \n```\ndocker build -t raspbian-temp-post https://github.com/jangita/docker-raspbian-temp.git\n```\nwhen that is done, run \n```\ndocker run -d -v /sys/class/thermal/thermal_zone0/temp:/app/temp -v /etc/hostname:/app/hostname -e POST_SECONDS=10 -e POST_URL=\"http://docker-raspbian.jangita.io:16111/temp\" raspbian-temp-post\n```\nand it should be up and running.\n\n## Can I configure which URL it POSTs to and how often it POSTs ?\n\nYes! Just change the environment variables POST_URL and POST_SECONDS which in the above commands points to my test server and 10 seconds. This is how often the temperature is checked and posted and which URL the details are posted to. You can also set them in your docker_compose.yml file and so on. Note that the service does not terminate if the URL is invalid, but it will terminate if the environment variables do not make sense e.g POST every \"Chris\" seconds 🤣 instead of 20 seconds.\n\n## What format does it POST in?\n\nThe information is posted as JSON on the HTTP body like so\n```\n    {\n        \"host\": \"myraspberry\"\n        \"temp\": 338459\n    }\n```\n\nThe temperature is in millidegrees C  milli = thousandths of a degree Celcius - Thanks! French!) so divide by 1000 to give you degrees C and do the nessesary to convert to degrees F or Kelvin if you are feeling scientific 😎\n\n## Contributing\n\nWould greatly appreciate a coffee to put up and maintain more opensource stuff. Buy me one here ☕ https://paypal.me/exoscale\n\nThings to do:\n1. Tighten up and lock down the versioning\n2. Better logging\n\nAs always, all contributions of whatever nature are welcome. Just\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request 😁\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjangita%2Fdocker-raspbian-temp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjangita%2Fdocker-raspbian-temp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjangita%2Fdocker-raspbian-temp/lists"}