homematic_exporter
homematic_exporter copied to clipboard
Delete old devices
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.
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.
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.
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.