Re: [weewx-user] WeewX FTP-Upload failed

2023-11-07 Thread Michael Büttner
Hello HaeadwindJack,

your tip was the solution! Now the upload works again.
Thank you very much.

HeadwindJack schrieb am Mittwoch, 8. November 2023 um 06:51:54 UTC+1:

> Michael,
>
> Try using weewx-sftp. Operates the same as FTP and It works for me.
>
> On Wednesday, November 8, 2023 at 3:58:25 PM UTC+11 Michael Büttner wrote:
>
>> Hi Tom,
>> I have installed Python 3.11.2.
>> I tried both options you suggested. But unfortunately it doesn't work.
>> What's strange is that it works with Filezilla without any problems..
>>
>> Tom Keffer schrieb am Mittwoch, 8. November 2023 um 00:52:15 UTC+1:
>>
>>> This may be a change in your FTP server. A few things to try:
>>>
>>> 1. What version of Python are you using?
>>>
>>> 2. Try setting option secure_data 
>>>  to False:
>>>
>>> [[FTP]]
>>> ... (as before) ...
>>> secure_data = false
>>>
>>> 3. If that doesn't work, then try setting option reuse_ssl to True:
>>>
>>> [[FTP]]
>>> ... (as before) ...
>>> reuse_ssl = true
>>>
>>>
>>>
>>>
>>> On Tue, Nov 7, 2023 at 12:12 PM Michael Büttner  
>>> wrote:
>>>
 Good evening,

 I can no longer upload files from my raspi to my server. The connection 
 and upload with Fillezilla works perfectly.

 I use:
 Raspberry
 PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
 NAME="Raspbian GNU/Linux"
 VERSION_ID="12"
 VERSION="12 (bookworm)"
 VERSION_CODENAME=bookworm
 ID=raspbian

 and

 Weewx Version 4.10.2

 My weex-config looks like this:

 enable = true
 user = XX-neu
 password = XXX 
 server = X-data.host# The ftp server name, e.g, ww>
 path = /herbst_weewx# The destination directory, e.g., 
 /weather

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

 # To upload files from something other than what HTML_ROOT is 
 set
 # to above, specify a different HTML_ROOT here.
 #HTML_ROOT = /var/www/html/weewx

 # Most FTP servers use port 21
 port = 22 

 This is the error message:

 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: ftpgenerator: (2): caught exception '>>> 'TimeoutError'>': timed out
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   Traceback (most recent call last):
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File 
 "/usr/share/weewx/weewx/reportengine.py", line 437, in run
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   n = ftp_data.run()
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   ^^
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File 
 "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   ftp_server.connect(self.server, 
 self.port)
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
 line 162, in connect
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   self.welcome = self.getresp()
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:  ^^
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
 line 244, in getresp
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   resp = self.getmultiline()
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:  ^^^
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
 line 234, in getmultiline
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:   nextline = self.getline()
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine:  ^^
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
 line 212, in getline
 Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
 weewx.reportengine: 

Re: [weewx-user] WeewX FTP-Upload failed

2023-11-07 Thread HeadwindJack
Michael,

Try using weewx-sftp. Operates the same as FTP and It works for me.

On Wednesday, November 8, 2023 at 3:58:25 PM UTC+11 Michael Büttner wrote:

