Hi everyone,
I am trying to import a seemingly very simple CSV file into InfluxDB (which I run in Home Assistant). My CSV file looks like this:
time,group,measurement,unit,value
1626393600,Biometrics,Weight,lbs,178
1626393600,Biometrics,Sleep,hours,9.5
1626393600,Biometrics,Heart Rate (Samsung Health),bpm,95
1626393600,Biometrics,Mood,Rating,3
1626393600,Biometrics,Tinnitus,Rating,2
1626393600,Biometrics,Headaches,Rating,0
1626480000,Biometrics,Sleep,hours,8
1626480000,Biometrics,Weight,lbs,178
1626480000,Biometrics,Heart Rate (Samsung Health),bpm,111
1626480000,Biometrics,Mood,Rating,3
1626480000,Biometrics,Tinnitus,Rating,2
1626480000,Biometrics,Headaches,Rating,1.5
1626566400,Biometrics,Sleep,hours,4.25
1626566400,Biometrics,Weight,lbs,179.6
1626566400,Biometrics,Heart Rate (Samsung Health),bpm,79
1626566400,Biometrics,Mood,Rating,3
1626566400,Biometrics,Tinnitus,Rating,1.5
1626566400,Biometrics,Headaches,Rating,0
1626652800,Biometrics,Weight,lbs,182
1626652800,Biometrics,Sleep,hours,4.5
1626652800,Biometrics,Heart Rate (Samsung Health),bpm,68
1626652800,Biometrics,Mood,Rating,3
1626652800,Biometrics,Tinnitus,Rating,1.5
1626652800,Biometrics,Headaches,Rating,2
1626739200,Biometrics,Weight,lbs,181.2
1626739200,Biometrics,Sleep,hours,8
1626739200,Biometrics,Heart Rate (Samsung Health),bpm,104
1626739200,Biometrics,Mood,Rating,3.5
1626739200,Biometrics,Tinnitus,Rating,1.5
1626739200,Biometrics,Headaches,Rating,0
1626825600,Biometrics,Weight,lbs,181.2
1626825600,Biometrics,Heart Rate (Samsung Health),bpm,73
But whenever I try to write data to my InfluxDB database, it gives me this error:
Since I run InfluxDB in Home Assistant I’m not able to use any command line commands or Telegraph, just dragging and dropping CSV files directly into it to upload data. I’ve scoured the internet and really tried to understand what I’m doing wrong, but it’s escaping me. What am I doing wrong here, and what do I need to do to upload this data to InfluxDB? Thanks!