Weewx no run

87 views
Skip to first unread message

Vladimir Moroz

unread,
Feb 9, 2020, 12:35:04 AM2/9/20
to weewx-user
Hello, please help.
Weewx does not work. No run, no generate html.
Ubuntu server 16.04
Oregon WMR300 Station (connect to USB), data and time -good
Config and log attached.
P.S.Sorry for my bad english.

config.txt
log.txt

gjr80

unread,
Feb 9, 2020, 12:44:31 AM2/9/20
to weewx-user
Hi,

Your English is fine for here! Plus the weewx.conf and log extract said everything, your problem is your archive interval, it is too short. As a minimum try 60 seconds but realistically unless you have specific requirements you will be better off with the more common 5 minutes (ie 300). In weewx.conf under [StdArchive] change the archive_interval setting to the correct value, save the file and restart WeeWX.

[StdArchive]
   
   
# If the station hardware supports data logging then the archive interval
   
# will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval
= 30
   
   
# If possible, new archive records are downloaded from the station
   
# hardware. If the hardware does not support this, then new archive
   
# records will be generated in software.
   
# Set the following to "software" to force software record generation.
    record_generation
= hardware
   
   
# Whether to include LOOP data in hi/low statistics
    loop_hilo
= True
   
   
# The data binding used to save archive records
    data_binding
= wx_binding


Gary
Message has been deleted

Vladimir Moroz

unread,
Feb 9, 2020, 2:10:03 AM2/9/20
to weewx-user
Thanks you!
weewx works!
I thought 30 seconds would be fine, but I made a mistake, returned 300 seconds as you said

eb  9 10:00:04 ubuntu-pogoda weewx[2733]: wmr300: Excessive heartbeat delay: 89s, restarting
Feb  9 10:00:04 ubuntu-pogoda weewx[2733]: wmr300: dump history
Feb  9 10:00:04 ubuntu-pogoda weewx[2733]: wmr300: Clearing records since 2020-02-09 10:00:04 MSK (1581231604) (last_                                       index=32734 history_end_index=32735)
Feb  9 10:00:04 ubuntu-pogoda weewx[2733]: wmr300: get history complete: count=0 last_index=32734 history_end_index=3                                       2735

now the next problem:
html Barometer  does not show
panel stantion - show
screenshot attached

воскресенье, 9 февраля 2020 г., 8:44:31 UTC+3 пользователь gjr80 написал:
barometr.jpg
Picture 12.jpg

gjr80

unread,
Feb 9, 2020, 3:08:18 AM2/9/20
to weewx-user
That is good to hear. I am not a WMR300 expert but I understand the station reports barometric pressure every 15 minutes, have you had WeeWX and the WMR300 running for at least 20 minutes?

If still misbehaving a startup debug log might help. To do this edit weewx.conf, set debug = 1, save weewx.conf and then restart WeeWX. Let WeeWX run for at least 20 minutes then take an extract from the log showing the entire WeeWX startup through until the 20 minutes has passed. It is import we see the entire WeeWX startup activity. Post the log extract here.

Gary

Vladimir Moroz

unread,
Feb 9, 2020, 4:24:11 AM2/9/20
to weewx-user
You're right!
I waited and testimony barometr appeared.
Thank you very much!
It remains to test the accounting of rain.

воскресенье, 9 февраля 2020 г., 11:08:18 UTC+3 пользователь gjr80 написал:

Vladimir Moroz

unread,
Feb 9, 2020, 4:34:42 AM2/9/20
to weewx-user
All OK!
I am testing a station at home, so the readings are incorrect (simulating data)
How to reset weewx statistics? (when I set up the station on the street)
Thanks again!

gjr80

unread,
Feb 9, 2020, 5:42:40 AM2/9/20
to weewx-user
If all your data is test data then the easiest approach is once you setup in the new location just delete the database (nominally /home/weewx/archive/weewx.sdb or /var/lib/weewx/weewx.sdb depending on your WeeWX install type) before starting WeeWX. WeeWX will automatically create a new empty database. However, if you have some data you wish to keep along with the test data in your database then it gets a little more complex.

Gary

Vladimir Moroz

unread,
Feb 9, 2020, 5:45:22 AM2/9/20
to weewx-user
Thanks you.
Reply all
Reply to author
Forward
0 new messages