In influxdb, you can group “Series” in a single “Measurement”. By what a see, InfluxDB persistence create a single Measurement in the DB for each items. I would like to get all items of a single openhab Things, group in a single Measurement in iDB.
I have the same “problem” with OH3, my solution at the moment is:
(It was so easy with mqtt.persistance - I miss it)
State Change -> Rule -> Mqtt -> NodeRed -> influxDB
created a “Equipement” Group gMqttSender
assigned “Parent Group” gMqttSender to the Items to be stored on change
createed a Rule that checks Members of group gMqttSender on change and send it as json to MQTT (mosquito)
Node Red listen to MQTT and transforms json to Object and to InfluxDB as lineProtocol, all to sensor data to same messurement
(why node red, I probably want st send teh status change as well to Hass.io & easy to transform messages)