{"id":30069301,"url":"https://github.com/homebridge-plugins/homebridge-sharkiq","last_synced_at":"2025-08-08T11:08:10.351Z","repository":{"id":191761701,"uuid":"683932533","full_name":"homebridge-plugins/homebridge-sharkiq","owner":"homebridge-plugins","description":"A Homebridge plugin to connect your Shark Vacuum to homebridge.","archived":false,"fork":false,"pushed_at":"2025-08-04T13:28:17.000Z","size":467,"stargazers_count":11,"open_issues_count":12,"forks_count":5,"subscribers_count":5,"default_branch":"latest","last_synced_at":"2025-08-04T15:55:21.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/homebridge-plugins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Bubba8291"}},"created_at":"2023-08-28T05:03:10.000Z","updated_at":"2025-07-17T20:17:46.000Z","dependencies_parsed_at":"2024-08-11T03:51:03.501Z","dependency_job_id":"2953c967-85d8-4f2e-8406-492dfafa2823","html_url":"https://github.com/homebridge-plugins/homebridge-sharkiq","commit_stats":null,"previous_names":["bubba8291/homebridge-sharkiq","homebridge-plugins/homebridge-sharkiq"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/homebridge-plugins/homebridge-sharkiq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homebridge-plugins%2Fhomebridge-sharkiq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homebridge-plugins%2Fhomebridge-sharkiq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homebridge-plugins%2Fhomebridge-sharkiq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homebridge-plugins%2Fhomebridge-sharkiq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/homebridge-plugins","download_url":"https://codeload.github.com/homebridge-plugins/homebridge-sharkiq/tar.gz/refs/heads/latest","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homebridge-plugins%2Fhomebridge-sharkiq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269331757,"owners_count":24399143,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-08T11:08:07.558Z","updated_at":"2025-08-08T11:08:10.344Z","avatar_url":"https://github.com/homebridge-plugins.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Bubba8291"],"categories":[],"sub_categories":[],"readme":"\u003cspan align=\"center\"\u003e\n\n# Homebridge Shark Clean Vacuum Plugin\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![npm](https://badgen.net/npm/dt/@homebridge-plugins/homebridge-sharkiq?color=purple)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-sharkiq)\n[![npm](https://badgen.net/npm/v/@homebridge-plugins/homebridge-sharkiq?color=purple)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-sharkiq)\n\n\u003c/span\u003e\n\nA new homebridge plugin for SharkIQ Vacuums.\n\nContributions are always welcome. I used the [sharkiq](https://github.com/JeffResc/sharkiq/) python module as a reference for creating the javascript wrapper to control SharkIQ Vacuums.\n\nThis plguin has only been tested on the `UR250BEXUS` model.\n\nThe fastest way to get community support (not for bugs) is to join the [Homebridge Discord server](https://discord.gg/kqNCe2D) and chat in the #sharkiq channel.\n\n## Install and Setup\n\n### Step 1.\n\nRun `npm install -g homebridge-sharkiq`\n\n### Step 2.\n\nConfigure Homebridge. The config file for SharkIQ should include:\n\n```json\n{\n  \"platforms\": [\n    {\n      \"name\": \"SharkIQ\",\n      \"platform\": \"SharkIQ\",\n      \"email\": \"[Shark Clean Account Email]\",\n      \"password\": \"[Shark Clean Account Password]\",\n      \"oAuthCode\": \"[Optional. Use for manually obtaining credentials]\",\n      \"vacuums\": [\n        \"[Shark Vacuum DSN]\",\n        \"...\"\n      ],\n      \"europe\": false,\n      \"invertDockedStatus\": false,\n      \"dockedUpdateInterval\": 30000\n    }\n  ]\n}\n```\n\n# Important\n\nYou may be prompted to use the manual OAuth login method. In order to use the manual OAuth login method, you must remove the email and password values in your configuration first.\n\n#\n\nThe email and password is your Shark Clean account you used to setup the vacuum. The Vacuums array is a list of your vacuum's device serial numbers (DSN). If you only have one vacuum, just include the one's DSN. The DSN(s) can be found in the SharkClean mobile app.\n\nIf you would like to manually obtain your Shark Clean credentials without using your email and password, you can obtain a OAuth code instead. Refer to the `OAuth Code Login Method` section.\n\nThe Vacuums array is a list of your vacuum's device serial numbers (DSN). If you only have one vacuum, just include the one's DSN. The DSN(s) can be found in the SharkClean mobile app.\n\nIf you are in Europe, set the `europe` config value to `true`. SharkClean has separate servers for the U.S. and Europe. The default value is `false`, which connects to the U.S. server.\n\nThe default interval between updating the docked status is 30 seconds (30000 ms). To change the docked status interval, add `dockedUpdateInterval` to your config. Value is in milliseconds. If the interval is too low, you have the risk of your account being rate limited.\n\n## Features\n\n- Be able to turn on and off the vacuum\n- Set the power mode of the vacuum and change it while running\n- Sensor for if the vacuum is docked or not\n  - The sensor will display as \"opened\" when the vacuum is docked and \"closed\" when the vacuum is not docked\n  - Set `invertDockedStatus` to `true` to display as \"closed\" when the vacuum is docked and \"opened\" when the vacuum is not docked\n- Pause switch for pausing the vacuum while it's running\n\n### OAuth Code Login Method\n\nThe OAuth Code value is for creating and storing the login for the plugin. Here is how to sign in with this method.\n\n1. Run Homebridge with the latest plugin version.\n2. Open the Homebridge logs\n3. Open the URL in the console printed by homebridge-sharkiq. Safari will not work due to the way Safari handles the results of the login\n4. Before you login, open up developer tools in your browser (inspect element), and navigate to the network tab\n5. Enter your login info, and press continue\n6. Open the request with the uri of `/authorize/resume` that shows up and view the headers\n7. Search `com.sharkninja.shark` in the headers\n8. Copy the code in between `code=` and `\u0026`. for example in `com.sharkninja.shark://login.sharkninja.com/ios/com.sharkninja.shark/callback?code=abcdefghijkl\u0026state=`, `abcdefghijkl` is the code that needs to be copied\n9. Open your Homebridge configuration, and paste the `code` value in the OAuth Code config option\n10. Restart Homebridge\n\n## Notes\n\nContributions would be very helpful to help this Homebridge plugin stay maintained and up to date. If you have any problems, please create an issue.\n\n## Useful Links\n\n- [SharkIQ Python](https://github.com/JeffResc/sharkiq/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomebridge-plugins%2Fhomebridge-sharkiq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhomebridge-plugins%2Fhomebridge-sharkiq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomebridge-plugins%2Fhomebridge-sharkiq/lists"}