Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0

306 views
Skip to first unread message

Leon Shaner

unread,
Apr 9, 2019, 4:06:26 PM4/9/19
to weewx-user
Seeing several recent posts with a similar message with WMR200, but mine is on a new install with an WMR300A.
Any solutions?

Apr  9 16:03:20 nixie systemd[1]: Starting LSB: weewx weather system...
Apr  9 16:03:22 nixie weewx[807]: engine: Initializing weewx version 3.9.1
Apr  9 16:03:22 nixie weewx[807]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Apr  9 16:03:22 nixie weewx[807]: engine: Platform Linux-4.14.98+-armv6l-with-debian-9.8
Apr  9 16:03:22 nixie weewx[807]: engine: Locale is 'en_GB.UTF-8'
Apr  9 16:03:22 nixie weewx[807]: engine: pid file is /var/run/weewx.pid
Apr  9 16:03:22 nixie weewx[796]: Starting weewx weather system: weewx.
Apr  9 16:03:22 nixie systemd[1]: Started LSB: weewx weather system.
Apr  9 16:03:22 nixie weewx[811]: engine: Using configuration file /etc/weewx/weewx.conf
Apr  9 16:03:22 nixie weewx[811]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
Apr  9 16:03:22 nixie weewx[811]: wmr300: driver version is 0.19rc6
Apr  9 16:03:22 nixie weewx[811]: wmr300: usb info: pyusb_version=1.0.0
Apr  9 16:03:22 nixie weewx[811]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', 'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': 'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': 'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5', 'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 'temperature_4', 'extraTemp1': 'temperature_2', 'extraHeatindex3': 'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extraHeatindex6': 'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 'extraHeatindex4': 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 'windGust': 'wind_gust'}
Apr  9 16:03:22 nixie weewx[811]: wmr300: history limit is 20%
Apr  9 16:03:23 nixie weewx[811]: wmr300: communication established: {'station_model': 'A004', 'latest_index': 32736, 'station_type': 'WMR300', 'mystery1': 44, 'mystery0': 73, 'history_cleared': False, 'magic1': 88, 'magic0': 159, 'packet_type': 87}
Apr  9 16:03:23 nixie weewx[811]: engine: StdConvert target unit is 0x1
Apr  9 16:03:23 nixie weewx[811]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=hardware, dewpoint=software, appTemp=prefer_hardware, rainRate=hardware, windrun=prefer_hardware, heatindex=hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Apr  9 16:03:23 nixie weewx[811]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr  9 16:03:23 nixie weewx[811]: engine: Archive will use data binding wx_binding
Apr  9 16:03:23 nixie weewx[811]: engine: Record generation will be attempted in 'hardware'
Apr  9 16:03:23 nixie weewx[811]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
Apr  9 16:03:23 nixie weewx[811]: manager: Created and initialized table 'archive' in database 'weewx.sdb'
Apr  9 16:03:23 nixie weewx[811]: manager: Created daily summary tables
Apr  9 16:03:24 nixie weewx[811]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Apr  9 16:03:24 nixie weewx[811]: manager: Starting backfill of daily summaries
Apr  9 16:03:24 nixie weewx[811]: restx: StationRegistry: Registration not requested.
Apr  9 16:03:24 nixie weewx[811]: restx: Wunderground-RF: Data for station KMIDEARB5 will be posted
Apr  9 16:03:24 nixie weewx[811]: restx: PWSweather: Posting not enabled.
Apr  9 16:03:24 nixie weewx[811]: restx: CWOP: Posting not enabled.
Apr  9 16:03:24 nixie weewx[811]: restx: WOW: Posting not enabled.
Apr  9 16:03:24 nixie weewx[811]: restx: AWEKAS: Posting not enabled.
Apr  9 16:03:24 nixie weewx[811]: engine: Starting up weewx version 3.9.1
Apr  9 16:03:24 nixie weewx[811]: wmr300: reading records since ******* N/A *******     (    N/A   ) (last_index=31 latest_index=32736)
Apr  9 16:03:24 nixie weewx[811]: wmr300: possible missed rain event: new=16645.89 old=None
Apr  9 16:03:24 nixie weewx[811]: wmr300: rain=None rain_total=16645.89 last_rain=None
Apr  9 16:03:24 nixie weewx[811]: manager: Added record 2012-01-01 12:00:00 EST (1325437200) to database 'weewx.sdb'
Apr  9 16:03:24 nixie weewx[811]: engine: Main loop exiting. Shutting engine down.
Apr  9 16:03:24 nixie weewx[811]: engine: Caught unrecoverable exception in engine:
Apr  9 16:03:24 nixie weewx[811]:     ****  Non-positive value for record field 'interval': 0.0
Apr  9 16:03:24 nixie weewx[811]:     ****  Traceback (most recent call last):
Apr  9 16:03:24 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 890, in main
Apr  9 16:03:24 nixie weewx[811]:     ****      engine.run()
Apr  9 16:03:24 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 160, in run
Apr  9 16:03:24 nixie weewx[811]:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
Apr  9 16:03:24 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Apr  9 16:03:24 nixie weewx[811]:     ****      callback(event)
Apr  9 16:03:24 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 520, in startup
Apr  9 16:03:24 nixie weewx[811]:     ****      self._catchup(self.engine.console.genStartupRecords)
Apr  9 16:03:24 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup
Apr  9 16:03:25 nixie weewx[811]:     ****      origin='hardware'))
Apr  9 16:03:25 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Apr  9 16:03:25 nixie weewx[811]:     ****      callback(event)
Apr  9 16:03:25 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
Apr  9 16:03:25 nixie weewx[811]:     ****      dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
Apr  9 16:03:25 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
Apr  9 16:03:25 nixie weewx[811]:     ****      self._addSingleRecord(record, cursor, log_level)
Apr  9 16:03:25 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
Apr  9 16:03:25 nixie weewx[811]:     ****      _weight = self._calc_weight(record)
Apr  9 16:03:25 nixie weewx[811]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
Apr  9 16:03:25 nixie weewx[811]:     ****      raise ValueError("Non-positive value for record field 'interval': %s" % (record['interval'], ))
Apr  9 16:03:25 nixie weewx[811]:     ****  ValueError: Non-positive value for record field 'interval': 0.0
Apr  9 16:03:25 nixie weewx[811]:     ****  Exiting.

Leon Shaner

unread,
Apr 9, 2019, 4:42:17 PM4/9/19
to weewx-user

On Tuesday, April 9, 2019 at 4:06:26 PM UTC-4, Leon Shaner wrote:
Seeing several recent posts with a similar message with WMR200, but mine is on a new install with an WMR300A.
Any solutions?


My guess is that there is some kind of a date issue.
I put in a hack in wmr300.py to return 1 second instead of None for the interval.

Now I see:

Apr 09 16:38:08 nixie weewx[1584]: manager: Unable to add record 2018-12-31 06:01:00 EST (1546254060) to database 'weewx.sdb': UNIQUE constraint fail
Apr 09 16:38:08 nixie weewx[1584]: manager: Unable to add record 2012-01-01 12:00:00 EST (1325437200) to database 'weewx.sdb': UNIQUE constraint fail

I can't figure where that 2012 year is coming from.  My RPI has the correct date and timezone for my US/Eastern local time.
My WMR300A itself also has the correct data and timezone (E as in US/Eastern). 

mwall

