This project can be used to get data from a Homematic System (IP and Non-IP) into InfluxDB. The two scripts are supposed to be used as a cron job or as a Timer Unit.
Both scripts depend on the influxdb_client library.
To get the Data from the CCU, you need to install the XML-API Addon on your CCU. Make sure to restrict network access to the CCU, as this Addon does not have any authentication.
This additionally depends on homematicip, which sadly has been discontinued, but as I personally don't use HmIP anymore, I have not yet looked for a replacement. PRs are welcome!
To use main_ip.py, you will first have to get an authentication token. The required procedure is described here.