{"action":"created","issue":{"url":"https://api.github.com/repos/simont77/fakegato-history/issues/62","repository_url":"https://api.github.com/repos/simont77/fakegato-history","labels_url":"https://api.github.com/repos/simont77/fakegato-history/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/simont77/fakegato-history/issues/62/comments","events_url":"https://api.github.com/repos/simont77/fakegato-history/issues/62/events","html_url":"https://github.com/simont77/fakegato-history/issues/62","id":381997447,"node_id":"MDU6SXNzdWUzODE5OTc0NDc=","number":62,"title":"Timer without adding extra entries","user":{"login":"tobekas","id":43621645,"node_id":"MDQ6VXNlcjQzNjIxNjQ1","avatar_url":"https://avatars1.githubusercontent.com/u/43621645?v=4","gravatar_id":"","url":"https://api.github.com/users/tobekas","html_url":"https://github.com/tobekas","followers_url":"https://api.github.com/users/tobekas/followers","following_url":"https://api.github.com/users/tobekas/following{/other_user}","gists_url":"https://api.github.com/users/tobekas/gists{/gist_id}","starred_url":"https://api.github.com/users/tobekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobekas/subscriptions","organizations_url":"https://api.github.com/users/tobekas/orgs","repos_url":"https://api.github.com/users/tobekas/repos","events_url":"https://api.github.com/users/tobekas/events{/privacy}","received_events_url":"https://api.github.com/users/tobekas/received_events","type":"User","site_admin":false},"labels":[{"id":669231038,"node_id":"MDU6TGFiZWw2NjkyMzEwMzg=","url":"https://api.github.com/repos/simont77/fakegato-history/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"simont77","id":26008536,"node_id":"MDQ6VXNlcjI2MDA4NTM2","avatar_url":"https://avatars0.githubusercontent.com/u/26008536?v=4","gravatar_id":"","url":"https://api.github.com/users/simont77","html_url":"https://github.com/simont77","followers_url":"https://api.github.com/users/simont77/followers","following_url":"https://api.github.com/users/simont77/following{/other_user}","gists_url":"https://api.github.com/users/simont77/gists{/gist_id}","starred_url":"https://api.github.com/users/simont77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simont77/subscriptions","organizations_url":"https://api.github.com/users/simont77/orgs","repos_url":"https://api.github.com/users/simont77/repos","events_url":"https://api.github.com/users/simont77/events{/privacy}","received_events_url":"https://api.github.com/users/simont77/received_events","type":"User","site_admin":false},"assignees":[{"login":"simont77","id":26008536,"node_id":"MDQ6VXNlcjI2MDA4NTM2","avatar_url":"https://avatars0.githubusercontent.com/u/26008536?v=4","gravatar_id":"","url":"https://api.github.com/users/simont77","html_url":"https://github.com/simont77","followers_url":"https://api.github.com/users/simont77/followers","following_url":"https://api.github.com/users/simont77/following{/other_user}","gists_url":"https://api.github.com/users/simont77/gists{/gist_id}","starred_url":"https://api.github.com/users/simont77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simont77/subscriptions","organizations_url":"https://api.github.com/users/simont77/orgs","repos_url":"https://api.github.com/users/simont77/repos","events_url":"https://api.github.com/users/simont77/events{/privacy}","received_events_url":"https://api.github.com/users/simont77/received_events","type":"User","site_admin":false},{"login":"NebzHB","id":28622481,"node_id":"MDQ6VXNlcjI4NjIyNDgx","avatar_url":"https://avatars0.githubusercontent.com/u/28622481?v=4","gravatar_id":"","url":"https://api.github.com/users/NebzHB","html_url":"https://github.com/NebzHB","followers_url":"https://api.github.com/users/NebzHB/followers","following_url":"https://api.github.com/users/NebzHB/following{/other_user}","gists_url":"https://api.github.com/users/NebzHB/gists{/gist_id}","starred_url":"https://api.github.com/users/NebzHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebzHB/subscriptions","organizations_url":"https://api.github.com/users/NebzHB/orgs","repos_url":"https://api.github.com/users/NebzHB/repos","events_url":"https://api.github.com/users/NebzHB/events{/privacy}","received_events_url":"https://api.github.com/users/NebzHB/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-11-18T20:34:51Z","updated_at":"2018-11-28T08:51:48Z","closed_at":"2018-11-28T08:51:48Z","author_association":"NONE","body":"Hi,\r\nI really like your lib and the timer handling.\r\nIn my setup, sensor data are received via MQTT every ~50-70 seconds. I call your `addEntry` function every time when new data are received, so that a new history entry is generated every 10min from the average. This is working perfectly.\r\nNow, if one sensor suddenly stops sending data (going offline, battery low, ...) and consequently no entry is added within the next 10min-intervall (no `addEntry` call), I don’t want to have this „previous average extra entry“ generated. If the sensor is really off, gaps in the Eve app are absolutely ok.\r\n\r\nIs it possible to use your timer for averaging values over the timer interval, but without adding extra entries if no data were added?"},"comment":{"url":"https://api.github.com/repos/simont77/fakegato-history/issues/comments/442367881","html_url":"https://github.com/simont77/fakegato-history/issues/62#issuecomment-442367881","issue_url":"https://api.github.com/repos/simont77/fakegato-history/issues/62","id":442367881,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM2Nzg4MQ==","user":{"login":"simont77","id":26008536,"node_id":"MDQ6VXNlcjI2MDA4NTM2","avatar_url":"https://avatars0.githubusercontent.com/u/26008536?v=4","gravatar_id":"","url":"https://api.github.com/users/simont77","html_url":"https://github.com/simont77","followers_url":"https://api.github.com/users/simont77/followers","following_url":"https://api.github.com/users/simont77/following{/other_user}","gists_url":"https://api.github.com/users/simont77/gists{/gist_id}","starred_url":"https://api.github.com/users/simont77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simont77/subscriptions","organizations_url":"https://api.github.com/users/simont77/orgs","repos_url":"https://api.github.com/users/simont77/repos","events_url":"https://api.github.com/users/simont77/events{/privacy}","received_events_url":"https://api.github.com/users/simont77/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T08:51:48Z","updated_at":"2018-11-28T08:51:48Z","author_association":"OWNER","body":"Just published v0.5.3. Thanks"}}
{"actor":{"display_login":"simont77"}}