I tried to install the following plugin for my sony TV:
Code: Select all
npm install -g homebridge-sonybraviatv
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"roomid": 0,
"mqttenable": 0,
"mqttserver": "",
"mqttport": "1883",
"mqttauth": 0,
"mqttuser": "",
"mqttpass": ""
}
],
"accessories": [
{
"accessory": "SonyBraviaTV",
"name": "Sony KDL",
"ipaddress": "192.168.0.150",
"presharedkey": "YOUR PRESHARED KEY HERE"
}
],
Code: Select all
homebridge.service - HomeBridge Service
Loaded: loaded (/lib/systemd/system/homebridge.service; enabled)
Active: failed (Result: exit-code) since Wed 2016-10-12 12:58:16 UTC; 3s ago
Process: 15505 ExecStart=/usr/local/lib/node_modules/homebridge/bin/homebridge (code=exited, status=1/FAILURE)
Main PID: 15505 (code=exited, status=1/FAILURE)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Module._compile (module.js:409:26)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Object.Module._extensions..js (module.js:416:10)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Module.load (module.js:343:32)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Function.Module._load (module.js:300:12)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at Function.Module.runMain (module.js:441:10)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at startup (node.js:139:18)
Oct 12 12:58:16 raspberrypi homebridge[15505]: at node.js:974:3
Oct 12 12:58:16 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Oct 12 12:58:16 raspberrypi systemd[1]: Unit homebridge.service entered failed state.