Homebridge won't start; Config problem

Hi All,

I am new to this and spend hours today trying to get this to work;

Here is the element of my config file which won’t play ball!

		"platform": "homebridge-smartthings.SmartThings",
		"name": "SmartThings",
		"app_url": "https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/",
		"app_id": "APP IS FROM APP",
		"access_token": "TOKEN FROM APP"

The error I am getting is,

SyntaxError: Unexpected token in JSON at position 862
at JSON.parse ()
at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:201:19)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:635:30)
at Object.Module._extensions…js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3

if anyone can help I would be very grateful!

Tagging @pizzinini

I think you need to configure your app Id and access token.

To get this information, open SmartThings on your phone, goto “Automation”>“SmartApps”>“JSON Complete API” and tap on Config

1 Like