Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with old history (partially) failed. #96

Open
kimme1024 opened this issue Sep 15, 2020 · 9 comments
Open

Merge with old history (partially) failed. #96

kimme1024 opened this issue Sep 15, 2020 · 9 comments

Comments

@kimme1024
Copy link

As I screwed up before with my homebridge instances I had to start from scratch.
However I made a backup of my json files on my old instance which included 3 history files from temperature and humidity sensors.
After I reinstalled everything I copied the old json files over the newly created ones but only 1 of the 3 took over the history. The other ones didn't.

Any ideas of where I should start to look for a solution?

Thanks in advance!

@simont77
Copy link
Owner

Do you mean the persisted files? You should copy the old one in the correct position BEFORE starting homebridge, and most probably you have also to reset the history in Eve by deleting it and force quitting Eve.

@kimme1024
Copy link
Author

Hi,

I tried stopping hb-service, removing the history files, recopy from the old directory and restarting hb-service.
Sadly the history is only working for the bathroom, not the bedroom and fitness...
It's very weird!

@simont77
Copy link
Owner

Have you also deleted the history from Eve?

@kimme1024
Copy link
Author

I've been looking around in Eve for that but didn't find where I could do that... Might have missed it...

@simont77
Copy link
Owner

You have to go under the Measurement detail, where you can see each entry and then delete all of them.

@kimme1024
Copy link
Author

Hi,

I did the following:

stopped hb-service
removed history from server
removed measurements from eve app
force quit eve app
copied history
started hb-service
opened eve app and gave it time to load the history.
Now the history is even more limited, all sensors go back to 17th of august while the history files contain data for about 2 years.

Long story short, it became worse now :)

Any ideas?

@simont77
Copy link
Owner

Are you sure that the history file persisted on homebridge goes back two years? The default length is about 1 month, that is what you are seeing. Maybe it was the history inside Eve that was 2 years long, but once it get messed I found that the only way to solve is to delete it.

@kimme1024
Copy link
Author

Oh that's a bummer :( I really liked the fact that it had a long history, should have deleted it then :/

@simont77
Copy link
Owner

You can try to increase the history persisted by fakegato if you want, but I don't know which is the limit supported by the protocol. The real Elgato accessories have an history of about 2-3 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants