{"id":21275431,"url":"https://github.com/tmsmr/chilld","last_synced_at":"2025-03-15T13:13:18.983Z","repository":{"id":67785950,"uuid":"418126160","full_name":"tmsmr/chilld","owner":"tmsmr","description":"POC: Thermal controller for the Raspberry Pi Compute Module 4 IO Board.","archived":false,"fork":false,"pushed_at":"2021-10-17T17:11:27.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T03:24:31.140Z","etag":null,"topics":["compute-module-4","cooling","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tmsmr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-10-17T12:34:36.000Z","updated_at":"2022-11-22T20:25:16.000Z","dependencies_parsed_at":"2023-02-25T01:16:09.848Z","dependency_job_id":null,"html_url":"https://github.com/tmsmr/chilld","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsmr%2Fchilld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsmr%2Fchilld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsmr%2Fchilld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmsmr%2Fchilld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmsmr","download_url":"https://codeload.github.com/tmsmr/chilld/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732303,"owners_count":20338839,"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":["compute-module-4","cooling","golang"],"created_at":"2024-11-21T09:31:32.998Z","updated_at":"2025-03-15T13:13:18.965Z","avatar_url":"https://github.com/tmsmr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChillD\n\n*POC: Thermal controller for the Raspberry Pi Compute Module 4 IO Board.*\n\n### **ChillD is a simple *user space* thermal controller for the [CM4IO](https://www.raspberrypi.com/products/compute-module-4-io-board/). It periodically...**\n- Reads the BCM2711's temperature using the Generic Thermal Sysfs driver of the linux kernel\n- Calculates the target fan speed in a [linear](https://github.com/tmsmr/chilld/blob/main/fancurve/linear.go) manner\n- Controls a fan connected to the PWM fan connector on the CM4IO board\n\nI mainly built this as an application example for https://github.com/tmsmr/cm4iofan. Please note [should-i-use-this-for-my-247-running-project](https://github.com/tmsmr/cm4iofan#should-i-use-this-for-my-247-running-project).\n\n## Requirements\nSee https://github.com/tmsmr/cm4iofan#requirements\n\n## Usage\n\n### Get it\n- Clone the Repository and build the `chilld` executable using `go build`, or\n- Build the executable using `go install github.com/tmsmr/chilld@v0.9.0` to find it in `$GOPATH/bin`, or\n- Download the latest tagged version from the Release page\n\n### Use it\n- No configuration needed (nor available at the moment...)\n- Execute it: `./chilld`\n\n## Comments\n\n### System service\n- Feel free to adjust and use [chilld.service](./chilld.service)\n- Scripts for OpenRC, SysVinit, ... shouldn't be a big deal\n\n### User with access to I2C\nChillD needs a user with access to the I2C bus. If you are using Raspian/RaspiOS, the group `i2c` should be available for that purpose.\n\nOtherwise you may:\n- Add a user for ChillD: `useradd -r -M -s /bin/false chilld`\n- Add the I2C group: `groupadd i2c`\n- Add the user to the created group: `usermod -aG i2c chilld`\n- Add a udev rule to assign the group: `echo 'KERNEL==\"i2c-[0-9]*\", GROUP=\"i2c\"' \u003e\u003e /etc/udev/rules.d/10-i2c_group.rules`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmsmr%2Fchilld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmsmr%2Fchilld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmsmr%2Fchilld/lists"}