{"id":22752991,"url":"https://github.com/eliottrobson/homebridge-plex","last_synced_at":"2026-05-03T06:38:54.813Z","repository":{"id":228647678,"uuid":"214518889","full_name":"eliottrobson/homebridge-plex","owner":"eliottrobson","description":"Homebridge plugin to track Plex webhook events","archived":false,"fork":false,"pushed_at":"2021-01-09T16:20:06.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T07:17:28.628Z","etag":null,"topics":["homebridge","plex","plex-media-server"],"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/eliottrobson.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-10-11T19:58:05.000Z","updated_at":"2024-05-31T08:43:10.000Z","dependencies_parsed_at":"2024-03-19T20:45:36.506Z","dependency_job_id":null,"html_url":"https://github.com/eliottrobson/homebridge-plex","commit_stats":null,"previous_names":["eliottrobson/homebridge-plex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eliottrobson/homebridge-plex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliottrobson%2Fhomebridge-plex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliottrobson%2Fhomebridge-plex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliottrobson%2Fhomebridge-plex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliottrobson%2Fhomebridge-plex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliottrobson","download_url":"https://codeload.github.com/eliottrobson/homebridge-plex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliottrobson%2Fhomebridge-plex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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","plex","plex-media-server"],"created_at":"2024-12-11T06:08:28.123Z","updated_at":"2026-05-03T06:38:54.783Z","avatar_url":"https://github.com/eliottrobson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homebridge Plex\nHomebridge plugin to track Plex webhook events (play / pause / stop)\n\n# Installation\n\n## Install the plugin\n```\nsudo npm install @eliottrobson/homebridge-plex-webhooks -g --registry \"https://npm.pkg.github.com\"\nln -s /usr/local/lib/node_modules/@eliottrobson/homebridge-plex-webhooks /usr/local/lib/node_modules/homebridge-plex-webhooks-@eliottrobson\n```\n\n## Configure in homebridge config\n```\n{\n    \"platform\": \"homebridge-plex-webhooks.Plex\",\n    \"sensors\": [\n        {\n            \"name\": \"Plex Playing\"\n        },\n        {\n            \"name\": \"Plex - TV Show Playing\",\n            \"users\": [\"eliottrobson\"],\n            \"players\": [\"Bedroom TV\"],\n            \"types\": [\"episode\"]\n        },\n        {\n            \"name\": \"Plex - Movie Playing\",\n            \"users\": [\"eliottrobson\"],\n            \"players\": [\"Bedroom TV\"],\n            \"types\": [\"movie\", \"clip\"]\n        },\n        {\n            \"name\": \"Plex - Music Playing\",\n            \"users\": [\"eliottrobson\"],\n            \"players\": [\"Bedroom TV\"],\n            \"types\": [\"track\"],\n            \"delay\": 1000\n        }\n    ]\n}\n```\n\n## Setting up plex\n\nYou will need plex pass in order to add the webhook to your Plex account, first visit the following url:\n\nhttps://app.plex.tv/desktop#!/settings/webhooks\n\nClick \"ADD WEBHOOK\" and enter the url of the homebridge server with port 32512 (this can be changed in settings). (Example: http://192.168.86.100:32512).\n\n## Setup Homekit\n\nThe device will show as a plug. This is because plugs have 2 states and can very easily be added into homekit automations.\n\nOutlet State | In Use State | Plex State\n------------ | ------------ | ----------\n`ON` | `ON` | `PLAYING`\n`ON` | `OFF` | `PAUSED`\n`OFF` | `OFF` | `STOPPED`\n\n# Config\nVariable | Description\n-------- | -----------\n`sensors` | This is the array of sensor objects (see sensor-config below).\n`port` | (Optional) The custom port to use (default: 32512)\n\n## Sensor Config\nVariable | Description\n-------- | -----------\n`name` | This will be the name of this sensor, is is required and must be unique.\n`users` | (Optional) This is a filter for the different plex users required to trigger the sensor\n`players` | (Optional) This is a filter for the different plex players required to trigger the sensor\n`types` | (Optional) This is a filter for the types of media required to trigger the sensor (episode, movie, track)\n`delay` | (Optional) Applies an optional delay to the off status to avoid quick off-\u003eon when moving between songs etc...\n\n# Debugging\n```\nDEBUG=* /usr/local/bin/homebridge -D -U ~/Documents/Homebridge/homebridge-dev -P ~/Documents/Source/homebridge-plex\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliottrobson%2Fhomebridge-plex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliottrobson%2Fhomebridge-plex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliottrobson%2Fhomebridge-plex/lists"}