Smartthings stopped workign with homebridge on raspberry pi

Hi,
I have a raspberry pi running homebridge. I just want into the web UI the other day and ran an update for Homebridge as well as a few of my plugins. After that homebridge stopped working.

based on my log file, it appears to be an issue with my smartthings integration.

error in my logs:
[5/27/2020, 8:02:58 AM] Error loading platform requested in your config.json at position 2
[5/27/2020, 8:02:58 AM] Error: The requested platform ‘SmartThings’ was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:224:15)
at config.platforms.forEach (/usr/local/lib/node_modules/homebridge/src/server.ts:386:37)
at Array.forEach ()
at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:373:27)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:152:29)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)’

My Config File:
{
“bridge”: {
“name”: “Homebridge”,
“username”: “XX:XX:XX:XX:XX:XX”,
“port”: 51826,
“pin”: “999-99-999”
},
“accessories”: ,
“platforms”: [
{
“name”: “Config”,
“port”: 8080,
“auth”: “form”,
“restart”: “sudo -n systemctl restart homebridge”,
“sudo”: true,
“tempUnits”: “f”,
“log”: {
“method”: “systemd”
},
“platform”: “config”
},
{
“platform”: “SmartThings”,
“name”: “SmartThings”,
“app_url”: “https://graph.api.smartthings.com:443/api/smartapps/installations/”,
“app_id”: “98b16ffc-d259-452d-9ce1-74ad5c2fbe6e”,
“access_token”: “82a10c86-0bcb-438b-8e5b-3453eb1d80f6”
},
{
“platform”: “TplinkSmarthome”,
“name”: “TplinkSmarthome”,
“broadcast”: “255.255.255.255”,
“switchModels”: [
“HS200”,
“HS210”
]
},
{
“refreshToken”: “dfsafasdfasdfsadfsdfasdfsdf”
“platform”: “Ring”
}
]
}

in my smartthings, I have the smartapp JSON Complete API from PDLove.

I also have Homebridge (Smasrtthings) from TonesTo7.

I am not totally sure why I have both eh pdlove and the tonesto7 smartapps.
I think that I am using the pdlove smartapp.

so i’m not totally sure where to go from hewe.

  1. How can I identify for sure which smartapp I am actually using?
  2. should i be using the pdlove or the tonesto7 app? what are most people using these days?
  3. how can I get one of them up and running again?

I would appreciate any guidance you could provide

ok so after playing with it a bit, i went into the web UI for homebridge and uninstalled the homebridge smartthings plugin (pdlove) and I installed the homebridge smartthings v2 plugin from tonesto.

I followed the installation directions here to get it installed in my smartthings…

I checked to make sure that homebridge web ui automatically updated my config.json (it did!), and after restarting homebridge from the Web UI, everything seems to be working now

My only remainign question is how can I remove the pdlove and the orifinal tonesto7 smart app from my smartthings?

If I go to https://graph.api.smartthings.com/ide/apps and look at the list of my apps I am seeing:

  1. pdlove : JSON Complete API
  2. tonesto7 : Homebridge (SmartThings)
  3. tonesto7 : Homebridge v2

Once you have uninstalled the smartapp you can go to the IDE (the link you sent) and delete it. Click on the “edit properties” icon next to the name of the app on the left side. There is the “Delete” button.

FYI: Check out the new Homebridge web site:

1 Like