Closed cpives2008 closed 7 years ago
should've copied this too, was directly above the details i just pasted above...
[Hive Thermostat] Initializing HiveThermostat accessory... [5/29/2017, 9:35:12 PM] [Hive Thermostat] Logging into Hive... [5/29/2017, 9:35:13 PM] [Kitchen Sonos] Found a playable coordinator device at 192.168.0.17 in zone 'Kitchen' for accessory 'Kitchen Sonos' in accessory room 'Kitchen' [5/29/2017, 9:35:14 PM] [Hive Thermostat] Logged In [5/29/2017, 9:35:14 PM] [Hive Thermostat] Fetching data from Hive API /usr/local/lib/node_modules/homebridge-hive/index.js:109 this.log("Found thermostat " + body.nodes[i].id + ". Current temperature is " + body.nodes[i].attributes.temperature.reportedValue + ", set to " + body.nodes[i].attributes.targetHeatTemperature.reportedValue );
Hmm... that's very weird.
I have just pushed an update that adds a debug option. Update with this command:
npm update -g homebridge-hive
And then add to your config.json "debug": true
- for example instead of:
{
"accessory": "HiveThermostat",
"name": "Hive Thermostat",
"username": "XXXX",
"password": "XXXX"
}
You'll now have:
{
"accessory": "HiveThermostat",
"name": "Hive Thermostat",
"username": "XXXX",
"password": "XXXX",
"debug": true
}
Then restart Homebridge. You should see a very large debug output. Copy it to me.
Thanks Mark,
This is what I got:
pi@raspberrypi:~/.homebridge $ homebridge WARNING The program 'node' uses the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node WARNING The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister [5/30/2017, 11:23:21 AM] Loaded plugin: homebridge-hive [5/30/2017, 11:23:21 AM] Registering accessory 'homebridge-hive.HiveThermostat' [5/30/2017, 11:23:21 AM] --- [5/30/2017, 11:23:22 AM] Loaded plugin: homebridge-ifttt [5/30/2017, 11:23:22 AM] Registering platform 'homebridge-ifttt.IFTTT' [5/30/2017, 11:23:22 AM] --- [5/30/2017, 11:23:25 AM] Loaded plugin: homebridge-nest [5/30/2017, 11:23:25 AM] Registering platform 'homebridge-nest.Nest' [5/30/2017, 11:23:25 AM] --- [5/30/2017, 11:23:26 AM] Loaded plugin: homebridge-sonos [5/30/2017, 11:23:26 AM] Registering accessory 'homebridge-sonos.Sonos' [5/30/2017, 11:23:26 AM] --- [5/30/2017, 11:23:26 AM] Loaded config.json with 2 accessories and 1 platforms. [5/30/2017, 11:23:26 AM] --- [5/30/2017, 11:23:26 AM] Loading 1 platforms... [5/30/2017, 11:23:26 AM] Initializing Nest platform... [5/30/2017, 11:23:26 AM] Fetching Nest devices. [5/30/2017, 11:23:26 AM] Loading 2 accessories... [5/30/2017, 11:23:26 AM] [Kitchen Sonos] Initializing Sonos accessory... [5/30/2017, 11:23:26 AM] [Hive Thermostat] Initializing HiveThermostat accessory... [5/30/2017, 11:23:26 AM] [Hive Thermostat] Logging into Hive... [5/30/2017, 11:23:27 AM] [Kitchen Sonos] Found a playable coordinator device at 192.168.0.17 in zone 'Kitchen' for accessory 'Kitchen Sonos' in accessory room 'Kitchen' [5/30/2017, 11:23:27 AM] [Hive Thermostat] Logged In [5/30/2017, 11:23:27 AM] [Hive Thermostat] Fetching data from Hive API [5/30/2017, 11:23:29 AM] [Hive Thermostat] IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: true, endEmitted: true, reading: false, sync: false, needReadable: false, emittedReadable: false, readableListening: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: false, decoder: null, encoding: null, resumeScheduled: false }, readable: false, domain: null, _events: { end: [ [Function: responseOnEnd], [Function] ], close: [ [Function], [Function] ], data: [Function], error: [Function] }, _eventsCount: 4, _maxListeners: undefined, socket: TLSSocket { _tlsOptions: { pipe: null, secureContext: [Object], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 65 02 01 01 02 02 03 03 04 02 c0 2f 04 20 ed 87 fe e3 94 47 43 f7 31 f4 7f 09 46 bf 07 62 7b 1f ed 61 28 f6 67 a8 04 1f 12 45 fa ab de 6d 04 ... >, NPNProtocols: undefined, requestOCSP: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: undefined, authorized: true, authorizationError: null, encrypted: true, _events: { close: [Object], end: [Object], finish: [Function: onSocketFinish], _socketEnd: [Function: onSocketEnd], secure: [Function], free: [Function: onFree], agentRemove: [Function: onRemove], drain: [Function: ondrain], error: [Function: socketErrorListener] }, _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'api-prod.bgchprod.info', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: true, decoder: null, encoding: null, resumeScheduled: false }, readable: false, domain: null, _maxListeners: undefined, _writableState: WritableState { objectMode: false, highWaterMark: 16384, needDrain: false, ending: true, ended: true, finished: true, decodeStrings: false, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: false, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, bufferedRequest: null, lastBufferedRequest: null, pendingcb: 0, prefinished: true, errorEmitted: false }, writable: false, allowHalfOpen: false, destroyed: true, bytesRead: 86559, _bytesDispatched: 272, _sockname: null, _pendingData: null, _pendingEncoding: '', ssl: TLSWrap { _externalStream: {}, fd: -22, _parent: [Object], _parentWrap: undefined, _secureContext: [Object], reading: true, owner: [Circular], onread: [Function: noop], writeQueueSize: 1, onhandshakestart: [Function], onhandshakedone: [Function: bound ], onocspresponse: [Function: bound onocspresponse], onerror: [Function] }, server: undefined, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: ClientRequest { domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Circular], connection: [Circular], _header: 'GET /omnia/nodes HTTP/1.1\r\nContent-Type: application/vnd.alertme.zoo-6.1+json\r\nAccept: application/vnd.alertme.zoo-6.1+json\r\nX-Omnia-Client: Hive Web Dashboard\r\nX-Omnia-Access-Token: WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X\r\nhost: api-prod.bgchprod.info:443\r\nConnection: close\r\n\r\n', _headers: [Object], _headerNames: [Object], _onPendingData: null, agent: [Object], socketPath: undefined, method: 'GET', path: '/omnia/nodes', parser: null, res: [Circular] }, read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, connection: TLSSocket { _tlsOptions: { pipe: null, secureContext: [Object], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 65 02 01 01 02 02 03 03 04 02 c0 2f 04 20 ed 87 fe e3 94 47 43 f7 31 f4 7f 09 46 bf 07 62 7b 1f ed 61 28 f6 67 a8 04 1f 12 45 fa ab de 6d 04 ... >, NPNProtocols: undefined, requestOCSP: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: undefined, authorized: true, authorizationError: null, encrypted: true, _events: { close: [Object], end: [Object], finish: [Function: onSocketFinish], _socketEnd: [Function: onSocketEnd], secure: [Function], free: [Function: onFree], agentRemove: [Function: onRemove], drain: [Function: ondrain], error: [Function: socketErrorListener] }, _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'api-prod.bgchprod.info', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: true, decoder: null, encoding: null, resumeScheduled: false }, readable: false, domain: null, _maxListeners: undefined, _writableState: WritableState { objectMode: false, highWaterMark: 16384, needDrain: false, ending: true, ended: true, finished: true, decodeStrings: false, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: false, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, bufferedRequest: null, lastBufferedRequest: null, pendingcb: 0, prefinished: true, errorEmitted: false }, writable: false, allowHalfOpen: false, destroyed: true, bytesRead: 86559, _bytesDispatched: 272, _sockname: null, _pendingData: null, _pendingEncoding: '', ssl: TLSWrap { _externalStream: {}, fd: -22, _parent: [Object], _parentWrap: undefined, _secureContext: [Object], reading: true, owner: [Circular], onread: [Function: noop], writeQueueSize: 1, onhandshakestart: [Function], onhandshakedone: [Function: bound ], onocspresponse: [Function: bound onocspresponse], onerror: [Function] }, server: undefined, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: ClientRequest { domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Circular], connection: [Circular], _header: 'GET /omnia/nodes HTTP/1.1\r\nContent-Type: application/vnd.alertme.zoo-6.1+json\r\nAccept: application/vnd.alertme.zoo-6.1+json\r\nX-Omnia-Client: Hive Web Dashboard\r\nX-Omnia-Access-Token: WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X\r\nhost: api-prod.bgchprod.info:443\r\nConnection: close\r\n\r\n', _headers: [Object], _headerNames: [Object], _onPendingData: null, agent: [Object], socketPath: undefined, method: 'GET', path: '/omnia/nodes', parser: null, res: [Circular] }, read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: { 'access-control-allow-credentials': 'true', 'access-control-allow-headers': 'Content-Type, X-Omnia-Client, X-AlertMe-Client, X-Omnia-Access-Token', 'access-control-allow-methods': 'GET, POST, DELETE, PUT, OPTIONS', 'cache-control': 'no-cache, no-store', 'content-type': 'application/vnd.alertme.zoo-6.1+json', expires: 'Thu, 01 Jan 1970 00:00:00 GMT', pragma: 'no-cache', vary: 'Accept-Encoding, User-Agent', 'x-zoo-transaction-id': '97627d19-c2b1-4c42-8b68-599bc415e370', 'transfer-encoding': 'chunked', connection: 'Close' }, rawHeaders: [ 'Access-Control-Allow-Credentials', 'true', 'Access-Control-Allow-Headers', 'Content-Type, X-Omnia-Client, X-AlertMe-Client, X-Omnia-Access-Token', 'Access-Control-Allow-Methods', 'GET, POST, DELETE, PUT, OPTIONS', 'Cache-Control', 'no-cache', 'Cache-Control', 'no-store', 'Content-Type', 'application/vnd.alertme.zoo-6.1+json', 'Expires', 'Thu, 01 Jan 1970 00:00:00 GMT', 'Pragma', 'no-cache', 'Vary', 'Accept-Encoding, User-Agent', 'X-Zoo-Transaction-Id', '97627d19-c2b1-4c42-8b68-599bc415e370', 'transfer-encoding', 'chunked', 'Connection', 'Close' ], trailers: {}, rawTrailers: [], upgrade: false, url: '', method: null, statusCode: 200, statusMessage: 'OK', client: TLSSocket { _tlsOptions: { pipe: null, secureContext: [Object], isServer: false, requestCert: true, rejectUnauthorized: true, session: <Buffer 30 82 06 65 02 01 01 02 02 03 03 04 02 c0 2f 04 20 ed 87 fe e3 94 47 43 f7 31 f4 7f 09 46 bf 07 62 7b 1f ed 61 28 f6 67 a8 04 1f 12 45 fa ab de 6d 04 ... >, NPNProtocols: undefined, requestOCSP: undefined }, _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: undefined, authorized: true, authorizationError: null, encrypted: true, _events: { close: [Object], end: [Object], finish: [Function: onSocketFinish], _socketEnd: [Function: onSocketEnd], secure: [Function], free: [Function: onFree], agentRemove: [Function: onRemove], drain: [Function: ondrain], error: [Function: socketErrorListener] }, _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'api-prod.bgchprod.info', _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: true, decoder: null, encoding: null, resumeScheduled: false }, readable: false, domain: null, _maxListeners: undefined, _writableState: WritableState { objectMode: false, highWaterMark: 16384, needDrain: false, ending: true, ended: true, finished: true, decodeStrings: false, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: false, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, bufferedRequest: null, lastBufferedRequest: null, pendingcb: 0, prefinished: true, errorEmitted: false }, writable: false, allowHalfOpen: false, destroyed: true, bytesRead: 86559, _bytesDispatched: 272, _sockname: null, _pendingData: null, _pendingEncoding: '', ssl: TLSWrap { _externalStream: {}, fd: -22, _parent: [Object], _parentWrap: undefined, _secureContext: [Object], reading: true, owner: [Circular], onread: [Function: noop], writeQueueSize: 1, onhandshakestart: [Function], onhandshakedone: [Function: bound ], onocspresponse: [Function: bound onocspresponse], onerror: [Function] }, server: undefined, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: ClientRequest { domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Circular], connection: [Circular], _header: 'GET /omnia/nodes HTTP/1.1\r\nContent-Type: application/vnd.alertme.zoo-6.1+json\r\nAccept: application/vnd.alertme.zoo-6.1+json\r\nX-Omnia-Client: Hive Web Dashboard\r\nX-Omnia-Access-Token: WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X\r\nhost: api-prod.bgchprod.info:443\r\nConnection: close\r\n\r\n', _headers: [Object], _headerNames: [Object], _onPendingData: null, agent: [Object], socketPath: undefined, method: 'GET', path: '/omnia/nodes', parser: null, res: [Circular] }, read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, _consuming: true, _dumped: false, req: ClientRequest { domain: null, _events: { socket: [Object], response: [Function: bound ], error: [Function: bound ], drain: [Function] }, _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: undefined, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'api-prod.bgchprod.info', _readableState: [Object], readable: false, domain: null, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: true, bytesRead: 86559, _bytesDispatched: 272, _sockname: null, _pendingData: null, _pendingEncoding: '', ssl: [Object], server: undefined, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular], read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, connection: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: null, npnProtocol: undefined, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 9, _connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'api-prod.bgchprod.info', _readableState: [Object], readable: false, domain: null, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: true, bytesRead: 86559, _bytesDispatched: 272, _sockname: null, _pendingData: null, _pendingEncoding: '', ssl: [Object], server: undefined, _requestCert: true, _rejectUnauthorized: true, parser: null, _httpMessage: [Circular], read: [Function], _consuming: true, _idleNext: null, _idlePrev: null, _idleTimeout: -1 }, _header: 'GET /omnia/nodes HTTP/1.1\r\nContent-Type: application/vnd.alertme.zoo-6.1+json\r\nAccept: application/vnd.alertme.zoo-6.1+json\r\nX-Omnia-Client: Hive Web Dashboard\r\nX-Omnia-Access-Token: WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X\r\nhost: api-prod.bgchprod.info:443\r\nConnection: close\r\n\r\n', _headers: { 'content-type': 'application/vnd.alertme.zoo-6.1+json', accept: 'application/vnd.alertme.zoo-6.1+json', 'x-omnia-client': 'Hive Web Dashboard', 'x-omnia-access-token': 'WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X', host: 'api-prod.bgchprod.info:443' }, _headerNames: { 'content-type': 'Content-Type', accept: 'Accept', 'x-omnia-client': 'X-Omnia-Client', 'x-omnia-access-token': 'X-Omnia-Access-Token', host: 'host' }, _onPendingData: null, agent: Agent { domain: null, _events: [Object], _eventsCount: 1, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, maxCachedSessions: 100, _sessionCache: [Object] }, socketPath: undefined, method: 'GET', path: '/omnia/nodes', parser: null, res: [Circular] }, request: Request { domain: null, _events: { error: [Function: bound ], complete: [Function: bound ], pipe: [Function], data: [Function], end: [Function] }, _eventsCount: 5, _maxListeners: undefined, headers: { 'Content-Type': 'application/vnd.alertme.zoo-6.1+json', Accept: 'application/vnd.alertme.zoo-6.1+json', 'X-Omnia-Client': 'Hive Web Dashboard', 'X-Omnia-Access-Token': 'WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X' }, callback: [Function], readable: true, writable: true, _qs: Querystring { request: [Circular], lib: [Object], useQuerystring: undefined, parseOptions: {}, stringifyOptions: {} }, _auth: Auth { request: [Circular], hasAuth: false, sentAuth: false, bearerToken: null, user: null, pass: null }, _oauth: OAuth { request: [Circular], params: null }, _multipart: Multipart { request: [Circular], boundary: '93ed7978-20f2-46d5-8bff-c6c3d6bf9ba1', chunked: false, body: null }, _redirect: Redirect { request: [Circular], followRedirect: true, followRedirects: true, followAllRedirects: false, followOriginalHttpMethod: false, allowRedirect: [Function], maxRedirects: 10, redirects: [], redirectsFollowed: 0, removeRefererHeader: false }, _tunnel: Tunnel { request: [Circular], proxyHeaderWhiteList: [Object], proxyHeaderExclusiveList: [] }, setHeader: [Function], hasHeader: [Function], getHeader: [Function], removeHeader: [Function], method: 'GET', localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function: bound ], uri: Url { protocol: 'https:', slashes: true, auth: null, host: 'api-prod.bgchprod.info:443', port: '443', hostname: 'api-prod.bgchprod.info', hash: null, search: null, query: null, pathname: '/omnia/nodes', path: '/omnia/nodes', href: 'https://api-prod.bgchprod.info:443/omnia/nodes' }, proxy: null, tunnel: true, setHost: true, originalCookieHeader: undefined, _disableCookies: true, jar: undefined, port: '443', host: 'api-prod.bgchprod.info', path: '/omnia/nodes', httpModule: { Server: [Object], createServer: [Function], globalAgent: [Object], Agent: [Object], request: [Function], get: [Function] }, agentClass: { [Function: Agent] super: [Object] }, agent: Agent { domain: null, _events: [Object], _eventsCount: 1, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object], requests: {}, sockets: [Object], freeSockets: {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, maxCachedSessions: 100, _sessionCache: [Object] }, _started: true, href: 'https://api-prod.bgchprod.info:443/omnia/nodes', req: ClientRequest { domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedHeader: {}, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Object], connection: [Object], _header: 'GET /omnia/nodes HTTP/1.1\r\nContent-Type: application/vnd.alertme.zoo-6.1+json\r\nAccept: application/vnd.alertme.zoo-6.1+json\r\nX-Omnia-Client: Hive Web Dashboard\r\nX-Omnia-Access-Token: WsnNTknu6cjCTO7TKyoxnwe32PoFHZ0X\r\nhost: api-prod.bgchprod.info:443\r\nConnection: close\r\n\r\n', _headers: [Object], _headerNames: [Object], _onPendingData: null, agent: [Object], socketPath: undefined, method: 'GET', path: '/omnia/nodes', parser: null, res: [Circular] }, ntick: true, response: [Circular], originalHost: 'api-prod.bgchprod.info:443', originalHostHeaderName: 'host', responseContent: [Circular], _destdata: true, _ended: true, _callbackCalled: true }, toJSON: [Function: responseToJSON], caseless: Caseless { dict: { 'access-control-allow-credentials': 'true', 'access-control-allow-headers': 'Content-Type, X-Omnia-Client, X-AlertMe-Client, X-Omnia-Access-Token', 'access-control-allow-methods': 'GET, POST, DELETE, PUT, OPTIONS', 'cache-control': 'no-cache, no-store', 'content-type': 'application/vnd.alertme.zoo-6.1+json', expires: 'Thu, 01 Jan 1970 00:00:00 GMT', pragma: 'no-cache', vary: 'Accept-Encoding, User-Agent', 'x-zoo-transaction-id': '97627d19-c2b1-4c42-8b68-599bc415e370', 'transfer-encoding': 'chunked', connection: 'Close' } }, read: [Function], body: '{"meta":{},"links":{},"linked":{},"nodes":[{"id":"1bad5b1b-d47d-4a79-a4c0-82542142679e","href":"https://api.prod.bgchprod.info:8443/omnia/nodes/1bad5b1b-d47d-4a79-a4c0-82542142679e","links":{},"name":"Motion Sensor","nodeType":"http://alertme.com/schema/json/node.class.motion.sensor.json#","parentNodeId":"2f1abfb5-5bb7-4ec3-8dcd-3815a8db387f","lastSeen":1496143393891,"createdOn":1456416361160,"userId":"99288f25-1630-49b2-ad5e-b32ccae626f2","ownerId":"99288f25-1630-49b2-ad5e-b32ccae626f2","relationships":{"zigBeeBindingTable":[]},"attributes":{"tamperDetected":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"generalFault":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"swVersion":{"reportedValue":48,"displayValue":48,"reportReceivedTime":1495969015676,"reportChangedTime":1495969015676},"zigBeeRoute":{"reportedValue":["::1e:5e09:204:7c2"],"displayValue":["::1e:5e09:204:7c2"],"reportReceivedTime":1495788207887,"reportChangedTime":1495788207887},"batteryFault":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"motionStarted":{"reportedValue":"2017-05-30T11:17:04.000+0000","displayValue":"2017-05-30T11:17:04.000+0000","reportReceivedTime":1496143393891,"reportChangedTime":1496143024422},"supervisionReports":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"powerSupply":{"reportedValue":"BATTERY","displayValue":"BATTERY","reportReceivedTime":1496134825761,"reportChangedTime":1495588159736},"manufacturer":{"reportedValue":"AlertMe.com","displayValue":"AlertMe.com","reportReceivedTime":1496141833775,"reportChangedTime":1495587987371},"deviceClassName":{"reportedValue":"ha_motion_sensor","displayValue":"ha_motion_sensor","reportReceivedTime":1495969015676,"reportChangedTime":1495969015676},"zigBeeBindingTable":{"reportedValue":[{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":1,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":32,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":1026,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":240,"clusterID":64512,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":2}],"displayValue":[{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":1,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":32,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":2,"clusterID":1026,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":4},{"sourceAddress":"::d:6f00:5a5:4cb8","sourceEndpoint":240,"clusterID":64512,"destinationAddress":"::d:6f00:3be:8966","destinationEndpoint":2}],"reportReceivedTime":1496142010939,"reportChangedTime":1495632159456},"protocol":{"reportedValue":"ZIGBEE","displayValue":"ZIGBEE","reportReceivedTime":1495969015676,"reportChangedTime":1495969015676},"restoreReports":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"batteryState":{"reportedValue":"FULL","displayValue":"FULL","reportReceivedTime":1496142009277,"reportChangedTime":1495588160279},"sensorType":{"reportedValue":"MOTION_SENSOR","displayValue":"MOTION_SENSOR","reportReceivedTime":1496142009706,"reportChangedTime":1495588161902},"temperature":{"reportedValue":21.75,"displayValue":21.75,"reportReceivedTime":1496142009413,"reportChangedTime":1496141570107},"occupancySensorType":{"reportedValue":"PIR","displayValue":"PIR","reportReceivedTime":1496142009632,"reportChangedTime":1495588161328},"model":{"reportedValue":"PIR00140005","displayValue":"PIR00140005","reportReceivedTime":1496141833775,"reportChangedTime":1495587987371},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT","reportReceivedTime":1496143093515,"reportChangedTime":1495587560286},"manufactured":{"reportedValue":"","displayValue":"","reportReceivedTime":1496141833775,"reportChangedTime":1495587987371},"batteryLevel":{"reportedValue":100,"displayValue":100,"reportReceivedTime":1496142009277,"reportChangedTime":1495588160279},"capabilities":{"reportedValue":["IAS_ZONE","MOTION_SENSOR"],"displayValue":["IAS_ZONE","MOTION_SENSOR"],"reportReceivedTime":1496141833775,"reportChangedTime":1495587987371},"LQI":{"reportedValue":100,"displayValue":100,"reportReceivedTime":1496143093515,"reportChangedTime":1496138417208},"batteryVoltage":{"reportedValue":3.0,"displayValue":3.0,"reportReceivedTime":1496142009277,"reportChangedTime":1495588160279},"mainsFault":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.motion.sensor.json#","displayValue":"http://alertme.com/schema/json/node.class.motion.sensor.json#","reportReceivedTime":1496143393891,"reportChangedTime":1495587560286},"hwVersion":{"reportedValue":2,"displayValue":2,"reportReceivedTime":1495969015676,"reportChangedTime":1495969015676},"RSSI":{"reportedValue":-59,"displayValue":-59,"reportReceivedTime":1496143093515,"reportChangedTime":1496143093515},"lastSeen":{"reportedValue":"2017-05-30T11:18:13.000+0000","displayValue":"2017-05-30T11:18:13.000+0000","reportReceivedTime":1496143093515,"reportChangedTime":1496143093515},"testMode":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143093515,"reportChangedTime":1495588162274},"motionDetected":{"reportedValue":true,"displayValue":true,"reportReceivedTime":1496143093515,"reportChangedTime":1496142292467},"deviceClass":{"reportedValue":"ias_zone_motion_sensor","displayValue":"ias_zone_motion_sensor","reportReceivedTime":1495969015676,"reportChangedTime":1495969015676},"motionEnded":{"reportedValue":"2017-05-30T11:18:13.000+0000","displayValue":"2017-05-30T11:18:13.000+0000","reportReceivedTime":1496143393891,"reportChangedTime":1496143393891},"inMotion":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496143393891,"reportChangedTime":1496143393891},"softwareVersion":{"reportedValue":"30585010","displayValue":"30585010","reportReceivedTime":1496141833775,"reportChangedTime":1495587987371}}},{"id":"1c82a08e-b696-46d1-a917-4dee3dbf1ae5","href":"https://api.prod.bgchprod.info:8443/omnia/nodes/1c82a08e-b696-46d1-a917-4dee3dbf1ae5","links":{"PRODUCER":["b41349e4-7ec5-487d-be23-051a9720a3e0"]},"name":"http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#","nodeType":"http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#","parentNodeId":"2f1abfb5-5bb7-4ec3-8dcd-3815a8db387f","lastSeen":1496140975629,"createdOn":1470327356707,"userId":"99288f25-1630-49b2-ad5e-b32ccae626f2","ownerId":"99288f25-1630-49b2-ad5e-b32ccae626f2","attributes":{"protocol":{"reportedValue":"SYNTHETIC","displayValue":"SYNTHETIC","reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"syntheticDeviceConfiguration":{"reportedValue":{"mode":"ARMED","schedule":[{"dayIndex":1,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":2,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":3,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":4,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":5,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":6,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":7,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]}],"enabled":false},"displayValue":{"mode":"ARMED","schedule":[{"dayIndex":1,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":2,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":3,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":4,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":5,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":6,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]},{"dayIndex":7,"transitions":[{"time":"06:30","action":{"state":"DISARM"}},{"time":"08:30","action":{"state":"ARM"}},{"time":"16:00","action":{"state":"DISARM"}},{"time":"21:30","action":{"state":"ARM"}}]}],"enabled":false},"reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"armed":{"reportedValue":"ARMED","displayValue":"ARMED","reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"consumers":{"reportedValue":[],"displayValue":[],"reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT","reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#","displayValue":"http://alertme.com/schema/json/node.class.synthetic.binary.sensor.device.uniform.scheduler.json#","reportReceivedTime":1496140975629,"reportChangedTime":1495587946537},"producers":{"reportedValue":[{"nodeId":"b41349e4-7ec5-487d-be23-051a9720a3e0"}],"displayValue":[{"nodeId":"b41349e4-7ec5-487d-be23-051a9720a3e0"}],"reportReceivedTime":1496140975629,"reportChangedTime":1495587946537}}},{"id":"2f1abfb5-5bb7-4ec3-8dcd-3815a8db387f","href":"https://api.prod.bgchprod.info:8443/omnia/nodes/2f1abfb5-5bb7-4ec3-8dcd-3815a8db387f","links":{},"name":"Your Hub","nodeType":"http://alertme.com/schema/json/node.class.hub.json#","parentNodeId":"2f1abfb5-5bb7-4ec3-8dcd-3815a8db387f","lastSeen":1496143400443,"createdOn":1442852649498,"userId":"99288f25-1630-49b2-ad5e-b32ccae626f2","ownerId":"99288f25-1630-49b2-ad5e-b32ccae626f2","attributes":{"zigBeeTileFirmwareVendor":{"reportedValue":"Ember","displayValue":"Ember","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"softwareInstallationState":{"reportedValue":"COMPLETE","displayValue":"COMPLETE","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeTileAddress":{"reportedValue":"000d6f0003be8966","displayValue":"000d6f0003be8966","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeRadioTxPowerMode":{"reportedValue":1,"displayValue":1,"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"devicesState":{"reportedValue":"UP","displayValue":"UP","reportReceivedTime":1496143382251,"reportChangedTime":1495969073939},"powerSupply":{"reportedValue":"AC","displayValue":"AC","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"bootLoaderVersion":{"reportedValue":"2.04","displayValue":"2.04","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeRadioTxPower":{"reportedValue":3,"displayValue":3,"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeePanId":{"reportedValue":"04bb","displayValue":"04bb","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"hardwareVersion":{"reportedValue":"NANO1","displayValue":"NANO1","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"connection":{"reportedValue":"ETHERNET","displayValue":"ETHERNET","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"rootFSVersion":{"reportedValue":"Buildroot 2015.05 honeycomb-v2.0.4","displayValue":"Buildroot 2015.05 honeycomb-v2.0.4","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"presence":{"reportedValue":"PRESENT","displayValue":"PRESENT"},"capabilities":{"reportedValue":["deviceRemoval","motionDurationDevice"],"displayValue":["deviceRemoval","motionDurationDevice"],"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeNeighbourTable":{"reportedValue":[{"neighbourAddress":"::1e:5e09:204:7c2","deviceType":"ROUTER","rxOnWhenIdle":"ON","relationship":"NONE","permitJoining":"UNKNOWN","depth":15,"LQI":99}],"displayValue":[{"neighbourAddress":"::1e:5e09:204:7c2","deviceType":"ROUTER","rxOnWhenIdle":"ON","relationship":"NONE","permitJoining":"UNKNOWN","depth":15,"LQI":99}],"reportReceivedTime":1496141931820,"reportChangedTime":1496138332868},"ethernetConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"supportsCombinedUpgrade":{"reportedValue":true,"displayValue":true,"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"nodeType":{"reportedValue":"http://alertme.com/schema/json/node.class.hub.json#","displayValue":"http://alertme.com/schema/json/node.class.hub.json#","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeRadioChannel":{"reportedValue":25,"displayValue":25,"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"uptime":{"reportedValue":175242,"displayValue":175242,"reportReceivedTime":1496143382251,"reportChangedTime":1496143382251},"zigBeeRoutingTable":{"reportedValue":[{"destinationAddress":"::d:6f00:5a5:4471","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::d:6f00:5a5:4cb8","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::d:6f00:5a5:516f","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::1e:5e09:204:7c2","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"}],"displayValue":[{"destinationAddress":"::d:6f00:5a5:4471","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::d:6f00:5a5:4cb8","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::d:6f00:5a5:516f","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"},{"destinationAddress":"::1e:5e09:204:7c2","status":"ACTIVE","memoryConstrained":false,"manyToOne":false,"routeRecordRequired":false,"nextHopAddress":"::1e:5e09:204:7c2"}],"reportReceivedTime":1496142052281,"reportChangedTime":1496106053131},"operationalMode":{"reportedValue":"DEPLOYED","displayValue":"DEPLOYED","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"macAddress":{"reportedValue":"00:1c:2b:06:11:22","displayValue":"00:1c:2b:06:11:22","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"zigBeeTileFirmwareVersion":{"reportedValue":"5.0.10","displayValue":"5.0.10","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"kernelVersion":{"reportedValue":"3.2.60-am22","displayValue":"3.2.60-am22","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"internalIPAddress":{"reportedValue":"192.168.0.19","displayValue":"192.168.0.19","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"pcbRevision":{"reportedValue":5,"displayValue":5,"reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"kernelBuildDate":{"reportedValue":"#1 Thu May 5 10:40:12 BST 2016","displayValue":"#1 Thu May 5 10:40:12 BST 2016","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"rootFSBuildDate":{"reportedValue":"Thu May 5 10:42:19 2016","displayValue":"Thu May 5 10:42:19 2016","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"softwareVersion":{"reportedValue":"1.0.0-5222-2.0","displayValue":"1.0.0-5222-2.0","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824},"serverConnectionState":{"reportedValue":"CONNECTED","displayValue":"CONNECTED","reportReceivedTime":1496143382251,"reportChangedTime":1495587273824}}},{"id":"334f18b9-4a09-40c9-a060-2a1381223b20","href":"https://api.prod.bgchprod.info:8443/omnia/nodes/334f18b9-4a09-40c9-a060-2a1381223b20","links":{},"name":"Thermostat","nodeType":"http://alertme.com/schema/json/node.class.thermostat.json#","parentNodeId":"b9264784-e367-401e-8612-6c1a0af7ec77","lastSeen":1496143400443,"createdOn":1453571053503,"userId":"99288f25-1630-49b2-ad5e-b32ccae626f2","ownerId":"99288f25-1630-49b2-ad5e-b32ccae626f2","attributes":{"activeScheduleLock":{"reportedValue":false,"displayValue":false,"reportReceivedTime":1496141041268,"reportChangedTime":1495727111467},"holidayModeActive":{"reportedValue":"OFF","displayValue":"OFF","reportReceivedTime":1496101541643,"reportChangedTime":1496101541643},"supportsTransitionsPerDay":{"reportedValue":6,"displayValue":6,"reportReceivedTime":1496141041197,"reportChangedTime":1495588369918},"activeOverrides":{"reportedValue":[],"displayValue":[],"reportReceivedTime":1496141041342,"reportChangedTime":1495727052875},"activeHeatCoolMode":{"reportedValue":"OFF","displayValue":"OFF","reportReceivedTime":1496141040680,"reportChangedTime":1495727111091},"initialisationFailure":{"reportedValue":"DISABLED","displayValue":"DISABLED","/usr/local/lib/node_modules/homebridge-hive/index.js:110 this.log("Found thermostat " + body.nodes[i].id + ". Current temperature is " + body.nodes[i].attributes.temperature.reportedValue + ", set to " + body.nodes[i].attributes.targetHeatTemperature.reportedValue ); ^
TypeError: Cannot read property 'reportedValue' of undefined
at Object.
Did you get the code ok?
-- cpives2008@hotmail.com
On 30 May 2017 at 09:42:57, Mark Wade (notifications@github.commailto:notifications@github.com) wrote:
Hmm... that's very weird.
I have just pushed an update that adds a debug option. Update with this command:
npm update -g homebridge-hive
And then add to your config.json "debug": true - for example instead of:
{
"accessory": "HiveThermostat",
"name": "Hive Thermostat",
"username": "XXXX",
"password": "XXXX"
}
You'll now have:
{
"accessory": "HiveThermostat",
"name": "Hive Thermostat",
"username": "XXXX",
"password": "XXXX",
"debug": true
}
Then restart Homebridge. You should see a very large debug output. Copy it to me.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mark-wade/homebridge-hive/issues/10#issuecomment-304813333, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUWRNvuztkXuRq-66FDy650eUoVlv63Eks5r-9aRgaJpZM4NppQT.
Yes, sorry, I haven't had a chance to look - but I willl
Have you had a chance to look at this yet? Really want to get it working!
Sorry I have been away and haven't had a chance yet. I promise I haven't forgotten though.
I see you've closed this. I've updated by
npm update -g homebridge-hive
But I'm still getting the same problem.
Don't know if you got my last message because the case has been closed. I've updated but still getting the same problem
-- cpives2008@hotmail.com
On 27 June 2017 at 16:10:43, Mark Wade (notifications@github.commailto:notifications@github.com) wrote:
Closed #10https://github.com/mark-wade/homebridge-hive/issues/10 via 2cc8141https://github.com/mark-wade/homebridge-hive/commit/2cc8141c2464f8b3111a0b3808fea1dea29b9e28.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mark-wade/homebridge-hive/issues/10#event-1140711558, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUWRNuxp4KGTIRmBrQ0x87rF14zvde9Nks5sIRtzgaJpZM4NppQT.
I also had this problem and my case was closed simultaneously with yours. I reinstalled the plugin
npm install -g homebridge-hive
At first I thought the issue was solved, as homebridge successfully runs and the thermostat appears in my accessories, however it shows as no response in iOS Home and shortly after homebridge also crashes with the same error and shows no response in iOS Home.
I am posting the debug in the thread I started.
I've played around with my thermostat and set it to 10 degrees - this then allows homebridge to run successfully and the thermostat shows up and works in iOS Home.
The error on my side seems to be having the thermostat set to frost protection/off. cpives2008 does this solve your issue too?
It didn't originally solve it, no. But I deleted the persist folder et voilà! It's working lovely now!!!
👍🏻
Added Hive to my config.json. This is what i get:
TypeError: Cannot read property 'reportedValue' of undefined at Object. (/usr/local/lib/node_modules/homebridge-hive/index.js:109:200)
at Object. (/usr/local/lib/node_modules/homebridge-hive/index.js:142:4)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-hive/node_modules/request/request.js:188:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/usr/local/lib/node_modules/homebridge-hive/node_modules/request/request.js:1171:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-hive/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:260:16)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)