{"action":"opened","issue":{"url":"https://api.github.com/repos/alessandro308/YeelightController/issues/4","repository_url":"https://api.github.com/repos/alessandro308/YeelightController","labels_url":"https://api.github.com/repos/alessandro308/YeelightController/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/alessandro308/YeelightController/issues/4/comments","events_url":"https://api.github.com/repos/alessandro308/YeelightController/issues/4/events","html_url":"https://github.com/alessandro308/YeelightController/issues/4","id":312249178,"number":4,"title":"Hey Think I get the problem.","user":{"login":"TrevisGordan","id":29541742,"avatar_url":"https://avatars0.githubusercontent.com/u/29541742?v=4","gravatar_id":"","url":"https://api.github.com/users/TrevisGordan","html_url":"https://github.com/TrevisGordan","followers_url":"https://api.github.com/users/TrevisGordan/followers","following_url":"https://api.github.com/users/TrevisGordan/following{/other_user}","gists_url":"https://api.github.com/users/TrevisGordan/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevisGordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevisGordan/subscriptions","organizations_url":"https://api.github.com/users/TrevisGordan/orgs","repos_url":"https://api.github.com/users/TrevisGordan/repos","events_url":"https://api.github.com/users/TrevisGordan/events{/privacy}","received_events_url":"https://api.github.com/users/TrevisGordan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-07T22:34:16Z","updated_at":"2018-04-07T22:34:16Z","closed_at":null,"author_association":"NONE","body":"Hey. Me again. I got the code to Build. (y). \r\nI think I see the problem. Unfortunately, I don't speak a \"Line\" SWIFT, but i have an idea how you can fix it. Here is what I would do:\r\n\r\nCreate a global counter in the readReplay function. (Every time it gets called ++...)\r\n\r\nNow every time you get responses store it before you parse it. ( or If the first replay is always readable - read it. - but with the counter you always know how often it ran) \r\n\r\nif the readReaply runs the second time. Store the data again. Then compare both replays. (as a string, or len or whatever suits you. Then you can validate the Reply. and only parse the reply you need. ;) this is at least what I would do in python :D  \r\n"}}
{"actor":{"display_login":"TrevisGordan"}}