unread,
Apr 9, 2019, 5:09:02 PM4/9/19
to weewx-user
On Tuesday, April 9, 2019 at 4:42:17 PM UTC-4, Leon Shaner wrote:

On Tuesday, April 9, 2019 at 4:06:26 PM UTC-4, Leon Shaner wrote:
Seeing several recent posts with a similar message with WMR200, but mine is on a new install with an WMR300A.
Any solutions?

looks like the wmr300 driver needs the same fix that we gave to the wmr200 driver - reject any historical records that have a negative interval.

fixed at commit b5240b05

 
I can't figure where that 2012 year is coming from.  My RPI has the correct date and timezone for my US/Eastern local time.
My WMR300A itself also has the correct data and timezone (E as in US/Eastern). 

there are probably records in the station's data logger, and apparently some of them are corrupt.

Leon Shaner

unread,
Apr 10, 2019, 10:54:53 AM4/10/19
to weewx-user


On Tuesday, April 9, 2019 at 5:09:02 PM UTC-4, mwall wrote:
On Tuesday, April 9, 2019 at 4:42:17 PM UTC-4, Leon Shaner wrote:

On Tuesday, April 9, 2019 at 4:06:26 PM UTC-4, Leon Shaner wrote:
Seeing several recent posts with a similar message with WMR200, but mine is on a new install with an WMR300A.
Any solutions?

looks like the wmr300 driver needs the same fix that we gave to the wmr200 driver - reject any historical records that have a negative interval.

fixed at commit b5240b05




 

 
I can't figure where that 2012 year is coming from.  My RPI has the correct date and timezone for my US/Eastern local time.
My WMR300A itself also has the correct data and timezone (E as in US/Eastern). 

there are probably records in the station's data logger, and apparently some of them are corrupt.



I did not see an option to purge archive records in the wmr300.py driver and I do not know how to do it from the WMR300A itself (other than full factory reset, which I hope to avoid). 

Leon Shaner

unread,
Apr 10, 2019, 4:04:55 PM4/10/19
to weewx-user
I shoulda RTFM'd.  ;-)
I saw elsewhere that weewx was telling me that the maximum rain counter was exceeded and needed to be reset.
I touched the rainfall section on the WMR300A and saw a "MEM" button at the bottom, which I then touched and held and the rain data reset.
Turns out, ALL the data reset.  Which is fine by me.
I probably should have reset the data at least once a year and certainly before trying out weewx with the unit (since it was taking forever to process data going back to 2016).


On Wednesday, April 10, 2019 at 10:54:53 AM UTC-4, Leon Shaner wrote:


On Tuesday, April 9, 2019 at 5:09:02 PM UTC-4, mwall wrote:
On Tuesday, April 9, 2019 at 4:42:17 PM UTC-4, Leon Shaner wrote:
[snip]

Miguel Angel Peña Morales

unread,
May 15, 2019, 3:31:16 AM5/15/19
to weewx-user
Hello, I'm new with weewx and I tried a fresh install of it on a Rpi3 with WMR300. I get the same error as you at the beginning.

I tried resetting the memory of the base and nothing changed.
I tried changing the WMR300 python driver ad it resulted in the option to choose it on the reconfigure utility dissapearing.
I tried reinstalling all and installing and back to the start.

COuld you please tell me what did solve the problem in the end?
Regards and many thanks.

PS: C/P of the log

May 15 07:29:52 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May 15 07:29:52 raspberrypi weewx[7689]: engine: Initializing weewx version 3.9.1
May 15 07:29:52 raspberrypi weewx[7689]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
May 15 07:29:52 raspberrypi weewx[7689]: engine: Platform Linux-4.14.98-v7+-armv7l-with-debian-9.9
May 15 07:29:52 raspberrypi weewx[7689]: engine: Locale is 'es_ES.UTF-8'
May 15 07:29:52 raspberrypi weewx[7689]: engine: pid file is /var/run/weewx.pid
May 15 07:29:52 raspberrypi weewx[7678]: Starting weewx weather system: weewx.
May 15 07:29:52 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 15 07:29:52 raspberrypi weewx[7693]: engine: Using configuration file /etc/weewx/weewx.conf
May 15 07:29:52 raspberrypi weewx[7693]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
May 15 07:29:52 raspberrypi weewx[7693]: wmr300: driver version is 0.19rc6
May 15 07:29:52 raspberrypi weewx[7693]: wmr300: usb info: pyusb_version=1.0.0
May 15 07:29:52 raspberrypi weewx[7693]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchi                           ll': 'windchill', 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 'heatindex_1', 'inTemp': 'temperature_0', 'wi                           ndGustDir': 'wind_gust_dir', 'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 'extraDewpoint1': 'dewpoint_2', 'baromet                           er': 'barometer', 'extraDewpoint7': 'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 'extraHumid6': 'humidity_                           7', 'pressure': 'pressure', 'extraHumid4': 'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 'extraHumid3': 'hu                           midity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5',                            'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 'temperature_4', 'extraTemp1': 'temperature_2', 'extraHea                           tindex3': 'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extra                           Heatindex6': 'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 'extraHeatindex4': 'heatindex_5', 'windDir                           ': 'wind_dir', 'outTemp': 'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 'windGust': 'wind_gust'}
May 15 07:29:52 raspberrypi weewx[7693]: wmr300: history limit is 20%
May 15 07:29:53 raspberrypi kernel: [161063.801246] usb 1-1.2: reset full-speed USB device number 8 using dwc_otg
May 15 07:29:53 raspberrypi weewx[7693]: wmr300: communication established: {'station_model': 'A004', 'latest_index': 32736, 'station                           _type': 'WMR300', 'mystery1': 44, 'mystery0': 73, 'history_cleared': False, 'magic1': 139, 'magic0': 136, 'packet_type': 87}
May 15 07:29:53 raspberrypi weewx[7693]: engine: StdConvert target unit is 0x1
May 15 07:29:53 raspberrypi weewx[7693]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=h                           ardware, dewpoint=software, appTemp=prefer_hardware, rainRate=hardware, windrun=prefer_hardware, heatindex=hardware, maxSolarRad=pref                           er_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hard                           ware, cloudbase=prefer_hardware
May 15 07:29:53 raspberrypi weewx[7693]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSo                           larRad=RS
May 15 07:29:53 raspberrypi weewx[7693]: engine: Archive will use data binding wx_binding
May 15 07:29:53 raspberrypi weewx[7693]: engine: Record generation will be attempted in 'hardware'
May 15 07:29:53 raspberrypi weewx[7693]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
May 15 07:29:53 raspberrypi weewx[7693]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 15 07:29:53 raspberrypi weewx[7693]: manager: Starting backfill of daily summaries
May 15 07:29:53 raspberrypi weewx[7693]: restx: StationRegistry: Registration not requested.
May 15 07:29:53 raspberrypi weewx[7693]: restx: Wunderground: Posting not enabled.
May 15 07:29:53 raspberrypi weewx[7693]: restx: PWSweather: Posting not enabled.
May 15 07:29:53 raspberrypi weewx[7693]: restx: CWOP: Posting not enabled.
May 15 07:29:53 raspberrypi weewx[7693]: restx: WOW: Posting not enabled.
May 15 07:29:53 raspberrypi weewx[7693]: restx: AWEKAS: Posting not enabled.
May 15 07:29:53 raspberrypi weewx[7693]: engine: Starting up weewx version 3.9.1
May 15 07:29:53 raspberrypi weewx[7693]: wmr300: reading records since ******* N/A *******     (    N/A   ) (last_index=31 latest_ind                           ex=32736)
May 15 07:29:53 raspberrypi weewx[7693]: wmr300: possible missed rain event: new=16645.89 old=None
May 15 07:29:53 raspberrypi weewx[7693]: wmr300: rain=None rain_total=16645.89 last_rain=None
May 15 07:29:53 raspberrypi weewx[7693]: manager: Added record 2012-01-01 12:00:00 GMT (1325419200) to database 'weewx.sdb'
May 15 07:29:53 raspberrypi weewx[7693]: engine: Main loop exiting. Shutting engine down.
May 15 07:29:53 raspberrypi weewx[7693]: engine: Caught unrecoverable exception in engine:
May 15 07:29:53 raspberrypi weewx[7693]:     ****  Non-positive value for record field 'interval': 0.0
May 15 07:29:53 raspberrypi weewx[7693]:     ****  Traceback (most recent call last):
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 890, in main
May 15 07:29:53 raspberrypi weewx[7693]:     ****      engine.run()
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 160, in run
May 15 07:29:53 raspberrypi weewx[7693]:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 15 07:29:53 raspberrypi weewx[7693]:     ****      callback(event)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 520, in startup
May 15 07:29:53 raspberrypi weewx[7693]:     ****      self._catchup(self.engine.console.genStartupRecords)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup
May 15 07:29:53 raspberrypi weewx[7693]:     ****      origin='hardware'))
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 15 07:29:53 raspberrypi weewx[7693]:     ****      callback(event)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
May 15 07:29:53 raspberrypi weewx[7693]:     ****      dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
May 15 07:29:53 raspberrypi weewx[7693]:     ****      self._addSingleRecord(record, cursor, log_level)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
May 15 07:29:53 raspberrypi weewx[7693]:     ****      _weight = self._calc_weight(record)
May 15 07:29:53 raspberrypi weewx[7693]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
May 15 07:29:53 raspberrypi weewx[7693]:     ****      raise ValueError("Non-positive value for record field 'interval': %s" % (recor                           d['interval'], ))
May 15 07:29:53 raspberrypi weewx[7693]:     ****  ValueError: Non-positive value for record field 'interval': 0.0
May 15 07:29:53 raspberrypi weewx[7693]:     ****  Exiting.



