Re: [weewx-user] Re: weewx server?

2023-01-07 Thread John W. Springman III
I have a couple domain names from google domains for the couple websites I 
have.  The raspberry pi just runs weewx to upload my weather station to 
some of the options on there and the pi also has a broadcastify scanner 
feed that I have on there.   

On Friday, January 6, 2023 at 8:25:18 AM UTC-5 Cameron D wrote:

> Are you saying that you have a registered domain name (and that is as far 
> as you have gone), or that you have a web server that is already 
> successfully serving other pages to the public internet? 
>  What exactly is that raspberry pi doing?  If it is serving web pages, is 
> it the same machine that is running weewx?
>
> On Friday, 6 January 2023 at 6:35:21 pm UTC+10 kb3...@gmail.com wrote:
>
>> Lots of info.  Thanks.  I  have a website domain already and use a 
>> raspberry pi for this.  I apparently just can't seem to get it to show 
>> other than on the local network.  
>>
>> On Thursday, January 5, 2023 at 12:13:20 PM UTC-5 pannetron wrote:
>>
>>> If you host a public website from a personal Linux server, as I do, look 
>>> into using fail2ban as a way to detect and block some bad actor bots.  My 
>>> implementation currently has about 2500 IPs blocked because they were 
>>> looking for typical webserver security flaws.
>>>
>>> On Wednesday, January 4, 2023 at 11:11:49 AM UTC-7 do...@dougjenkins.com 
>>> wrote:
>>>
 Glad some of you find this useful.

 I have been using this method since it came out this summer (July 
 2022). I run my infrastructure (Web Server, WeeWX, MQTT, MariaDB) as 
 containers in one stack in its own network all in Docker. I do this to 
 limit what the cloudflare tunnel can access on my network (just WeeWx 
 stuff). All of this works in docker in one stack and one YAML file!

 Like Tom Lawerence mentioned in the video I attached, you have to put 
 Cloudflare in your "circle of trust" as you are depending on them for both 
 the client and server/edge side of the tunnel. You have to make that 
 determination on your own if you are comfortable with that.

 As other methods mentioned here, they are all great alternatives. I was 
 not aware adafriut offered a dashboard to present your data. That can be a 
 good alternative than going through the hassle of hosting a full website 
 for your station.

 If I get a free moment in a few weeks, I can post a step-by-step 
 article on onboarding your WeeWX weather station as a public website using 
 Cloudflare. I think it can help a lot of users who struggle with the 
 network & security setup.

 DDJ

 On Wed, Jan 4, 2023 at 12:49 PM vince  wrote:

> On Tuesday, January 3, 2023 at 6:41:01 PM UTC-8 do...@dougjenkins.com 
> wrote:
>
>> If you are willing to roll up your sleeves and get technical, serving 
>> your website at home can be done safely and securely without changing 
>> your 
>> firewall. There are some steps to do, but at the end it will save you 
>> money 
>> and it will give you some real-world IT experience.
>>
>>
> Very cool - thanks for the pointer to the video.  I hadn't previously 
> figured out the Zero Trust terminology enough to try the tunnel stuff. 
> I'll 
> have to try the tunnel thing too 
>
> For the original poster, Doug's steps 1-3 are very easy.  I'd 
> previously done that using Google Domains ($12/year).
>
> Note - you probably still want to possibly harden your weewx webserver 
> a bit.  There are zillions of bots trying to attack web servers 
> 'especially' all things WordPress.  If you go just with a vanilla weewx 
> setup you're likely in very good shape straight out of the box.  Cool 
> cheap 
> option for sure.
>
> -- 
> 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/56afd382-a9ba-49e7-831f-2813872d6db0n%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/bd763a53-1904-477f-960f-dcbf8c110ad5n%40googlegroups.com.


[weewx-user] How to use SQlite database to generate date to date images ?

2023-01-07 Thread Jean-Luc kligler
Hello all !
I'use a small station using weewx with an sdr key
 . It has the standard skin that gives me pictures for last day, week, 
month and year . 

I'm searching for a solution to generate images from "old" months or " date 
to date " 
ex : today i'd like to generate a picture with temperature from 2021/07/01 
to 2021/07/31 .

Do you know an external software, a weewx-plugin or maybe another 
weewx-skin that can extract the datas in the sqlite database and generate 
the picture ? 
Hope you have an idea ! 

have a nice WE ! 

-- 
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/37d9c1f2-95d4-4f5b-91f2-62d7e026c184n%40googlegroups.com.


[weewx-user] Re: How to use SQlite database to generate date to date images ?

