{"action":"created","issue":{"url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/3","repository_url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink","labels_url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/3/comments","events_url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/3/events","html_url":"https://github.com/tekuonline/Homebridge-Assurelink/issues/3","id":198800078,"number":3,"title":"how to include multiple accessories?","user":{"login":"diskjunkie","id":24923270,"avatar_url":"https://avatars.githubusercontent.com/u/24923270?v=3","gravatar_id":"","url":"https://api.github.com/users/diskjunkie","html_url":"https://github.com/diskjunkie","followers_url":"https://api.github.com/users/diskjunkie/followers","following_url":"https://api.github.com/users/diskjunkie/following{/other_user}","gists_url":"https://api.github.com/users/diskjunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/diskjunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diskjunkie/subscriptions","organizations_url":"https://api.github.com/users/diskjunkie/orgs","repos_url":"https://api.github.com/users/diskjunkie/repos","events_url":"https://api.github.com/users/diskjunkie/events{/privacy}","received_events_url":"https://api.github.com/users/diskjunkie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-04T20:14:01Z","updated_at":"2017-01-06T17:42:08Z","closed_at":null,"body":"I'm having trouble with the config.json file syntax, the example isn't clear. I have two assurelink garage door openers, but can't figure out how to define them both in the config.json file. I continue to receive the error message that multiple openers are detected and need to be specified with the device ID.\r\n\r\nHere is my config.json:\r\n\r\n\r\n{\r\n\"bridge\": {\r\n        \"name\": \"Homebridge\",\r\n        \"username\": \"CC:22:3D:E3:CE:30\",\r\n        \"port\": 51826,\r\n        \"pin\": \"031-45-154\"\r\n    },\r\n\"description\": \"assurelink config section\",\r\n\"accessories\": [\r\n    {\r\n      \"accessory\": \"Assurelink\",\r\n      \"name\": \"barn door\",\r\n      \"username\": \"email@email.com\",\r\n      \"password\": \"password\",\r\n      \"deviceID\": \"18534593\"\r\n    },\r\n    {\r\n      \"accessory\": \"Assurelink\",\r\n      \"name\": \"Garage Door\",\r\n      \"username\": \"email@email.com\",\r\n      \"password\": \"password\",\r\n      \"deviceID\": \"483127\"\r\n    }\r\n  ]\r\n}\r\n\r\n\r\nThe error is listed here:\r\n[1/4/2017, 8:12:17 PM] Loaded plugin: homebridge-assurelink\r\n[1/4/2017, 8:12:17 PM] Registering accessory 'homebridge-assurelink.Assurelink'\r\n[1/4/2017, 8:12:17 PM] ---\r\n[1/4/2017, 8:12:17 PM] Loaded plugin: homebridge-multi\r\n[1/4/2017, 8:12:17 PM] Registering accessory 'homebridge-multi.Multi'\r\n[1/4/2017, 8:12:17 PM] ---\r\n[1/4/2017, 8:12:17 PM] Loaded config.json with 2 accessories and 0 platforms.\r\n[1/4/2017, 8:12:17 PM] ---\r\n[1/4/2017, 8:12:17 PM] Loading 2 accessories...\r\n[1/4/2017, 8:12:17 PM] [barn door] Initializing Assurelink accessory...\r\n[1/4/2017, 8:12:18 PM] [Garage Door] Initializing Assurelink accessory...\r\nScan this code with your HomeKit App on your iOS device to pair with Homebridge:\r\n                       \r\n    ┌────────────┐     \r\n    │ 031-45-154 │     \r\n    └────────────┘     \r\n                       \r\n[1/4/2017, 8:16:38 PM] Homebridge is running on port 51826.\r\n[1/4/2017, 8:16:51 PM] [barn door] Logged in with user ID 0\r\n[1/4/2017, 8:16:51 PM] [Garage Door] Logged in with user ID 0\r\n[1/4/2017, 8:16:51 PM] [barn door] WARNING: You have multiple doors on your Assurelink account.\r\n[1/4/2017, 8:16:51 PM] [barn door] WARNING: Specify the ID of the door you want to control using the 'requiredDeviceId' property in your config.json file.\r\n[1/4/2017, 8:16:51 PM] [barn door] WARNING: You can have multiple Assurelink accessories to cover your multiple doors\r\n[1/4/2017, 8:16:51 PM] [barn door] Found Door: 18534593 - barn door opener\r\n[1/4/2017, 8:16:51 PM] [barn door] Found Door: 483127 - Garage Door\r\n\r\n/usr/local/lib/node_modules/homebridge-assurelink/index.js:155\r\nthrow \"FATAL: Please specify which specific door this Assurelink accessory should control - you have multiples on your account\";\r\n^\r\nFATAL: Please specify which specific door this Assurelink accessory should control - you have multiples on your account\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/comments/270959232","html_url":"https://github.com/tekuonline/Homebridge-Assurelink/issues/3#issuecomment-270959232","issue_url":"https://api.github.com/repos/tekuonline/Homebridge-Assurelink/issues/3","id":270959232,"user":{"login":"tekuonline","id":10102943,"avatar_url":"https://avatars.githubusercontent.com/u/10102943?v=3","gravatar_id":"","url":"https://api.github.com/users/tekuonline","html_url":"https://github.com/tekuonline","followers_url":"https://api.github.com/users/tekuonline/followers","following_url":"https://api.github.com/users/tekuonline/following{/other_user}","gists_url":"https://api.github.com/users/tekuonline/gists{/gist_id}","starred_url":"https://api.github.com/users/tekuonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekuonline/subscriptions","organizations_url":"https://api.github.com/users/tekuonline/orgs","repos_url":"https://api.github.com/users/tekuonline/repos","events_url":"https://api.github.com/users/tekuonline/events{/privacy}","received_events_url":"https://api.github.com/users/tekuonline/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T17:42:08Z","updated_at":"2017-01-06T17:42:08Z","body":"Ok, I don't have multiple openers to test with. Can you try doing this?\r\n\r\n-Uninstall the assurelink plugin using:\r\n```npm uninstall -g homebridge-assurelink```\r\nInstall the plugin using \r\n```npm install -g https://github.com/tekuonline/Homebridge-Assurelink.git```\r\n\r\nChange the config.json to:\r\n```\r\n\"bridge\": {\r\n\"name\": \"Homebridge\",\r\n\"username\": \"CC:22:3D:E3:CE:30\",\r\n\"port\": 51826,\r\n\"pin\": \"031-45-154\"\r\n},\r\n\"description\": \"assurelink config section\",\r\n\"accessories\": [\r\n{\r\n\"accessory\": \"Assurelink\",\r\n\"name\": \"barn door\",\r\n\"username\": \"email@email.com\",\r\n\"password\": \"password\",\r\n\"deviceID\": \"18534593\"\r\n},\r\n{\r\n\"accessory\": \"Assurelink\",\r\n\"name\": \"Garage Door\",\r\n\"username\": \"email@email.com\",\r\n\"password\": \"password\",\r\n\"deviceID\": \"483127\"\r\n}\r\n]\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"tekuonline"}}