{"id":19942353,"url":"https://github.com/bahlo/hkpeople","last_synced_at":"2025-05-03T15:32:15.281Z","repository":{"id":57515240,"uuid":"121868584","full_name":"bahlo/hkpeople","owner":"bahlo","description":":family: HomeKit Sensor to know when people (i.e. their phones) are home","archived":false,"fork":false,"pushed_at":"2018-02-18T13:21:51.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:00:55.378Z","etag":null,"topics":["home","homekit","iphone","occupancy","people","sensor","smart"],"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/bahlo.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}},"created_at":"2018-02-17T15:55:54.000Z","updated_at":"2020-12-08T23:10:58.000Z","dependencies_parsed_at":"2022-08-30T01:42:04.021Z","dependency_job_id":null,"html_url":"https://github.com/bahlo/hkpeople","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/bahlo%2Fhkpeople","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fhkpeople/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fhkpeople/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahlo%2Fhkpeople/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahlo","download_url":"https://codeload.github.com/bahlo/hkpeople/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224365408,"owners_count":17299156,"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":["home","homekit","iphone","occupancy","people","sensor","smart"],"created_at":"2024-11-13T00:12:41.543Z","updated_at":"2024-11-13T00:12:42.171Z","avatar_url":"https://github.com/bahlo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hkpeople\n\nA HomeKit sensor to activate when people (i.e. their phones) are home.\nThis is super useful if you want to turn off the lights after everyone left, or turn on if anyone comes home.\n\nThanks [@brutella](https://github.com/brutella) for the awesome [HAP Go library](https://github.com/brutella/hc) which made this possible.\n\n## Usage\n\n### On your machine\n\n```sh\n# Requires valid go install\n$ go install github.com/bahlo/hkpeople/cmd/hkpeople\n\n# You can find out the hostnames of your phones on iOS in Settings -\u003e General -\u003e Info -\u003e Name\n$ TARGETS=my-iphone.local,so-iphone.local hkpeople\n```\n\n### On your iPhone\nThen open the Home app and add the sensor.\nThe pin is `45736753`, you can type the numbers that contain the respective letters for `hkpeople`.\n\n## Precompile (for Raspberry Pi)\n\n```sh\n$ git clone github.com/bahlo/hkpeople\n\n# Requires github.com/golang/dep to be installed\n$ dep ensure\n\n# Requires valid go install\n$ GOOS=linux GOARCH=arm GOARM=6 go build -o hkpeople-rpi cmd/hkpeople/main.go\n\n# Copy hkpeople-rpi to your raspberry and start it like describe above\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahlo%2Fhkpeople","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahlo%2Fhkpeople","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahlo%2Fhkpeople/lists"}