$ npm install -g homebridge-unixcontrol
config.json
should be inside ~/.homebridge
platforms: [
{
"platform": "BrowserPlatform",
"name": "Browser Controls",
"sessionToken": "abcd",
"ipAddress": "localhost",
"portNumber": "3000",
"exclude": ["safari"]
}
{
"platform": "PowerPlatform",
"name": "Unix Remote Controls",
"ipAddress": "192.168.1.4",
"portNumber": "3000",
"sessionToken": "abcd",
"exclude": ["shutdown"]
},
{
"platform": "MusicPlatform",
"name": "Unix Remote Controls",
"ipAddress": "192.168.1.4",
"portNumber": "3000",
"sessionToken": "abcd",
"exclude": []
}
]