Leon Shaner

unread,
May 15, 2019, 9:36:27 AM5/15/19
to weewx...@googlegroups.com
Hi, Miguel,

Known issue.  You can grab the fix from here:


A la:

$ cd /tmp

$ cd /usr/share/weewx/weewx/drivers
$ sudo cp -p wmr300.py wmr300.py_391
$ sudo cp /tmp/wmr300.py wmr300.py

And to start weewx:

$ sudo systemctl start weewx

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad Pro)
--
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/2a3911f9-c5de-4ae1-ac57-f6554f42959c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Miguel Angel Peña Morales

unread,
May 15, 2019, 9:39:33 AM5/15/19
to weewx...@googlegroups.com
Thanks, thanks, thanks. Really appreciated your detailed command details.

I'll give feedback here.

Greetings from sunny Spain.

Hi, Miguel,
May<span style="color: #000;

Miguel Angel Peña Morales

unread,
May 19, 2019, 6:56:27 AM5/19/19
to weewx-user
Hello again, no luck. I even tried to reinstall from purge and deleting all the folders of weewx and nothing new...

The thing I'm just seeing is the version of  the wmr300 driver in my old log and this log is the same. 19rc6. Shouldn't be that different?

Regards and thanks.

New log.

May 19 10:43:12 raspberrypi weewx[1048]: Stopping weewx weather system: weewx not running....
May 19 10:43:12 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
May 19 10:43:13 raspberrypi systemd[1]: Reloading.
May 19 10:43:18 raspberrypi systemd[1]: Reloading.
May 19 10:43:21 raspberrypi dbus[373]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service'
May 19 10:43:21 raspberrypi systemd[1]: Starting PackageKit Daemon...
May 19 10:43:21 raspberrypi PackageKit: daemon start
May 19 10:43:21 raspberrypi dbus[373]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 19 10:43:21 raspberrypi systemd[1]: Started PackageKit Daemon.
May 19 10:45:15 raspberrypi systemd[1]: Reloading.
May 19 10:45:16 raspberrypi systemd[1]: Reloading.
May 19 10:45:17 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May 19 10:45:17 raspberrypi weewx[1314]: engine: Initializing weewx version 3.9.1
May 19 10:45:17 raspberrypi weewx[1314]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
May 19 10:45:17 raspberrypi weewx[1314]: engine: Platform Linux-4.14.98-v7+-armv7l-with-debian-9.9
May 19 10:45:17 raspberrypi weewx[1314]: engine: Locale is 'es_ES.UTF-8'
May 19 10:45:17 raspberrypi weewx[1314]: engine: pid file is /var/run/weewx.pid
May 19 10:45:18 raspberrypi weewx[1303]: Starting weewx weather system: weewx.
May 19 10:45:18 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 19 10:45:18 raspberrypi weewx[1318]: engine: Using configuration file /etc/weewx/weewx.conf
May 19 10:45:18 raspberrypi weewx[1318]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
May 19 10:45:18 raspberrypi weewx[1318]: wmr300: driver version is 0.19rc6
May 19 10:45:18 raspberrypi weewx[1318]: wmr300: usb info: pyusb_version=1.0.0
May 19 10:45:18 raspberrypi weewx[1318]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', 'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': 'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': 'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5', 'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 'temperature_4', 'extraTemp1': 'temperature_2', 'extraHeatindex3': 'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extraHeatindex6': 'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 'extraHeatindex4': 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 'windGust': 'wind_gust'}
May 19 10:45:18 raspberrypi weewx[1318]: wmr300: history limit is 20%
May 19 10:45:18 raspberrypi kernel: [  415.383352] usb 1-1.4: reset full-speed USB device number 8 using dwc_otg
May 19 10:45:18 raspberrypi systemd[1]: Reloading.
May 19 10:45:18 raspberrypi weewx[1318]: wmr300: communication established: {'station_model': 'A004', 'latest_index': 32736, 'station_type': 'WMR300', 'mystery1': 44, 'mystery0': 73, 'history_cleared': False, 'magic1': 139, 'magic0': 136, 'packet_type': 87}
May 19 10:45:18 raspberrypi weewx[1318]: engine: StdConvert target unit is 0x1
May 19 10:45:18 raspberrypi weewx[1318]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=hardware, dewpoint=software, appTemp=prefer_hardware, rainRate=hardware, windrun=prefer_hardware, heatindex=hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
May 19 10:45:18 raspberrypi weewx[1318]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 19 10:45:18 raspberrypi weewx[1318]: engine: Archive will use data binding wx_binding
May 19 10:45:18 raspberrypi weewx[1318]: engine: Record generation will be attempted in 'hardware'
May 19 10:45:18 raspberrypi weewx[1318]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
May 19 10:45:18 raspberrypi weewx[1318]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 19 10:45:18 raspberrypi weewx[1318]: manager: Starting backfill of daily summaries
May 19 10:45:18 raspberrypi weewx[1318]: restx: StationRegistry: Registration not requested.
May 19 10:45:18 raspberrypi weewx[1318]: restx: Wunderground: Posting not enabled.
May 19 10:45:19 raspberrypi weewx[1318]: restx: PWSweather: Posting not enabled.
May 19 10:45:19 raspberrypi weewx[1318]: restx: CWOP: Posting not enabled.
May 19 10:45:19 raspberrypi weewx[1318]: restx: WOW: Posting not enabled.
May 19 10:45:19 raspberrypi weewx[1318]: restx: AWEKAS: Posting not enabled.
May 19 10:45:19 raspberrypi weewx[1318]: engine: Starting up weewx version 3.9.1
May 19 10:45:19 raspberrypi weewx[1318]: wmr300: reading records since ******* N/A *******     (    N/A   ) (last_index=31 latest_index=32736)
May 19 10:45:19 raspberrypi weewx[1318]: wmr300: possible missed rain event: new=16645.89 old=None
May 19 10:45:19 raspberrypi weewx[1318]: wmr300: rain=None rain_total=16645.89 last_rain=None
May 19 10:45:19 raspberrypi weewx[1318]: manager: Added record 2012-01-01 12:00:00 GMT (1325419200) to database 'weewx.sdb'
May 19 10:45:19 raspberrypi weewx[1318]: engine: Main loop exiting. Shutting engine down.
May 19 10:45:19 raspberrypi weewx[1318]: engine: Caught unrecoverable exception in engine:
May 19 10:45:19 raspberrypi weewx[1318]:     ****  Non-positive value for record field 'interval': 0.0
May 19 10:45:19 raspberrypi weewx[1318]:     ****  Traceback (most recent call last):
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 890, in main
May 19 10:45:19 raspberrypi weewx[1318]:     ****      engine.run()
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 160, in run
May 19 10:45:19 raspberrypi weewx[1318]:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 19 10:45:19 raspberrypi weewx[1318]:     ****      callback(event)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 520, in startup
May 19 10:45:19 raspberrypi weewx[1318]:     ****      self._catchup(self.engine.console.genStartupRecords)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup
May 19 10:45:19 raspberrypi weewx[1318]:     ****      origin='hardware'))
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 19 10:45:19 raspberrypi weewx[1318]:     ****      callback(event)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
May 19 10:45:19 raspberrypi weewx[1318]:     ****      dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
May 19 10:45:19 raspberrypi weewx[1318]:     ****      self._addSingleRecord(record, cursor, log_level)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
May 19 10:45:19 raspberrypi weewx[1318]:     ****      _weight = self._calc_weight(record)
May 19 10:45:19 raspberrypi weewx[1318]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
May 19 10:45:19 raspberrypi weewx[1318]:     ****      raise ValueError("Non-positive value for record field 'interval': %s" % (record['interval'], ))
May 19 10:45:19 raspberrypi weewx[1318]:     ****  ValueError: Non-positive value for record field 'interval': 0.0
May 19 10:45:19 raspberrypi weewx[1318]:     ****  Exiting.

