Due to a fatal hardware failure I’m reinstalling my homeserver.
I think this is a good opportunity to do things “right” this time ![]()
One things that always bothered me is the way how data is written to influxdb - because openhab does not use the features of influxdb how they are intented.
With the influxdb persistance service, every value is written on its own to the database with the item name as field key. So, if I have two sensors in kitchen and living room measuring temperature and humidity there will be single entries for fields kitchen_temp, kitchen_hum, liv_temp, liv_hum.
However, the “right” usage of influxdb would be two entries with:
- tag=kitchen and fields “temperature” and “humidity”
- tag=livingR and fields “temperature” and “humidity”
This database scheme allows for much better and more flexible filtering/visulization.
I’m aware this is not compatible to the way how openhab works internally, but anyhow: Has this already been discussed and are there any proposed solutions?