> Hi Tom,
> I have installed Python 3.11.2.
> I tried both options you suggested. But unfortunately it doesn't work.
> What's strange is that it works with Filezilla without any problems..
>
> Tom Keffer schrieb am Mittwoch, 8. November 2023 um 00:52:15 UTC+1:
>
>> This may be a change in your FTP server. A few things to try:
>>
>> 1. What version of Python are you using?
>>
>> 2. Try setting option secure_data 
>>  to False:
>>
>> [[FTP]]
>> ... (as before) ...
>> secure_data = false
>>
>> 3. If that doesn't work, then try setting option reuse_ssl to True:
>>
>> [[FTP]]
>> ... (as before) ...
>> reuse_ssl = true
>>
>>
>>
>>
>> On Tue, Nov 7, 2023 at 12:12 PM Michael Büttner  
>> wrote:
>>
>>> Good evening,
>>>
>>> I can no longer upload files from my raspi to my server. The connection 
>>> and upload with Fillezilla works perfectly.
>>>
>>> I use:
>>> Raspberry
>>> PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
>>> NAME="Raspbian GNU/Linux"
>>> VERSION_ID="12"
>>> VERSION="12 (bookworm)"
>>> VERSION_CODENAME=bookworm
>>> ID=raspbian
>>>
>>> and
>>>
>>> Weewx Version 4.10.2
>>>
>>> My weex-config looks like this:
>>>
>>> enable = true
>>> user = XX-neu
>>> password = XXX 
>>> server = X-data.host# The ftp server name, e.g, ww>
>>> path = /herbst_weewx# The destination directory, e.g., 
>>> /weather
>>>
>>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>>> servers
>>> # support this.
>>> secure_ftp = True 
>>>
>>> # To upload files from something other than what HTML_ROOT is set
>>> # to above, specify a different HTML_ROOT here.
>>> #HTML_ROOT = /var/www/html/weewx
>>>
>>> # Most FTP servers use port 21
>>> port = 22 
>>>
>>> This is the error message:
>>>
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: ftpgenerator: (2): caught exception '>> 'TimeoutError'>': timed out
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   Traceback (most recent call last):
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File 
>>> "/usr/share/weewx/weewx/reportengine.py", line 437, in run
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   n = ftp_data.run()
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   ^^
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File 
>>> "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   ftp_server.connect(self.server, 
>>> self.port)
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>>> line 162, in connect
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   self.welcome = self.getresp()
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:  ^^
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>>> line 244, in getresp
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   resp = self.getmultiline()
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:  ^^^
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>>> line 234, in getmultiline
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   nextline = self.getline()
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:  ^^
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>>> line 212, in getline
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:   line = 
>>> self.file.readline(self.maxline + 1)
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> weewx.reportengine:  
>>> 
>>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>>> 

Re: [weewx-user] WeewX FTP-Upload failed

2023-11-07 Thread Michael Büttner
Hi Tom,
I have installed Python 3.11.2.
I tried both options you suggested. But unfortunately it doesn't work.
What's strange is that it works with Filezilla without any problems..

Tom Keffer schrieb am Mittwoch, 8. November 2023 um 00:52:15 UTC+1:

> This may be a change in your FTP server. A few things to try:
>
> 1. What version of Python are you using?
>
> 2. Try setting option secure_data 
>  to False:
>
> [[FTP]]
> ... (as before) ...
> secure_data = false
>
> 3. If that doesn't work, then try setting option reuse_ssl to True:
>
> [[FTP]]
> ... (as before) ...
> reuse_ssl = true
>
>
>
>
> On Tue, Nov 7, 2023 at 12:12 PM Michael Büttner  
> wrote:
>
>> Good evening,
>>
>> I can no longer upload files from my raspi to my server. The connection 
>> and upload with Fillezilla works perfectly.
>>
>> I use:
>> Raspberry
>> PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
>> NAME="Raspbian GNU/Linux"
>> VERSION_ID="12"
>> VERSION="12 (bookworm)"
>> VERSION_CODENAME=bookworm
>> ID=raspbian
>>
>> and
>>
>> Weewx Version 4.10.2
>>
>> My weex-config looks like this:
>>
>> enable = true
>> user = XX-neu
>> password = XXX 
>> server = X-data.host# The ftp server name, e.g, ww>
>> path = /herbst_weewx# The destination directory, e.g., 
>> /weather
>>
>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>> servers
>> # support this.
>> secure_ftp = True 
>>
>> # To upload files from something other than what HTML_ROOT is set
>> # to above, specify a different HTML_ROOT here.
>> #HTML_ROOT = /var/www/html/weewx
>>
>> # Most FTP servers use port 21
>> port = 22 
>>
>> This is the error message:
>>
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: ftpgenerator: (2): caught exception '> 'TimeoutError'>': timed out
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   Traceback (most recent call last):
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File 
>> "/usr/share/weewx/weewx/reportengine.py", line 437, in run
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   n = ftp_data.run()
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   ^^
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File 
>> "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   ftp_server.connect(self.server, 
>> self.port)
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>> line 162, in connect
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   self.welcome = self.getresp()
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:  ^^
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>> line 244, in getresp
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   resp = self.getmultiline()
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:  ^^^
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>> line 234, in getmultiline
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   nextline = self.getline()
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:  ^^
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
>> line 212, in getline
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   line = 
>> self.file.readline(self.maxline + 1)
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:  
>> 
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine: File "/usr/lib/python3.11/socket.py", 
>> line 706, in readinto
>> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
>> weewx.reportengine:   return self._sock.recv_into(b)
>> Nov  7 20:26:20 weewx071123 python3[3260]: 

