That works, thank you very much.
Now, weewx is running. In syslog, I can see a lot of lines like this :
Sep 26 12:46:16 raspberrypi weewx[2085]: manager: Added record
2014-06-15 23:34:36 CEST (1402868076) to database 'weewx'
Sep 26 12:46:16 raspberrypi weewx[2085]: manager: Added record
2014-06-15 23:34:36 CEST (1402868076) to daily summary in 'weewx'
Sep 26 12:46:16 raspberrypi weewx[2085]: wmr200: MainThread: D Queuing
live packet rx:95 live_queue_len:95
Sep 26 12:46:17 raspberrypi weewx[2085]: wmr200: MainThread: D Queuing
archive packet rx:370 archive_queue_len:1
Sep 26 12:46:18 raspberrypi weewx[2085]: wmr200: MainThread: I
genStartup() Still receiving archive packets cnt:117 len:1
Sep 26 12:46:18 raspberrypi weewx[2085]: wmr200: MainTh
It seems weewx is treating old records from my wmr200. But in database
it has only inserted on with dateTime=1402845856 (15/6/2014 à 17:24:16).
Why weewx does not insert all records ?
Le 26. 09. 17 à 12:28, mwall a écrit :
On Tuesday, September 26, 2017 at 5:27:23 AM UTC-4, lilian.robert wrote:
I just did a fresh install of raspbian, installed and configured
mysql (mariadb), installed and configured weewx.
When I connect the weather station (wmr200) thru usb and restart
weewx, here is what I get in syslog (debug=1). The tables have
been created by weewx but all tables are empty :
Sep 26 10:37:01 raspberrypi systemd[1]: Stopping LSB: weewx
weather system...
...
Sep 26 10:37:40 raspberrypi weewx[1145]: **** KeyError:
'interval'
Sep 26 10:37:40 raspberrypi weewx[1145]: **** Exiting.
I really don't see what is wrong. I also don't know why the record
date is so old (2014-06-15 17:21:16). Maybe an old record in the
station's datalogger ?
this bug has been fixed.
please download the latest wmr200 driver (currently v3.3.4) and
replace your wmr200 driver with it.
https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/wmr200.py
m
--
You received this message because you are subscribed to a topic in the
Google Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/W2u8w-Z8x9I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.