Hi, Miguel,
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Miguel Angel Peña Morales

unread,
May 19, 2019, 7:18:25 AM5/19/19
to weewx-user
New thing, I restarted the rpi and now this is the log:

May 19 11:17:05 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May 19 11:17:05 raspberrypi weewx[982]: engine: Initializing weewx version 3.9.1
May 19 11:17:05 raspberrypi weewx[982]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
May 19 11:17:05 raspberrypi weewx[982]: engine: Platform Linux-4.19.42-v7+-armv7l-with-debian-9.9
May 19 11:17:05 raspberrypi weewx[982]: engine: Locale is 'es_ES.UTF-8'
May 19 11:17:05 raspberrypi weewx[982]: engine: pid file is /var/run/weewx.pid
May 19 11:17:06 raspberrypi weewx[971]: Starting weewx weather system: weewx.
May 19 11:17:06 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 19 11:17:06 raspberrypi weewx[986]: engine: Using configuration file /etc/weewx/weewx.conf
May 19 11:17:06 raspberrypi weewx[986]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
May 19 11:17:06 raspberrypi weewx[986]: engine: Caught unrecoverable exception in engine:
May 19 11:17:06 raspberrypi weewx[986]:     ****  invalid syntax (wmr300.py, line 7)
May 19 11:17:06 raspberrypi weewx[986]:     ****  Traceback (most recent call last):
May 19 11:17:06 raspberrypi weewx[986]:     ****    File "/usr/share/weewx/weewx/engine.py", line 884, in main
May 19 11:17:06 raspberrypi weewx[986]:     ****      engine = engine_class(config_dict)
May 19 11:17:06 raspberrypi weewx[986]:     ****    File "/usr/share/weewx/weewx/engine.py", line 72, in __init__
May 19 11:17:06 raspberrypi weewx[986]:     ****      self.setupStation(config_dict)
May 19 11:17:06 raspberrypi weewx[986]:     ****    File "/usr/share/weewx/weewx/engine.py", line 96, in setupStation
May 19 11:17:06 raspberrypi weewx[986]:     ****      __import__(driver)
May 19 11:17:06 raspberrypi weewx[986]:     ****    File "/usr/share/weewx/weewx/drivers/wmr300.py", line 7
May 19 11:17:06 raspberrypi weewx[986]:     ****      <!DOCTYPE html>
May 19 11:17:06 raspberrypi weewx[986]:     ****      ^
May 19 11:17:06 raspberrypi weewx[986]:     ****  SyntaxError: invalid syntax
May 19 11:17:06 raspberrypi weewx[986]:     ****  Exiting.

gjr80

unread,
May 19, 2019, 7:36:40 AM5/19/19
to weewx-user
Hi,

If you are downloading a source file from github you need to get the raw source otherwise you end up with the github htmml used to display the file. Try using the following commands to download and install wmr300.py:

$ wget -P /tmp https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/wmr300.py
$ sudo cp /tmp/wmr300.py /usr/share/weewx/weewx/drivers/wmr300.py

Then restart WeeWX.

Gary

Leon Shaner

unread,
May 19, 2019, 10:30:30 AM5/19/19
to weewx...@googlegroups.com
Yeah, good catch.

I expect it was running the old wmr300.pyc since the html one named wmr300.py was invalid.

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPhone)
> --
> 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/8281aa25-d717-4df6-8f61-7f4ca8ef4564%40googlegroups.com.

Miguel Angel Peña Morales

unread,
May 20, 2019, 1:49:49 PM5/20/19
to weewx-user
Hello again,
afer some hard work I finally made it. Now I have some things that are not working perfectly. 


This is my WUG place. It misses a lot of data. In my log there are lots of this:

 wmr300: Excessive heartbeat delay: 91s, restarting


Here's a longer version. I know I have some problems with the skin, but it's not urgent.

