sfudeus / homematic_exporter

Prometheus exporter for homematic ccu3
Apache License 2.0
23 stars 17 forks source link

Support name mapping based on device address prefix #2

Closed sfudeus closed 5 years ago

sfudeus commented 5 years ago

A mapped name typically would be fitting to the parent device, not to its sub-devices. Multiple sub-devices should appear with the same name. Currently, the explicit sub-device must be present in the mapping config. Either the parent name must be checked for an existing mapping, too - or a regex-matching should be implemented.