core: Unable to install Smartthings Home Assistant App

Home Assistant release with the issue:

0.96.5

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Hassbian

Component/platform:

SmartThings

Description of problem:

When installing the app via smartthings classic I get a error “Something went wrong” It seems to have been installed but clicking on it also says Something’s wrong… We can’t load your screen now.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 80 (18 by maintainers)

Most upvoted comments

OMG OMG OMG, my cloud connectivity was not signed in. Signed that back in and viola everything works. I am now going to bang my head several times into my desk. But on the other hand I hope that this issue helps someone in the future.

Ok ran the tool hass_smartthings_remove <TOKEN> Removed installed app ‘Home Assistant’ (f1095c93-02e9-45ea-a23f-8c1d07349c61) Removed app ‘homeassistant.830f462f-19f4-4a30-b948-6ad43393bff4’ (fb326087-7498-4e1e-9a9f-162844ecfe42) so looks like it cleaned up a good bit of things now time to try and start from the beginning lets first see what the api shows OK API shows clean { “items”: [], “_links”: { “next”: null, “previous”: null } } Now to install it Ok installed the app and it failed now to go collect my appid and locationid from the api { “items”: [ { “installedAppId”: “7d08c4a3-1ed8-4f4c-bd3b-0681ab6b3578”, “installedAppType”: “WEBHOOK_SMART_APP”, “installedAppStatus”: “PENDING”, “displayName”: “Home Assistant”, “appId”: “099caf20-4b3b-4cf9-89c6-414daf73c1d0”, “referenceId”: null, “locationId”: “LOCATIONID”, “owner”: { “ownerType”: “USER”, “ownerId”: “dfdc0588-c19f-deef-975a-843513b94517” },

        "notices": [],
        "createdDate": "2019-08-10T02:36:05Z",
        "lastUpdatedDate": "2019-08-10T02:36:05Z",
        "ui": {
            "pluginId": null,
            "pluginUri": null,
            "dashboardCardsEnabled": false,
            "preInstallDashboardCardsEnabled": false
        },
        "iconImage": {
            "url": null
        },
        "classifications": [
            "AUTOMATION"
        ],
        "singleInstance": true
    }
],
"_links": {
    "next": null,
    "previous": null
}

Ok attempted to hit that URL again with the installedappid and the locationid that I pulled from the api and still failed.

@TheFuzz4 you’ve got some other issues going on. Remove the integration from HA and use the removal utility to fully clean up the ST side. If you were manually removing through the API, you probably missed the installedapp. You’re getting callbacks that HA can’t validate because they validation key is gone.

oh haha change the endpoint spelling

ENDPOINTAPP !!!

Worked ! TY

There really should be a easier way to do this. Especially when it comes to debugging. I don’t see why a regular smartthings app can’t be installed so we can live log it.

It’s not installing code… the cloud-based SmartApps are entirely configuration with standard webhook callback payloads. It works for the vast majority of users… you seem to have hit an edge case and we need ST’s help to see why it’s failing.

Yup just figured that out !