{"action":"created","issue":{"url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/56","repository_url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub","labels_url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/56/comments","events_url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/56/events","html_url":"https://github.com/KraigM/homebridge-harmonyhub/issues/56","id":183288904,"number":56,"title":"Undefined error since updating","user":{"login":"hypascend","id":12717161,"avatar_url":"https://avatars.githubusercontent.com/u/12717161?v=3","gravatar_id":"","url":"https://api.github.com/users/hypascend","html_url":"https://github.com/hypascend","followers_url":"https://api.github.com/users/hypascend/followers","following_url":"https://api.github.com/users/hypascend/following{/other_user}","gists_url":"https://api.github.com/users/hypascend/gists{/gist_id}","starred_url":"https://api.github.com/users/hypascend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypascend/subscriptions","organizations_url":"https://api.github.com/users/hypascend/orgs","repos_url":"https://api.github.com/users/hypascend/repos","events_url":"https://api.github.com/users/hypascend/events{/privacy}","received_events_url":"https://api.github.com/users/hypascend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-10-16T20:18:26Z","updated_at":"2016-10-31T08:16:39Z","closed_at":null,"body":"Hi,\n\nI am getting the following error after updating, any ideas?\n\nnpm\\node_modules\\homebridge-harmonyhub\\node_modules\\harmonyhubjs-client\\lib\\login\\hub.js:59\n      if (response.identity && response.identity !== undefined) {\n                  ^\n\nTypeError: Cannot read property 'identity' of undefined\n    at Client.<anonymous> (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\harmonyhubjs-client\\lib\\login\\hub.js:59:19)\n    at emitOne (events.js:96:13)\n    at Client.emit (events.js:188:7)\n    at Client._handleStanza (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\node-xmpp-client\\lib\\Client.js:227:12)\n    at Client.onStanza (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\node-xmpp-client\\lib\\Client.js:221:8)\n    at emitOne (events.js:96:13)\n    at Connection.emit (events.js:188:7)\n    at Connection.onStanza (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\node-xmpp-core\\lib\\Connection.js:377:10)\n    at StreamParser.<anonymous> (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\node-xmpp-core\\lib\\Connection.js:231:10)\n    at emitOne (events.js:96:13)\n    at StreamParser.emit (events.js:188:7)\n    at SaxLtx.<anonymous> (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\@xmpp\\streamparser\\index.js:59:14)\n    at emitOne (events.js:96:13)\n    at SaxLtx.emit (events.js:188:7)\n    at SaxLtx._handleTagOpening (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\@xmpp\\streamparser\\node_modules\\ltx\\lib\\parsers\\ltx.js:36:12)\n    at SaxLtx.write (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\@xmpp\\streamparser\\node_modules\\ltx\\lib\\parsers\\ltx.js:96:18)\n    at StreamParser.write (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\@xmpp\\streamparser\\index.js:124:17)\n    at Connection.onData (C:\\Users\\annih_000\\AppData\\Roaming\\npm\\node_modules\\homebridge-harmonyhub\\node_modules\\node-xmpp-core\\lib\\Connection.js:310:17)\n    at emitOne (events.js:101:20)\n    at Socket.emit (events.js:188:7)\n    at readableAddChunk (_stream_readable.js:176:18)\n    at Socket.Readable.push (_stream_readable.js:134:10)\n    at TCP.onread (net.js:543:20)\n"},"comment":{"url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/comments/257236025","html_url":"https://github.com/KraigM/homebridge-harmonyhub/issues/56#issuecomment-257236025","issue_url":"https://api.github.com/repos/KraigM/homebridge-harmonyhub/issues/56","id":257236025,"user":{"login":"Spybyte","id":5479103,"avatar_url":"https://avatars.githubusercontent.com/u/5479103?v=3","gravatar_id":"","url":"https://api.github.com/users/Spybyte","html_url":"https://github.com/Spybyte","followers_url":"https://api.github.com/users/Spybyte/followers","following_url":"https://api.github.com/users/Spybyte/following{/other_user}","gists_url":"https://api.github.com/users/Spybyte/gists{/gist_id}","starred_url":"https://api.github.com/users/Spybyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spybyte/subscriptions","organizations_url":"https://api.github.com/users/Spybyte/orgs","repos_url":"https://api.github.com/users/Spybyte/repos","events_url":"https://api.github.com/users/Spybyte/events{/privacy}","received_events_url":"https://api.github.com/users/Spybyte/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T08:16:39Z","updated_at":"2016-10-31T08:16:39Z","body":"swissmanu did a fix in his harmonyhubjs-client. I just installed the current version (0.2.0) of homebridge-harmonyhub. So far it seems to work again."}}
{"actor":{"display_login":"Spybyte"}}