{"id":20454756,"url":"https://github.com/elfive/homebridge-raspberry-simplegpio","last_synced_at":"2026-04-16T16:02:47.306Z","repository":{"id":54790240,"uuid":"330831182","full_name":"elfive/homebridge-raspberry-simplegpio","owner":"elfive","description":"control your raspberrry pi GPIO pins from homekit","archived":false,"fork":false,"pushed_at":"2021-02-04T00:19:11.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T04:04:23.761Z","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/elfive.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":"2021-01-19T01:32:54.000Z","updated_at":"2021-04-07T07:58:50.000Z","dependencies_parsed_at":"2022-08-14T03:00:56.235Z","dependency_job_id":null,"html_url":"https://github.com/elfive/homebridge-raspberry-simplegpio","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfive%2Fhomebridge-raspberry-simplegpio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfive%2Fhomebridge-raspberry-simplegpio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfive%2Fhomebridge-raspberry-simplegpio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfive%2Fhomebridge-raspberry-simplegpio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elfive","download_url":"https://codeload.github.com/elfive/homebridge-raspberry-simplegpio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005819,"owners_count":20056434,"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-15T11:17:02.459Z","updated_at":"2026-04-16T16:02:42.268Z","avatar_url":"https://github.com/elfive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## homebridge-raspberry-simplegpio\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/homebridge-raspberry-simplegpio\"\u003e\n    \u003cimg src=\"https://flat.badgen.net/npm/v/homebridge-raspberry-simplegpio\" alt=\"NPM Version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- \u003ca href=\"https://www.npmjs.com/package/homebridge-raspberry-simplegpio\"\u003e\n    \u003cimg src=\"https://flat.badgen.net/npm/dt/homebridge-raspberry-simplegpio\" alt=\"Total NPM Downloads\" /\u003e\n  \u003c/a\u003e --\u003e\n  \u003c!-- \u003ca href=\"https://github.com/homebridge/homebridge/wiki/Verified-Plugins\"\u003e\n    \u003cimg src=\"https://flat.badgen.net/badge/homebridge/verified/purple\" alt=\"Verified by Homebridge\" /\u003e\n  \u003c/a\u003e --\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e\u003ca href=\"#2-how-to-setup\"\u003eSetup Guide\u003c/a\u003e | \u003ca href=\"#4-how-to-contribute\"\u003eContribute\u003c/a\u003e \u003c/strong\u003e\n\u003c/p\u003e\n\n## 1) Description\n\ncontrol your raspberrry pi GPIO pins from homekit.\n\n### features\n\n- customize homekit accessory type\n- no extra configure except homebridge config.json\n- ...\n\n\n\n### limitations\n\n- from the plugin name, you may know that, this plugin only support those accesscories which can controled by a single pin.\n  like switch, led, buzzer, relay...\n- ...\n\n\n\n## 2) How to setup\n\n1. wire your accessories, check wires are correctly connected to raspberry Pi before power it up.\n2. edit config.json or just use the homebridge config UI panel to configure this plugin.\n\n\n## 3) Configure\n\n### config.json field\n\n|  field   name  |  type  | required |         default         |        range        | description                                                  |\n| :------------: | :----: | :------: | :---------------------: | :-----------------: | ------------------------------------------------------------ |\n|   accessory    | string |   yes    | 'raspberry_simple_gpio' |         ---         | homebridge required, must be 'raspberry_simple_gpio'         |\n|      name      | string |   yes    |    'Raspberry-GPIO'     |         ---         | device name shows in HomeKit.                                |\n| accessory_type | string |   yes    |        'switch'         |  *see description*  | one of these values:\u003cbr/\u003e- fan\u003cbr/\u003e- outlet\u003cbr/\u003e- switch\u003cbr/\u003e- contact_senser\u003cbr/\u003e- leak_senser\u003cbr/\u003e- motion_senser\u003cbr/\u003e- occupancy_senser\u003cbr/\u003e- smoke_senser |\n|      pin       |  int   |   yes    |           ---           |        1-40         | raspberry GPIO pin number in **physical** mode, **NOT wPi or BCM mode** |\n| reverse_status |  bool  |    no    |          false          |     true/false      | reverse pin status. If true then on for low, off for high; if false then on for high, off for low. |\n|  init_status   | string |    no    |          'off'          | 'on'/'off'/'ignore' | Init accessory status.                                       |\n|   log_level    |  int   |    no    |            2            |      1,2,3,4,9      | one of these values:\u003cbr/\u003e- 1: Debug\u003cbr/\u003e- 2: Info\u003cbr/\u003e- 3: Warn\u003cbr/\u003e- 4: Error\u003cbr/\u003e- 9: None |\n\n\n\n### example of config.json file\n\n```json\n\"accessories\": [{\n    \"name\": \"CH1\",\n    \"accessory_type\": \"switch\",\n    \"pin\": 40,\n    \"reverse_status\": false,\n    \"init_status\": \"off\",\n    \"log_level\": 1,\n    \"accessory\": \"raspberry_simple_gpio\"\n}]\n```\n\n\n\n## 4) How to contribute\n\neveryone is welcome to contribute to this plugin. PR/issue/debug all are welcome.\n\nor you can send me an e-mail: elfive@elfive.cn\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfive%2Fhomebridge-raspberry-simplegpio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfive%2Fhomebridge-raspberry-simplegpio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfive%2Fhomebridge-raspberry-simplegpio/lists"}