WU wind speed and wind gust graph issue with rapidfire - would LOOP2 packet resolve it?

156 views
Skip to first unread message

Praveen Chandrasekaran

unread,
Jul 29, 2019, 7:02:44 AM7/29/19
to weewx-development
Hi,

Off late, I see that wind speed and wind gust graph on WU are messed up. The wind speed graph is same as wind gust graph looks like. Also looking at WU upload protocol below:


Looking at restx.py, I am not sure if weewx uploads the last 4 parameters below (attached at end of post). The LOOP2 packet in Davis does include these but weewx does not read LOOP2 packets. This issue has also probably arisen probably because of how WU is handling the data now with the recent updates. Not sure if the protocol below has changed as the older wiki page no longer works (if anyone has the older protocol from wiki please share). 

Strangely the WU table has different value for wind speed and gust however. (https://www.wunderground.com/dashboard/pws/IBANGALO9 to have a look at wind graphs)

I was wondering if weewx should be reading these from LOOP2? I do not see them being calculated in software now and being sent either (if it is being done so, can someone share where it is being done?)

Regards.,
Praveen

winddir - [0-360 instantaneous wind direction]
windspeedmph - [mph instantaneous wind speed]
windgustmph - [mph current wind gust, using software specific time period]
windgustdir - [0-360 using software specific time period]
windspdmph_avg2m  - [mph 2 minute average wind speed mph]
winddir_avg2m - [0-360 2 minute average wind direction]
windgustmph_10m - [mph past 10 minutes wind gust mph ]
windgustdir_10m - [0-360 past 10 minutes wind gust direction]

Thomas Keffer

unread,
Jul 29, 2019, 11:34:41 AM7/29/19
to Praveen Chandrasekaran, weewx-development
Good question. These seem to be new parameters. I've created issue #435 to track.

Issue #374 already tracks adding LOOP2 to the Vantage driver.

I should have some time to work on these in the late summer.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/7e87c4ec-176c-461a-aa4e-875ec8685972%40googlegroups.com.

Deborah Pickett

unread,
Aug 21, 2019, 7:29:07 PM8/21/19
to weewx-development
Tom's update for #374 for LOOP2 looks a bit more extensive than my attempt a few months ago.  My aim was almost solely to get at the THSW index that is only in LOOP2, so I didn't look hard at the many wind gust and average fields.

I'll port my development branch over to the weewx master (which involves changing the names I'd chosen for the new variables) and report back.

Thomas Keffer

unread,
Aug 21, 2019, 7:37:19 PM8/21/19
to Deborah Pickett, weewx-development
Yes, LOOP2 is now a first-class citizen. You can use it in lieu of LOOP1 packets, or alternate between them.

But, I think this is something for more advanced users. You have to fiddle with the values in [StdWXCalculate] to make it work properly. But, it does get you THSW!

-tk

On Wed, Aug 21, 2019 at 4:29 PM Deborah Pickett <deb...@icemoonprison.com> wrote:
Tom's update for #374 for LOOP2 looks a bit more extensive than my attempt a few months ago.  My aim was almost solely to get at the THSW index that is only in LOOP2, so I didn't look hard at the many wind gust and average fields.

I'll port my development branch over to the weewx master (which involves changing the names I'd chosen for the new variables) and report back.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.

Praveen Chandrasekaran