Re: [weewx-user] Acurite inHumidity

2023-11-07 Thread p q
I'm pretty sure it isn't included on the USB data. I added a separate
humidity sensor to get the data.

On Tue, Nov 7, 2023, 1:48 PM buck...@gmail.com  wrote:

> Hi There,
>
> Can anyone point me in the right direction to adding inHumidy to the weewx
> ui?
>
> I've tried adding $current.inHumidity to the skin's index.html.tmpl. The
> result is "n/a" so I'm not sure weewx is collecting (or even is able to
> collect) that parameter.
>
> AcuRite 06014RM on Raspberry Pi, and inside humidity is of course
> displayed on the base station.
>
> Insights appreciated,
> Tom
>
> --
> 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/76662445-20a7-4cd2-b742-4bf6abc27b70n%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/CAA1SM21bdnkxYfPDmWDfdDEu9Qaahid%2BQF1b4urGMhiA0XgFfQ%40mail.gmail.com.


Re: [weewx-user] WeewX FTP-Upload failed

2023-11-07 Thread Tom Keffer
This may be a change in your FTP server. A few things to try:

1. What version of Python are you using?

2. Try setting option secure_data
 to False:

[[FTP]]
... (as before) ...
secure_data = false

3. If that doesn't work, then try setting option reuse_ssl to True:

[[FTP]]
... (as before) ...
reuse_ssl = true




On Tue, Nov 7, 2023 at 12:12 PM Michael Büttner 
wrote:

> Good evening,
>
> I can no longer upload files from my raspi to my server. The connection
> and upload with Fillezilla works perfectly.
>
> I use:
> Raspberry
> PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
> NAME="Raspbian GNU/Linux"
> VERSION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=raspbian
>
> and
>
> Weewx Version 4.10.2
>
> My weex-config looks like this:
>
> enable = true
> user = XX-neu
> password = XXX
> server = X-data.host# The ftp server name, e.g, ww>
> path = /herbst_weewx# The destination directory, e.g., /weather
>
> # Set to True for an FTP over TLS (FTPS) connection. Not all
> servers
> # support this.
> secure_ftp = True
>
> # To upload files from something other than what HTML_ROOT is set
> # to above, specify a different HTML_ROOT here.
> #HTML_ROOT = /var/www/html/weewx
>
> # Most FTP servers use port 21
> port = 22
>
> This is the error message:
>
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: ftpgenerator: (2): caught exception ' 'TimeoutError'>': timed out
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   Traceback (most recent call last):
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File
> "/usr/share/weewx/weewx/reportengine.py", line 437, in run
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   n = ftp_data.run()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File
> "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   ftp_server.connect(self.server,
> self.port)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py",
> line 162, in connect
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   self.welcome = self.getresp()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:  ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py",
> line 244, in getresp
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   resp = self.getmultiline()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:  ^^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py",
> line 234, in getmultiline
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   nextline = self.getline()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:  ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py",
> line 212, in getline
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   line =
> self.file.readline(self.maxline + 1)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: 
> 
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: File "/usr/lib/python3.11/socket.py",
> line 706, in readinto
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   return self._sock.recv_into(b)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:  ^^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine:   TimeoutError: timed out
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR
> weewx.reportengine: ftpgenerator: Upload failed
>
>
> I've tried all variants, with ftp and sftp, changed port, even different
> login, but the error always 

