Closed jpcarter34us closed 2 years ago
smartthings documentation smartthings source (message by IssueLinks)
Hey there @andrewsayre, mind taking a look at this issue as it has been labeled with an integration (smartthings
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
An update here. It looks like via 2021.12.3 it resolved itself. Not sure if this was on Samsung Smartthings end as well. So with that I will close this ticket out.
The problem
Hello Team,
I need your help. I have been using the Smartthings Integration into HomeAssistant for over a year as of this 2021-12-15 at 18:00 CDT it stopped working. At that time I was running HomeAssistant 2021.6.6 on a docker container. Post this timeframe I have tried to recreate the integration following the steps. Everything looks like it is working successfully until the last step, in which it says the Created configuration successfully for Location, The integration could not be loaded, try to restart Home Assistant. When I restart the process there is no sign the integration was loaded even at runtime. With that I upgraded progressively to the 2021.12.2 (graduating up through versions).
I have followed the steps to validate my certificate is valid and it is, ran the test on my endpoint to validate the webhook that it is valid. My SSL ciphers have not changed and I have tried to generate new personal access token and removed orphaned homeassistant applications in smartthings. I have tried to set this integration from scratch and I am still getting the same results.
The log message supplied via the container logs when this occurs suggests that the system is making a API call to smartthings and Smartthings is returning a 401 unauthorized, I have taken the personal access token and the URL listed in the log and dropped them into postman and were able to get a 200 back with some payload, so ultimately something is broken with the API usage and/or in the pysmartthings library being utilized to broker the calls.
I would be appreciative of any help, since I do like to use Homeassistant as a frontend and a main controller for my SmartHome and would like to get this going soon, please let me know if I can supply any additional data I have.
What version of Home Assistant Core has the issue?
core-2021.6.1
What was the last working version of Home Assistant Core?
core-2021.12.2
What type of installation are you running?
Home Assistant Container
Integration causing the issue
smartthings
Link to integration documentation on our website
https://www.home-assistant.io/integrations/smartthings/#webhook
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response