May 20 16:54:21 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 16:55:50 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 16:55:50 raspberrypi weewx[3969]: manager: Added record 2019-05-20 16:55:00 GMT (1558371300) to database 'weewx.sdb'
May 20 16:55:50 raspberrypi weewx[3969]: manager: Added record 2019-05-20 16:55:00 GMT (1558371300) to daily summary in 'weewx.sdb'
May 20 16:55:51 raspberrypi weewx[3969]: wmr300: dump history
May 20 16:55:51 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 16:55:51 GMT (1558371351) (last_index=32734 history_end_index=32735)
May 20 16:55:51 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 16:55:53 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 16:55:53 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 16:55:53 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 16:55:53 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 16:55:53 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 16:55:53 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 16:55:53 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 16:55:53 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 16:55:53 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 16:55:53 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 16:56:30 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 35.86 seconds
May 20 16:56:30 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 16:57:21 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 91s, restarting
May 20 16:57:21 raspberrypi weewx[3969]: wmr300: dump history
May 20 16:57:21 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 16:57:21 GMT (1558371441) (last_index=32734 history_end_index=32735)
May 20 16:57:22 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 16:58:52 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 16:58:52 raspberrypi weewx[3969]: wmr300: dump history
May 20 16:58:52 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 16:58:52 GMT (1558371532) (last_index=32734 history_end_index=32735)
May 20 16:58:52 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:00:22 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:00:23 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:00:00 GMT (1558371600) to database 'weewx.sdb'
May 20 17:00:23 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:00:00 GMT (1558371600) to daily summary in 'weewx.sdb'
May 20 17:00:23 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:00:23 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:00:23 GMT (1558371623) (last_index=32734 history_end_index=32735)
May 20 17:00:23 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:00:25 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:00:25 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:00:25 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:00:25 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:00:25 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:00:25 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:00:25 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:00:25 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:00:25 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:00:25 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:01:38 raspberrypi weewx[3969]: imagegenerator: Generated 24 images for basic in 72.40 seconds
May 20 17:01:38 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:01:52 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:01:52 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:01:52 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:01:52 GMT (1558371712) (last_index=32734 history_end_index=32735)
May 20 17:01:52 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:02:01 raspberrypi CRON[4940]: (root) CMD (   /home/pi/meteoclimatic/meteoclimatic.sh)
May 20 17:02:06 raspberrypi CRON[4936]: (CRON) info (No MTA installed, discarding output)
May 20 17:03:23 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:03:23 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:03:23 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:03:23 GMT (1558371803) (last_index=32734 history_end_index=32735)
May 20 17:03:23 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:04:53 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:04:54 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:04:54 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:04:54 GMT (1558371894) (last_index=32734 history_end_index=32735)
May 20 17:04:54 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:06:23 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:06:23 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:05:00 GMT (1558371900) to database 'weewx.sdb'
May 20 17:06:23 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:05:00 GMT (1558371900) to daily summary in 'weewx.sdb'
May 20 17:06:25 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:06:25 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:06:25 GMT (1558371985) (last_index=32734 history_end_index=32735)
May 20 17:06:25 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:06:26 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:06:26 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:06:26 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:06:26 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:06:26 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:06:26 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:06:26 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:06:26 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:06:26 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:06:26 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:07:02 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 34.79 seconds
May 20 17:07:02 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:07:54 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:07:54 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:07:54 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:07:54 GMT (1558372074) (last_index=32734 history_end_index=32735)
May 20 17:07:54 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:09:01 raspberrypi CRON[5027]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 20 17:09:22 raspberrypi systemd[1]: Starting Clean php session files...
May 20 17:09:22 raspberrypi systemd[1]: Started Clean php session files.
May 20 17:09:24 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:09:24 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:09:24 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:09:24 GMT (1558372164) (last_index=32734 history_end_index=32735)
May 20 17:09:25 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:10:55 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:10:55 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:10:00 GMT (1558372200) to database 'weewx.sdb'
May 20 17:10:55 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:10:00 GMT (1558372200) to daily summary in 'weewx.sdb'
May 20 17:10:55 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:10:55 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:10:55 GMT (1558372255) (last_index=32734 history_end_index=32735)
May 20 17:10:55 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:10:57 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:10:57 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:10:57 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:10:57 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:10:57 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:10:57 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:10:57 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:10:57 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:10:57 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:10:57 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:11:33 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 34.91 seconds
May 20 17:11:33 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:12:26 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:12:26 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:12:26 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:12:26 GMT (1558372346) (last_index=32734 history_end_index=32735)
May 20 17:12:26 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:13:57 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:13:57 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:13:57 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:13:57 GMT (1558372437) (last_index=32734 history_end_index=32735)
May 20 17:13:57 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:15:26 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:15:26 raspberrypi weewx[3969]: wmr300: No loop data in heartbeat interval,  restarting
May 20 17:15:26 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:15:00 GMT (1558372500) to database 'weewx.sdb'
May 20 17:15:26 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:15:00 GMT (1558372500) to daily summary in 'weewx.sdb'
May 20 17:15:26 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:15:26 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:15:26 GMT (1558372526) (last_index=32734 history_end_index=32735)
May 20 17:15:27 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:15:29 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:15:29 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:15:29 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:15:29 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:15:29 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:15:29 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:15:29 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:15:29 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:15:29 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:15:29 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:16:05 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 35.49 seconds
May 20 17:16:05 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:16:56 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:16:56 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:16:56 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:16:56 GMT (1558372616) (last_index=32734 history_end_index=32735)
May 20 17:16:56 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:17:01 raspberrypi CRON[5159]: (root) CMD (   /home/pi/meteoclimatic/meteoclimatic.sh)
May 20 17:17:01 raspberrypi CRON[5163]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May 20 17:17:09 raspberrypi CRON[5152]: (CRON) info (No MTA installed, discarding output)
May 20 17:18:27 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:18:27 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:18:27 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:18:27 GMT (1558372707) (last_index=32734 history_end_index=32735)
May 20 17:18:27 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:19:58 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:19:58 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:19:58 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:19:58 GMT (1558372798) (last_index=32734 history_end_index=32735)
May 20 17:19:58 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:21:27 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:21:27 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:20:00 GMT (1558372800) to database 'weewx.sdb'
May 20 17:21:27 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:20:00 GMT (1558372800) to daily summary in 'weewx.sdb'
May 20 17:21:28 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:21:28 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:21:28 GMT (1558372888) (last_index=32734 history_end_index=32735)
May 20 17:21:28 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:21:30 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:21:30 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:21:30 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:21:30 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:21:30 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:21:30 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:21:30 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:21:30 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:21:30 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:21:30 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:22:06 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 34.91 seconds
May 20 17:22:06 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:22:58 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 91s, restarting
May 20 17:22:58 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:22:58 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:22:58 GMT (1558372978) (last_index=32734 history_end_index=32735)
May 20 17:22:59 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:24:29 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:24:29 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:24:29 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:24:29 GMT (1558373069) (last_index=32734 history_end_index=32735)
May 20 17:24:29 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:26:00 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:26:00 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:25:00 GMT (1558373100) to database 'weewx.sdb'
May 20 17:26:00 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:25:00 GMT (1558373100) to daily summary in 'weewx.sdb'
May 20 17:26:00 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:26:00 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:26:00 GMT (1558373160) (last_index=32734 history_end_index=32735)
May 20 17:26:00 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:26:02 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:26:02 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:26:02 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:26:02 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:26:02 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:26:02 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:26:02 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:26:02 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:26:02 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:26:02 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:26:38 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 35.23 seconds
May 20 17:26:38 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:27:31 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 91s, restarting
May 20 17:27:31 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:27:31 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:27:31 GMT (1558373251) (last_index=32734 history_end_index=32735)
May 20 17:27:31 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:29:01 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:29:01 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:29:01 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:29:01 GMT (1558373341) (last_index=32734 history_end_index=32735)
May 20 17:29:02 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:30:32 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:30:32 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:30:00 GMT (1558373400) to database 'weewx.sdb'
May 20 17:30:32 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:30:00 GMT (1558373400) to daily summary in 'weewx.sdb'
May 20 17:30:32 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:30:32 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:30:32 GMT (1558373432) (last_index=32734 history_end_index=32735)
May 20 17:30:32 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:30:34 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:30:34 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:30:34 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:30:34 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:30:34 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:30:34 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:30:34 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:30:34 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:30:34 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:30:34 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:31:11 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 35.46 seconds
May 20 17:31:11 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:32:01 raspberrypi CRON[5325]: (root) CMD (   /home/pi/meteoclimatic/meteoclimatic.sh)
May 20 17:32:03 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:32:03 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:32:03 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:32:03 GMT (1558373523) (last_index=32734 history_end_index=32735)
May 20 17:32:03 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:32:07 raspberrypi CRON[5321]: (CRON) info (No MTA installed, discarding output)
May 20 17:33:33 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:33:34 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:33:34 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:33:34 GMT (1558373614) (last_index=32734 history_end_index=32735)
May 20 17:33:34 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:35:03 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 89s, restarting
May 20 17:35:03 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:35:03 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:35:03 GMT (1558373703) (last_index=32734 history_end_index=32735)
May 20 17:35:03 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:36:34 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:36:34 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:36:34 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:36:34 GMT (1558373794) (last_index=32734 history_end_index=32735)
May 20 17:36:34 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:38:04 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:38:04 raspberrypi weewx[3969]: wmr300: No loop data in heartbeat interval,  restarting
May 20 17:38:05 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:35:00 GMT (1558373700) to database 'weewx.sdb'
May 20 17:38:05 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:35:00 GMT (1558373700) to daily summary in 'weewx.sdb'
May 20 17:38:05 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:38:05 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:38:05 GMT (1558373885) (last_index=32734 history_end_index=32735)
May 20 17:38:05 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:38:07 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:38:07 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:38:07 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:38:07 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:38:07 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:38:07 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:38:07 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:38:07 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:38:07 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:38:07 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:38:45 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 37.08 seconds
May 20 17:38:46 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:39:01 raspberrypi CRON[5406]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 20 17:39:22 raspberrypi systemd[1]: Starting Clean php session files...
May 20 17:39:22 raspberrypi systemd[1]: Started Clean php session files.
May 20 17:39:36 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 91s, restarting
May 20 17:39:36 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:39:36 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:39:36 GMT (1558373976) (last_index=32734 history_end_index=32735)
May 20 17:39:36 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:41:06 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:41:06 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:41:06 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:41:06 GMT (1558374066) (last_index=32734 history_end_index=32735)
May 20 17:41:07 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:42:37 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:42:37 raspberrypi weewx[3969]: wmr300: No loop data in heartbeat interval,  restarting
May 20 17:42:37 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:40:00 GMT (1558374000) to database 'weewx.sdb'
May 20 17:42:37 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:40:00 GMT (1558374000) to daily summary in 'weewx.sdb'
May 20 17:42:37 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:42:37 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:42:37 GMT (1558374157) (last_index=32734 history_end_index=32735)
May 20 17:42:37 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:42:40 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:42:40 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:42:40 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:42:40 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:42:40 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:42:40 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:42:40 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:42:40 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:42:40 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:42:40 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:43:15 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 34.82 seconds
May 20 17:43:15 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx
May 20 17:44:08 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:44:08 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:44:08 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:44:08 GMT (1558374248) (last_index=32734 history_end_index=32735)
May 20 17:44:08 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:45:38 raspberrypi weewx[3969]: wmr300: Excessive heartbeat delay: 90s, restarting
May 20 17:45:39 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:45:00 GMT (1558374300) to database 'weewx.sdb'
May 20 17:45:39 raspberrypi weewx[3969]: manager: Added record 2019-05-20 17:45:00 GMT (1558374300) to daily summary in 'weewx.sdb'
May 20 17:45:39 raspberrypi weewx[3969]: wmr300: dump history
May 20 17:45:39 raspberrypi weewx[3969]: wmr300: Clearing records since 2019-05-20 17:45:39 GMT (1558374339) (last_index=32734 history_end_index=32735)
May 20 17:45:39 raspberrypi weewx[3969]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 20 17:45:41 raspberrypi weewx[3969]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
May 20 17:45:41 raspberrypi weewx[3969]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/neowx/maps.html.tmpl
May 20 17:45:41 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:45:41 raspberrypi weewx[3969]: ****  Traceback (most recent call last):
May 20 17:45:41 raspberrypi weewx[3969]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
May 20 17:45:41 raspberrypi weewx[3969]: ****      fd.write(str(compiled_template))
May 20 17:45:41 raspberrypi weewx[3969]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
May 20 17:45:41 raspberrypi weewx[3969]: ****      rc = getattr(self, mainMethName)()
May 20 17:45:41 raspberrypi weewx[3969]: ****    File "_etc_weewx_skins_neowx_maps_html_tmpl.py", line 306, in respond
May 20 17:45:41 raspberrypi weewx[3969]: ****  NotFound: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'
May 20 17:46:18 raspberrypi weewx[3969]: imagegenerator: Generated 12 images for basic in 35.35 seconds
May 20 17:46:18 raspberrypi weewx[3969]: copygenerator: copied 17 files to /var/www/html/weewx



