{"action":"closed","issue":{"url":"https://api.github.com/repos/informaticavia/automation/issues/2","repository_url":"https://api.github.com/repos/informaticavia/automation","labels_url":"https://api.github.com/repos/informaticavia/automation/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/informaticavia/automation/issues/2/comments","events_url":"https://api.github.com/repos/informaticavia/automation/issues/2/events","html_url":"https://github.com/informaticavia/automation/issues/2","id":190404888,"number":2,"title":"Lights flicker during cloudy weather and twilight","user":{"login":"informaticavia","id":21180513,"avatar_url":"https://avatars.githubusercontent.com/u/21180513?v=3","gravatar_id":"","url":"https://api.github.com/users/informaticavia","html_url":"https://github.com/informaticavia","followers_url":"https://api.github.com/users/informaticavia/followers","following_url":"https://api.github.com/users/informaticavia/following{/other_user}","gists_url":"https://api.github.com/users/informaticavia/gists{/gist_id}","starred_url":"https://api.github.com/users/informaticavia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/informaticavia/subscriptions","organizations_url":"https://api.github.com/users/informaticavia/orgs","repos_url":"https://api.github.com/users/informaticavia/repos","events_url":"https://api.github.com/users/informaticavia/events{/privacy}","received_events_url":"https://api.github.com/users/informaticavia/received_events","type":"User","site_admin":false},"labels":[{"id":429136385,"url":"https://api.github.com/repos/informaticavia/automation/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-18T19:44:01Z","updated_at":"2016-12-16T21:25:46Z","closed_at":"2016-12-16T21:25:46Z","body":"This issue is due to the light values reaching just below the darkness threshold, which makes them turn off and on every light sensor interval. An attempt to fix this problem by requiring a certain difference in light level for the status \"curtain\" to be reached, has not made any difference.\r\n\r\nA possible (partial) solution could be to implement sunset and sunrise calculations and use those in combination with light readings.\r\nFurther research is possible and probably useful by saving and plotting the light data to see exactly what goes wrong."}}
{"actor":{"display_login":"informaticavia"}}