{"action":"created","issue":{"url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/22","labels_url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/22/comments","events_url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/22/events","html_url":"https://github.com/WickedDevice/AQEV2FW/issues/22","id":110796309,"number":22,"title":"feature request: use ntp to get (local) time","user":{"login":"PieterGit","id":6500826,"avatar_url":"https://avatars.githubusercontent.com/u/6500826?v=3","gravatar_id":"","url":"https://api.github.com/users/PieterGit","html_url":"https://github.com/PieterGit","followers_url":"https://api.github.com/users/PieterGit/followers","following_url":"https://api.github.com/users/PieterGit/following{/other_user}","gists_url":"https://api.github.com/users/PieterGit/gists{/gist_id}","starred_url":"https://api.github.com/users/PieterGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieterGit/subscriptions","organizations_url":"https://api.github.com/users/PieterGit/orgs","repos_url":"https://api.github.com/users/PieterGit/repos","events_url":"https://api.github.com/users/PieterGit/events{/privacy}","received_events_url":"https://api.github.com/users/PieterGit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T14:03:42Z","updated_at":"2015-10-10T14:12:27Z","closed_at":null,"body":"If there is an internet connection the air quality egg can get the time (for the CSV logging) from an NTP-server (nl.pool.ntp.org in my case). It might not be accurate on the (micro)second, but I think accuracy on minute is good enough.\r\n\r\nI did a proof of concept implementation based on\r\nhttps://github.com/adafruit/Adafruit_CC3000_Library/blob/master/examples/InternetTime/InternetTime.ino and with the current master. It gets the time from NTP in GMT/Zulu time.\r\n\r\nI also found this NTP client on http://playground.arduino.cc/Code/NTPclient but that was not suitable for CC3000.\r\n\r\nPlease bare with me, because this is my first contribution to github/arduino programming.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/comments/147092655","html_url":"https://github.com/WickedDevice/AQEV2FW/issues/22#issuecomment-147092655","issue_url":"https://api.github.com/repos/WickedDevice/AQEV2FW/issues/22","id":147092655,"user":{"login":"PieterGit","id":6500826,"avatar_url":"https://avatars.githubusercontent.com/u/6500826?v=3","gravatar_id":"","url":"https://api.github.com/users/PieterGit","html_url":"https://github.com/PieterGit","followers_url":"https://api.github.com/users/PieterGit/followers","following_url":"https://api.github.com/users/PieterGit/following{/other_user}","gists_url":"https://api.github.com/users/PieterGit/gists{/gist_id}","starred_url":"https://api.github.com/users/PieterGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieterGit/subscriptions","organizations_url":"https://api.github.com/users/PieterGit/orgs","repos_url":"https://api.github.com/users/PieterGit/repos","events_url":"https://api.github.com/users/PieterGit/events{/privacy}","received_events_url":"https://api.github.com/users/PieterGit/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T14:12:27Z","updated_at":"2015-10-10T14:12:27Z","body":"see https://github.com/WickedDevice/AQEV2FW/pull/23\r\nand https://github.com/PieterGit/AQEV2FW/tree/ntpclient\r\nI think I screwed up with the pull request somehow.\r\n"}}