lombardi-zz / ppm

1 stars 0 forks source link

events.js:141 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE :::51826 #4

Closed druchtie closed 8 years ago

druchtie commented 8 years ago

I installed the EVE app and can see the sliders. But noting is happening when I slide the sliders. I'm wondering, am I doing something wrong? I saw the comment about the pin: "Make sure after enter pin in console in sudo mode that file is readable (chmod 777 ..)" But I'm not sure how or when I should get the Pin code. Is this an access pin from the TV?

When starting Homebridge: [9/15/2016, 9:43:56 PM] Loaded plugin: homebridge-edomoticz [9/15/2016, 9:43:56 PM] Registering accessory 'homebridge-edomoticz.eDomoticz' [9/15/2016, 9:43:56 PM] Registering platform 'homebridge-edomoticz.eDomoticz' [9/15/2016, 9:43:56 PM] --- [9/15/2016, 9:44:04 PM] Loaded plugin: homebridge-nest [9/15/2016, 9:44:04 PM] Registering platform 'homebridge-nest.Nest' [9/15/2016, 9:44:04 PM] --- [9/15/2016, 9:44:06 PM] Loaded plugin: homebridge-sonytvremote [9/15/2016, 9:44:06 PM] Registering accessory 'homebridge-sonytvremote.SonyTV' [9/15/2016, 9:44:06 PM] --- [9/15/2016, 9:44:06 PM] Loaded config.json with 1 accessories and 1 platforms. [9/15/2016, 9:44:06 PM] --- [9/15/2016, 9:44:06 PM] Loading 1 platforms... [9/15/2016, 9:44:06 PM] Initializing Nest platform... [9/15/2016, 9:44:06 PM] Fetching Nest devices. [9/15/2016, 9:44:06 PM] Loading 1 accessories... [9/15/2016, 9:44:06 PM] [Fernseher] Initializing SonyTV accessory... [9/15/2016, 9:44:10 PM] Software version for Living Room Thermostat is: 5.5.1-6 [9/15/2016, 9:44:10 PM] Current temperature for Living Room Thermostat is: 25 C [9/15/2016, 9:44:10 PM] Current humidity for Living Room Thermostat is: 60% [9/15/2016, 9:44:10 PM] Target temperature for Living Room Thermostat is: 16 C [9/15/2016, 9:44:10 PM] Target heating for Living Room Thermostat is: Heating [9/15/2016, 9:44:10 PM] Away for Living Room Thermostat is: 0 [9/15/2016, 9:44:10 PM] Software version for Upstairs Nest Protect is: 3.1rc9 [9/15/2016, 9:44:10 PM] Software version for Kitchen Nest Protect is: 3.1rc9 [9/15/2016, 9:44:10 PM] Initializing platform accessory 'Living Room Thermostat'... [9/15/2016, 9:44:10 PM] Initializing platform accessory 'Upstairs Nest Protect'... [9/15/2016, 9:44:10 PM] Initializing platform accessory 'Kitchen Nest Protect'... Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[9/15/2016, 9:44:11 PM] Homebridge is running on port 51826.

events.js:141 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE :::51826 at Object.exports._errnoException (util.js:837:11) at exports._exceptionWithHostPort (util.js:860:20) at Server._listen2 (net.js:1231:14) at listen (net.js:1267:10) at Server.listen (net.js:1363:5) at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19) at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:155:20) at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:480:16) at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:92:16) at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:351:14) at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19 at /usr/local/lib/node_modules/homebridge-nest/index.js:155:6

My config "accessories": [{ "accessory": "SonyTV", "name": "TV", "mac": "00-00-00-00-00-00", // filed in the correct Mac "ip": "10.0.1.7", "tvsource": "tv:dvbc", "maxchannels": 500, "soundoutput": "speaker", "onscript": "/home/pi/scripts/dolbyon.sh", "offscript": "/home/pi/scripts/dolbyoff.sh", "savefilenameprefix": "" }]