The missing integration with Sunsa smart wands was a low-hanging fruit like what I’ve been sniping for a while in order to get my hands into putting together an integration. After realizing that no one had tackled such a fan project even with a REST API publicly available I wasted no time to get on it.
After installing this yesterday everything was working great. This morning, the blinds did not open automatically - I found that the authentication with UID and APIkey to Sunsa failed. Re-entering these keys via the config failed as being invalid.
So I then tried to login to Sunsa’s website via my email account - and it too failed. Requested a password reset email and 10 minutes later, it has not shown up.
Last night at 6:00 am UTC the integration asked me to reauthenticate. I simply reloaded it and it’s been fine since. Checking the logs, polling the cloud first timed out and then the API returned 401. Looks like a glitch on the Sunsa side.
Thanks for confirming there was indeed an issue on Sunsa’s end. I just now re-entered the UID/key and this time, it accepted it. So all good for now.
Meanwhile, I’m working with Sunsa support on why website auth is failing - but that’s really not relevant now to this issue.
EDIT: The credentials for the Sunsa mobile app are unique to it and have no relevance to the sunsawands website. So that explains why the website auth was failing. Next time there is a glitch like this, I need to verify if the Sunsa mobile app can connect or not. I haven’t actually used that app in well over a year and had forgotten about it too!