Re: [weewx-user] I am a happy Weex user,

2023-11-07 Thread Nate Bargmann
Very nicely done!

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

-- 
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/20231107232920.6az2ggippefktz43%40n0nb.us.


signature.asc
Description: PGP signature


Re: [weewx-user] Driver and Skin for DAVIS Weatherlink Console 6313

2023-11-07 Thread Tom Keffer
Thanks for this contribution, Werner! I'm really glad to see that someone
tackled this.

I hope you don't mind a few suggestions.

General:

1. I would separate out the driver from the skin. Modular software is
always a better idea.
2. You do a lot of remapping from WL variables to names that are intended
to be used within the WeeWX system. This is normally done by a "sensor
map", which is read from weewx.conf, rather than hardwired into your code.
Many of the drivers on the wiki do this. Here's one: interceptor
.
3. One of those sensor maps should map the WL names as closely as possible
to the existing WeeWX names so that a user can use all those existing skins
out there without modification.
4. You redefine many existing types (e.g., dayRain). This is fine for your
own personal customization, but if you are going to redistribute a skin or
driver, it is not a good idea. There is a high likelihood that you will
collide with someone else's customization.
5. I think all of your "sun events" can already be calculated by the WeeWX
"Almanac" class.

Specific suggestions:

1. Some of your unit groups already exist. In particular, "group_amp",
"group_db".
2. There is no need for a "group_millivolts". Millivolts is just another
unit in group_volt. Units are generally named in the singular, so it should
be "millivolt".
3. There is already something like "sunshine_hours". It's called
"sunshineDur".
4. Some other observation types also already exist ("totalRain",
"stormRain", "rxCheckPercent", etc.).

Anyway, this is an important contribution! Thanks again.


On Tue, Nov 7, 2023 at 9:51 AM 'Werner Krenn' via weewx-user <
weewx-user@googlegroups.com> wrote:

> A driver (and Skin) for the DAVIS Weatherlink Console 6313 is now
> available.
> It's not the final state, but it already collects the necessary data.
>
> https://github.com/WernerKr/davisconsoleapi
>
> Example:
> https://www.pc-wetterstation.de/wetter/weewx7/index.html
> https://www.pc-wetterstation.de/wetter/weewx7/healthc/index.html
>
> --
> 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/f45b155d-646d-40e4-8c72-0d3071d2e2e4n%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/CAPq0zEA%2B1T3J8Xo-XhApLyaM%3DWhzvf1BAzZ9yyDPrLmvNmPP1w%40mail.gmail.com.


[weewx-user] I am a happy Weex user,

2023-11-07 Thread jschoonh
I am a happy Weex user,,, open source that allows easy customization. Thank 
you to all those who contributed to this. I have no questions. But for 
those who are interested in how I "publish" Weewx data, here is an 
unfinished website in Dutch about our life and hoby's. Six pages about 
weather, forecast and how I did "build" the weather pages. those pages are 
in Dutch and English
https://schooot.nl/weereng.php

-- 
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/1735c0fe-f5c4-4d15-9d2c-983879567339n%40googlegroups.com.


[weewx-user] I am a happy Weex user,

2023-11-07 Thread jschoonh
I am a happy Weex user,,, open source that allows easy customization. Thank 
you to all those who contributed to this. I have no questions. But for 
those who are interested in how I "publish" Weewx data, here is an 
unfinished website in Dutch about our life and hoby's. Six pages about 
weather, forecast and how I did "build" the weather pages. those pages are 
in Dutch and English

