Comments (20)
Got the same thing.
from homebridge-smartthings.
I got this error once yesterday while I was at work and assumed it was an issue with my new version of the plugin. I determined after that the issue is that it doesn't make sure a valid reply came back from your SmartApp before checking the error. You'll see a correction this evening.
from homebridge-smartthings.
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
error at req: { [Error: getaddrinfo ENOTFOUND graph.api.smartthings.com graph.api.smartthings.com:443]
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'graph.api.smartthings.com',
host: 'graph.api.smartthings.com',
port: '443' }
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::54829
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 new EventedHTTPServerConnection (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:125:20)
at EventedHTTPServer._onConnection (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:79:20)
at emitOne (events.js:77:13)
at Server.emit (events.js:169:7)
at TCP.onconnection (net.js:1427:8)
from homebridge-smartthings.
Eaddrinuse is from launching it twice some how... The other one looks to be a dns issue. Can you verify your API is on the US server and try to go there from the web browser?
from homebridge-smartthings.
It was running for hours before that message came up. And as far as the api you are talking about smarthings hub correct? It is on a us server yes
Date: Wed, 17 Feb 2016 07:03:03 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [homebridge-smartthings] just after a few min get this error (#40)
Eaddrinuse is from launching it twice some how... The other one looks to be a dns issue. Can you verify your API is on the US server and try to go there from the web browser?
—
Reply to this email directly or view it on GitHub.
from homebridge-smartthings.
Im getting ENOTFOUND on occasion... twice in the last 3 days.
from homebridge-smartthings.
I got ENOTFOUND a couple times as well. Not since upgrading to latest, though (yesterday). I thought it was initially due to another homebridge interface, but now I'm not sure. I'll see how it goes. Before the latest flurry of changes it had been pretty stable for me. Recently, though, it will konk out after several hours of use. Hopefully the latest changes will help with that.
from homebridge-smartthings.
In addition to the ENOTFOUND error, I just started getting a bunch of errors like this:
error at req: { [Error: connect ETIMEDOUT 174.129.9.165:443]
code: 'ETIMEDOUT',
errno: 'ETIMEDOUT',
syscall: 'connect',
address: '174.129.9.165',
port: 443 }
from homebridge-smartthings.
#45 #46 #47
Please try the latest release. I've tweaked the timing values and can't seem to get my setup to break.
Because I tweaked defaults only, verify you don't have polling_seconds in config.json set higher than 60. I tested it at 60 on my setup without losing any devices after several hours.
from homebridge-smartthings.
I will try when it crashes. It has not crashed for a couple days now.
Adam Hoffman
District Team Lead
District 9445
NTB 892
On Feb 20, 2016, at 1:22 PM, pdlove [email protected] wrote:
#45 #46 #47
Please try the latest release. I've tweaked the timing values and can't seem to get my setup to break.
Because I tweaked defaults only, verify you don't have polling_seconds in config.json set higher than 60. I tested it at 60 on my setup without losing any devices after several hours.—
Reply to this email directly or view it on GitHub.
from homebridge-smartthings.
When I left home and then returned, I lost several devices. My tablet I left at home did not. Anyone else experience this?
from homebridge-smartthings.
I lost all of 19 devices twice today. First time was right when I left home. Second time was just about 15 minutes after I restart homebridge, remove persist folder and reconnect all devices.
from homebridge-smartthings.
Still running after 5 days no problems. All devices still there with remote access as well.
Adam Hoffman
District Team Lead
District 9445
NTB 892
On Feb 21, 2016, at 1:17 AM, Shane Do [email protected] wrote:
I lost all of 19 devices twice today. First time was right when I left home. Second time was just about 15 minutes after I restart homebridge, remove persist folder and reconnect all devices.
—
Reply to this email directly or view it on GitHub.
from homebridge-smartthings.
Everything running fine for a couple days, and then I got this error, and cannot relaunch without getting this.
bed-htpc:~ htpc$ homebridge
Loaded plugin: homebridge-smartthings
Registering platform 'homebridge-smartthings.SmartThings'
---
Loaded config.json with 0 accessories and 1 platforms.
---
Loading 1 platforms...
[SmartThings] Initializing SmartThings platform...
[SmartThings] Fetching Smart Things devices.
/usr/local/lib/node_modules/homebridge-smartthings/index.js:76
} else if (myList.error) {
^
TypeError: Cannot read property 'error' of undefined
at /usr/local/lib/node_modules/homebridge-smartthings/index.js:76:30
at /usr/local/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:93:13
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:46:27)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (node.js:377:13)
at process._tickCallback (node.js:401:11)
from homebridge-smartthings.
Same as coolcom working for 10 days then crashed and will not start back up
from homebridge-smartthings.
Update- I just tried starting Homebridge after it had been off for ~2 hours, and it started up fine.
from homebridge-smartthings.
@Slepperpon please confirm the version of the plug-in and that your API keys are still the same. I've heard of at least one report where the API token changed.
from homebridge-smartthings.
Made no changes and it works just fine this morning.
Date: Thu, 25 Feb 2016 15:33:56 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [homebridge-smartthings] just after a few min get this error (#40)
@Slepperpon please confirm the version of the plug-in and that your API keys are still the same. I've heard of at least one report where the API token changed.
—
Reply to this email directly or view it on GitHub.
from homebridge-smartthings.
Try this with plugin version 0.4.4. I've corrected a lot on the error handling. You'll still get the connection errors because that is all smart things being an issue.... but it shouldn't cause home bridge to crash as it has been doing.
from homebridge-smartthings.
I'm moving all discussion to issue #58. I was able to iron out one major issue last night an just released that as 0.4.6.
from homebridge-smartthings.
Related Issues (20)
- [Feature Request] Support Adaptive Lightning in Homebridge v1.3 and iOS 14+
- (BUG) 4-Speed Fan
- This plugin generated a warning from the characteristic 'Current Ambient Light Level'
- Add Repository Error HOT 1
- i cant find smart things classic app HOT 1
- Statuses are outdated now. HOT 2
- Is it possible to use this plugins for two different homes / hubs?
- Garage door not being found by Homebridge HOT 5
- (BUG) This plugin generated a warning from the characteristic 'Hue' HOT 3
- Project dead?
- Error: Cannot find module '/usr/local/lib/node_modules/homebridge-smartthings-v2/index.js' HOT 2
- [Feature Request] README Guide for use with New SmartThings App as Classic is not available in App Store HOT 10
- buttons not working in HomeKit HOT 1
- Update not working HOT 1
- (BUG) Can't connect your repository to Smartthings HOT 1
- [Feature Request] Oven/Cooktop State as Sensor
- Garage Door Control
- Devices showing up in logs, not in homekit
- (BUG) All devices ‘unavailable’ sometimes HOT 3
- Device status sync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-smartthings.