{"action":"created","issue":{"url":"https://api.github.com/repos/katernet/darkmode/issues/7","repository_url":"https://api.github.com/repos/katernet/darkmode","labels_url":"https://api.github.com/repos/katernet/darkmode/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/katernet/darkmode/issues/7/comments","events_url":"https://api.github.com/repos/katernet/darkmode/issues/7/events","html_url":"https://github.com/katernet/darkmode/issues/7","id":364754776,"node_id":"MDU6SXNzdWUzNjQ3NTQ3NzY=","number":7,"title":"Suggestion: Switch from Yahoo API to Night Shift's internal schedule","user":{"login":"kirichkov","id":209263,"node_id":"MDQ6VXNlcjIwOTI2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/209263?v=4","gravatar_id":"","url":"https://api.github.com/users/kirichkov","html_url":"https://github.com/kirichkov","followers_url":"https://api.github.com/users/kirichkov/followers","following_url":"https://api.github.com/users/kirichkov/following{/other_user}","gists_url":"https://api.github.com/users/kirichkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kirichkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirichkov/subscriptions","organizations_url":"https://api.github.com/users/kirichkov/orgs","repos_url":"https://api.github.com/users/kirichkov/repos","events_url":"https://api.github.com/users/kirichkov/events{/privacy}","received_events_url":"https://api.github.com/users/kirichkov/received_events","type":"User","site_admin":false},"labels":[{"id":859072556,"node_id":"MDU6TGFiZWw4NTkwNzI1NTY=","url":"https://api.github.com/repos/katernet/darkmode/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-28T06:16:09Z","updated_at":"2018-09-29T06:47:48Z","closed_at":"2018-09-28T09:55:49Z","author_association":"NONE","body":"As it appears MacOS will expose the night shift schedule as well as sunset/sunrise times on the command line using `/usr/bin/corebrightnessdiag nightshift-internal`. \r\n\r\nBenefits of this approach is that dependence on external services can be completely abandoned (finding lat/long and sunset/sunrise times). Also this could be used to switch to dark/light mode using the native Night Shift schedule.\r\n\r\nOne issue to keep in mind is that times returned by `corebrightnessdiag` are in GMT and not in local time. The local timezone can be extracted from `/etc/localtime`."},"comment":{"url":"https://api.github.com/repos/katernet/darkmode/issues/comments/425621444","html_url":"https://github.com/katernet/darkmode/issues/7#issuecomment-425621444","issue_url":"https://api.github.com/repos/katernet/darkmode/issues/7","id":425621444,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTYyMTQ0NA==","user":{"login":"katernet","id":37143923,"node_id":"MDQ6VXNlcjM3MTQzOTIz","avatar_url":"https://avatars2.githubusercontent.com/u/37143923?v=4","gravatar_id":"","url":"https://api.github.com/users/katernet","html_url":"https://github.com/katernet","followers_url":"https://api.github.com/users/katernet/followers","following_url":"https://api.github.com/users/katernet/following{/other_user}","gists_url":"https://api.github.com/users/katernet/gists{/gist_id}","starred_url":"https://api.github.com/users/katernet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katernet/subscriptions","organizations_url":"https://api.github.com/users/katernet/orgs","repos_url":"https://api.github.com/users/katernet/repos","events_url":"https://api.github.com/users/katernet/events{/privacy}","received_events_url":"https://api.github.com/users/katernet/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T06:47:48Z","updated_at":"2018-09-29T06:47:48Z","author_association":"OWNER","body":"Sweet! Thanks for the idea @kirichkov "}}
{"actor":{"display_login":"katernet"}}