2023-01-07 Thread storm...@gmail.com
Take a look at belchertown skin:

https://github.com/poblabs/weewx-belchertown

On Saturday, January 7, 2023 at 10:35:47 AM UTC-5 jlk...@gmail.com wrote:

> Hello all !
> I'use a small station using weewx with an sdr key
>  . It has the standard skin that gives me pictures for last day, week, 
> month and year . 
>
> I'm searching for a solution to generate images from "old" months or " 
> date to date " 
> ex : today i'd like to generate a picture with temperature from 2021/07/01 
> to 2021/07/31 .
>
> Do you know an external software, a weewx-plugin or maybe another 
> weewx-skin that can extract the datas in the sqlite database and generate 
> the picture ? 
> Hope you have an idea ! 
>
> have a nice WE ! 
>

-- 
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/ea1f7eb5-3779-4cae-a154-9691675e9aa9n%40googlegroups.com.


[weewx-user] Re: How to use SQlite database to generate date to date images ?

2023-01-07 Thread storm...@gmail.com
Take a look at Belchertown skin:

https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation

https://github.com/poblabs/weewx-belchertown

On Saturday, January 7, 2023 at 10:35:47 AM UTC-5 jlk...@gmail.com wrote:

> Hello all !
> I'use a small station using weewx with an sdr key
>  . It has the standard skin that gives me pictures for last day, week, 
> month and year . 
>
> I'm searching for a solution to generate images from "old" months or " 
> date to date " 
> ex : today i'd like to generate a picture with temperature from 2021/07/01 
> to 2021/07/31 .
>
> Do you know an external software, a weewx-plugin or maybe another 
> weewx-skin that can extract the datas in the sqlite database and generate 
> the picture ? 
> Hope you have an idea ! 
>
> have a nice WE ! 
>

-- 
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/46c814d8-c522-4b2f-8b20-9c0d0f22ac38n%40googlegroups.com.


Re: [weewx-user] How to use SQlite database to generate date to date images ?

2023-01-07 Thread Chuck Rhode
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 7 Jan 2023 07:35:47 -0800 (PST)
Jean-Luc kligler  wrote:

> I'm searching for a solution to generate images from "old" months or
> "date to date."

> Do you know an external software, a weewx-plugin or maybe another
> weewx-skin that can extract the datas in the sqlite database and
> generate the picture?

It's overkill and a lot to install, but I believe the Phenology
Extension has the capability.

- - https://lacusveris.com/Phenology/research.shtml#4.6.1

I've used it on day plots but not month plots.  It may — perhaps —
work for you.  Good luck!

- -- 
.. Be Seeing You,
.. Chuck Rhode, Sheboygan, WI, USA
.. Weather:  http://LacusVeris.com/WX
.. 26° — Wind NNW 6 mph — Sky overcast.

-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCY7mejAAKCRBg2/xipKOW
Uve6AJ9rp9n2660svV5gsis3txV44rTO9QCfd4TqA5DFcg/qWrJ2sNOI/ShU9/w=
=zxCZ
-END PGP SIGNATURE-

-- 
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/20230107103212.6b74795a%40wealthy.


[weewx-user] Integrating values from Airthings Wave Plus

2023-01-07 Thread Dave Schwartz
Hi, first time poster here...

I'm trying to integrate the values from my new Airthings Wave Plus air 
quality monitor.

Some background info: On an RPi 3+, I'm using rtl_433 to grab Acurite 
outdoor sensor values via RF and airthings-mqqt-ha to grab Airthings values 
via Bluetooth and send MQTT messages which are being caught by the 
MQTTSubscribe driver. I'm using the noewx-material skin to do the HTML 
generation.  I used to have a BME280 sensor on the GPIO bus to provide 
inside temperature, humidity and pressure and have successfully displaced 
that with the like values from the Airthings.

Now I want to integrate the other three sensor values: CO2, Radon and VOC.

I saw that Weeex has an appropriate co2 member with the right ppm 
unit/label and when I added the stanza to the MQTTSubcribe section and the 
neowx-material skin.conf values_order and chart_order strings I get the co2 
ppm value on the web page. [MQTTSubscribe didn't like 'units = ppm' but 
letting it default to float works OK.]

Now I want to do the same for Radon (unit Bq) and VOC (unit ppb). 

There aren't obvious specific places to pass through these values so how 
can I use some of the large number of unused sensor names to put these to 
values in and configure the neowx-material skin to get them onto the page 
with the right label and unit?

Thanks
...Dave

-- 
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/d91f52b1-5be0-43f9-990e-8a35f22e373dn%40googlegroups.com.


