{"id":24302797,"url":"https://github.com/taigrr/temper","last_synced_at":"2025-10-29T21:33:31.047Z","repository":{"id":102067393,"uuid":"564663470","full_name":"taigrr/temper","owner":"taigrr","description":"Library for accessing temperature functions from TEMPer devices","archived":false,"fork":false,"pushed_at":"2023-03-14T04:21:55.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T00:19:41.900Z","etag":null,"topics":["temper","temperature-sensor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taigrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"taigrr","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-11-11T07:52:08.000Z","updated_at":"2023-03-13T06:37:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce4c6526-8fc5-413a-9a23-d3c8cabd3e1f","html_url":"https://github.com/taigrr/temper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Ftemper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Ftemper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Ftemper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Ftemper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taigrr","download_url":"https://codeload.github.com/taigrr/temper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242225836,"owners_count":20092662,"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":["temper","temperature-sensor"],"created_at":"2025-01-17T00:19:24.175Z","updated_at":"2025-10-29T21:33:25.996Z","avatar_url":"https://github.com/taigrr.png","language":"Go","funding_links":["https://github.com/sponsors/taigrr"],"categories":[],"sub_categories":[],"readme":"# temper\n\n[![Latest Release](https://img.shields.io/github/release/taigrr/temper.svg?style=for-the-badge)](https://github.com/taigrr/temper/releases)\n[![Software License](https://img.shields.io/badge/license-0BSD-blue.svg?style=for-the-badge)](/LICENSE)\n[![Go ReportCard](https://goreportcard.com/badge/github.com/taigrr/temper?style=for-the-badge)](https://goreportcard.com/report/taigrr/temper)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](https://pkg.go.dev/github.com/taigrr/temper)\n\nA zero-dependency library to read USB TEMPer thermometers on Linux.\n\n## Configuration\n\nOn Linux you need to set up some udev rules to be able to access the device as\na non-root/regular user.\nEdit `/etc/udev/rules.d/99-temper.rules` and add these lines:\n\n```\nSUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"1a86\", ATTRS{idProduct}==\"e025\", GROUP=\"plugdev\", SYMLINK+=\"temper%n\"\nSUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"0c45\", ATTRS{idProduct}==\"7401\", GROUP=\"plugdev\", SYMLINK+=\"temper%n\"\nSUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"0c45\", ATTRS{idProduct}==\"7402\", GROUP=\"plugdev\", SYMLINK+=\"temper%n\"\nSUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"1130\", ATTRS{idProduct}==\"660c\", GROUP=\"plugdev\", SYMLINK+=\"temper%n\"\n```\nNote that there are many versions of the TEMPer USB and your\n`idVendor` and `idProduct` ATTRs may differ.\n\nMake sure your user is part of the `plugdev` group and reload the rules with\n`sudo udevadm control --reload-rules`.\nUnplug and replug the device.\n\n## Example Code\n\nThere are examples on how to use this repo in [examples/main.go](/examples/main.go)\n\nAdditionally, there is a cli-tool available at [temper-cli](https://github.com/taigrr/temper-cli)\n\n\n## Acknowledgement\nDuring my development I tested my code against the shell script found in [this article](https://funprojects.blog/2021/05/02/temper-usb-temperature-sensor/).\n\nAs I only have one TEMPer device, I have sourced the product and vendor IDs for\nother TEMPer devices for the sample `.rules` file (above) from [this repo](https://github.com/edorfaus/TEMPered/blob/master/libtempered/temper_type.c).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Ftemper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaigrr%2Ftemper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Ftemper/lists"}