Database not updated by Interceptor driver

68 views
Skip to first unread message

Rodrigo Flório Moser

unread,
Apr 26, 2022, 4:48:31 PM4/26/22
to weewx-user
Hi,

I have been using Weewx for several months with interceptor driver in a Debian 9 system installed in a VPS. My PWS is a WH24 (Fine Offset) and observations are sent to the server by a GET request, and intercepted by a websocket.

Recently I had to change the VPS provider, with Debian 10. So I did a fresh install of Weewx 4.8, then interceptor driver, and configured the options the same way as the other server (btw, still online for a couple of days before my plan expires). However, there is no way I get to make it work.

weewx.conf relevant info:
[Station]
    station_type = Interceptor

[Interceptor]
    driver = user.interceptor
    device_type = observer
    address = localhost
    port = 2737

I can see packets of observations arriving and being parsed by the interceptor driver, but Weewx does not do anything with them: database is not updating nor the website.

Attached you will find the log file.

Can someone help me?

Thanks!
rfm


weewx.log

Tom Keffer

unread,
Apr 26, 2022, 9:22:32 PM4/26/22
to weewx-user
I'm not an interceptor expert, but the problem may be that not enough LOOP packets are showing up within your archive interval.

Your archive interval is 1 minute, but in the 4+ minutes that the main packet loop was running, only one packet came through. That means at the end of most of the archive intervals, there will not have been any packets, so no archive record will be generated.

Perhaps the interceptor is missing packets? Or, perhaps your archive interval is just too short?

-tk

--
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/bb3e2e86-5107-4d36-aa4e-9f3df82c58e6n%40googlegroups.com.

Rodrigo Flório Moser

unread,
Apr 27, 2022, 10:15:22 AM4/27/22
to weewx...@googlegroups.com
Tom,
Thanks for your support!
I changed the archive interval to 300 seconds and fixed the request payload "dateTime". Now it works!
Cheers.
rfm

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/dTBPErvC-y0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBQ%3DFsbEGDG_OA980zf5A9ny0pFxEsMVkxfctwA_G4ddA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages