simont77 / fakegato-history

Module to emulate Elgato Eve history
MIT License
166 stars 17 forks source link

Question about gaps in history #106

Closed seydx closed 3 years ago

seydx commented 3 years ago

Hi guys,

Currently I use fakegato for different plugins and types. I have a problem with gaps in my history.

I have implemented the .addEntry in the .on('change') event. So every time there is a change, the plugin will also add a new entry. The problem is that this does not happen periodically. Does this cause the problem with the gaps in the history?

I thought FakeGato would add additional entries to avoid this?

simont77 commented 3 years ago

Which type are you using? Fakegato adds entries only if you enable the timer and only for certain types.

seydx commented 3 years ago

@simont77

i thought the timer is always enabled until i disable it?

By default, if you don't addEntry during the 10 minutes timer, to avoid gaps (and fill data for lazy sensors), the timer repeat the last data.

im using following types:

simont77 commented 3 years ago

Yes, the timer is active by default. Which version of fakegato are you using? Maybe the last update broke up the timer.

seydx commented 3 years ago

@simont77

v0.6.1 , but it was already on the previous version too

simont77 commented 3 years ago

you mean 0.6.0? Version 0.5.x has not been touched for a long time and there was no issue reported for the timer.

seydx commented 3 years ago

yes v0.6.0

simont77 commented 3 years ago

Could you try with 0.5.6?