2
« en: 19 de Mayo del 2019, 13:42:51 pm »
Buenas, ando con los mismos problemas. He borrado la base de datos pero sigue saliendo. Cómo se borra la memoria de la wmr300?
Este es mi log.
May 19 11:41:32 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
May 19 11:41:32 raspberrypi weewx[1805]: Stopping weewx weather system: weewx not running....
May 19 11:41:32 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
May 19 11:41:35 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May 19 11:41:36 raspberrypi weewx[1860]: engine: Initializing weewx version 3.9.1
May 19 11:41:36 raspberrypi weewx[1860]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
May 19 11:41:36 raspberrypi weewx[1860]: engine: Platform Linux-4.19.42-v7+-armv7l-with-debian-9.9
May 19 11:41:36 raspberrypi weewx[1860]: engine: Locale is 'es_ES.UTF-8'
May 19 11:41:36 raspberrypi weewx[1860]: engine: pid file is /var/run/weewx.pid
May 19 11:41:36 raspberrypi weewx[1849]: Starting weewx weather system: weewx.
May 19 11:41:36 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 19 11:41:36 raspberrypi weewx[1864]: engine: Using configuration file /etc/weewx/weewx.conf
May 19 11:41:36 raspberrypi weewx[1864]: engine: Loading station type WMR300 (weewx.drivers.wmr300)
May 19 11:41:36 raspberrypi weewx[1864]: wmr300: driver version is 0.19rc6
May 19 11:41:36 raspberrypi weewx[1864]: wmr300: usb info: pyusb_version=1.0.0
May 19 11:41:36 raspberrypi weewx[1864]: 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 11:41:36 raspberrypi weewx[1864]: wmr300: history limit is 20%
May 19 11:41:36 raspberrypi kernel: [ 1551.457919] usb 1-1.5: reset full-speed USB device number 9 using dwc_otg
May 19 11:41:36 raspberrypi weewx[1864]: wmr300: communication established: {'station_model': 'A004', 'latest_index': 32736, 'station_type': 'WMR300', 'mystery1': 44, 'mystery0': 73, 'history_cleared': False, 'magic1': 255, 'magic0': 255, 'packet_type': 87}
May 19 11:41:36 raspberrypi weewx[1864]: engine: StdConvert target unit is 0x1
May 19 11:41:36 raspberrypi weewx[1864]: 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 11:41:36 raspberrypi weewx[1864]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 19 11:41:36 raspberrypi weewx[1864]: engine: Archive will use data binding wx_binding
May 19 11:41:36 raspberrypi weewx[1864]: engine: Record generation will be attempted in 'hardware'
May 19 11:41:36 raspberrypi weewx[1864]: engine: Using archive interval of 300 seconds (specified in weewx configuration)
May 19 11:41:37 raspberrypi weewx[1864]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 19 11:41:37 raspberrypi weewx[1864]: manager: Starting backfill of daily summaries
May 19 11:41:37 raspberrypi weewx[1864]: restx: StationRegistry: Registration not requested.
May 19 11:41:37 raspberrypi weewx[1864]: restx: Wunderground: Posting not enabled.
May 19 11:41:37 raspberrypi weewx[1864]: restx: PWSweather: Posting not enabled.
May 19 11:41:37 raspberrypi weewx[1864]: restx: CWOP: Posting not enabled.
May 19 11:41:37 raspberrypi weewx[1864]: restx: WOW: Posting not enabled.
May 19 11:41:37 raspberrypi weewx[1864]: restx: AWEKAS: Posting not enabled.
May 19 11:41:37 raspberrypi weewx[1864]: engine: Starting up weewx version 3.9.1
May 19 11:41:37 raspberrypi weewx[1864]: wmr300: reading records since ******* N/A ******* ( N/A ) (last_index=31 latest_index=32736)
May 19 11:41:37 raspberrypi weewx[1864]: wmr300: possible missed rain event: new=16645.89 old=None
May 19 11:41:37 raspberrypi weewx[1864]: wmr300: rain=None rain_total=16645.89 last_rain=None
May 19 11:41:37 raspberrypi weewx[1864]: manager: Added record 2012-01-01 12:00:00 GMT (1325419200) to database 'weewx.sdb'
May 19 11:41:37 raspberrypi weewx[1864]: engine: Main loop exiting. Shutting engine down.
May 19 11:41:37 raspberrypi weewx[1864]: engine: Caught unrecoverable exception in engine:
May 19 11:41:37 raspberrypi weewx[1864]: **** Non-positive value for record field 'interval': 0.0
May 19 11:41:37 raspberrypi weewx[1864]: **** Traceback (most recent call last):
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 890, in main
May 19 11:41:37 raspberrypi weewx[1864]: **** engine.run()
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 160, in run
May 19 11:41:37 raspberrypi weewx[1864]: **** self.dispatchEvent(weewx.Event(weewx.STARTUP))
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 19 11:41:37 raspberrypi weewx[1864]: **** callback(event)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 520, in startup
May 19 11:41:37 raspberrypi weewx[1864]: **** self._catchup(self.engine.console.genStartupRecords)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 635, in _catchup
May 19 11:41:37 raspberrypi weewx[1864]: **** origin='hardware'))
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
May 19 11:41:37 raspberrypi weewx[1864]: **** callback(event)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
May 19 11:41:37 raspberrypi weewx[1864]: **** dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/manager.py", line 246, in addRecord
May 19 11:41:37 raspberrypi weewx[1864]: **** self._addSingleRecord(record, cursor, log_level)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/manager.py", line 1212, in _addSingleRecord
May 19 11:41:37 raspberrypi weewx[1864]: **** _weight = self._calc_weight(record)
May 19 11:41:37 raspberrypi weewx[1864]: **** File "/usr/share/weewx/weewx/manager.py", line 1582, in _calc_weight
May 19 11:41:37 raspberrypi weewx[1864]: **** raise ValueError("Non-positive value for record field 'interval': %s" % (record['interval'], ))
May 19 11:41:37 raspberrypi weewx[1864]: **** ValueError: Non-positive value for record field 'interval': 0.0
May 19 11:41:37 raspberrypi weewx[1864]: **** Exiting.