If you want to visit my station it's in http://meteo.logrosan.com

Thanks in advance

El domingo, 19 de mayo de 2019, 16:30:30 (UTC+2), Leon Shaner escribió:
Yeah, good catch.

I expect it was running the old wmr300.pyc since the html one named wmr300.py was invalid.

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPhone)

> On May 19, 2019, at 7:36 AM, gjr80 <gjrod...@gmail.com> wrote:
>
> Hi,
>
> If you are downloading a source file from github you need to get the raw source otherwise you end up with the github htmml used to display the file. Try using the following commands to download and install wmr300.py:
>
> $ wget -P /tmp https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/wmr300.py
> $ sudo cp /tmp/wmr300.py /usr/share/weewx/weewx/drivers/wmr300.py
>
> Then restart WeeWX.
>
> 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...@googlegroups.com.

gjr80

unread,
May 21, 2019, 8:25:21 PM5/21/19
to weewx-user
Hi,

The clue is in this line:

May 20 16:55:53 raspberrypi weewx[3969]: cheetahgenerator: **** Reason: cannot find 'map_1_link_url' while searching for 'Extras.map_1_link_url'

Have a look in the [Extras] section of the neowx skin.conf, the config option map_1_link_url appears to be missing. Suggest you check the install/config instructions for the neowx skin or go back to the author for help.

Gary

Miguel Angel Peña Morales

unread,
May 22, 2019, 7:50:18 AM5/22/19
to weewx-user
No, as I said, that's not the problem. I solved that yesterday. The intermittent data is the problem. I searched the web for the error in the data flow and I think I'm the only one...

Thanks anyway.

Miguel Angel Peña Morales

unread,
May 22, 2019, 7:52:19 AM5/22/19
to weewx-user
I will post a cleaner log when I arrive home.

Miguel Angel Peña Morales

