Closed hartmood closed 1 year ago
Hi,
Which data is gone?
El vie, 23 jun 2023 16:30, hartmood @.***> escribió:
I upgraded to 2.0.0 and, for whatever reason, had in mind that the deactivated historical sensors were under investigation to be activated. Unfortunately, I did not read the manual indicating not to activate historical sensors.
Can I get the data back, or shall I use my nightly backup?
— Reply to this email directly, view it on GitHub https://github.com/ldotlopez/ha-ideenergy/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYLONXSQCDPKCUY2SP24LXMWSAJANCNFSM6AAAAAAZRUWGFA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Any data from the last six months.
Ok, but..
Data was the accumulated consumption? Some from historical sensors? (pre-2.0 already have historical data) All of them?
Which version do you come from?
Some entities were renamed:
Can you provide some logs from the upgrade? Can you provide some of the current logs?
If not I can recommend you to:
Then we can check logs
- check if energy panel is using the current ones
- from developer tools check if any of our sensors has data over the last
week.
Data is now coming in and is reflected in the energy panel. But any data before the upgrade/activation of the sensors is gone.
Can you provide some logs from the upgrade? Can you provide some of the
current logs?
Maybe, but I don't know how
- enable debug log for custom_components.ideeneegy, ideenergy and
homeassistant_historical_sensor
- revert to the last working version of the integration
- restart HA
- restore your latest backup.
Then we can check logs
I will revert to last night's backup and then do the upgrade again. I am more than sure it was the activation of the three hidden historical sensors that caused the troubles.
2.0.0 now works well in my installation. It must have been the historical sensors that crashed the database. Reading the fucking manual would have saved my ass.
I upgraded to 2.0.0 and, for whatever reason, had in mind that the deactivated historical sensors were under investigation to be activated. Unfortunately, I did not read the manual indicating not to activate historical sensors.
Can I get the data back, or shall I use my nightly backup?