-- 
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/f92ddd3b-629d-44d0-a74e-b91f1e8e810bn%40googlegroups.com.


[weewx-user] Re: WeewX FTP-Upload failed

2023-11-07 Thread vince
The tls setting comes to mind...

On Tuesday, November 7, 2023 at 12:12:45 PM UTC-8 Michael Büttner wrote:

> Good evening,
>
> I can no longer upload files from my raspi to my server. The connection 
> and upload with Fillezilla works perfectly.
>
> I use:
> Raspberry
> PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
> NAME="Raspbian GNU/Linux"
> VERSION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=raspbian
>
> and
>
> Weewx Version 4.10.2
>
> My weex-config looks like this:
>
> enable = true
> user = XX-neu
> password = XXX 
> server = X-data.host# The ftp server name, e.g, ww>
> path = /herbst_weewx# The destination directory, e.g., /weather
>
> # Set to True for an FTP over TLS (FTPS) connection. Not all 
> servers
> # support this.
> secure_ftp = True 
>
> # To upload files from something other than what HTML_ROOT is set
> # to above, specify a different HTML_ROOT here.
> #HTML_ROOT = /var/www/html/weewx
>
> # Most FTP servers use port 21
> port = 22 
>
> This is the error message:
>
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: ftpgenerator: (2): caught exception ' 'TimeoutError'>': timed out
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   Traceback (most recent call last):
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File 
> "/usr/share/weewx/weewx/reportengine.py", line 437, in run
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   n = ftp_data.run()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File 
> "/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   ftp_server.connect(self.server, 
> self.port)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
> line 162, in connect
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   self.welcome = self.getresp()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:  ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
> line 244, in getresp
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   resp = self.getmultiline()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:  ^^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
> line 234, in getmultiline
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   nextline = self.getline()
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:  ^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
> line 212, in getline
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   line = 
> self.file.readline(self.maxline + 1)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:  
> 
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: File "/usr/lib/python3.11/socket.py", 
> line 706, in readinto
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   return self._sock.recv_into(b)
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:  ^^^
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine:   TimeoutError: timed out
> Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
> weewx.reportengine: ftpgenerator: Upload failed
>
>
> I've tried all variants, with ftp and sftp, changed port, even different 
> login, but the error always occurs. Does anyone have any idea why this 
> might be?
>
> Thank you
> Micha
>

-- 
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] WeewX FTP-Upload failed

2023-11-07 Thread Michael Büttner
Good evening,

I can no longer upload files from my raspi to my server. The connection and 
upload with Fillezilla works perfectly.

I use:
Raspberry
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian

and

Weewx Version 4.10.2

My weex-config looks like this:

enable = true
user = XX-neu
password = XXX 
server = X-data.host# The ftp server name, e.g, ww>
path = /herbst_weewx# The destination directory, e.g., /weather

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

# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = /var/www/html/weewx

# Most FTP servers use port 21
port = 22 

This is the error message:

Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: ftpgenerator: (2): caught exception '': timed out
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   Traceback (most recent call last):
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weewx/reportengine.py", line 437, in run
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   n = ftp_data.run()
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   ^^
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File 
"/usr/share/weewx/weeutil/ftpupload.py", line 175, in run
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   ftp_server.connect(self.server, 
self.port)
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
line 162, in connect
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   self.welcome = self.getresp()
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:  ^^
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
line 244, in getresp
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   resp = self.getmultiline()
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:  ^^^
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
line 234, in getmultiline
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   nextline = self.getline()
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:  ^^
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File "/usr/lib/python3.11/ftplib.py", 
line 212, in getline
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   line = 
self.file.readline(self.maxline + 1)
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:  

Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: File "/usr/lib/python3.11/socket.py", 
line 706, in readinto
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   return self._sock.recv_into(b)
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:  ^^^
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine:   TimeoutError: timed out
Nov  7 20:26:20 weewx071123 python3[3260]: weewx[3260] ERROR 
weewx.reportengine: ftpgenerator: Upload failed


