ebaauw / homebridge-p1

Homebridge plugin for DSMR end-consumer (P1) interface
Apache License 2.0
54 stars 11 forks source link

Eve displaying data is interrupted quite often #57

Closed TOAOQ closed 2 years ago

TOAOQ commented 2 years ago

Hi,

Great plugin! One thing/question, and can't find out if it is because of my setup, or maybe something in the plugin. Started using the plugin a week or 2 ago, the data displayed was interrupted 2 times a day (showing No Data for * Hours/Days. Uninstalled Domoticz from my Pi as it was redundant and then the graph was moe stable, until last Friday. Rebooted Homebridge service, no solution. Rebooted my Pi, no solution. Searched the closed issues and came across you mentioning to empty the cachedAccessories. Did that from the Homebrige wegui, restarted the Hombridge service et voila, working again. Can this emptying be automated in the plugin? Like empty after 72 Hours? Other small thing is that I read you have your Electricity and Gas accessory in Eve "powered ON" while mine shows my devices as "powered OFF", how can I switch to permanently on for both?

ebaauw commented 2 years ago

Can this emptying be automated in the plugin?

No. The history entries are recycled, so it doesn't grow indefinitely. I'm not sure what causes the corruption of the entries (maybe just a bad shutdown), nor how to recognise it. Would have to see a couple of cachedAccessories files to analyse.

I read you have your Electricity and Gas accessory in Eve "powered ON"

Not sure where you read that, but with the outlet settings, these accessories are exposed as Outlet with power off. If you set it on, it switches back to off after 0.5 seconds. Home doesn't like disabling setting on, and the whole purpose of outlet was to pacify Home.

TOAOQ commented 2 years ago

Hej, thanks for the swift response. Got the ON impression from one of your replies in an earlier issue

since I emptied the cachedAccessories folder via the Homebridge webgui, and restarted my Pi it seems to run more stable and no No Data gaps in the graphs.

ebaauw commented 2 years ago

Got the ON impression from one of your replies in an earlier issue

That was probably a screenshot from a pre-released proof-of-concept version.