sudo ./bin/wee_import --import-config=/home/weewx/util/import/import.conf --dry-run
Starting wee_import...
A CSV import from source file '/home/vancsv/jan18.csv' has been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
**** Invalid 'Date' field. Cannot convert '01/01/2018' to timestamp.
**** Nothing done, exiting.
Date,Time,Temp Out,Hi Temp,Low Temp,Out Hum,Dew Pt,Wind Speed,Wind Dir,Wind Run,Hi Speed,Wind Dir,Wind Chill,Heat Index,THW Index,THSW Index,Bar ,Rain,Rain Rate,Solar Rad,Solar Energy,Hi Solar Rad,Uv Index,UV Dose,Hi UV,Heat D-D,Cool D-D,In Temp,In Humd,In Dew,In Heat,In EMC,In AirnDensity,ET ,Wind Stamp,Wind Tx,ISS Recept,Arc Int.
01/01/2018,00:30,6.3,6.7,6.3,88,4.5,8,W,4,24,SSW,3.7,6.3,3.7,2,991,0,0,0,0,0,0,0,0,0.25,0,9.8,70,4.6,9.6,13.35,0.0756,0,683,2,100,30
01/01/2018,01:00,6.3,6.4,6.3,87,4.3,7,W,3.5,23,SSW,4.1,6.3,4.1,2.2,992,0,0,0,0,0,0,0,0,0.25,0,9.7,70,4.5,9.4,13.35,0.0757,0.03,685,2,100,30
01/01/2018,01:30,6,6.3,6,87,4,8,SSW,4,24,SW,3.3,5.9,3.3,1.6,993,0,0,0,0,0,0,0,0,0.257,0,9.4,70,4.2,9.2,13.35,0.0758,0,684,2,100,30
Import.conf file
dateTime = Date, unix_epoch
dateTime = Date, %d/%m/%Y
dateTime = Date, %d/%m/%Y %H:%M
Have tried the above 3 with the same results
Any ideas will greatly received.
Thank Phil
Also took the comma out between date and time in the data as perhaps on reflection is what you meant
Date,Time,Temp Out,Hi Temp,Low Temp,Out Hum,Dew Pt,Wind Speed,Wind Dir,Wind Run,Hi Speed,Wind Dir,Wind Chill,Heat Index,THW Index,THSW Index,Bar ,Rain,Rain Rate,Solar Rad,Solar Energy,Hi Solar Rad,Uv Index,UV Dose,Hi UV,Heat D-D,Cool D-D,In Temp,In Humd,In Dew,In Heat,In EMC,In AirnDensity,ET ,Wind Stamp,Wind Tx,ISS Recept,Arc Int.
01/01/2018 00:00,6.3,6.7,6.3,88,4.5,8,W,4,24,SSW,3.7,6.3,3.7,2,991,0,0,0,0,0,0,0,0,0.25,0,9.8,70,4.6,9.6,13.35,0.0756,0,683,2,100,30
The reply is now
Invalid 'Date' field. Cannot convert '01/01/2018 00:00' to timestamp
Thanks Andrew for your help and patience