[weewx-user] Corrections for barometric pressure from TWI station

2023-01-07 Thread pannetron
Newbie here, coming from wview, and using a Texas Weather Instruments 
station.  I've adjusted my console to display -- and report via its serial 
port -- an "altimeter" version of my barometric pressure so I can most 
easily compare my readings with other stations.  Using the default weewx 
configuration, it must assume the reported pressure is gauge pressure since 
the calculated altimeter reading is up over 41"!  At my home's altitude of 
8258', my gauge pressure is around 22.15".  It seems that I have two 
options for configuring weewx to see my correct barometric pressure.  One 
is to set the 
[StdWXCalculate] like this:

[[Calculations]]

pressure = software
altimeter = hardware
barometer = software
   
My other option to let weewx assume the pressure my station reports is 
gauge pressure and apply a correction offset of approximately -8".  Which 
option is the preferred method?

One final question.  Since my barometric pressure sensor is indoors in the 
console, should the temperature used for corrections be indoor or outdoor 
temperature?

Thanks, Russ.

-- 
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/24d0dfc1-2931-4c53-98e7-38b739954164n%40googlegroups.com.


[weewx-user] Fail to upload data via ftp to online server

2023-01-07 Thread Gorka Aurre
Dear community, 

This is my first post in this group, so forgive me if I miss some pieces in 
the information, I'll do my best. I managed all the road by myself to be 
able to get the data from sensors, drive it to weewx input and upload it to 
Wunderground (still don't know how -I am beginner in this- but I did it). 
But, this post is because I'm having problems to upload weewx data to an 
online server via ftp (the standard ftp service weewx has by default). 

I've tried connecting directly with Filezilla to the cPanel to see if 
connection problems were originated in the cPanel and it worked OK. Even I 
tried to connect manually with ftp client from Shell directly from the RPi 
and worked fine. But when it comes to weewx working on it, it gives me 
"socket.timeout: timeout" error. Let me copy error log obtained (due to 
security reasons I have changed addresses by -MYSERVER.COM-):

Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload: 
Attempting secure connection to ftp.MYSERVER.COM
Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload: Secure 
data connection to ftp.MYSERVER.COM
Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload: 0 
./daytempfeel.png 
efffd6c4f0395079d7355d145f1f8908a591f54ac06b9d2d1c42bd3ba263bbb6
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
ftpgenerator: (2): caught exception '': timed out
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 437, in run
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  n = ftp_data.run()
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  ftp_server.connect(self.server, self.port)
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/lib/python3.9/ftplib.py", line 160, in connect
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  self.welcome = self.getresp()
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/lib/python3.9/ftplib.py", line 242, in getresp
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  resp = self.getmultiline()
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/lib/python3.9/ftplib.py", line 232, in getmultiline
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  nextline = self.getline()
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/lib/python3.9/ftplib.py", line 210, in getline
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  line = self.file.readline(self.maxline + 1)
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
File "/usr/lib/python3.9/socket.py", line 704, in readinto
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  return self._sock.recv_into(b)
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
  socket.timeout: timed out
Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine: 
ftpgenerator: Upload failed

Weewx version I am using is 4.9.1, recently installed. All other services 
work OK, writing in database, reporting to Wunderground, creating html 
reports, etc, but I want to let it upload this html reports to my server. 

Hope you guys could help with this issue, it would be very appreciated. 

Thanks in advance!

Gorka

-- 
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/6b66d067-7a71-4d35-9954-a591a8bb616bn%40googlegroups.com.


Re: [weewx-user] Fail to upload data via ftp to online server

2023-01-07 Thread Tom Keffer
The symptoms are normally a "Errno 0" error, but some FTP servers have a
problem with a secure connection.

Here are two things you can try.

First, under section [[FTP]] in weewx.conf, set reuse_ssl to True.

[[FTP]]
...
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
reuse_ssl = True
...


See if that helps. If it does not, then remove it and try a different
option, this time secure_data, set to False:

[[FTP]]
...
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
secure_data = False
...

See if that helps. If not, we'll go to the next level.

-tk






On Sat, Jan 7, 2023 at 1:45 PM Gorka Aurre  wrote:

> Dear community,
>
> This is my first post in this group, so forgive me if I miss some pieces
> in the information, I'll do my best. I managed all the road by myself to be
> able to get the data from sensors, drive it to weewx input and upload it to
> Wunderground (still don't know how -I am beginner in this- but I did it).
> But, this post is because I'm having problems to upload weewx data to an
> online server via ftp (the standard ftp service weewx has by default).
>
> I've tried connecting directly with Filezilla to the cPanel to see if
> connection problems were originated in the cPanel and it worked OK. Even I
> tried to connect manually with ftp client from Shell directly from the RPi
> and worked fine. But when it comes to weewx working on it, it gives me
> "socket.timeout: timeout" error. Let me copy error log obtained (due to
> security reasons I have changed addresses by -MYSERVER.COM-):
>
> Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload:
> Attempting secure connection to ftp.MYSERVER.COM
> Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload: Secure
> data connection to ftp.MYSERVER.COM
> Jan  7 22:36:10 raspberrypi weewx[10348] DEBUG weeutil.ftpupload: 0
> ./daytempfeel.png
> efffd6c4f0395079d7355d145f1f8908a591f54ac06b9d2d1c42bd3ba263bbb6
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> ftpgenerator: (2): caught exception '': timed out
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   Traceback (most recent call last):
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/reportengine.py", line 437, in run
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   n = ftp_data.run()
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   ftp_server.connect(self.server, self.port)
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/lib/python3.9/ftplib.py", line 160, in connect
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   self.welcome = self.getresp()
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/lib/python3.9/ftplib.py", line 242, in getresp
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   resp = self.getmultiline()
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/lib/python3.9/ftplib.py", line 232, in getmultiline
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   nextline = self.getline()
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/lib/python3.9/ftplib.py", line 210, in getline
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   line = self.file.readline(self.maxline + 1)
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> File "/usr/lib/python3.9/socket.py", line 704, in readinto
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   return self._sock.recv_into(b)
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
>   socket.timeout: timed out
> Jan  7 22:36:26 raspberrypi weewx[6258] ERROR weewx.reportengine:
> ftpgenerator: Upload failed
>
> Weewx version I am using is 4.9.1, recently installed. All other services
> work OK, writing in database, reporting to Wunderground, creating html
> reports, etc, but I want to let it upload this html reports to my server.
>
> Hope you guys could help with this issue, it would be very appreciated.
>
> Thanks in advance!
>
> Gorka
>
> --
> 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/6b66d067-7a71-4d35-9954-a591a8bb616

[weewx-user] Re: Corrections for barometric pressure from TWI station

2023-01-07 Thread Jeff A. D.
Did you get expected altimeter readings with wview?  I don't know about 
TWI, but I know the original Davis VP adjusted barometer that uses 
temperature correction renders meaningless (to me at least) values at over 
7000ft, but then the >41" you're seeing is also meaningless to me.

On my VP console I have an offset added of close to 7" to get a reasonable 
reading on the console, then I have my weewx config file set up as:

[StdCalibrate]

[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
barometer = 1.298 * barometer - 8.918558
altimeter = barometer
pressure = barometer * 0.766377

The idea being that the station pressure, and also each change in pressure, 
is approx. .298 less than SLP.  If my math is correct your pressure would 
need to be adjusted closer to .35.  Assuming you don't use an offset you 
could just set "barometer = 1.35 * barometer", or if you do use an offset 
of 8" it would be something like "barometer = 1.35 * barometer - 10.90" or 
"barometer = 1.35 * (barometer - 8)".

Maybe someone else can give a better solution or correct my calculations, 
but at least I seem to get more reasonable readings.


On Saturday, January 7, 2023 at 2:25:28 PM UTC-7 pannetron wrote:

> Newbie here, coming from wview, and using a Texas Weather Instruments 
> station.  I've adjusted my console to display -- and report via its serial 
> port -- an "altimeter" version of my barometric pressure so I can most 
> easily compare my readings with other stations.  Using the default weewx 
> configuration, it must assume the reported pressure is gauge pressure since 
> the calculated altimeter reading is up over 41"!  At my home's altitude of 
> 8258', my gauge pressure is around 22.15".  It seems that I have two 
> options for configuring weewx to see my correct barometric pressure.  One 
> is to set the 
> [StdWXCalculate] like this:
> 
> [[Calculations]]
> 
> pressure = software
> altimeter = hardware
> barometer = software
>
> My other option to let weewx assume the pressure my station reports is 
> gauge pressure and apply a correction offset of approximately -8".  Which 
> option is the preferred method?
>
> One final question.  Since my barometric pressure sensor is indoors in the 
> console, should the temperature used for corrections be indoor or outdoor 
> temperature?
>
> Thanks, Russ.
>

-- 
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/cfecbdb3-02de-4e58-8bdd-b667511cd8e8n%40googlegroups.com.


[weewx-user] Re: How to use SQlite database to generate date to date images ?

2023-01-07 Thread Jeff A. D.
I believe

  sudo wee_reports --date=2021-08-01 --time=00:00

will generate reports and graphs for the preceding day/week/month/year, 
including the month of July you're looking for.

I've tried to use SQLite Browser and such and couldn't get them to work the 
way I wanted to produce graphs and such.

On Saturday, January 7, 2023 at 8:35:47 AM UTC-7 jlk...@gmail.com wrote:

> Hello all !
> I'use a small station using weewx with an sdr key
>  . It has the standard skin that gives me pictures for last day, week, 
> month and year . 
>
> I'm searching for a solution to generate images from "old" months or " 
> date to date " 
> ex : today i'd like to generate a picture with temperature from 2021/07/01 
> to 2021/07/31 .
>
> Do you know an external software, a weewx-plugin or maybe another 
> weewx-skin that can extract the datas in the sqlite database and generate 
> the picture ? 
> Hope you have an idea ! 
>
> have a nice WE ! 
>

-- 
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/2ad973a4-283a-4c27-9e7a-c8717f0b01cfn%40googlegroups.com.


[weewx-user] Re: Corrections for barometric pressure from TWI station

2023-01-07 Thread vince
Be sure to read 
https://github.com/weewx/weewx/wiki/Barometer,-pressure,-and-altimeter

Perhaps not a help, but Weatherflow has the calculations they use documented
https://weatherflow.github.io/Tempest/api/derived-metric-formulas.html

A while back I did the sea-level pressure calculation using the WF formula 
and it did match up with the offset I saw between a Weatherflow station and 
a VP2 for my low (365') elevation.   There's some code 
at https://github.com/vinceskahan/weatherflow-calc-checker if you wanted to 
take a look there for some code to punch some numbers into

(my example - I found the WF gear had a constant offset from the VP2 gear, 
so it was clear that one station was reporting data corrected to sealevel 
and one wasn't)


On Saturday, January 7, 2023 at 9:38:45 PM UTC-8 Jeff A. D. wrote:

> Did you get expected altimeter readings with wview?  I don't know about 
> TWI, but I know the original Davis VP adjusted barometer that uses 
> temperature correction renders meaningless (to me at least) values at over 
> 7000ft, but then the >41" you're seeing is also meaningless to me.
>
> On my VP console I have an offset added of close to 7" to get a reasonable 
> reading on the console, then I have my weewx config file set up as:
>
> [StdCalibrate]
> 
> [[Corrections]]
> # For each type, an arbitrary calibration expression can be given.
> # It should be in the units defined in the StdConvert section.
> # Example:
> foo = foo + 0.2
> barometer = 1.298 * barometer - 8.918558
> altimeter = barometer
> pressure = barometer * 0.766377
>
> The idea being that the station pressure, and also each change in 
> pressure, is approx. .298 less than SLP.  If my math is correct your 
> pressure would need to be adjusted closer to .35.  Assuming you don't use 
> an offset you could just set "barometer = 1.35 * barometer", or if you do 
> use an offset of 8" it would be something like "barometer = 1.35 * 
> barometer - 10.90" or "barometer = 1.35 * (barometer - 8)".
>
> Maybe someone else can give a better solution or correct my calculations, 
> but at least I seem to get more reasonable readings.
>
>
> On Saturday, January 7, 2023 at 2:25:28 PM UTC-7 pannetron wrote:
>
>> Newbie here, coming from wview, and using a Texas Weather Instruments 
>> station.  I've adjusted my console to display -- and report via its serial 
>> port -- an "altimeter" version of my barometric pressure so I can most 
>> easily compare my readings with other stations.  Using the default weewx 
>> configuration, it must assume the reported pressure is gauge pressure since 
>> the calculated altimeter reading is up over 41"!  At my home's altitude of 
>> 8258', my gauge pressure is around 22.15".  It seems that I have two 
>> options for configuring weewx to see my correct barometric pressure.  One 
>> is to set the 
>> [StdWXCalculate] like this:
>> 
>> [[Calculations]]
>> 
>> pressure = software
>> altimeter = hardware
>> barometer = software
>>
>> My other option to let weewx assume the pressure my station reports is 
>> gauge pressure and apply a correction offset of approximately -8".  Which 
>> option is the preferred method?
>>
>> One final question.  Since my barometric pressure sensor is indoors in 
>> the console, should the temperature used for corrections be indoor or 
>> outdoor temperature?
>>
>> Thanks, Russ.
>>
>

-- 
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/539522bd-e927-4554-8d2e-27817e65e2e9n%40googlegroups.com.