Hello, Jacek

I'm sorry, but I'm not quite following your question, but I'll try my best.

The way weewx works, it looks for the last record in the database, then
asks for the Vantage to dump all data since that record. It sounds like
 you are missing some intermediate data? That is, data that is older than
the last record in the database.

If that's the case, the easiest way to recover this data is to use the
wee_device command with the --dump option:

*wee_device --dump*

This will dump *all* the data. Because you already have some of this data
in your database, this command will result in many "Duplicate primary key
errors." These can be safely ignored.

If that does not answer the question you had, then please try again.

-tk


On Fri, Nov 25, 2016 at 1:54 PM, Jacek Skowroński <yace...@gmail.com> wrote:

> Hi, I had lost my old config, had to go for old sd card.
> System started to collect old data - from last 4 days.Send it to the
> webpage - boleslawice.info, WU and other weather system and then stopped
> to collect data.
>
> Now I have something like:
> pi@raspberrypi:~ $ tail -f /var/log/syslog
> Nov 25 22:41:42 raspberrypi weewx[631]: restx: Wunderground-PWS: Data for
> station IWOJEWDZ56 will be posted
> Nov 25 22:41:42 raspberrypi weewx[631]: restx: PWSWeather: Data for
> station YACENTY2 will be posted
> Nov 25 22:41:42 raspberrypi weewx[631]: restx: CWOP: Posting not enabled.
> Nov 25 22:41:42 raspberrypi weewx[631]: restx: WOW: Data for station
> 976406001 will be posted
> Nov 25 22:41:42 raspberrypi weewx[631]: restx: AWEKAS: Data will be
> uploaded for user yacenty
> Nov 25 22:41:42 raspberrypi weewx[631]: engine: Starting up weewx version
> 3.6.2
> Nov 25 22:41:42 raspberrypi weewx[631]: engine: Clock error is -6.36
> seconds (positive is fast)
> Nov 25 22:41:42 raspberrypi weewx[631]: vantage: Clock set to 2016-11-25
> 22:41:43 CET (1480110103)
> Nov 25 22:41:43 raspberrypi weewx[631]: engine: Starting main packet loop.
> Nov 25 22:41:48 raspberrypi weewx[631]: vantage: LOOP try #1; error:
> Expected to read 99 chars; got 0 instead
> Nov 25 22:45:18 raspberrypi weewx[631]: cheetahgenerator: Generated 14
> files for report StandardReport in 1.63 seconds
> Nov 25 22:45:18 raspberrypi rsyslogd-2007: action 'action 17' suspended,
> next retry is Fri Nov 25 22:45:48 2016 [try http://www.rsyslog.com/e/2007
> ]
> Nov 25 22:45:18 raspberrypi weewx[631]: genimages: Generated 12 images for
> StandardReport in 0.60 seconds
> Nov 25 22:45:18 raspberrypi weewx[631]: reportengine: copied 9 files to
> /var/www/html/weewx
> Nov 25 22:45:31 raspberrypi weewx[631]: reportengine: ftp'd 35 files in
> 13.07 seconds
> Nov 25 22:50:18 raspberrypi weewx[631]: cheetahgenerator: Generated 14
> files for report StandardReport in 1.64 seconds
> Nov 25 22:50:18 raspberrypi rsyslogd-2007: action 'action 17' suspended,
> next retry is Fri Nov 25 22:50:48 2016 [try http://www.rsyslog.com/e/2007
> ]
> Nov 25 22:50:18 raspberrypi weewx[631]: genimages: Generated 12 images for
> StandardReport in 0.61 seconds
> Nov 25 22:50:18 raspberrypi weewx[631]: reportengine: copied 0 files to
> /var/www/html/weewx
> Nov 25 22:50:27 raspberrypi weewx[631]: reportengine: ftp'd 26 files in
> 9.03 seconds
> Nov 25 22:52:26 raspberrypi systemd[1]: Starting Cleanup of Temporary
> Directories...
> Nov 25 22:52:26 raspberrypi rsyslogd-2007: action 'action 17' suspended,
> next retry is Fri Nov 25 22:52:56 2016 [try http://www.rsyslog.com/e/2007
> ]
> Nov 25 22:52:26 raspberrypi systemd[1]: Started Cleanup of Temporary
> Directories.
>
> but the last data are from 19:55.
> How can I force weewx to communictae with davis?
> pi was restarted few times.
>
> pi in general sees the davis
>
> pi@raspberrypi:~ $ wee_device --info
> Using configuration file /etc/weewx/weewx.conf
> Using Vantage driver version 3.0.9 (weewx.drivers.vantage)
> Querying...
> Davis Vantage EEPROM settings:
>
>     CONSOLE TYPE:                   VantagePro2
>
>     CONSOLE FIRMWARE:
>       Date:                         Jun  3 2013
>       Version:                      3.15
>
>     CONSOLE SETTINGS:
>       Archive interval:             300 (seconds)
>       Altitude:                     223 (meter)
>       Wind cup type:                large
>       Rain bucket type:             0.2 MM
>       Rain year start:              1
>       Onboard time:                 2016-11-25 22:54:12
>
>     CONSOLE DISPLAY UNITS:
>       Barometer:                    hPa
>       Temperature:                  degree_10C
>       Rain:                         mm
>       Wind:                         km_per_hour
>
>     CONSOLE STATION INFO:
>       Latitude (onboard):           +50.9
>       Longitude (onboard):          +16.5
>       Use manual or auto DST?       AUTO
>       DST setting:                  N/A
>       Use GMT offset or zone code?  ZONE_CODE
>       Time zone code:               22
>       GMT offset:                   N/A
>
>     TRANSMITTERS:
>       Channel 1:                    iss
>       Channel 2:                    soil
>       Channel 3:                    (N/A)
>       Channel 4:                    (N/A)
>       Channel 5:                    (N/A)
>       Channel 6:                    (N/A)
>       Channel 7:                    (N/A)
>       Channel 8:                    (N/A)
>
>     RECEPTION STATS:
>       Total packets received:       288
>       Total packets missed:         1
>       Number of resynchronizations: 0
>       Longest good stretch:         193
>       Number of CRC errors:         1
>
>     BAROMETER CALIBRATION DATA:
>       Current barometer reading:    30.228 inHg
>       Altitude:                     732 feet
>       Dew point:                    31 F
>       Virtual temperature:          37 F
>       Humidity correction factor:   11
>       Correction ratio:             1.028
>       Correction constant:          +0.000 inHg
>       Gain:                         0.000
>       Offset:                       -53.000
>
>     OFFSETS:
>       Wind direction:               +0 deg
>       Inside Temperature:           +0.0 F
>       Inside Humidity:              +0%
>       Outside Temperature:          +0.0 F
>       Outside Humidity:             +0%
>       Soil Temperature 1:           +0.0 F
>       Soil Temperature 2:           +0.0 F
>       Soil Temperature 3:           +0.0 F
>       Soil Temperature 4:           +0.0 F
>
>
> where is the clue?
>
> --
> 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.
>

-- 
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.

Reply via email to