Import old long term sensor data to InfluxDB

Hi,
I imported sensor data of an old with this strategy:

  • Export from InfluxDB into csv file
  • calculated the values from kWh to Wh
  • Converted csv file into LineProtocol with a BashScript
  • Imported the values with curl to the RestApi into the InfluxDB line per line

Now when I check the result in InfluxDB UI i seems very good. I see all the old value data in the same measurment with the same tags and fields.


05/19/2024 is the old data(from a shellypro3em), from 05/22/2024 is the new data

The problem is, that this data are not shown in the history in Homeassistant or in the Energy Dashboard.

Do I have to trigger something, that Homeassistant reads the old data from InfluxDB?

Thank you all for your help.

1 Like