{"id":14977970,"url":"https://github.com/jhrcook/homebridge-controller","last_synced_at":"2026-03-06T22:06:15.404Z","repository":{"id":253766695,"uuid":"844111363","full_name":"jhrcook/homebridge-controller","owner":"jhrcook","description":"A program to execute custom Homebridge controlling programs.","archived":false,"fork":false,"pushed_at":"2024-08-27T21:55:03.000Z","size":53,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T22:36:21.360Z","etag":null,"topics":["homebridge","raspberrypi","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jhrcook.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":"2024-08-18T12:22:50.000Z","updated_at":"2024-08-25T11:22:36.000Z","dependencies_parsed_at":"2024-09-23T23:30:27.658Z","dependency_job_id":null,"html_url":"https://github.com/jhrcook/homebridge-controller","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.04347826086956519,"last_synced_commit":"bc02ac9ad3b636bb0acd36d4cdc33171409ef69e"},"previous_names":["jhrcook/homebridge-controller"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jhrcook/homebridge-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fhomebridge-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fhomebridge-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fhomebridge-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fhomebridge-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhrcook","download_url":"https://codeload.github.com/jhrcook/homebridge-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fhomebridge-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30200756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["homebridge","raspberrypi","rust"],"created_at":"2024-09-24T13:56:37.302Z","updated_at":"2026-03-06T22:06:15.374Z","avatar_url":"https://github.com/jhrcook.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Homebridge Controller\n\nA program to execute custom Homebridge controlling programs.\n\n## Usage\n\n### Locally\n\nFor development:\n\n```bash\n. ./.secrets\nRUST_LOG=\"debug\" cargo run -- config.yaml\n```\n\n### Deploy on Raspberry Pi\n\nDownload the ['compose.yaml'](./compose.yaml) and ['Dockerfile'](./Dockerfile) and run the container in the background:\n\n```bash\n# Docker files:\nwget https://github.com/jhrcook/homebridge-controller/raw/main/Dockerfile\nwget https://github.com/jhrcook/homebridge-controller/raw/main/compose.yaml\n\n#\u003e Set the secrets in the \"compose.yaml\" file.\n\n# Configuration files:\nwget https://github.com/jhrcook/homebridge-controller/raw/main/config.json\nwget https://github.com/jhrcook/homebridge-controller/raw/main/log4rs.yaml\n\n# Build docker\ndocker compose up -d\n```\n\n## Programs\n\nGlobal configuration:\n\n- `timezome`: number of hours after GMT\n- `ip_addess`: Homebridge IP address\n\n### Morning Light\n\nTurn the light on gradually in the morning.\n\nConfiguration:\n\n- `start`: time to start the sequence\n- `duration`: duration of fading-in brightness process\n- `final_brightness`: maximum brightness\n- `start_hue`: starting color hue\n- `final_hue`: final color hue\n- `active`: whether or not this process is active\n\n### Turning off morning light\n\nTurn the light off later in the morning.\n\nNotes\n\n- Make sure to only perform this once per day.\n- Can instead of a specific time set to go off a certain number of minutes after sunrise.\n\nConfiguration:\n\n- `off_time`: time to turn the lights off in the morning\n- `duration`: duration of the dimming process\n- `active`: whether or not this process is active\n\n### Turning on light in the evening\n\nTurn the light on in the evening.\n\nNotes\n\n- make sure to stop the process if the light is turned off during execution\n\nConfiguration\n\n- `hours_before_sunset_start`: number of hours before official sunset to start the sequence\n- `start_brightness`: starting brightness\n- `max_brightness`: maximum brightness\n- `final_brightness`: final brightness\n- `hours_after_sunset_end`: number of hours after sunset to finish\n- `active`: whether or not this process is active\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fhomebridge-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhrcook%2Fhomebridge-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fhomebridge-controller/lists"}