unread,
May 24, 2019, 4:52:17 AM5/24/19
to weewx-user
May 24 08:33:51 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 24 08:33:51 raspberrypi weewx[10767]: engine: Using configuration file /etc/weewx/weewx.conf
May 24 08:33:51 raspberrypi weewx[10767]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
May 24 08:33:51 raspberrypi weewx[10767]: wmr300: driver version is 0.19rc6+f3+l2
May 24 08:33:51 raspberrypi weewx[10767]: wmr300: usb info: pyusb_version=1.0.0
May 24 08:33:51 raspberrypi weewx[10767]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', 'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': 'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': 'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5', 'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 'temperature_4', 'extraTemp1': 'temperature_2', 'extraHeatindex3': 'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extraHeatindex6': 'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 'extraHeatindex4': 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 'windGust': 'wind_gust'}
May 24 08:33:51 raspberrypi weewx[10767]: wmr300: history limit is 20% at index 6572
May 24 08:33:52 raspberrypi kernel: [39422.245849] usb 1-1.5: reset full-speed USB device number 8 using dwc_otg
May 24 08:33:52 raspberrypi weewx[10767]: wmr300: communication established: {'history_end_index': 32735, 'station_model': 'A004', 'station_type': 'WMR300', 'mystery1': 44, 'mystery0': 73, 'history_cleared': False, 'magic1': 255, 'magic0': 255, 'packet_type': 87}
May 24 08:33:52 raspberrypi weewx[10767]: engine: StdConvert target unit is 0x1
May 24 08:33:52 raspberrypi weewx[10767]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=hardware, dewpoint=software, appTemp=prefer_hardware, rainRate=hardware, windrun=prefer_hardware, heatindex=hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
May 24 08:33:52 raspberrypi weewx[10767]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 24 08:33:52 raspberrypi weewx[10767]: engine: Archive will use data binding wx_binding
May 24 08:33:52 raspberrypi weewx[10767]: engine: Record generation will be attempted in 'hardware'
May 24 08:33:52 raspberrypi weewx[10767]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
May 24 08:33:52 raspberrypi weewx[10767]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 24 08:33:52 raspberrypi weewx[10767]: manager: Starting backfill of daily summaries
May 24 08:33:52 raspberrypi weewx[10767]: restx: StationRegistry: Station will be registered.
May 24 08:33:52 raspberrypi weewx[10767]: restx: Wunderground-RF: Data for station IEXTREMA34 will be posted
May 24 08:33:52 raspberrypi weewx[10767]: restx: PWSweather: Posting not enabled.
May 24 08:33:52 raspberrypi weewx[10767]: restx: CWOP: Posting not enabled.
May 24 08:33:52 raspberrypi weewx[10767]: restx: WOW: Posting not enabled.
May 24 08:33:52 raspberrypi weewx[10767]: restx: AWEKAS: Posting not enabled.
May 24 08:33:52 raspberrypi weewx[10767]: engine: Starting up weewx version 3.9.1
May 24 08:33:52 raspberrypi weewx[10767]: wmr300: Reading records since 2019-05-24 08:10:00 GMT (1558685400) (last_index=31 history_end_index=32735)
May 24 08:36:00 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:36:00 raspberrypi weewx[10767]: engine: Starting main packet loop.
May 24 08:36:00 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:36:00 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:36:00 GMT (1558686960) (last_index=32734 history_end_index=32735)
May 24 08:36:00 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:36:57 raspberrypi rngd[387]: stats: bits received from HRNG source: 380064
May 24 08:36:57 raspberrypi rngd[387]: stats: bits sent to kernel pool: 334848
May 24 08:36:57 raspberrypi rngd[387]: stats: entropy added to kernel pool: 334848
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2 successes: 19
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2 failures: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2(2001-10-10) Monobit: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2(2001-10-10) Poker: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2(2001-10-10) Runs: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2(2001-10-10) Long run: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: HRNG source speed: (min=654.950; avg=796.723; max=813.260)Kibits/s
May 24 08:36:57 raspberrypi rngd[387]: stats: FIPS tests speed: (min=6.405; avg=7.071; max=7.149)Mibits/s
May 24 08:36:57 raspberrypi rngd[387]: stats: Lowest ready-buffers level: 2
May 24 08:36:57 raspberrypi rngd[387]: stats: Entropy starvations: 0
May 24 08:36:57 raspberrypi rngd[387]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
May 24 08:37:25 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:37:26 raspberrypi weewx[10767]: wmr300: possible missed rain event: new=0.762 old=None
May 24 08:37:26 raspberrypi weewx[10767]: wmr300: history buffer at 100.00% (32735)
May 24 08:37:26 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:37:26 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:37:26 GMT (1558687046) (last_index=32734 history_end_index=32735)
May 24 08:37:26 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:38:56 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:38:56 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:38:56 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:38:56 GMT (1558687136) (last_index=32734 history_end_index=32735)
May 24 08:38:56 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:39:01 raspberrypi CRON[10801]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 24 08:39:26 raspberrypi systemd[1]: Starting Clean php session files...
May 24 08:39:27 raspberrypi systemd[1]: Started Clean php session files.
May 24 08:40:27 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:40:27 raspberrypi weewx[10767]: manager: Added record 2019-05-24 08:40:00 GMT (1558687200) to database 'weewx.sdb'
May 24 08:40:27 raspberrypi weewx[10767]: manager: Added record 2019-05-24 08:40:00 GMT (1558687200) to daily summary in 'weewx.sdb'
May 24 08:40:28 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:40:28 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:40:28 GMT (1558687228) (last_index=32734 history_end_index=32735)
May 24 08:40:28 raspberrypi weewx[10767]: restx: StationRegistry: Published record 2019-05-24 08:40:00 GMT (1558687200)
May 24 08:40:28 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:41:15 raspberrypi weewx[10767]: imagegenerator: Generated 12 images for basic in 34.90 seconds
May 24 08:41:15 raspberrypi weewx[10767]: copygenerator: copied 34 files to /var/www/html/weewx
May 24 08:41:58 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 91s, restarting
May 24 08:41:58 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:41:58 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:41:58 GMT (1558687318) (last_index=32734 history_end_index=32735)
May 24 08:41:58 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:43:29 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:43:29 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:43:29 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:43:29 GMT (1558687409) (last_index=32734 history_end_index=32735)
May 24 08:43:29 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:44:58 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 89s, restarting
May 24 08:44:59 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:44:59 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:44:59 GMT (1558687499) (last_index=32734 history_end_index=32735)
May 24 08:44:59 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:46:29 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:46:29 raspberrypi weewx[10767]: manager: Added record 2019-05-24 08:45:00 GMT (1558687500) to database 'weewx.sdb'
May 24 08:46:29 raspberrypi weewx[10767]: manager: Added record 2019-05-24 08:45:00 GMT (1558687500) to daily summary in 'weewx.sdb'
May 24 08:46:29 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:46:29 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:46:29 GMT (1558687589) (last_index=32734 history_end_index=32735)
May 24 08:46:30 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:47:01 raspberrypi CRON[10907]: (root) CMD (   /home/pi/meteoclimatic/meteoclimatic.sh)
May 24 08:47:06 raspberrypi CRON[10903]: (CRON) info (No MTA installed, discarding output)
May 24 08:47:08 raspberrypi weewx[10767]: imagegenerator: Generated 12 images for basic in 34.67 seconds
May 24 08:47:08 raspberrypi weewx[10767]: copygenerator: copied 17 files to /var/www/html/weewx
May 24 08:48:00 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:48:00 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:48:00 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:48:00 GMT (1558687680) (last_index=32734 history_end_index=32735)
May 24 08:48:00 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735
May 24 08:49:31 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting
May 24 08:49:31 raspberrypi weewx[10767]: wmr300: dump history
May 24 08:49:31 raspberrypi weewx[10767]: wmr300: Clearing records since 2019-05-24 08:49:31 GMT (1558687771) (last_index=32734 history_end_index=32735)
May 24 08:49:31 raspberrypi weewx[10767]: wmr300: get history complete: count=0 last_index=32734 history_end_index=32735

