Just a query with regards to the updated restx.py file for sending data to 
WOW-BE.
When reporting pressure using "barometer", shouldn't the respective WOW-BE 
field be "baromin" instead of "absbaromin"?
According the the WOW-BE site:
"*baromin = relative pressure (i.e. pressure reduced to sea level)* and 
*absbaromin 
= absolute pressure (i.e. the raw pressure measurement at the station’s 
location)*."
So for reporting pressure:
   - weewx parameter "barometer" corresponds to the field "baromin" in 
WOW-BE
   - weewx parameter "pressure" corresponds to the field "absbaromin" in 
WOE-BE
May be I'm wrong, but since I modified the code to report "barometer" as 
"baromin" the reported pressure now seems to be correct (before the change 
they were abnormally high).
I have a Davis Vantage Pro 2 so it makes sense for me to report "barometer" 
pressure since this is what is provided by the weather station.
On Tuesday, September 16, 2025 at 9:02:01 PM UTC+9:30 John Smith wrote:

> I've submitted a pull request for restx.py to enable sending weather data 
> to both wow.metoffice.gov.uk and wow.meteo.be, the code is slightly 
> modified from the diff that glennmckechnie posted to issue #1013
>
> You can download a copy of restx.py with the changes here:
>
> https://github.com/evilbunny2008/weewx/raw/refs/heads/master/src/weewx/restx.py
>
> Just replace the existing restx.py which resides 
> in /usr/share/weewx/weewx/restx.py when you install using the Debian 
> package, I don't know exactly where it would be for other install methods.
>
> The above file is from the current weeWX master branch and only tested in 
> weeWX 5.1.0 on Debian Bookworm running a 6.12 kernel from backports.
>
> I have limited python experience and would value suggestions to make the 
> code more pythonic if needed.
>

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/2686b8d5-5b58-4d99-801b-82855793a969n%40googlegroups.com.

Reply via email to