{"action":"closed","issue":{"url":"https://api.github.com/repos/guh/guh-webserver/issues/10","labels_url":"https://api.github.com/repos/guh/guh-webserver/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/guh/guh-webserver/issues/10/comments","events_url":"https://api.github.com/repos/guh/guh-webserver/issues/10/events","html_url":"https://github.com/guh/guh-webserver/issues/10","id":81539406,"number":10,"title":"Pairing a device with the push button method","user":{"login":"rhythm-section","id":6566718,"avatar_url":"https://avatars.githubusercontent.com/u/6566718?v=3","gravatar_id":"","url":"https://api.github.com/users/rhythm-section","html_url":"https://github.com/rhythm-section","followers_url":"https://api.github.com/users/rhythm-section/followers","following_url":"https://api.github.com/users/rhythm-section/following{/other_user}","gists_url":"https://api.github.com/users/rhythm-section/gists{/gist_id}","starred_url":"https://api.github.com/users/rhythm-section/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhythm-section/subscriptions","organizations_url":"https://api.github.com/users/rhythm-section/orgs","repos_url":"https://api.github.com/users/rhythm-section/repos","events_url":"https://api.github.com/users/rhythm-section/events{/privacy}","received_events_url":"https://api.github.com/users/rhythm-section/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T17:18:42Z","updated_at":"2015-05-27T18:25:13Z","closed_at":"2015-05-27T18:25:13Z","body":"I'm trying to get the pairing with push button method to work. My understanding of the pairing workflow:\r\n\r\n1) Choose Vendor, DeviceClass as usual\r\n2) Press discover to search for the device\r\n3) Check if setup method is set. If so, prompt the user to push the button on the device (instead of adding the device as with discovered devices without setup method)\r\n4) If the button was pressed the user can confirm this. With the confirmation the app sends the normal discover message (with deviceClassId, deviceDescriptorId and deviceParams).\r\n\r\nIf this is right, then there is the following problem:\r\n\r\n![bildschirmfoto 2015-05-27 um 19 05 43](https://cloud.githubusercontent.com/assets/6566718/7842633/c542bbfc-04a4-11e5-8e03-f1f1918e426a.png)\r\n![bildschirmfoto 2015-05-27 um 19 05 47](https://cloud.githubusercontent.com/assets/6566718/7842634/c544b18c-04a4-11e5-881b-b89e25cb495c.png)\r\n\r\nERROR interface conversion: interface is nil, not string\r\n\r\nInfo: In the guh core, there are two methods for pairing a device: pairDevice() and confirmPairing(). The confirmPairing() method needs a pairingTransactionId. Ist this id set from the server?"}}