I've tried all variants, with ftp and sftp, changed port, even different 
login, but the error always occurs. Does anyone have any idea why this 
might be?

Thank you
Micha

-- 
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/d7750d0d-5f5a-4a8e-baf8-d5a7e31823d1n%40googlegroups.com.


Re: [weewx-user] Driver and Skin for DAVIS Weatherlink Console 6313

2023-11-07 Thread Greg Troxel
"'Werner Krenn' via weewx-user"  writes:

> A driver (and Skin) for the DAVIS Weatherlink Console 6313 is now available.
> It's not the final state, but it already collects the necessary data.
>
> https://github.com/WernerKr/davisconsoleapi

Wow! a lot of progress and thanks for posting.

One thing I'm not following 100%, and it would be good to clarify, but
it looks to me like this driver contacts the Davis cloud rather than the
console, and thus won't work if either
  - you don't let your device report to the cloud
  - the internet is down

But maybe I'm misreading and you have to set up the API and then can
read locally?  Either way, it would be good to explain what's going on
so that people who are cloud-allergic or want to understand failure
modes can understand more easily.

Greg

-- 
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/rmijzqtgzmz.fsf%40s1.lexort.com.


[weewx-user] Acurite inHumidity

2023-11-07 Thread buck...@gmail.com
Hi There,

Can anyone point me in the right direction to adding inHumidy to the weewx 
ui?

I've tried adding $current.inHumidity to the skin's index.html.tmpl. The 
result is "n/a" so I'm not sure weewx is collecting (or even is able to 
collect) that parameter.

AcuRite 06014RM on Raspberry Pi, and inside humidity is of course displayed 
on the base station.

Insights appreciated,
Tom

-- 
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/76662445-20a7-4cd2-b742-4bf6abc27b70n%40googlegroups.com.


[weewx-user] Driver and Skin for DAVIS Weatherlink Console 6313

2023-11-07 Thread 'Werner Krenn' via weewx-user
A driver (and Skin) for the DAVIS Weatherlink Console 6313 is now available.
It's not the final state, but it already collects the necessary data.

https://github.com/WernerKr/davisconsoleapi

Example:
https://www.pc-wetterstation.de/wetter/weewx7/index.html
https://www.pc-wetterstation.de/wetter/weewx7/healthc/index.html

-- 
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/f45b155d-646d-40e4-8c72-0d3071d2e2e4n%40googlegroups.com.


[weewx-user] Re: The People's Pluviograph!

2023-11-07 Thread Ton vanN
LoraWAN certainly is a candidate for an airborne link from a sensor to a 
local gateway_to_internet over better distance than with the usual 
meteo-sensors' communication lines. 
SIGFox is a comparable solution for airborne communication over_between 
sensor and gateway-server.
Drawback for both is that they need internet for the next 
communicationsegment from the gateway to the world, 
and in flooded areas that might be a practical handicap, because usually 
cables running from the gateway to the next service-contact.

Another option is to apply GSM, best 2G-version (if still available), 
because that has longest linking range.
With a compatible Mifi-router it is possible to link the sensor airborne 
over wifi to the mifi-router, with the mifi-router over 2G taking care of 
the next airborne step of communication. 
Mifi-router is a small device usually running on battery, which battery is 
fed over USB-port, making it semi-independent of power-grid etc.
Probably not the most inovative solution, but might in practise be an 
airborne bridge over significant distance until arriving at the big 
internetbackbones.

Op maandag 6 november 2023 om 13:03:06 UTC+1 schreef Greg Hall:

