homematic_exporter icon indicating copy to clipboard operation
homematic_exporter copied to clipboard

Delete old devices

Open runningman84 opened this issue 3 years ago • 3 comments

One of my smoke sensors is broken, therefore I replaced it with another device. In the exporter it still shows the device as reporting smoke. In the CCU Gui the device is not listed anymore because I removed it.

runningman84 avatar Dec 04 '21 15:12 runningman84

Thanks for the feedback, and it is true. Currently there is no mechanism during runtime to remove previously registered metrics. I'll keep this issue open for the time being to eventually fix this, the obvious workaround is the restart of the exporter.

sfudeus avatar Jan 09 '22 19:01 sfudeus

This would be solved by this commit https://github.com/sfudeus/homematic_exporter/pull/59/commits/e434a20e74bde74204a123ed2105f7db6289fd56, which is part of this PR https://github.com/sfudeus/homematic_exporter/pull/59.

flammermann avatar Jul 14 '24 23:07 flammermann

Correction: Better solution presented in https://github.com/sfudeus/homematic_exporter/pull/59/commits/1a9307af59000b1cdf2b4c3fd57a2b837e87804c, still part of https://github.com/sfudeus/homematic_exporter/pull/59.

flammermann avatar Jul 15 '24 15:07 flammermann