1. html files will only be created at the end of the first archive interval - so that is not a problem 2. the database is probably only created when the first data is received - but you can still copy your back up .sdb database file into the correct directory - and it will then be used by weewx. If you are 'not sure' where the .sdb should be put just change your device to simulator and let weewx create a database for you. After that you can stop weewx, delete the newly created database, copy your backup database to the correct directory, change your device back to the correct station type and restart weewx.
On Monday, 12 August 2019 13:41:18 UTC+3, Paul Lacatus (Gmail) wrote: > > Hi Greg, > > Thank you for the suggestions. I just install again weewx with general > configs and selecting WMR300 driver . As suggested did not connected > the USB cable to not download the measurements from the station . The > issue is that : > > wmr300: history limit is 20% at index 6572 > Aug 12 13:35:08 meteopi weewx[686]: engine: Import of driver failed: > Unable to find station on USB: cannot find device with VendorID=0x0fde > ProductID=0xca08 (<class 'weewx.drivers.wmr300.WMR300Error'>) > Aug 12 13:35:08 meteopi weewx[686]: engine: Unable to load driver: > Unable to find station on USB: cannot find device with VendorID=0x0fde > ProductID=0xca08 > Aug 12 13:35:08 meteopi weewx[686]: **** Exiting... > > and Weewx does not generate a clean database nor the html files in order > to put the old database > > Any ideeas ? > > > > > On 11-Aug-19 22:10, Greg Troxel wrote: > > "Paul Lacatus (Gmail)" <[email protected] <javascript:>> writes: > > > >> After recovering the procedure is to reinstall Weewx and after to copy > >> the saved database over the new one ? > > Right now, your data logger, if your station has one, probably has data > > for the downtime. So what I'd do is: > > > > disconnect the cable to the logger > > > > reinstall weewx > > > > recover the config (and customized skins as someone else suggested) > > > > copy in the database (and save a copy of the old database multiple > > other places!) > > > > start up weewx and make sure you can generate plots etc. The point > is > > not that you can't fix that later but it proves that the old data > from > > the db is accessible > > > > shut down weewx, reconnect the wx station cable, and start up > > > > If your station doesn't log, then the disconnect/test/reconnect step is > > not in order, and as long as the database is ok you can fix > > skin/generation/upload at your leisure. > > > > Note that I have not done what I am telling you to do; it's based on > > understanding not experience. > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d1f47963-667c-4371-a602-debf5d285d0c%40googlegroups.com.
