{"action":"created","issue":{"url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/2","repository_url":"https://api.github.com/repos/structure7/hvacMonitorNode01","labels_url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/2/comments","events_url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/2/events","html_url":"https://github.com/structure7/hvacMonitorNode01/issues/2","id":151278487,"number":2,"title":"Tweet house's high and low temps for the date (not at midnight)","user":{"login":"structure7","id":17578192,"avatar_url":"https://avatars.githubusercontent.com/u/17578192?v=3","gravatar_id":"","url":"https://api.github.com/users/structure7","html_url":"https://github.com/structure7","followers_url":"https://api.github.com/users/structure7/followers","following_url":"https://api.github.com/users/structure7/following{/other_user}","gists_url":"https://api.github.com/users/structure7/gists{/gist_id}","starred_url":"https://api.github.com/users/structure7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/structure7/subscriptions","organizations_url":"https://api.github.com/users/structure7/orgs","repos_url":"https://api.github.com/users/structure7/repos","events_url":"https://api.github.com/users/structure7/events{/privacy}","received_events_url":"https://api.github.com/users/structure7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T01:46:30Z","updated_at":"2016-04-28T04:07:19Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/comments/215304746","html_url":"https://github.com/structure7/hvacMonitorNode01/issues/2#issuecomment-215304746","issue_url":"https://api.github.com/repos/structure7/hvacMonitorNode01/issues/2","id":215304746,"user":{"login":"structure7","id":17578192,"avatar_url":"https://avatars.githubusercontent.com/u/17578192?v=3","gravatar_id":"","url":"https://api.github.com/users/structure7","html_url":"https://github.com/structure7","followers_url":"https://api.github.com/users/structure7/followers","following_url":"https://api.github.com/users/structure7/following{/other_user}","gists_url":"https://api.github.com/users/structure7/gists{/gist_id}","starred_url":"https://api.github.com/users/structure7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/structure7/subscriptions","organizations_url":"https://api.github.com/users/structure7/orgs","repos_url":"https://api.github.com/users/structure7/repos","events_url":"https://api.github.com/users/structure7/events{/privacy}","received_events_url":"https://api.github.com/users/structure7/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T04:07:18Z","updated_at":"2016-04-28T04:07:18Z","body":"I think it would be fun to write the code:\r\n\r\nPseudo:\r\n```\r\nint dailyHigh, dailyLow, nowTemp;\r\nint dailyLatch = 0;\r\n\r\nif (date() == today) // Same code used for hvacMonitor\r\n{\r\n   if (nowTemp > dailyHigh)\r\n      {\r\n         dailyHigh = nowTemp;\r\n      }\r\n   else if (nowTemp < dailyLow)\r\n      {\r\n         dailyLow = nowTemp;\r\n      }\r\n}\r\nelse (if date() != today)\r\n{\r\n  Tweet (\"For \" + month + day + \" - High: \" + dailyHigh, etc)\r\n  dailyHigh = 0;\r\n  dailyLow = 200;\r\n}\r\n```"}}