homematic to influxdb
HomematicToInflux is a small Python bridge that reads device, room and state data from a Homematic CCU via the XML-API plugin and writes the resulting datapoints to InfluxDB. The original goal was simple long-term monitoring: keep Homematic sensor and actuator states queryable in InfluxDB and visualize them in Grafana.
What it does
- polls the Homematic XML-API endpoints for devices, rooms and states
- refreshes state data regularly and updates device and room metadata less often
- converts XML datapoints into InfluxDB fields
- stores metrics with device type based measurements and device metadata tags
- supports a file based input mode for development and tests without a live CCU
Status
Works, but the implementation is hacky.