{"action":"closed","issue":{"url":"https://api.github.com/repos/song940/homekit/issues/2","repository_url":"https://api.github.com/repos/song940/homekit","labels_url":"https://api.github.com/repos/song940/homekit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/song940/homekit/issues/2/comments","events_url":"https://api.github.com/repos/song940/homekit/issues/2/events","html_url":"https://github.com/song940/homekit/issues/2","id":249503827,"number":2,"title":"WindowCovering keeps waiting","user":{"login":"jeffreylanters","id":3404617,"avatar_url":"https://avatars1.githubusercontent.com/u/3404617?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffreylanters","html_url":"https://github.com/jeffreylanters","followers_url":"https://api.github.com/users/jeffreylanters/followers","following_url":"https://api.github.com/users/jeffreylanters/following{/other_user}","gists_url":"https://api.github.com/users/jeffreylanters/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreylanters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreylanters/subscriptions","organizations_url":"https://api.github.com/users/jeffreylanters/orgs","repos_url":"https://api.github.com/users/jeffreylanters/repos","events_url":"https://api.github.com/users/jeffreylanters/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreylanters/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-10T23:26:46Z","updated_at":"2017-08-12T20:18:23Z","closed_at":"2017-08-12T20:18:23Z","body":"Hello, I'm trying to set up my window covering. But I'm not getting them to work completely. Since there is no example of this service, I have my accessory set up the way all the over examples are set up.\r\n\r\nThe coverage do appear in my Home app, but when I tap it to open or close, it keeps thinking and eventually nothing happens. So this is my code .. Also both console logs '1' and '3' never appear in the log. '2' plus it's correct value DO appear.\r\n\r\n```js\r\nvar blinds = new Accessory ('blinds', UUID.generate ('homekit:blinds'));\r\n...\r\nblinds\r\n    .addService (Service.WindowCovering, BlindsController.name)\r\n    .getCharacteristic (Characteristic.CurrentPosition)\r\n    .on ('get', (callback) => {\r\n        console.log (1);\r\n        callback (null, BlindsController.tilt);\r\n    });\r\n\r\nblinds\r\n    .getService (Service.WindowCovering)\r\n    .getCharacteristic (Characteristic.TargetPosition)\r\n    .on ('set', (value, callback) => {\r\n        console.log (2, value);\r\n        BlindsController.setTilt (value);\r\n        callback (); /* sync */\r\n    });\r\n\r\nblinds\r\n    .getService (Service.WindowCovering)\r\n    .getCharacteristic (Characteristic.PositionState)\r\n    .on ('get', (callback) => {\r\n        console.log (3);\r\n        callback (null, BlindsController.tilt); /* sync */\r\n    });\r\n```\r\n\r\nAm I doing something wrong or did I ran into a bug?\r\nThanks in advance! 👍 "}}
{"actor":{"display_login":"jeffreylanters"}}