You could install Telegraf locally, set up an InfluxDB 2.0 listener there and point your OpenEMS installation to it. In the Telegraf config you can then decide which data you want to forward to InfluxDB (cloud or locally). Works like a charm.
Kind regards, Martin