what does mean such an error? how to fix it?
Oct 31 22:27:00 raspberrypi wee_import[14634]: manager: unable to add record 2016-10-23 23:50:00 CEST (1477259400) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Oct 31 22:27:00 raspberrypi wee_import[14634]: manager: unable to add record 2016-10-23 23:55:00 CEST (1477259700) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime Oct 31 22:27:01 raspberrypi wee_import[14634]: manager: unable to add record 2016-10-24 00:00:00 CEST (1477260000) to database 'weewx.sdb': NOT NULL constraint failed: archive.interval
W dniu 2016-10-31 o 21:35, gjr80 pisze:
I'll answer a couple of these here since they are not explicitly covered in the Utilities Guide. wee_import requires weewx 3.6.0. If you are using 3.5.1 (or earlier) just upgrade, upgrading from 3.5.1 is trivial There is no limit to how many records you can import from WU. That being said, records are fetched 1 day at a time (WU limitation) so I don't know I would like to import 10 years worth. Also, given WUs quirks who knows what it (WU) would do. Read the wee_import section of the Utilieis Guide carefully as well as the comments in the WU import config file, there are limitations to importing from WU that you need to be aware of when setting up the import paramaters. I must take the code down from my GitHub site, that was very early code I worked on before it was clear the wee_import was going to be included in weewx. Do not use it, it will not end well. Gary
-- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.