unread,
Aug 21, 2019, 9:08:50 PM8/21/19
to Thomas Keffer, Deborah Pickett, weewx-development
Are the new parameters to WU (#435) also done?

Thomas Keffer

unread,
Aug 21, 2019, 9:13:01 PM8/21/19
to weewx-development, Deborah Pickett, Praveen Chandrasekaran
No. It's on the list!

-tk

Hartmut Schweidler

unread,
Aug 23, 2019, 10:02:52 AM8/23/19
to weewx-development
Hallo,

Davis Vantage Pro2  --> LOOP2 it works  

I have the fields :
          ('windSpeed10',          'REAL'),
          ('windSpeed2',           'REAL'),
          ('windGust10',           'REAL'),
          ('windGustDir10',        'REAL'),
          ('THSW',                 'REAL'),
          ('dayRain',              'REAL'),
          ('rain15',               'REAL'),
          ('rain24',               'REAL'),
          ('hourRain',             'REAL'),
          ('dayET',                'REAL')

to the database "wview.py" and i have also the  new Logging for WeeWX

thanks for the work Hartmut

Praveen Chandrasekaran

unread,
Aug 24, 2019, 1:07:05 AM8/24/19
to Hartmut Schweidler, weewx-development
Hi Hartmut,

Do you mean you are uploading new parameters already ? And it solves the issue?

Regards,
Praveen 

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.

Thomas Keffer

unread,
Aug 24, 2019, 7:16:50 AM8/24/19
to weewx-development
Praveen,

I think Hartmut was merely reporting on whether LOOP2 works.

You can give it a try! If you know how to use git, just clone the WeeWX repository, then run weewxd directly out of the repository, using your old weewx.conf file as the sole command line parameter. No need to install anything.

-tk

Hartmut Schweidler

unread,
Aug 24, 2019, 7:25:04 AM8/24/19
to weewx-development
Hallo,

ja die Erweiterung LOOP2 zusammen mit LOOP1 liefert Daten.

Ich habe die Datenbank erweitert und beobachte jetzt die neuen Werte.
Danke
Hartmut

Am Samstag, 24. August 2019 13:16:50 UTC+2 schrieb Tom Keffer:
Praveen,

I think Hartmut was merely reporting on whether LOOP2 works.

You can give it a try! If you know how to use git, just clone the WeeWX repository, then run weewxd directly out of the repository, using your old weewx.conf file as the sole command line parameter. No need to install anything.

-tk

On Fri, Aug 23, 2019 at 10:07 PM Praveen Chandrasekaran <prave...@gmail.com> wrote:
Hi Hartmut,

Do you mean you are uploading new parameters already ? And it solves the issue?

Regards,
Praveen 

On Fri, 23 Aug 2019, 19:32 Hartmut Schweidler, <hesf...@gmail.com> wrote:
Hallo,

Davis Vantage Pro2  --> LOOP2 it works  

I have the fields :
          ('windSpeed10',          'REAL'),
          ('windSpeed2',           'REAL'),
          ('windGust10',           'REAL'),
          ('windGustDir10',        'REAL'),
          ('THSW',                 'REAL'),
          ('dayRain',              'REAL'),
          ('rain15',               'REAL'),
          ('rain24',               'REAL'),
          ('hourRain',             'REAL'),
          ('dayET',                'REAL')

to the database "wview.py" and i have also the  new Logging for WeeWX

thanks for the work Hartmut

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-de...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-de...@googlegroups.com.

Praveen Chandrasekaran

unread,
May 2, 2020, 6:17:20 AM5/2/20
to Hartmut Schweidler, weewx-development
Old mail thread. It seems wview_extended.py is used only when database is created. So how do I get the new LOOP2 fields to my existing database? Create a new database and then import old database to new? Is the method documented?

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.

Tom Keffer

unread,
May 2, 2020, 9:58:43 AM5/2/20
to Praveen Chandrasekaran, Hartmut Schweidler, weewx-development
Follow the directions in Adding a new type to the database, except that in place of

[DataBindings]
    [[wx_binding]]
        database = archive_sqlite
        table_name = archive
        manager = weewx.wxmanager.DaySummaryManager
        schema = user.electricity.electricity_schema

you want

[DataBindings]
    [[wx_binding]]
        database = archive_sqlite
        table_name = archive
        manager = weewx.wxmanager.DaySummaryManager
        schema = schemas.wview_extended.schema

-tk

Reply all
Reply to author
Forward
0 new messages