> Record-breaking floods in the Northern Rivers regions of the state of New 
> South Wales in Australia last year has set us looking for a way to report 
> hourly, or more frequent, rainfall intensity, to better inform those 
> downstream.
>
> As the official gauge network is sparse and flaky, our present 'solution' 
> is a few human Rain Sentinels' who live high up in the catchment. They 
> agree to read their gauges hourly and get the readings out, by phone as 
> long as that lasts (not very), then CB radio.
>
> We haven't had much success with off-the-shelf weather stations, but maybe 
> there are WeeWx gurus who would know how to help script such a reporting 
> function.
>
> I've bought a couple of 8" tipping bucket gauges, and am playing with 
> Arduino code to keep daily, tips per minute files, on a local SD card, to 
> be relayed on to a LORA-APRS system (o.n.o), and as last resort, on a local 
> display.
>
> Any guidance or assistance very welcome.
>
> Greg
> VK2GTH
> -
>
>

-- 
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/3d50653a-90ec-4073-b7e6-c811e97e35d9n%40googlegroups.com.


Re: [weewx-user] txBatteryStatus = 2

2023-11-07 Thread Hannes
Thank you Tom for your answer. After replacing the battery, it took until 
midnight for the txBatteryStatus to return to 0. That confused me. This is 
also documented here.

https://support.davisinstruments.com/article/g3npg40jj0-i-m-getting-a-low-battery-on-station-1-error-on-my-console

Tom Keffer schrieb am Montag, 6. November 2023 um 23:40:48 UTC+1:

> The status is the binary number made by the turned on status bits. Bit 0 
> corresponds to channel 1, Bit 1 to channel 2, etc. 
>
> So, if only bit 0 is turned on, you get txBatteryStatus=1;
> If only bit 1 is turned on, txBatteryStatus = 2. 
> If only bit 2 is on, txBatteryStatus=4.
> And so on.
>
> Short version: bit 1 is turned on meaning you have a bad battery on the 
> channel 2 sensor.
>
> On Mon, Nov 6, 2023 at 8:47 AM Hannes  wrote:
>
>> Hello, 
>>
>> my DAVIS Vantage Pro 2 has been running for 8 years without any failures. 
>> I read out the data via weewx and Raspi. Since a few days I get the value 2 
>> in the field txBatteryStatus. Until now the value was always 0. 
>>
>> *What does txBatteryStatus = 2 mean?* 
>>
>> I have already replaced the lithium battery CR123 3V, unfortunately the 
>> txBatteryStatus remained at the value 2.
>>   
>> Thanks for your help!
>>
>> -- 
>> 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/8fb797fc-35d6-48a7-b921-5fb038caf50dn%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/f0dc774b-3af4-4e90-a67a-d1d234becd3an%40googlegroups.com.


Re: [weewx-user] Replacement humidity sensor

2023-11-07 Thread michael.k...@gmx.at
Thanks, I forgot about that! Then I would definitely prefer getting an 
Ecowitt Gateway + outdoor sensor over the replacement part. 

gjr80 schrieb am Montag, 6. November 2023 um 21:08:54 UTC+1:

> Not necessary, if the Ecowitt gateway driver can be used it can be run as 
> a data service to augment an existing driver.
>
> Gary
>
> On Tuesday, 7 November 2023 at 06:03:39 UTC+10 michael.k...@gmx.at wrote:
>
>> With the ecowitt gateway you need a second weewxd running, as a downside. 
>> But you can build a whole new station, step by step, around that gateway 
>> (which is probably way to go, sooner or later). 
>>
>> vince schrieb am Montag, 6. November 2023 um 20:41:08 UTC+1:
>>
>>> Another option is an ecowitt gateway and their outside T+H sensor, which 
>>> integrates well into weewx.  
>>>
>>> On Monday, November 6, 2023 at 11:19:23 AM UTC-8 michael.k...@gmx.at 
>>> wrote:
>>>
 Do not use a BME280 as an outdoor Sensor, it is not suited for this 
 purpose. The operating range is only valid in non-condensing environments. 
 In condensing environments, especially below freezing point, these sensors 
 are proven unusable. Go for a SHT3x or SHT4x. 

 Mark Fraser schrieb am Montag, 6. November 2023 um 18:32:59 UTC+1:

