{"action":"closed","issue":{"url":"https://api.github.com/repos/Gizra/negawatt-server/issues/616","labels_url":"https://api.github.com/repos/Gizra/negawatt-server/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/Gizra/negawatt-server/issues/616/comments","events_url":"https://api.github.com/repos/Gizra/negawatt-server/issues/616/events","html_url":"https://github.com/Gizra/negawatt-server/issues/616","id":90064653,"number":616,"title":"Normalized electricity data has 'spikes'","user":{"login":"shahardo","id":4487099,"avatar_url":"https://avatars.githubusercontent.com/u/4487099?v=3","gravatar_id":"","url":"https://api.github.com/users/shahardo","html_url":"https://github.com/shahardo","followers_url":"https://api.github.com/users/shahardo/followers","following_url":"https://api.github.com/users/shahardo/following{/other_user}","gists_url":"https://api.github.com/users/shahardo/gists{/gist_id}","starred_url":"https://api.github.com/users/shahardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahardo/subscriptions","organizations_url":"https://api.github.com/users/shahardo/orgs","repos_url":"https://api.github.com/users/shahardo/repos","events_url":"https://api.github.com/users/shahardo/events{/privacy}","received_events_url":"https://api.github.com/users/shahardo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Gizra/negawatt-server/labels/scope:%20server","name":"scope: server","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T10:34:50Z","updated_at":"2015-06-29T18:50:15Z","closed_at":"2015-06-29T18:50:15Z","body":"Usage chart:\r\n![selection_009](https://cloud.githubusercontent.com/assets/4487099/8280124/f423e886-18e2-11e5-981a-9b54a9d5329c.png)\r\n\r\nServer query:\r\n`http://localhost/negawatt-server/www/api/electricity?filter[frequency]=5&filter[meter_account]=2&filter[timestamp][operator]=BETWEEN&filter[timestamp][value][0]=1434697839&filter[timestamp][value][1]=1434784239&page=1`\r\n\r\nData:\r\n```javascript\r\n{\r\n  timestamp: \"1434703802\",\r\n  timestamp_rounded: \"1434703800\",\r\n  datatime: \"2015-06-19 11:50:02\",\r\n  rate_type: \"mid\",\r\n  frequency: \"5\",\r\n  kwh: \"-69997.90156269073\",\r\n  avg_power: \"-52413.50411272049\",\r\n  meter: \"834\",\r\n  meter_category: \"48\",\r\n  meter_account: \"2\",\r\n  min_power_factor: \"0.821022\"\r\n},\r\n{\r\n  timestamp: \"1434704402\",\r\n  timestamp_rounded: \"1434704400\",\r\n  datatime: \"2015-06-19 12:00:02\",\r\n  rate_type: \"mid\",\r\n  frequency: \"5\",\r\n  kwh: \"70253.70312404633\",\r\n  avg_power: \"53859.36123800278\",\r\n  meter: \"834\",\r\n  meter_category: \"48\",\r\n  meter_account: \"2\",\r\n  min_power_factor: \"0.818088\"\r\n},\r\n```\r\n"}}