I’ve had the SmartThings integration working for a long time. I recently moved to a new install on a fresh copy of Raspbian and re-integrated ST using Nabu Casa and the built in integration, just like before. It worked fine for several days but now I can control things through the integration (turn on light etc) but the sensors only get updated when HA first fires up and then never get updated again.
I did recently do the migration on SmartThings to their new app because it pretty much said I was going to have to I believe. Has anyone done the ST migration and still successfully had the HA integration work? Does the current integration still need the HA smart app? I did go in the classic app and reinstall the smart app but that did not seem to help.
Also is there any way to view the webhook and its status on the ST portal once the integration is set up? I can’t find the webhook listed anywhere in the ST portal nor any logs about it.
Thanks
Rob
Does anyone have any input? Still can’t find any way to get it to work…
Hello Rob,
I am experiencing the same issue, it started yesterday. Switches work fine but sensors do not work at all. Sensors work through smartthings where I can see them being triggered in the app, but not in Home Assistant.
Unfortunately I have not been able to determine why, but I wanted to let you know you were not alone in this issuse.
1 Like
Thank you that definitely helps
Not sure what else to check, maybe remove and add the integration? Would these create all new devices so i would have orphaned ones? Would I need to recreate all my automations that use the multi-sensors and motion sensors?
I’ve done that a few times, didn’t have to recreate anything but also didn’t solve the issue.
I removed the integration and tried to add the integration back and I get the following:
SmartThings could not validate the webhook URL. Please ensure the webhook URL is reachable from the internet and try again.
I am using Home Assistant cloud, so my webhook url was https://hooks.nabu.casa/…
Now I can’t even use my switches. DOH!
Did you get rid of everything and redo it all?
I removed the integration and tried t add it back (restarted in between).
Did you generate a new token in SmartThings?
Yes, new token was generated. Not sure how I can check if the full webhok url is valid?
I just did it again to check and it reintegrated fine (but I assume my updates still won’t work since I’ve tried before). I did delete the token in ST though and create a new one during the re-link
If you go to the integration instruction page there is a section toward the bottom called “troubleshooting webhook” that gives you a way to do it. It’s a little convoluted but I was able to do it and it works.
thanks, Il give that a look and see what I get.
So did you get your sensors working again?
Not yet. I just tried to get this removal tool that’s listed in the integration help page thinking maybe it will help but it tells me it can’t get the right version of aiohttp and I’m not sure how to solve that.
Could not find a version that satisfies the requirement aiohttp==3.5.4 (from hass_smartthings_remove) (from versions:
I tried the same but I get this error.
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized'
Not sure what that is but a bit above my head going into python.
Could my issue may be with the webhook URL? When I click on the link I get the following error:
405: Method Not Allowed
Not sure. I have gotten that too yet the integration does update when HA first fires up. But maybe it’s using a different method then?
I was able to get it connected, and the sensors now work
Below are the steps that finally got it to work. I restarted server between each one, not sure if that is required.
Removed the integration.
Used the smartthings cleanup utility with the latest generated token
Deleted the smarthings config file from config \ . storage
Added back the integration.
Thanks I will try that. Glad you got yours working!