Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
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! El domingo, 26 de mayo de 2019, 20:14:42 (UTC+2), Miguel Angel Peña Morales escribió: > > > 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.00] 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 : e4f0db99 > > 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
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
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. El viernes, 24 de mayo de 2019, 15:44:31 (UTC+2), Leon Shaner escribió: > > 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.00] 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 > HOME_URL="http://www.raspbian.org/"; > SUPPORT_URL="http://www.raspbian.org/RaspbianForums"; > BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"; > > $ 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 : f7e29d3c > > > $ head -3 /proc/meminfo > MemTotal: 443132 kB > MemFree: 182188 kB > MemAvailable: 272340 kB > > > Regards, > \Leon > -- > Leon Shaner :: Dearborn, Michigan (iPad Pro) > > On May 24, 2019, at 4:52 AM, Miguel Angel Peña Morales < > superc...@gmail.com > wrote: > > 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': '
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
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 El miércoles, 22 de mayo de 2019, 13:52:19 (UTC+2), Miguel Angel Peña Morales escribió: > > I will post a cleaner log when I arrive home. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b02538fd-3ed4-4e44-ba87-d3192858bff6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
I will post a cleaner log when I arrive home. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/44c4446e-72a3-4085-b17e-90f5ff52894a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
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. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5673738a-cd0a-46f9-85ce-5a6956fc6d53%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
Hello again, afer some hard work I finally made it. Now I have some things that are not working perfectly. https://www.wunderground.com/dashboard/pws/IEXTREMA34 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 '' 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 '' 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]: Fi
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
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]: 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. El domingo, 19 de mayo de 2019, 12:56:27 (UTC+2), Miguel Angel Peña Morales escribió: > > 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'
Re: [weewx-user] Re: Fresh install of weewx 3.9.1 with WMR300A on RPI, Non-positive value for record field 'interval': 0.0
0: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 val