I'm sorry, I'm not sure. This simply leveraged the Shark IQ ios App to reverse engineer the API calls, so if they haven't changed between vacuums, then you should be good. Unfortunately, I'm also not maintaining this anymore. Feel free to fork the repo and make any updates: GitHub - TheChrisTech/Hubitat-SharkIQRobot: Hubitat Integration for Shark IQ Robot
Still working for me on an older model. All my lights turned on when the vac started today which would not work without that integration. If you have any sort of DNS based ad blocking you may need to whitelist the API domain (found in the code). I think I had found it was getting blocked by some of the public blocking lists at some point.
I have an older model IQ too. I assume the API domain you're referring to is "https://ads-field-39a9391a.aylanetworks.com", and I don't believe I'm blocking it or anything. If I hit with a browser I get "400:Bad Request" which makes sense since I didn't provide any params, but it's responding. When you say you were blocked, was that on your HE?
These are the errors I'm consistently getting, are these the errors you were seeing when you had the blocking issue?
I unfortunately don’t have the shark vac anymore. Looking at your logs though, you’re getting a 401, which is an unauthorized response. That means you’re hitting the endpoint, but your username and/or password is most likely incorrect.
I thought so too, but I went over to the website and tried logging in and it worked with that un/pw. I've triple confirmed it's the same I used to successfully log into the their sharkclean.com / sharkninja.com website. I also logged out of the iOS app and logged back in with that un/pw successfully. I even tried an old pw thinking maybe the API uses an old auth, but that didn't work.
Just checked mine again, still working fine and no errors. So the driver itself works.
Do you possibly have some sort of MFA enabled on your account (texting you a code to login)?
I don't have MFA on the account. I reset the pw but no luck with that. At this point I deleted the device and driver, re-installed the driver, but for the life of me don't recall how to add it as a device? I don't see any instructions in the thread or on GitHub, can I get a reminder?
I am seeing the same 401 unauthorized issue in the logs. It was working fine a week or two ago. I tried changing the username/password but no luck. Maybe something changed on the Shark side?
The unauthorized error you are seeing is very likely the same issue the Home Assistant integration encountered. Issue described in the below github thread. It seems that SharkClean has explicitly restricted authentication with the Api to just partners like Google Home and Alexa.
It might be. I'd be curious to see if anything has changed between the authentication handshake between the SharkClean app and the Shark API itself, unfortunately, I don't have a Shark Robot anymore.
I can debug more if someone wants to share their credentials for their SharkClean app with me (via PM - Yes, I know this is a sketchy ask. ). I'd need to kick off and dock the robot a few times to try and see what's going on behind the scenes.
(Doing packet captures between the iOS app and the SharkClean API is how I figured all this out previously.)