- Code: Select all
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
/opt/local/lib
└── homebridge-indigo@0.3.4
Can anyone point me in the right direction?
Thanks
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
/opt/local/lib
└── homebridge-indigo@0.3.4
/bin/sh: /opt/local/bin/npm: /opt/local/bin/node: bad interpreter: No such file or directory
[12/27/2016, 9:10:03 AM] Loaded plugin: homebridge-indigo
[12/27/2016, 9:10:03 AM] Registering platform 'homebridge-indigo.Indigo'
[12/27/2016, 9:10:03 AM] ---
[12/27/2016, 9:10:03 AM] ====================
[12/27/2016, 9:10:03 AM] ERROR LOADING PLUGIN homebridge-indigo-master:
[12/27/2016, 9:10:03 AM] Error: Cannot find module 'request'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-indigo-master/index.js:67:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
[12/27/2016, 9:10:03 AM] ====================
[12/27/2016, 9:10:03 AM] Loaded plugin: homebridge-nest
[12/27/2016, 9:10:03 AM] Registering platform 'homebridge-nest.Nest'
[12/27/2016, 9:10:03 AM] ---
[12/27/2016, 9:10:03 AM] Loaded config.json with 0 accessories and 1 platforms.
[12/27/2016, 9:10:03 AM] ---
[12/27/2016, 9:10:03 AM] Loading 1 platforms...
[12/27/2016, 9:10:03 AM] [HomeServer] Initializing Indigo platform...
[12/27/2016, 9:10:03 AM] [HomeServer] Indigo base URL is http://127.0.0.1:8176
[12/27/2016, 9:10:03 AM] Loading 0 accessories...
[12/27/2016, 9:10:03 AM] [HomeServer] Listening on port 8177
[12/27/2016, 9:10:03 AM] [HomeServer] Indigo request: http://127.0.0.1:8176/devices.json/
[12/27/2016, 9:10:03 AM] [HomeServer] Error parsing Indigo response for /devices.json/
Exception: SyntaxError: Unexpected token < in JSON at position 0
Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Indigo Home Control Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/global4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/indigo4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/fonts.css" />
</head>
<body>
<center>
access denied
</center>
</body>
</html>
[12/27/2016, 9:10:03 AM] [HomeServer] Error parsing Indigo response for /devices.json/
Exception: SyntaxError: Unexpected token < in JSON at position 0
Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Indigo Home Control Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/global4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/indigo4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/fonts.css" />
</head>
<body>
<center>
access denied
</center>
</body>
</html>
[12/27/2016, 9:10:03 AM] [HomeServer] Created 0 accessories
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
fs.js:640
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/Users/nathanchiles/.homebridge/persist/AccessoryInfo.CC223DE3CE32.json'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at Object.persistKeySync (/opt/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:457:12)
at Object.setItemSync (/opt/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:275:14)
at Object.nodePersist.setItemSync (/opt/local/lib/node_modules/homebridge/node_modules/node-persist/node-persist.js:99:29)
at AccessoryInfo.save (/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/model/AccessoryInfo.js:161:11)
at Bridge.Accessory.publish (/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:439:23)
at Server._publish (/opt/local/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/opt/local/lib/node_modules/homebridge/lib/server.js:372:14)
at /opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at IndigoPlatform.<anonymous> (/opt/local/lib/node_modules/homebridge-indigo/index.js:218:13)
at /opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:52:16
at /opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:264:21
at /opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:44:16
at IndigoPlatform.<anonymous> (/opt/local/lib/node_modules/homebridge-indigo/index.js:235:17)
at IndigoPlatform.<anonymous> (/opt/local/lib/node_modules/homebridge-indigo/index.js:368:21)
at /opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:906:35
at _arrayEach (/opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:85:13)
at Request.<anonymous> (/opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:898:17)
at Request._callback (/opt/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:44:16)
at Request.self.callback (/opt/local/lib/node_modules/homebridge-indigo/node_modules/request/request.js:373:22)
npm install {package}
npm install -g {package}
[12/27/2016, 12:52:37 PM] Loaded plugin: homebridge-indigo
[12/27/2016, 12:52:37 PM] Registering platform 'homebridge-indigo.Indigo'
[12/27/2016, 12:52:37 PM] ---
[12/27/2016, 12:52:38 PM] Loaded plugin: homebridge-nest
[12/27/2016, 12:52:38 PM] Registering platform 'homebridge-nest.Nest'
[12/27/2016, 12:52:38 PM] ---
[12/27/2016, 12:52:38 PM] Loaded config.json with 0 accessories and 1 platforms.
[12/27/2016, 12:52:38 PM] ---
[12/27/2016, 12:52:38 PM] Loading 1 platforms...
[12/27/2016, 12:52:38 PM] [My Indigo Server] Initializing Indigo platform...
[12/27/2016, 12:52:38 PM] [My Indigo Server] Indigo base URL is http://127.0.0.1:8176
[12/27/2016, 12:52:38 PM] Loading 0 accessories...
[12/27/2016, 12:52:38 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/devices.json/
[12/27/2016, 12:52:39 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/devices/Dining%20Room%20Lights.json
[12/27/2016, 12:52:39 PM] [My Indigo Server] Discovered Dimmable Power Switch (ID 1346994522): Dining Room Lights
[12/27/2016, 12:52:39 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/devices/Front%20Door%20Light.json
[12/27/2016, 12:52:39 PM] [My Indigo Server] Discovered Relay Power Switch (ID 1540531918): Front Door Light
[12/27/2016, 12:52:39 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/actions.json/
[12/27/2016, 12:52:39 PM] [My Indigo Server] Created 2 accessories
[12/27/2016, 12:52:39 PM] [My Indigo Server] Initializing platform accessory 'Dining Room Lights'...
[12/27/2016, 12:52:39 PM] [My Indigo Server] Initializing platform accessory 'Front Door Light'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1259:14)
at listen (net.js:1295:10)
at Server.listen (net.js:1391:5)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:372:14)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at IndigoPlatform.<anonymous> (/usr/local/lib/node_modules/homebridge-indigo/index.js:218:13)
at /usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:52:16
at /usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:269:32
at /usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:44:16
at /usr/local/lib/node_modules/homebridge-indigo/index.js:243:29
at /usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:52:16
at iterate (/usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:260:24)
at Object.async.forEachOfSeries.async.eachOfSeries (/usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:281:9)
at Object.async.forEachSeries.async.eachSeries (/usr/local/lib/node_modules/homebridge-indigo/node_modules/async/lib/async.js:214:22)
at IndigoPlatform.<anonymous> (/usr/local/lib/node_modules/homebridge-indigo/index.js:238:23)
at IndigoPlatform.<anonymous> (/usr/local/lib/node_modules/homebridge-indigo/index.js:371:17)
Error: listen EADDRINUSE :::51826
sudo killall homebridge
Dear Diary,
Today I was actually right for a change, perhaps 2017 WILL be my year after all. Hopefully this also means I can eat more brownies without gaining weight but that may be tempting fate too much.
Yours truly,
C4W
Colorado4Wheeler wrote:Awesome!Dear Diary,
Today I was actually right for a change, perhaps 2017 WILL be my year after all. Hopefully this also means I can eat more brownies without gaining weight but that may be tempting fate too much.
Yours truly,
C4W
Users browsing this forum: No registered users and 3 guests