> On 06/11/2023 08:18, tadej.j...@gmail.com wrote: 
> > Hello i have ws2300 station and my humidity sensor probably died. It 
> > only shows values from 70 to 80% .I cannot get replacement part 
> anywhere 
> > because it is not in production anymore and I cannot buy whole new 
> > station because it will be complicated to get all things up running 
> again. 
> > 
> > I was thinking of getting external humidity sensor and hook it to 
> > arduino board and then read humidity values remotely  via crontabs 
> in a 
> > txt file. Is is somehow possible to "trick" weewx to read this value 
> > instead of getting it from station because I am using weewx to 
> calculate 
> > heat index and dew point. 
> Could you use something like BME280WX from here? 
> https://gitlab.com/wjcarpenter/bme280wx 
>


-- 
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/7ea5462b-111d-4f02-bffe-da9201f97329n%40googlegroups.com.


Re: [weewx-user] Replacement humidity sensor

2023-11-07 Thread michael.k...@gmx.at
Thanks, I forgot about that!

gjr80 schrieb am Montag, 6. November 2023 um 21:08:54 UTC+1:

> Not necessary, if the Ecowitt gateway driver can be used it can be run as 
> a data service to augment an existing driver.
>
> Gary
>
> On Tuesday, 7 November 2023 at 06:03:39 UTC+10 michael.k...@gmx.at wrote:
>
>> With the ecowitt gateway you need a second weewxd running, as a downside. 
>> But you can build a whole new station, step by step, around that gateway 
>> (which is probably way to go, sooner or later). 
>>
>> vince schrieb am Montag, 6. November 2023 um 20:41:08 UTC+1:
>>
>>> Another option is an ecowitt gateway and their outside T+H sensor, which 
>>> integrates well into weewx.  
>>>
>>> On Monday, November 6, 2023 at 11:19:23 AM UTC-8 michael.k...@gmx.at 
>>> wrote:
>>>
 Do not use a BME280 as an outdoor Sensor, it is not suited for this 
 purpose. The operating range is only valid in non-condensing environments. 
 In condensing environments, especially below freezing point, these sensors 
 are proven unusable. Go for a SHT3x or SHT4x. 

 Mark Fraser schrieb am Montag, 6. November 2023 um 18:32:59 UTC+1:

> On 06/11/2023 08:18, tadej.j...@gmail.com wrote: 
> > Hello i have ws2300 station and my humidity sensor probably died. It 
> > only shows values from 70 to 80% .I cannot get replacement part 
> anywhere 
> > because it is not in production anymore and I cannot buy whole new 
> > station because it will be complicated to get all things up running 
> again. 
> > 
> > I was thinking of getting external humidity sensor and hook it to 
> > arduino board and then read humidity values remotely  via crontabs 
> in a 
> > txt file. Is is somehow possible to "trick" weewx to read this value 
> > instead of getting it from station because I am using weewx to 
> calculate 
> > heat index and dew point. 
> Could you use something like BME280WX from here? 
> https://gitlab.com/wjcarpenter/bme280wx 
>


-- 
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/55dee9df-2245-4b12-b085-6a8dc216a799n%40googlegroups.com.


[weewx-user] Method to execute SFTP rm command

2023-11-07 Thread HeadwindJack
I am uploading a .png image to a GoDaddy hosted website. GoDaddy caches the 
image and it requires a manual cache flush to make the new  image appear. 
My thought was to serialise the file name and reference that serialised 
file name in the index.html that goes up with it so the most recent image 
is displayed. What I  need to do next is delete the previous image as a 
matter of good housekeeping.

I’m using Matthew Hall’s weewx-sftp report generator (which works a treat) 
but doesn’t provide an rm capability, hence the idea to call a python 
module with the sftp rm command in it.

Can anyone tell me if I can call a python script fromStdReport or any 
better ideas (apart from ditching GoDaddy)?


-- 
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/55a0b888-91c3-422d-a0a4-f7e62fd38af7n%40googlegroups.com.