simont77 / fakegato-history

Module to emulate Elgato Eve history
MIT License
167 stars 15 forks source link

No more history data after crash #129

Closed YvesSun23 closed 10 months ago

YvesSun23 commented 10 months ago

Hi,

I hope you can help me here possibly further, from the developer of the plugin I get unfortunately no answer.

I use the plugin homebridge-3em-Energy-Meter with fakegato-history for about 1 year. A week ago I had a crash and was able to restore homebridge on the raspberry using an SD- card backup and "Controller for HomeKit " without any problems. But now I have the problem that the history graph does not load data anymore. All other values of the Shelly 3em are displayed properly.

Deleting and reinstalling the plugin has brought no change. The history data of e.g. homebridge-hue is loaded and displayed correctly.

IMG_6998

simont77 commented 10 months ago

Sometime the history get stuck. Can you try from another device where you did not use Eve before? If it works, you have to delete all the previous history stored in the device that does work (show history details, then delete). Also delete persistent storage if you use it. When force quit Eve and reopen

YvesSun23 commented 10 months ago

unfortunately I don’t have a second iOS device at the moment, but I can try it at the weekend.

I tryed this, but no change, now "no data available" is displayed.

Requesting energy values from Shelly 3EM(EM) ... [17.8.2023, 14:19:05] [Stromverbrauch] Successful http response. [ voltage: 226V, current: 1.6A, consumption: 255W, total consumption: 2396.48kWh ] [17.8.2023, 14:19:15] [Stromverbrauch] Requesting energy values from Shelly 3EM(EM) ... [17.8.2023, 14:19:15] [Stromverbrauch] Successful http response. [ voltage: 226V, current: 1.6A, consumption: 256W, total consumption: 2396.48kWh ] [17.8.2023, 14:19:18] [Phoscon] Power 126: set homekit electric current from 0.46 A to 0.459 A [17.8.2023, 14:19:25] [Stromverbrauch] Requesting energy values from Shelly 3EM(EM) ... [17.8.2023, 14:19:25] [Stromverbrauch] Successful http response. [ voltage: 226V, current: 1.5A, consumption: 254W, total consumption: 2396.48kWh ] [17.8.2023, 14:19:25] [Phoscon] Dachboden: set homekit temperature from 42.6°C to 43.1°C [17.8.2023, 14:19:30] [Phoscon] Power 126: set homekit current consumption from 50 W to 49 W [17.8.2023, 14:19:35] [Stromverbrauch] Requesting energy values from Shelly 3EM(EM) ... [17.8.2023, 14:19:35] [Stromverbrauch] Successful http response. [ voltage: 226V, current: 1.5A, consumption: 254W, total consumption: 2396.48kWh ]

What is the persistent storage and where can I find it? Is this storage only for the plugin history data or for all accessories?

IMG_6999

YvesSun23 commented 10 months ago

thanks for your help, but I think I found the reason. The reason was not the plug in, I think the uSD-Card is damaged. I restored the backup to a new uSD-Card and now the history data will load correctly.

Realy nice plugin, thank you