{"action":"opened","issue":{"url":"https://api.github.com/repos/nicoduj/homebridge-harmony/issues/12","repository_url":"https://api.github.com/repos/nicoduj/homebridge-harmony","labels_url":"https://api.github.com/repos/nicoduj/homebridge-harmony/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/nicoduj/homebridge-harmony/issues/12/comments","events_url":"https://api.github.com/repos/nicoduj/homebridge-harmony/issues/12/events","html_url":"https://github.com/nicoduj/homebridge-harmony/issues/12","id":394547924,"node_id":"MDU6SXNzdWUzOTQ1NDc5MjQ=","number":12,"title":"Plugin loading error","user":{"login":"Vincentkhm","id":46210874,"node_id":"MDQ6VXNlcjQ2MjEwODc0","avatar_url":"https://avatars1.githubusercontent.com/u/46210874?v=4","gravatar_id":"","url":"https://api.github.com/users/Vincentkhm","html_url":"https://github.com/Vincentkhm","followers_url":"https://api.github.com/users/Vincentkhm/followers","following_url":"https://api.github.com/users/Vincentkhm/following{/other_user}","gists_url":"https://api.github.com/users/Vincentkhm/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincentkhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincentkhm/subscriptions","organizations_url":"https://api.github.com/users/Vincentkhm/orgs","repos_url":"https://api.github.com/users/Vincentkhm/repos","events_url":"https://api.github.com/users/Vincentkhm/events{/privacy}","received_events_url":"https://api.github.com/users/Vincentkhm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T05:02:55Z","updated_at":"2018-12-28T05:02:55Z","closed_at":null,"author_association":"NONE","body":"I have encountered errors of loading the plugin:\r\n\r\n[12/28/2018, 12:46:28 PM] ERROR LOADING PLUGIN homebridge-harmony:\r\n[12/28/2018, 12:46:28 PM] /usr/local/lib/node_modules/homebridge-harmony/index.js:29\r\n  );\r\n  ^\r\n\r\nSyntaxError: Unexpected token )\r\n    at createScript (vm.js:56:10)\r\n    at Object.runInThisContext (vm.js:97:10)\r\n    at Module._compile (module.js:542:28)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:72:22)\r\n\r\n      throw new Error(\"The requested platform '\" + name + \"' was not registered by any plugin.\");\r\n      ^\r\n\r\nError: The requested platform 'HarmonyHubWebSocket' was not registered by any plugin.\r\n    at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)\r\n    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:315:45)\r\n    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)\r\n    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:43:10)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)\r\n    at Module._compile (module.js:570:32)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.runMain (module.js:604:10)\r\n    at run (bootstrap_node.js:389:7)\r\n    at startup (bootstrap_node.js:149:9)\r\n    at bootstrap_node.js:502:3\r\n\r\n\r\nWith the configuration:\r\n\r\n\"platforms\": [\r\n  {\r\n    \"platform\": \"HarmonyHubWebSocket\",\r\n    \"name\": \"HarmonyHub\",\r\n    \"hubIP\": \"192.168.1.99\",\r\n    \"showTurnOffActivity\" : true,\r\n    \"turnOffActivityName\" : \"AV Off\"\r\n  },\r\n  {\r\n    \"platform\": \"HarmonyHubWebSocket\",\r\n    \"name\": \"HarmonyHub2\",\r\n    \"hubIP\": \"192.168.1.98\"\r\n  }\r\n]"}}
{"actor":{"display_login":"Vincentkhm"}}