After fresh installation no current data

56 views
Skip to first unread message

Andre

unread,
Jun 22, 2020, 2:54:56 AM6/22/20
to weewx-user
My SD card from Raspberry Pi has stopped working. And now I had to do a fresh install of weewx. My last installation was over 3 years ago and unfortunately I forgot almost everything.

The basic installation of weewx seems to have worked, but I don't get any current data displayed. The last value is from 2020-06-21 16:05:00 CEST.

Here is my syslog

pi@weewx:~ $ sudo tail -f /var/log/syslog
Jun 22 08:40:16 weewx weewx[4491] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 08:40:19 weewx weewx[4491] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 3.01 seconds
Jun 22 08:40:19 weewx weewx[4491] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 08:40:21 weewx weewx[4491] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 2.11 seconds
Jun 22 08:40:21 weewx weewx[4491] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Jun 22 08:40:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Jun 22 08:40:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Jun 22 08:40:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Jun 22 08:40:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Jun 22 08:40:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Jun 22 08:45:15 weewx weewx[4491] DEBUG weewx.drivers.vantage: Getting archive packets since 2020-06-21 16:05:00 CEST (1592748300)
Jun 22 08:45:15 weewx weewx[4491] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 22 08:45:15 weewx weewx[4491] DEBUG weewx.drivers.vantage: Retrieving 38 page(s); starting index= 1
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2020-06-21 09:25:00 CEST (1592724300) less than final timestamp 2020-06-21 16:05:00 CEST (1592748300)
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.drivers.vantage: Catch up complete.
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.reportengine: Running reports for latest time in the database.
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jun 22 08:45:16 weewx weewx[4491] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 08:45:19 weewx weewx[4491] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 3.00 seconds
Jun 22 08:45:19 weewx weewx[4491] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 08:45:21 weewx weewx[4491] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 2.12 seconds
Jun 22 08:45:21 weewx weewx[4491] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Jun 22 08:45:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Jun 22 08:45:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Jun 22 08:45:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Jun 22 08:45:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Jun 22 08:45:21 weewx weewx[4491] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.

I am happy about helpful tips.

Regards Andre

Andre

unread,
Jun 22, 2020, 4:33:24 AM6/22/20
to weewx-user
I tried this first

1. Unplug the console, take out the batteries, and wait a minute or two.

After this I tried this

wee_device --dump

And get the following message

pi@weewx:~ $ sudo wee_device --dump
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.2.1 (weewx.drivers.vantage)
Proceeding will dump all data in the logger.
Are you sure you want to proceed (y/n)? y
Starting dump ...
 Traceback (most recent call last):020-06-22 10:15:00 CEST (1592813700)
  File "/usr/share/weewx/wee_device", line 78, in <module>
    main()
  File "/usr/share/weewx/wee_device", line 74, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure
    self.do_options(options, parser, config_dict, not options.noprompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2099, in do_options
    self.dump_logger(station, config_dict, options.noprompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2701, in dump_logger
    for record in converted_generator:
  File "/usr/share/weewx/weewx/units.py", line 1364, in __next__
    _record = next(self.input_generator)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 695, in genArchiveDump
    _page = self.port.get_data_with_crc16(267, prompt=_ack, max_tries=self.max_tries)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 232, in get_data_with_crc16
    raise weewx.WeeWxIOError("Timeout in get_data_with_crc16")
weewx.WeeWxIOError: Timeout in get_data_with_crc16

Do I have a generally problem with my console or with the USB-Connector?

Regards Andre

Andre

unread,
Jun 22, 2020, 4:45:10 AM6/22/20
to weewx-user
Here my syslog after reboot

Jun 22 10:40:16 weewx weewx[1426] DEBUG weewx.drivers.vantage: Getting archive packets since 2020-06-22 10:35:00 CEST (1592814900)
Jun 22 10:40:16 weewx weewx[1426] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 22 10:40:16 weewx weewx[1426] DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 4
Jun 22 10:40:16 weewx weewx[1426] INFO weewx.manager: Added record 2020-06-22 10:40:00 CEST (1592815200) to database 'weewx.sdb'
Jun 22 10:40:16 weewx weewx[1426] INFO weewx.manager: Added record 2020-06-22 10:40:00 CEST (1592815200) to daily summary in 'weewx.sdb'
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.reportengine: Running reports for latest time in the database.
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jun 22 10:40:17 weewx weewx[1426] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 10:40:24 weewx weewx[1426] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 6.77 seconds
Jun 22 10:40:24 weewx weewx[1426] DEBUG weewx.manager: Daily summary version is 2.0
Jun 22 10:40:26 weewx weewx[1426] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 1.93 seconds
Jun 22 10:40:26 weewx weewx[1426] INFO weewx.reportengine: Copied 5 files to /var/weewx/reports

I get no current data on my homepage...its still on 2020-06-21 16:05

Graham Eddy

unread,
Jun 22, 2020, 4:49:21 AM6/22/20
to weewx-user
it says it is generating files.
check the timestamps on the files in the weewx public_html directory (where the generated files are put)

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f22f2682-d7d4-4580-b4d8-b101055b4c3co%40googlegroups.com.

Andre

unread,
Jun 22, 2020, 5:24:54 AM6/22/20
to weewx-user
Many thanks, Graham.
Now it works like a charm. So many pathes there. The web server was misconfigured with dirty pathes.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages