Re: [weewx-user] How to get the daily rain sum

2023-08-31 Thread Glenn McKechnie
On 01/09/2023, Invisible Man  wrote:
> Glenn,
> How am I meant to publish images on Mastodon?
> I have this in weewx.conf for the Mastodon extension:
>
> ```
> # comma separated list of up to 4 images
> images =
> '/home/weewx/external_html/daytempdew.png,/home/weewx/external_html/dayrain.png,/home/weewx/external_html/dayuv.png'
> ```
>
> Those paths lead to graphs. I thought they would be appended to the toot,
> like in the image of the README.md
> of https://github.com/glennmckechnie/weewx-mastodon, but that's not the
> case. So, how does it work?

paths and images are declared separately.

In the weewx.conf section, [[Mastodon]] , there are 3 lines relating to images.
In your example, you want these 2.

# complete if uploading images from a local directory
image_directory = /home/weewx/external_html
# comma separated list of up to 4 images
images = daytempdew.png, dayrain.png, dayuv.png

That should work for you, and if it doesn't then review the log for
wxtoot specific messages and include them in a reply.

> This is my mastodon account: https://piaille.fr/@biotmeteo
>
> Thanks,
> Axelle

-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAAraAzjUMV%2BfjBAatY72zqYYWYk0Ojb3gLqTdj6esG5B6BVM9A%40mail.gmail.com.


[weewx-user] Re: User Guide to create a driver

2023-08-31 Thread Craig Young
Thanks Gary, I will start with that.

On Friday, September 1, 2023 at 8:39:10 AM UTC+12 gjr80 wrote:

> Have a look at the Porting to new hardware 
>  section in 
> the Customization Guide 
> . Perhaps that is what 
> you saw? You might also find some benefit in looking through the Notes 
> for Developers  guide.
>
> In terms of where to do your development/keep your driver - it's entirely 
> up to you. A public GitHub repo is great, makes reversion easy and gives 
> you an offsite backup in case the worst happens. Depending on what you want 
> to do with GitHub it can be a bit daunting at first, but the effort is well 
> worth it. The big plus for others is that users of the same/similar 
> hardware now have access to a driver.
>
> Gary
> On Friday, 1 September 2023 at 06:06:18 UTC+10 craig.y...@gmail.com wrote:
>
>> My weather station (Campbell Scientific CR300 data logger) is not 
>> supported by weewx.  What I can do though is take an existing driver that 
>> closely matches what I need and change it to create a new driver for the 
>> CR300.  I have looked around for a user guide on how to do this and I 
>> thought I had found one a few weeks ago but can't relocate it.  Is there a 
>> recommended User Guide for creating a new driver from an existing driver?  
>> For this project is it better to download the driver source code to my 
>> raspberry pi, modify it and install it locally as a new driver rather than 
>> putting it in the public GitHub repositories.
>>
>> Craig
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/686bd29d-4bf1-432b-9142-83b29b722c3cn%40googlegroups.com.


[weewx-user] Re: User Guide to create a driver

2023-08-31 Thread gjr80
Have a look at the Porting to new hardware 
 section in the 
Customization 
Guide . Perhaps that is 
what you saw? You might also find some benefit in looking through the Notes 
for Developers  guide.

In terms of where to do your development/keep your driver - it's entirely 
up to you. A public GitHub repo is great, makes reversion easy and gives 
you an offsite backup in case the worst happens. Depending on what you want 
to do with GitHub it can be a bit daunting at first, but the effort is well 
worth it. The big plus for others is that users of the same/similar 
hardware now have access to a driver.

Gary
On Friday, 1 September 2023 at 06:06:18 UTC+10 craig.y...@gmail.com wrote:

> My weather station (Campbell Scientific CR300 data logger) is not 
> supported by weewx.  What I can do though is take an existing driver that 
> closely matches what I need and change it to create a new driver for the 
> CR300.  I have looked around for a user guide on how to do this and I 
> thought I had found one a few weeks ago but can't relocate it.  Is there a 
> recommended User Guide for creating a new driver from an existing driver?  
> For this project is it better to download the driver source code to my 
> raspberry pi, modify it and install it locally as a new driver rather than 
> putting it in the public GitHub repositories.
>
> Craig
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4ecfb47d-f49e-4354-ad7f-61e2358db73dn%40googlegroups.com.


[weewx-user] User Guide to create a driver

2023-08-31 Thread Craig Young
My weather station (Campbell Scientific CR300 data logger) is not supported 
by weewx.  What I can do though is take an existing driver that closely 
matches what I need and change it to create a new driver for the CR300.  I 
have looked around for a user guide on how to do this and I thought I had 
found one a few weeks ago but can't relocate it.  Is there a recommended 
User Guide for creating a new driver from an existing driver?  For this 
project is it better to download the driver source code to my raspberry pi, 
modify it and install it locally as a new driver rather than putting it in 
the public GitHub repositories.

Craig

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7ec4912a-6624-45ed-9d13-c2e1b496f2bfn%40googlegroups.com.


Re: [weewx-user] How to get the daily rain sum

2023-08-31 Thread Invisible Man
Glenn,
How am I meant to publish images on Mastodon?
I have this in weewx.conf for the Mastodon extension:

```
# comma separated list of up to 4 images
images = 
'/home/weewx/external_html/daytempdew.png,/home/weewx/external_html/dayrain.png,/home/weewx/external_html/dayuv.png'
```

Those paths lead to graphs. I thought they would be appended to the toot, 
like in the image of the README.md 
of https://github.com/glennmckechnie/weewx-mastodon, but that's not the 
case. So, how does it work?

This is my mastodon account: https://piaille.fr/@biotmeteo

Thanks,
Axelle
On Wednesday, August 30, 2023 at 10:34:49 PM UTC+2 Invisible Man wrote:

> Ah, it looks like $day.rain.sum works in a template... :)
>
> On Wednesday, August 30, 2023 at 7:00:17 PM UTC+2 Invisible Man wrote:
>
>> Ok, so I'm switching to templates, but I'm doing something wrong, because 
>> I can't get that rain sum. In my case it just prints 
>> "$since($hour=0).rain.sum.format("%.3f")" instead of showing the value.
>> How did you do it?
>> This is my `mastodon.txt.tmpl` (there are a few errors in my template e.g 
>> I shouldn't add C etc, but nevermind) :
>>
>> ```
>> #errorCatcher Echo
>> ## Template file for providing data to weewx-mastodon
>> ## https://github.com/glennmckechnie/weewx-mastodon
>> ##
>> ## Tag information at...
>> ## https://weewx.com/docs/customizing.htm#Tags
>>
>> Temprature: $current.outTempC (min: $day.outTemp.min, 
>> max: $day.outTemp.max)
>> Humidex: $current.heatindex (min: $day.heatindex.min, max: 
>> $day.heatindex.max)
>> Humidit: $current.outHumidity % (min: $day.outHumidity.min, max: 
>> $day.outHumidity.max)
>> Pression: $current.barometer
>> Pluie
>> - Aujourd'hui: $since($hour=0).rain.sum.format("%.3f")
>> - Anne: $year.rain.sum
>> Vent:
>> - Direction: $current.windDir.ordinal_compass ($current.windDir deg)
>> -Vitesse: $current.windSpeed (moyenne), $current.windGust (rafale)
>> 
>> $current.dateTime.format("%d-%b-%Y %H:%M")
>> ``
>>
>> This is the generated mastodon.txt : 
>>
>> Temprature: 23.2CC (min: 16.0C, max: 27.0C)
>> Humidex: 23.4C (min: 15.6C, max: 27.9C)
>> Humidit: 70% % (min: 48%, max: 78%)
>> Pression: 1008.9 hPa
>> Pluie
>> - Aujourd'hui: $since($hour=0).rain.sum.format("%.3f")
>> - Anne: 201.3 mm
>> Vent:
>> - Direction: E (97 deg)
>> - Vitesse: 0 km/h (moyenne), 4 km/h (rafale)
>> 
>> 30-Aug-2023 18:50
>>
>> On Wednesday, August 30, 2023 at 12:07:00 AM UTC+2 Glenn McKechnie wrote:
>>
>>> On 30/08/2023, Invisible Man  wrote: 
>>> > Thanks to both of you for your replies. 
>>> > 
>>> > - since.py etc are in /usr/share/weewx/user already so indeed I can 
>>> try and 
>>>
>>> since.py is part of the weewx-mastodon install. 
>>>
>>> > use them. I tried to directly use since in the format line of 
>>> > weewx-mastodon, but haven't succeeded yet: 
>>> > `{since($hour=24).rain.sum:%.3f}` , 
>>> `{since(hour=24).rain.sum:%.3f}`... not 
>>> > sure I can do it like that. 
>>>
>>> As you found, these won't work on the raw (archive) data. 
>>>
>>> > - I'll look in the template file. 
>>>
>>> The example template I mentioned already uses since.py to format the 
>>> rain value as ... 
>>> $since($hour=9).rain.sum (Australian reporting times) 
>>>
>>> According to the weewx manual at 
>>> http://www.weewx.com/docs.html/latest/customizing.htm#Formatting_examples 
>>> A format method to use for your example could be... 
>>> $since($hour=9).rain.sum.format("%.3f") 
>>> I just tested that method and it works. Apparently we've had 7.429 mm of 
>>> rain! 
>>>
>>> > - final option is that I directly tweak wxtoot.py ... 
>>> > I'll investigate and post back if I have a question... or with my 
>>> solution 
>>> > if I succeed :) 
>>>
>>> Done :) 
>>>
>>> -- 
>>>
>>>
>>> Cheers 
>>> Glenn 
>>>
>>> rorpi - read only raspberry pi & various weewx addons 
>>> https://github.com/glennmckechnie 
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/58b544a7-f3ba-4660-a849-faff0992c921n%40googlegroups.com.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread vince
FWIW, I have a github repo (here) 
 with a bash script 
that automates the v5 pip install, installs and configures nginx and my 
'mem' extension, hooks weewx into the nginx web, and starts it all up.  I 
use this on pi and vagrant virtual machines to fiddle with the v5 beta.

Works for me as a one-step installer on a 'clean' sacrificial system and 
it's tested on several os variants.

 Please read the toplevel readme file and do a quick read of the example 
logfile it generates to see what it does step-by-step.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/67223ca9-022f-411f-adfd-2fa93da91008n%40googlegroups.com.


Re: [weewx-user] Barometer and pressure once again

2023-08-31 Thread 'Rainer Lang' via weewx-user
to calibrate your WS-1001 (Ambient version of the FineOffset/EcowittWH24 
outdoor array and the WH1080 console) you could just follow the 
instructions in https://www.wxforum.net/index.php?topic=40730.0 chapter 6
determine the offset and enter it accordingly (either an offest of 
change the value, whatever the console wants --> manual).


METAR, airport etc. are secondary approaches for refinements which you 
may or may not want to follow. There are lengthy and complex treatises 
on that topic in the same forum, from simple to highly complex.


[by the way, if you have a European or international "version" of the 
Ambient WS-1001 and call this a clone version, then that's very strange 
wording as Ambient is the clone and not Fine Offset/Ecowitt = the 
manufacturer]


but true, weewx should come to a proper result - and unless your station 
also reports wrong absolute pressure (= local pressure) - or you display 
the wrong variable/observation in your skin, then something is wrong 
with weewx. Rather unlikely.

Did you read the barometer topic in the weewx online documentation ?

On 31.08.2023 10:29, Tomasz Lewicki wrote:

Rainer, Greg,

thank you both for thoughts and hints. Indeed, when I wrote "When 
calculated by Weewx itself ("software" option enabled in weewx.conf), 
my weather station shows 1001 hPa - still too low", I meant what Weewx 
calculates and show on my webpage, not on console's display - display 
is completely wrong in my opinion.


According to design of PWS, I own Ambient Weather WS-1001-WiFi clone. 
I use HP-1000 driver. I don't know if it is designed wrong or not, but 
I know that many people still use it.


Manual for my station say "To determine the relative pressure for your 
location, locate an official reporting station near you (the internet 
is the best source for real time barometer conditions, such as 
Weather.com or Wunderground.com), and set your weather station to 
match the official reporting station." I understand it, I should 
calibrate PWS entering proper value from METAR for example.


But I still don't understand why Weewx, using "software" option for 
calculating the sea-level (relative) pressure, shows too low value. As 
I said, my station location AMSL in weewx.conf is "altitude = 550, 
meter" (and for me it is neglible if it is 552 or 560; it is fraction 
of 1 hPa). So the only way to show "real" value is to calibrate the 
relative pressure (barometer in Weewx's terms) on the station's 
display and set "prefer_hardware" in weewx.conf? I'm really confused.


Or maybe I have some units in weewx.conf messed up? I use metric 
system so I entered meters when it was possible.


czwartek, 31 sierpnia 2023 o 02:39:14 UTC+2 Greg Troxel napisał(a):

from the wiki page I sent

For example, the FineOffset consoles can display either the station
pressure (called 'absolute' pressure) or the station pressure plus an
offset (called 'relative' pressure). T

So Fine Offset equipment just does pressure badly.

So get station pressure into weewx, do software from that, and
tape over
the "relative pressure" display on the console so nobody can see it!

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/973dedbe-af6f-4daf-8fbe-9050b8681d4dn%40googlegroups.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e97df425-8598-f7c3-afee-060045962ad1%40gmail.com.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread Tom Keffer
The intention with V5 is to cleanly separate the WeeWX code base from "user
data." The latter is things such as weewx.conf, skins, the database, and,
yes, any user extensions.

So, instances can share the code base, but each have their own user data
area, with their own extensions (and extension.py; sorry about the name
overload).

Answering an earlier question on timelines: the weather is still too nice
here in Oregon to spend major amounts of time on V5. Expect a release a few
weeks after the rains start. :-)

On Thu, Aug 31, 2023 at 7:24 AM Graham Eddy  wrote:

> in V5 i am assuming a single station can be created but separate
> weewx.conf’s used, as in V4 weewx-multi config, with the downside that they
> share same extensions.py i.e. not utilising V5’s design change
>
> in my case, i want same codebase and python modules available to all weewx
> instances but each with own extensions.py, so i have in mind to have a
> weewx user whose home dir has a single venv (shared codebase with pip
> install), and station create each instance (has its own extensions.py)
>
> i can see the case for separate venv for each station (conflicts,
> independence) but i don’t require that
> *⊣GE⊢*
>
> On 1 Sep 2023, at 12:09 am, Tom Hogland  wrote:
>
> I'm thinking of moving to v5. I have a Tempest and VP2 setup and running a
> custom weewx-multi. Seems like two venv setups would be a very simple way
> to replicate this...
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/6D6A2E62-C98A-4AD6-B834-92C175516408%40geddy.au
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECVBjrpNX7PF4s6x-LYbOBkgWaQfWROyC31BMZ33k6iuQ%40mail.gmail.com.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread Graham Eddy
in V5 i am assuming a single station can be created but separate weewx.conf’s 
used, as in V4 weewx-multi config, with the downside that they share same 
extensions.py i.e. not utilising V5’s design change

in my case, i want same codebase and python modules available to all weewx 
instances but each with own extensions.py, so i have in mind to have a weewx 
user whose home dir has a single venv (shared codebase with pip install), and 
station create each instance (has its own extensions.py)

i can see the case for separate venv for each station (conflicts, independence) 
but i don’t require that
⊣GE⊢

> On 1 Sep 2023, at 12:09 am, Tom Hogland  wrote:
> 
> I'm thinking of moving to v5. I have a Tempest and VP2 setup and running a 
> custom weewx-multi. Seems like two venv setups would be a very simple way to 
> replicate this...

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6D6A2E62-C98A-4AD6-B834-92C175516408%40geddy.au.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread Tom Hogland
I'm thinking of moving to v5. I have a Tempest and VP2 setup and running a 
custom weewx-multi. Seems like two venv setups would be a very simple way 
to replicate this...

On Wednesday, August 30, 2023 at 10:52:26 PM UTC-8 Jon Fear wrote:

> From what I can see, looks promising however I think I will wait. I will 
> need to run two instances to capture from both the Wittboy and a Davis Vue 
> in the near future, I will do that once released. It will be good to be 
> able to compare datasets based on the same location.
>
> Is there a time line for release or is it "when it is ready"? I see there 
> is a new version of the Divumwx skin which will be ready about the time of 
> release. I would like to try that Beta though...
>
> Best wishes
>
> Jon
>
>
> On Thursday, 31 August 2023 at 07:00:56 UTC+1 Graham Eddy wrote:
>
>> my experiments with multiple instances and topologies have been very 
>> smooth with pip install - that is quite elegant.
>> i tried the documented github install and fell on my face, even after 
>> working out to select V5 to clone. i’m not github-savvy (but i look at the 
>> source code a lot) so ‘here be dragons’ might be a useful comment in the 
>> github install notes
>> *⊣GE⊢*
>>
>> On 31 Aug 2023, at 11:11 am, Tom Keffer  wrote:
>>
>> It's pretty stable. Most of the work now is about smoothing out the 
>> installation process. 
>>
>> -tk
>>
>> On Wed, Aug 30, 2023 at 6:07 PM DR  wrote:
>>
>>> I have looked gitHub and see there is a 5.0 beta out there.
>>>
>>>
>>> I am wondering if it is stable enough for a casual user to fiddle around 
>>> with it before official release, or should only experts be using it now 
>>> to test and give feedback to the developers?
>>>
>>>
>>> Just curious.  Dale
>>>
>>>
>>> -- 
>>> 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/98fdaa7f-ab40-26e7-326e-dd958fb6695c%40gmail.com
>>> .
>>>
>>
>> -- 
>> 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/CAPq0zEBQ8tRZ6Nig-LZAw2xNx9mgqAngwDtXHqD0UBtKavnX4w%40mail.gmail.com
>>  
>> 
>> .
>>
>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fd1b4b82-a02f-40c6-9448-a64d80850a7bn%40googlegroups.com.


Re: [weewx-user] comma in label in Seasons skin.conf causes failure

2023-08-31 Thread cric...@pobox.com
Thanks Graham,
   Yes, I'm aware, and have run multilple weewxes from a single directory 
(still multiple daemons) in the past.
In this case, it was a deliberate decision since the solar setup will be 
remote and I also intend on reproducing it
for a friend that's really remote, so this one is fully self contained.

Tom,
I surmised that the comma was a configobj problem interpreting that 
entry as a list.  It still seems a bit
odd that labels with spaces also don't need to be quoted, but..."when in 
Rome..."  :^)  Learn something new
every day.

Thx, Chris

On Wednesday, August 30, 2023 at 11:53:52 PM UTC-6 Graham Eddy wrote:

> for the forum search record, you can do a lot of stuff (especially using 
> services) within one instance of weewx. you only *must* use separate 
> instances when you need multiple drivers, or services conflict with each 
> other. you *may* separate instances for operational or scalability purposes
> *⊣GE⊢*
>
> On 31 Aug 2023, at 9:09 am, cric...@pobox.com  wrote:
>
> I'm setting up yet another weewx instance, this time for plotting a solar 
> charge controller.
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8ff5dbd3-575a-4a3b-9126-eea202c78403n%40googlegroups.com.


Re: [weewx-user] Barometer and pressure once again

2023-08-31 Thread Greg Troxel
Tomasz Lewicki  writes:

> thank you both for thoughts and hints. Indeed, when I wrote "When 
> calculated by Weewx itself ("software" option enabled in weewx.conf), my 
> weather station shows 1001 hPa - still too low", I meant what Weewx 
> calculates and show on my webpage, not on console's display - display is 
> completely wrong in my opinion.

Thanks for clarifying.  This is tricky so we need to be 2x clearer than
we think we need to be :-)

> According to design of PWS, I own Ambient Weather WS-1001-WiFi clone. I use 
> HP-1000 driver. I don't know if it is designed wrong or not, but I know 
> that many people still use it.

True that people use it but that doesn't mean it really works, and the
path to getting useful data out is to understand how it is wrong so that
can be worked around.

> Manual for my station say "To determine the relative pressure for your 
> location, locate an official reporting station near you (the internet is 
> the best source for real time barometer conditions, such as Weather.com or 
> Wunderground.com), and set your weather station to match the official 
> reporting station." I understand it, I should calibrate PWS entering proper 
> value from METAR for example.

I assume -- but you didn't say -- that "set your weather station to
match" means "do some UI adjustment with up/down so that the thing the
weather station displays as 'relative' is the same value as the
barometric pressure from a nearby official station".  That's what I
would expect. 

What is going on then is:

  there is an absolute pressure measurement device in the console, which
  is
a) probably not super well calibrated (might be within 2-3 hPa,
   might be a bit better - we simply don't know so far)
b) at some unknown altitude (even if you know it, the console
   doesn't), so the console has no way to do the proper reduction to
   barometric pressure.

  console takes that value and adds a constant offset.  You can change
  that in the UI process above.  This is a hack to get something that is
  more or less good enough for stations in this price/performance class,
  approximating the barometric pressure formula by "add K".

  What I still don't know is what value is sent to the computer.  The
  uncalibrated station pressure?  The 'relative' pressure, aka
  "station+K, for the entered K"?  Both?  I think you don't know this
  either, and we can't figure out what's going on and what to do until
  we understand it.

> But I still don't understand why Weewx, using "software" option for 
> calculating the sea-level (relative) pressure, shows too low value. As I 

Of course we don't understand, because we don't know what is being
reported and how the console adjustment procedure affected it.  We also
don't know what kind of errors the sensor has.

Sea-level pressure is not "relative" pressure.  Sea-level pressure
normally means "barometric pressure", which is station pressure reduced
with temperature measurments.  (There is also "altimeter pressure",
which is station pressure reduced with a standard atmosphere profile,
but that's close to barometric and you are a long way from worrying
about that difference.)

There is no such thing as "relative pressure", only "fine offset
mislabeled as relative but is actually station pressure + K".  As I said
before, you should understand the proper terms and use them carefully,
if you want to get correct answers.

> said, my station location AMSL in weewx.conf is "altitude = 550, meter" 
> (and for me it is neglible if it is 552 or 560; it is fraction of 1 hPa). 
> So the only way to show "real" value is to calibrate the relative pressure 
> (barometer in Weewx's terms) on the station's display and set 
> "prefer_hardware" in weewx.conf? I'm really confused.

You are confused because you don't know what's coming over the wire from
the station, and you don't know if the station pressure is
miscalibrated.

> Or maybe I have some units in weewx.conf messed up? I use metric system so 
> I entered meters when it was possible.

Maybe, but I don't think we can conclude that.

First, read the driver "fousb.py" in the sources.  Even if you don't
know python, look for "pressure calculations" in the code and read the
comment.

Looking at the driver, it looks like "abs_pressure" is the only thing
actually read from the station.

I would suggest:

  look at your database and the values for station pressure ("pressure")
  and barometric pressure.  Maybe change your skin to also graph station
  pressure.

  run for an hour with barometer set to prefer_hardware, and for an hour
  with it set to prefer_software.  Or longer, doesn't matter.  See how
  pressure/barometer relate and if it is any different.  I am just not
  seeing a hardware path for barometer.

  probably conclude that the behavior is the same, but that
  prefer_software is cleaner because it documents what happens.

  run for an hour with your newly-concluded-as-right prefer_software
  setting and the 

Re: [weewx-user] Barometer and pressure once again

2023-08-31 Thread Tomasz Lewicki
Rainer, Greg,

thank you both for thoughts and hints. Indeed, when I wrote "When 
calculated by Weewx itself ("software" option enabled in weewx.conf), my 
weather station shows 1001 hPa - still too low", I meant what Weewx 
calculates and show on my webpage, not on console's display - display is 
completely wrong in my opinion.

According to design of PWS, I own Ambient Weather WS-1001-WiFi clone. I use 
HP-1000 driver. I don't know if it is designed wrong or not, but I know 
that many people still use it.

Manual for my station say "To determine the relative pressure for your 
location, locate an official reporting station near you (the internet is 
the best source for real time barometer conditions, such as Weather.com or 
Wunderground.com), and set your weather station to match the official 
reporting station." I understand it, I should calibrate PWS entering proper 
value from METAR for example.

But I still don't understand why Weewx, using "software" option for 
calculating the sea-level (relative) pressure, shows too low value. As I 
said, my station location AMSL in weewx.conf is "altitude = 550, meter" 
(and for me it is neglible if it is 552 or 560; it is fraction of 1 hPa). 
So the only way to show "real" value is to calibrate the relative pressure 
(barometer in Weewx's terms) on the station's display and set 
"prefer_hardware" in weewx.conf? I'm really confused.

Or maybe I have some units in weewx.conf messed up? I use metric system so 
I entered meters when it was possible.

czwartek, 31 sierpnia 2023 o 02:39:14 UTC+2 Greg Troxel napisał(a):

> from the wiki page I sent
>
> For example, the FineOffset consoles can display either the station
> pressure (called 'absolute' pressure) or the station pressure plus an
> offset (called 'relative' pressure). T
>
> So Fine Offset equipment just does pressure badly.
>
> So get station pressure into weewx, do software from that, and tape over
> the "relative pressure" display on the console so nobody can see it!
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/973dedbe-af6f-4daf-8fbe-9050b8681d4dn%40googlegroups.com.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread 'Jon Fear' via weewx-user
>From what I can see, looks promising however I think I will wait. I will 
need to run two instances to capture from both the Wittboy and a Davis Vue 
in the near future, I will do that once released. It will be good to be 
able to compare datasets based on the same location.

Is there a time line for release or is it "when it is ready"? I see there 
is a new version of the Divumwx skin which will be ready about the time of 
release. I would like to try that Beta though...

Best wishes

Jon


On Thursday, 31 August 2023 at 07:00:56 UTC+1 Graham Eddy wrote:

> my experiments with multiple instances and topologies have been very 
> smooth with pip install - that is quite elegant.
> i tried the documented github install and fell on my face, even after 
> working out to select V5 to clone. i’m not github-savvy (but i look at the 
> source code a lot) so ‘here be dragons’ might be a useful comment in the 
> github install notes
> *⊣GE⊢*
>
> On 31 Aug 2023, at 11:11 am, Tom Keffer  wrote:
>
> It's pretty stable. Most of the work now is about smoothing out the 
> installation process. 
>
> -tk
>
> On Wed, Aug 30, 2023 at 6:07 PM DR  wrote:
>
>> I have looked gitHub and see there is a 5.0 beta out there.
>>
>>
>> I am wondering if it is stable enough for a casual user to fiddle around 
>> with it before official release, or should only experts be using it now 
>> to test and give feedback to the developers?
>>
>>
>> Just curious.  Dale
>>
>>
>> -- 
>> 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/98fdaa7f-ab40-26e7-326e-dd958fb6695c%40gmail.com
>> .
>>
>
> -- 
> 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/CAPq0zEBQ8tRZ6Nig-LZAw2xNx9mgqAngwDtXHqD0UBtKavnX4w%40mail.gmail.com
>  
> 
> .
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/13d4c320-7414-468c-a01b-f021a5ff662bn%40googlegroups.com.


Re: [weewx-user] Is WeeWx 5.0 beta stable enough for non-experts to fool around with?

2023-08-31 Thread Graham Eddy
my experiments with multiple instances and topologies have been very smooth 
with pip install - that is quite elegant.
i tried the documented github install and fell on my face, even after working 
out to select V5 to clone. i’m not github-savvy (but i look at the source code 
a lot) so ‘here be dragons’ might be a useful comment in the github install 
notes
⊣GE⊢

> On 31 Aug 2023, at 11:11 am, Tom Keffer  wrote:
> 
> It's pretty stable. Most of the work now is about smoothing out the 
> installation process. 
> 
> -tk
> 
> On Wed, Aug 30, 2023 at 6:07 PM DR  > wrote:
>> I have looked gitHub and see there is a 5.0 beta out there.
>> 
>> 
>> I am wondering if it is stable enough for a casual user to fiddle around 
>> with it before official release, or should only experts be using it now 
>> to test and give feedback to the developers?
>> 
>> 
>> Just curious.  Dale
>> 
>> 
>> -- 
>> 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+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/98fdaa7f-ab40-26e7-326e-dd958fb6695c%40gmail.com.
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBQ8tRZ6Nig-LZAw2xNx9mgqAngwDtXHqD0UBtKavnX4w%40mail.gmail.com
>  
> .

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/A42B776D-921C-420D-AD50-33F0532C40EC%40geddy.au.