Leon Shaner

unread,
May 24, 2019, 9:44:31 AM5/24/19
to weewx...@googlegroups.com
Hi, Miguel,

I see you are running the latest wmr300.py version 0.19rc6+f3+l2, which has Cameron D's history clearing fixes any the rain counter warning enhancement.  This is good.

However, I've never seen this type of error before:

May 24 08:49:31 raspberrypi weewx[10767]: wmr300: Excessive heartbeat delay: 90s, restarting

Which raspberry pi do you have and which kernel?
Also, are there any other USB devices connected?
How long is your USB cable that connects to the WMR300?
Are you using an official Raspberry Pi power supply or another brand?
(Newer RPI's draw up to 2.5amps, so it matters)...

Here is what I am running on...

 $ dmesg | grep "Machine model"
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1

$ uname -a
Linux nixie 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian

$ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 9000c1
Serial          : 00000000f7e29d3c


$ head -3 /proc/meminfo
MemTotal:         443132 kB
MemFree:          182188 kB
MemAvailable:     272340 kB


Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad Pro)
--
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/b02538fd-3ed4-4e44-ba87-d3192858bff6%40googlegroups.com.

Miguel Angel Peña Morales

unread,
May 26, 2019, 2:14:42 PM5/26/19
to weewx-user

Also, are there any other USB devices connected?
        No
How long is your USB cable that connects to the WMR300?
        Is a standard cable. 1m or so. It worked before with a weather display setup.
Are you using an official Raspberry Pi power supply or another brand?
        Im using a Samsung brand PS. Shoud be enough to run as no message of not enough juice is showing.
(Newer RPI's draw up to 2.5amps, so it matters)...

pi@raspberrypi:~ $ dmesg | grep "Machine model"
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2

pi@raspberrypi:~ $  uname -a
Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME
="Raspbian GNU/Linux 9 (stretch)"

NAME
="Raspbian GNU/Linux"
VERSION_ID
="9"
VERSION
="9 (stretch)"
ID
=raspbian
ID_LIKE
=debian
HOME_URL
="http://www.raspbian.org/"
SUPPORT_URL
="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL
="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor      
: 0
model name      
: ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer
: 0x41

CPU architecture
: 7
CPU variant    
: 0x0

CPU part        
: 0xd03
CPU revision    
: 4


processor      
: 1
model name      
: ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer
: 0x41

CPU architecture
: 7
CPU variant    
: 0x0

CPU part        
: 0xd03
CPU revision    
: 4


processor      
: 2
model name      
: ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer
: 0x41

CPU architecture
: 7
CPU variant    
: 0x0

CPU part        
: 0xd03
CPU revision    
: 4


processor      
: 3
model name      
: ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer
: 0x41

CPU architecture
: 7
CPU variant    
: 0x0

CPU part        
: 0xd03
CPU revision    
: 4


Hardware        : BCM2835
Revision        : a22082
Serial          : 00000000e4f0db99

pi@raspberrypi:~ $ head -3 /proc/meminfo
MemTotal:         948304 kB
MemFree:          548404 kB
MemAvailable:     723760 kB
pi@raspberrypi:~ $ htop



 
1  [|||                                               2.9%]   Tasks: 62, 59 thr; 1 running
 
2  [|                                                 0.7%]   Load average: 0.41 0.54 0.50
 
3  [                                                  0.0%]   Uptime: 05:46:29
 
4  [                                                  0.0%]
 
Mem[|||||||||||||||||||||||                      169M/926M]
 
Swp[                                             0K/100.0M]


  PID USER      PRI  NI  VIRT   RES   SHR S CPU
% MEM%   TIME+  Command
   
1 root       20   0 27136  6132  4880 S  0.0  0.6  0:06.25 /sbin/init
 
1245 root       20   0  108M 69052  8748 S 32.0  7.3  2h23:24 ├─ python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /e
 
1252 root       20   0  108M 69052  8748 S  0.0  7.3  0:03.03  ├─ python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
 
1251 root       20   0  108M 69052  8748 S  0.0  7.3  0:00.05  ├─ python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
 
1250 root       20   0  108M 69052  8748 S  0.0  7.3  0:00.00  └─ python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
 
794 root       20   0 59220  8680  7148 S  0.0  0.9  0:00.34 ├─ /usr/lib/udisks2/udisksd --no-debug
 
802 root       20   0 59220  8680  7148 S  0.0  0.9  0:00.00  ├─ /usr/lib/udisks2/udisksd --no-debug
 
801 root       20   0 59220  8680  7148 S  0.0  0.9  0:00.00  ├─ /usr/lib/udisks2/udisksd --no-debug
 
800 root       20   0 59220  8680  7148 S  0.0  0.9  0:00.01  ├─ /usr/lib/udisks2/udisksd --no-debug
 
796 root       20   0 59220  8680  7148 S  0.0  0.9  0:00.00  └─ /usr/lib/udisks2/udisksd --no-debug
 
733 pi         20   0 28440  6136  5640 S  0.0  0.6  0:00.08 ├─ /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
 
736 pi         20   0 28440  6136  5640 S  0.0  0.6  0:00.00  ├─ /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:
 
735 pi         20   0 28440  6136  5640 S  0.0  0.6  0:00.00  └─ /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:
 
716 root       20   0 40196  7420  6696 S  0.0  0.8  0:00.15 ├─ /usr/lib/policykit-1/polkitd --no-debug
 
719 root       20   0 40196  7420  6696 S  0.0  0.8  0:00.02  ├─ /usr/lib/policykit-1/polkitd --no-debug
 
717 root       20   0 40196  7420  6696 S  0.0  0.8  0:00.00  └─ /usr/lib/policykit-1/polkitd --no-debug
 
708 pi         20   0  3788   220    16 S  0.0  0.0  0:00.00 ├─ /usr/bin/ssh-agent -s
 
604 root       20   0 35044  3520  3204 S  0.0  0.4  0:00.04 ├─ /usr/bin/bluealsa
 
620 root       20   0 35044  3520  3204 S  0.0  0.4  0:00.00  ├─ /usr/bin/bluealsa
 
619 root       20   0 35044  3520  3204 S  0.0  0.4  0:00.00  ├─ /usr/bin/bluealsa
 
616 root       20   0 35044  3520  3204 S  0.0  0.4  0:00.00  └─ /usr/bin/bluealsa
F1Help  F2Setup F3SearchF4FilterF5SortedF6CollapF7Nice
-F8Nice +F9Kill  F10Quit


I hope you see something here. Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Miguel Angel Peña Morales

unread,
Jul 15, 2019, 8:02:59 AM7/15/19
to weewx-user
Hello again.
Finally the result and the ultimate reason of my problem. 


THE RASPI 3 WAS FAULTY!!!


After 3 months of sort of working, it gived up locking up and don't even booting. Tried to reinstall raspbian and it failed miserably. Changed the sdcard and nothing... Connected a monitor and the screen showed the typical image corruption of fauty memory. Now it is working again flawessly on a Rpi 4 4GB. You can visit it on http://meteo.logrosan.com. I think it took me 30 minutes to install weewx and have it working from apt.

Thanks for everything and suspect some HW problem when it's kind of a impossible thing happening.

Regards!
Reply all
Reply to author
Forward
0 new messages