{"id":21141067,"url":"https://github.com/que20/homebridge-http-motion-sensor","last_synced_at":"2025-07-09T04:31:51.268Z","repository":{"id":57265419,"uuid":"235108663","full_name":"Que20/homebridge-http-motion-sensor","owner":"Que20","description":"A Homebridge plugin for motion sensors over http","archived":false,"fork":false,"pushed_at":"2020-12-07T12:59:31.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T17:42:55.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Que20.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-01-20T13:33:13.000Z","updated_at":"2020-12-07T12:59:33.000Z","dependencies_parsed_at":"2022-08-25T03:40:42.785Z","dependency_job_id":null,"html_url":"https://github.com/Que20/homebridge-http-motion-sensor","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/Que20%2Fhomebridge-http-motion-sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Que20%2Fhomebridge-http-motion-sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Que20%2Fhomebridge-http-motion-sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Que20%2Fhomebridge-http-motion-sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Que20","download_url":"https://codeload.github.com/Que20/homebridge-http-motion-sensor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225483868,"owners_count":17481442,"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-20T07:21:25.038Z","updated_at":"2024-11-20T07:21:27.675Z","avatar_url":"https://github.com/Que20.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homebridge-http-motion-sensor\n\nThis is a plugin for homebridge which can monitor a motion sensor via a HTTP endpoint.\nThe endpoint shall return a 0 or 1 value depending on the sensor state.\n\nThis project is heavily inspired by cyakimov's [homebridge-http-contact-sensor](https://github.com/cyakimov/homebridge-http-contact-sensor)\n\n## Install\n\nPrevious installation of [Homebridge](https://github.com/nfarina/homebridge) is required.\n\nThen run the following command to install `homebridge-http-motion-sensor`\n\n```\nnpm install -g npm install -g homebridge-http-pir-motion-sensor\n```\n\n## Configuration\n\nTo add to your `config.json` file, under the `accessories` array :\n```json\n{\n    \"accessory\": \"motion-sensor\",\n    \"name\": \"Hallway\",\n    \"pollInterval\": 500,\n    \"statusUrl\": \"http://localhost/sensor\"\n}\n```\n\n| Parameter     | Type   | Value                                                                  |\n| ------------- |--------|------------------------------------------------------------------------|\n| accessory     | String | Must be `motion-sensor`.                                               |\n| name          | String | The name that will be displayed in HomeKit for the accessory.          |\n| pollInterval  | Double | The interval for requesting the status url.                            |\n| statusUrl     | String | The url that will returns the status of the motion sensor (0 or 1).    |\n\n\nYou can add as many accessories as needed.\n\n## Thanks\n\nTo [cyakimov](https://github.com/cyakimov/) and the project [homebridge-http-contact-sensor](https://github.com/cyakimov/homebridge-http-contact-sensor)\n\n## Contribute\n\nPull requests are open ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fque20%2Fhomebridge-http-motion-sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fque20%2Fhomebridge-http-motion-sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fque20%2Fhomebridge-http-motion-sensor/lists"}