
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@homebridge-plugins/homebridge-sharkiq
Advanced tools
A Homebridge plugin to connect your Shark Vacuum to homebridge.
A Homebridge plugin for SharkIQ vacuums.
Contributions are always welcome. I used the sharkiq python module as a reference for creating the javascript wrapper to control SharkIQ Vacuums.
This plugin has only been tested on the UR250BEXUS model.
The fastest way to get community support (not for bugs) is to join the Homebridge Discord server and chat in the #sharkiq channel.
Run npm install -g @homebridge-plugins/homebridge-sharkiq
Configure Homebridge. The config file for SharkIQ should include:
{
"platforms": [
{
"name": "SharkIQ",
"platform": "SharkIQ",
"oAuthCode": "[Optional. Use for manually obtaining credentials]",
"vacuums": [
"[Shark Vacuum DSN]",
"..."
],
"europe": false,
"invertDockedStatus": false,
"dockedUpdateInterval": 30000
}
]
}
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.
If you would like to manually obtain your Shark Clean credentials, you can use an OAuth code. Refer to the OAuth Code Login Method section.
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.
If you are in Europe or the UK, 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.
The 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.
invertDockedStatus to true to display as "closed" when the vacuum is docked and "opened" when the vacuum is not dockedThis plugin supports both classic HomeKit Accessory Protocol (HAP) and Homebridge Matter.
SharkIQPlatform and SharkIQAccessory.SharkIQMatterPlatform when Homebridge Matter is available and enabled.If Matter is unavailable or disabled, the plugin automatically falls back to HAP mode.
| Mode | Homebridge Class | HAP Service(s) | Matter DeviceType | Matter Clusters |
|---|---|---|---|---|
| HAP | SharkIQPlatform / SharkIQAccessory | Fanv2, ContactSensor, Switch | N/A | N/A |
| Matter | SharkIQMatterPlatform | (HAP not registered in Matter path) | RoboticVacuumCleaner | rvcRunMode, rvcOperationalState |
The OAuth Code value is for creating and storing the login for the plugin. Here is how to sign in with this method.
The easiest method is to use the Homebridge UI OAuth Assistant in this plugin's Settings tab:
Settings -> OAuth Assistant.Generate Login URL.Exchange Code and restart Homebridge.Manual method (if needed):
/authorize/resume that shows up and view the headerscom.sharkninja.shark in the headerscode= and &. for example in com.sharkninja.shark://login.sharkninja.com/ios/com.sharkninja.shark/callback?code=abcdefghijkl&state=, abcdefghijkl is the code that needs to be copiedcode value in the OAuth Code config optionContributions would be very helpful to help this Homebridge plugin stay maintained and up to date. If you have any problems, please create an issue.
FAQs
A Homebridge plugin to connect your Shark Vacuum to homebridge.
The npm package @homebridge-plugins/homebridge-sharkiq receives a total of 101 weekly downloads. As such, @homebridge-plugins/homebridge-sharkiq popularity was classified as not popular.
We found that @homebridge-plugins/homebridge-sharkiq demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.