Here is the error:
Hiltons-iMac:~ Hilton$ homebridge
[8/30/2016, 6:21:21 PM] Loaded plugin: homebridge-homeassistant
homebridge API version: 2
[8/30/2016, 6:21:21 PM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[8/30/2016, 6:21:21 PM] ---
[8/30/2016, 6:21:21 PM] There was a problem reading your config.json file.
[8/30/2016, 6:21:21 PM] Please try pasting your config.json file here to validate it: http://jsonlint.com
[8/30/2016, 6:21:21 PM]
/usr/local/lib/node_modules/homebridge/lib/server.js:176
throw err;
^
SyntaxError: Unexpected token :
at Object.parse (native)
at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:170:19)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:44:23)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
Here is my config file:
"platforms": [
{
"platform": "HomeAssistant",
"name": "Home",
"host": "http://192.168.0.101:8123",
"password": "yourapipassword",
"supported_types": ["light", "switch", "media_player", "scene", "rollershutter"]
}
]
I had to create the file. There was no config.json file in the Homebridge directory.
Please help, if possible.
Cheers
Hilton