{"id":20487178,"url":"https://github.com/fdocr/misfans","last_synced_at":"2025-07-11T04:36:45.318Z","repository":{"id":104791918,"uuid":"282607825","full_name":"fdocr/misfans","owner":"fdocr","description":"Tool for contolling my rPi fans (mis fans)","archived":false,"fork":false,"pushed_at":"2022-04-03T22:52:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T01:13:25.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/fdocr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-07-26T08:26:41.000Z","updated_at":"2022-04-03T22:52:59.000Z","dependencies_parsed_at":"2023-03-13T14:53:16.055Z","dependency_job_id":null,"html_url":"https://github.com/fdocr/misfans","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/fdocr%2Fmisfans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdocr%2Fmisfans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdocr%2Fmisfans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdocr%2Fmisfans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdocr","download_url":"https://codeload.github.com/fdocr/misfans/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242065920,"owners_count":20066660,"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":[],"created_at":"2024-11-15T16:40:14.637Z","updated_at":"2025-03-05T16:41:46.644Z","avatar_url":"https://github.com/fdocr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## misfans\n\nrPi experiment to automate a fan accesory to switch between ON/OFF based on temperature measurements. \n\n### Requirements\n\nA ruby runtime installed. If new to ruby my personal recommendation is [RVM](https://rvm.io/): \n\n```\ncurl -sSL https://get.rvm.io | bash -s stable --ruby\n```\n\nAlso install Bundler: `gem install bundler`\n\n### Installing\n\nClone the repo `git clone https://github.com/fdoxyz/misfans.git` and move into the directory (`cd misfans`).\n\nLogging is done directly to the file `/var/log/misfans.log`. Make sure the user running the deamon has write access to the file, if you need access or you're not sure first do `sudo touch /var/log/misfans.log` and then `chown \u003cYOUR_USER\u003e /var/log/misfans.log`.\n\nInstall dependencies `bundle install` and start the daemon with `ruby daemon start`. misfans is using the [Daemons](https://github.com/thuehlinger/daemons) gem, so __from within this directory__ you can use `ruby daemon.rb status`, `ruby daemon.rb restart`, `ruby daemon.rb stop` to interact with the daemon.\n\nOnce the daemon is running you should expect the fan to be triggered/enabled by a GPIO pin if the temperature rises above 72 'C and the fans will stop when the temperature falls below 55 'C.\n\n__To-Do (a lot):__\n- [ ] Use Daemons' argument feature for data\n- [ ] Organize in a proper class \u0026 make less of a script\n- [ ] Consider embedding in Docker container (ruby runtime dependency)\n- [ ] Test\n\nIf interested reach out with an issue or drop a PR :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdocr%2Fmisfans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdocr%2Fmisfans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdocr%2Fmisfans/lists"}