gruijter/com.gruijter.powerhour

Possibility to replace the underlying device without loosing data

Closed this issue · 3 comments

I'm wondering if there is any way to replace the underlying device without loosing all statistics.
E.g. if a power plug fails and needs to be replaced.

There should be a maintenance option to attach to a different device.

Thanks,
Steven

Vetjes commented

This would really be a great feature! Standing at the point of changing the plug and losing the data or starting an extra PBTH and keeping one inactive PBTH just for the old data.

Implemented in new version 5.9.0: https://homey.app/a/com.gruijter.powerhour/test/

  • Added repairing to a new source device.
  • homey-api@3.1.0

This adds a feature that was requested by a number of people. You can now repair a summarizer to a new source device, e.g. because you deleted the source device in Homey. Repairing will keep all the Insights and Flows. But if you repair to a physically different source device the kWh meter will most likely jump. In that case you need to manually adjust the meter and money values in the advanced settings.

Vetjes commented

Thanks! Great addition