[weewx-user] Periodic Reminder - where to find information

2023-10-23 Thread vince
We're seeing a very increased number of users asking "*where do I find*" 
and "*how do I do...*" type questions so I thought I would post a reminder 
for where to find information.

   - The WeeWX Frequently Asked Questions (FAQ) is here (link 
   )
   - The WeeWX Documentation is here (link ) 
   for both v4 and v5
   - The WeeWX Wiki is here (link )
   - The download link for releases and sources is here (link 
   )

Reminder - v5 command syntax is 'significantly' different than v4, and most 
of the existing documentation in the wiki and the dozens of user-supplied 
skins and extensions still use v4 syntax, so be patient and polite please 
if you have questions or issues.

Short suggestion - if you see documentation saying wee_extension or 
wee_database or the like, they are written for v4.  The new v5 commands 
almost all use the new weectl command.  Again, see the v5 documentation 
through the Documentation link above for details.

Thanks.

-- 
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/48e7e42d-5e44-41f5-9a91-eeae4993bebbn%40googlegroups.com.


Re: [weewx-user] Cascading errors for the Seasons base skin.

2023-10-23 Thread Tom Keffer
See my previous email for instructions for installing with pip.

On Mon, Oct 23, 2023 at 3:59 PM Sylvain M  wrote:

> To order
>
> *zypper search -v python3-Pillow*
>
> I have in return
>
> *No matching items found.*
>
> I couldn't find version 5 beta for download in .tar.gz.
> I just found it in .deb
>
> Is there an address to download this version 5 to install with pip?
> I will be happy to test it.
>
>
> Le mardi 24 octobre 2023 à 00:32:56 UTC+2, Tom Keffer a écrit :
>
>> Tumbleweed doesn't show earlier versions of packages? What do you see if
>> you do (note the -v flag):
>>
>> *zypper search -v python3-Pillow*
>>
>>
>> If I do it on Leaf, I see that V8.3.1 is available. Then
>>
>> *sudo zypper install python3-Pillow-8.3.1-lp152.5.3.1 *
>>
>>
>> would install it. Any version of Pillow later than v5.2 will work.
>>
>> Alternatively, the beta for V5 has a patch for Pillow 10.0.  *Installation
>> using pip *
>>
>> While it's in beta, it's pretty stable.
>>
>>
>>
>>
>> On Mon, Oct 23, 2023 at 8:34 AM Sylvain M  wrote:
>>
>>> It is not possible to downgrade the Pillow version to 9.5 under OpenSuse
>>> Tumbleweed (OpenSuse forum).
>>> The repository I used to install is dedicated to OpenSuse Leap.
>>> However, I had asked the question of compatibility with Tumbleweed on
>>> this weewxx-user forum but without an answer which I interpreted as obvious.
>>>
>>> I'm going to have to stop weewx until there is an update that is
>>> compatible with Pillow 10.0.1 at best and above all that is compatible with
>>> OpenSuse Tumbleweed.
>>>
>>> My weather station is a Bresser Wifi Comfort Weather Center 7-in-1 which
>>> sends data to Wunderground.
>>> I imported the data from Wunderground with the import tool to populate
>>> my mysql database with the wee_import tool (perhaps not adapted to my
>>> version?). I updated it every day.
>>>
>>> The goal for me is to have a history of past months and years to compare
>>> different parameters such as temperatures, rain or wind. It’s tracking
>>> weather history that fascinates me.
>>> I have done very little manipulation since I recently installed weewx
>>> (October 12, 2023).
>>>
>>> As I do not have a computer permanently connected, importing data seemed
>>> ideal to me, especially since my station is not supported by current
>>> drivers.
>>>
>>> Le lundi 23 octobre 2023 à 13:50:10 UTC+2, Tom Keffer a écrit :
>>>
 As you say, there are several errors here.

 The first is caused by changes in Pillow, the library WeeWX uses for
 imaging. A number of features were deprecated in Pillow 10.0
 .
 WeeWX Version 5 will have workarounds for these features, but, for now, the
 solution is to go back to Pillow version 9.5. I don't know how to do that
 on the SuSE platform, but I'm sure it's possible.

 It seems that you are using the Bootstrap skin? It is causing the 2nd
 error (KeyError: 'minvalues'). I do not know anything about this skin, but
 make sure your copy is up to date --- perhaps the author has fixed it.

 One of the templates in one of your skin is using the unit 'hpa'. The
 name is actually "hPa". Note the capital "P".

 Finally, you are getting a number of "Duplicate entry" errors caused by
 trying to insert data into the database for time values that already exist
 in the database. In this case, for records back in July 2022, over a year
 ago. You didn't say what kind of weather station you are using, but its
 implementation of genArchiveRecords() is not quite right. Or, perhaps the
 log is from an archive dump? It's impossible to tell without seeing earlier
 parts of the log from when weewxd starts up.

 Hope that gets you started.

 -tk




 On Sun, Oct 22, 2023 at 2:46 PM Sylvain M  wrote:

> Hello,
>
> I have just installed weewx under opensuse with the repository
> according to the user manual method.
> My HTML_ROOT = /srv/www/htdocs/weewx/
> My base is mysql.
>
> I managed to put my translation into French but my web interface does
> not have an image in the base Seasons skin to get back to basics.
>
> I set debug to 1 and my system log gives me lots of errors. Here are
> the last 3000 lines: https://pastebin.com/dJKQ53Kw
>
> Can you help me resolve these errors?
> What's not working?
>
> Thank you 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/2c404e14-b1ec-485d-bdaf-99bfa4c76e6fn%40googlegroups.com
> 

Re: [weewx-user] merge two data base

2023-10-23 Thread vince
Try it please.

On Monday, October 23, 2023 at 2:33:35 PM UTC-7 salinois wrote:

> I found this in the mails from Vince;
>
> is it the good methode ?
>
> [I do it manually via dump and restore using sqlite3...
>
>- Stop weewx 
>- Make a copy of your old and new db and work off those copies 
>   - cp weewx.sdb  /var/tmp/weewx.new.sdb 
>   - cp your_old_weewx.sdb /var/tmp/weewx.old.sdb 
>   - cd /var/tmp 
>- Dump your old database's archive table to a file
>- echo ".dump archive" | sqlite3 weewx.old.sdb > old.dump.txt 
>- Restore that into your new database
>- "cat old.dump.txt | sqlite3 weewx.new.sdb" 
>   - (and ignore the 'table already exists' warning) 
>- Rebuild your daily summaries
>- rename your production weewx.sdb file to something else 
>   - copy the weewx.new.sdb built above into place as weewx.sdb in the 
>   directory weewx expects it in 
>   - sudo wee_database --rebuild-daily 
>- Start weewx] 
>
> thanks
>
>
> Patrick
> Le 23/10/2023 à 23:07, sali...@gmail.com a écrit :
>
> hello,
> I put my station into service on a new weewx installation, operation OK. How 
> can I recover the old database to add it to the new one? am I clear 
> enough?
>
> thanks
>
> Patrick
>
> -- 
> 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/d15daeff-4d57-4bdb-a38f-6f9ef5499e3bn%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/4b213132-678d-40a9-84b9-f25add76ea5en%40googlegroups.com.


Re: [weewx-user] Cascading errors for the Seasons base skin.

2023-10-23 Thread Sylvain M
To order

*zypper search -v python3-Pillow*
 
I have in return

*No matching items found.*

I couldn't find version 5 beta for download in .tar.gz.
I just found it in .deb

Is there an address to download this version 5 to install with pip?
I will be happy to test it.


Le mardi 24 octobre 2023 à 00:32:56 UTC+2, Tom Keffer a écrit :

> Tumbleweed doesn't show earlier versions of packages? What do you see if 
> you do (note the -v flag):
>
> *zypper search -v python3-Pillow*
>
>
> If I do it on Leaf, I see that V8.3.1 is available. Then
>
> *sudo zypper install python3-Pillow-8.3.1-lp152.5.3.1 *
>
>
> would install it. Any version of Pillow later than v5.2 will work.
>
> Alternatively, the beta for V5 has a patch for Pillow 10.0.  *Installation 
> using pip *
>
> While it's in beta, it's pretty stable.
>
>
>
>
> On Mon, Oct 23, 2023 at 8:34 AM Sylvain M  wrote:
>
>> It is not possible to downgrade the Pillow version to 9.5 under OpenSuse 
>> Tumbleweed (OpenSuse forum).
>> The repository I used to install is dedicated to OpenSuse Leap.
>> However, I had asked the question of compatibility with Tumbleweed on 
>> this weewxx-user forum but without an answer which I interpreted as obvious.
>>
>> I'm going to have to stop weewx until there is an update that is 
>> compatible with Pillow 10.0.1 at best and above all that is compatible with 
>> OpenSuse Tumbleweed.
>>
>> My weather station is a Bresser Wifi Comfort Weather Center 7-in-1 which 
>> sends data to Wunderground.
>> I imported the data from Wunderground with the import tool to populate my 
>> mysql database with the wee_import tool (perhaps not adapted to my 
>> version?). I updated it every day.
>>
>> The goal for me is to have a history of past months and years to compare 
>> different parameters such as temperatures, rain or wind. It’s tracking 
>> weather history that fascinates me.
>> I have done very little manipulation since I recently installed weewx 
>> (October 12, 2023).
>>
>> As I do not have a computer permanently connected, importing data seemed 
>> ideal to me, especially since my station is not supported by current 
>> drivers.
>>
>> Le lundi 23 octobre 2023 à 13:50:10 UTC+2, Tom Keffer a écrit :
>>
>>> As you say, there are several errors here.
>>>
>>> The first is caused by changes in Pillow, the library WeeWX uses for 
>>> imaging. A number of features were deprecated in Pillow 10.0 
>>> .
>>>  
>>> WeeWX Version 5 will have workarounds for these features, but, for now, the 
>>> solution is to go back to Pillow version 9.5. I don't know how to do that 
>>> on the SuSE platform, but I'm sure it's possible.
>>>
>>> It seems that you are using the Bootstrap skin? It is causing the 2nd 
>>> error (KeyError: 'minvalues'). I do not know anything about this skin, but 
>>> make sure your copy is up to date --- perhaps the author has fixed it.
>>>
>>> One of the templates in one of your skin is using the unit 'hpa'. The 
>>> name is actually "hPa". Note the capital "P".
>>>
>>> Finally, you are getting a number of "Duplicate entry" errors caused by 
>>> trying to insert data into the database for time values that already exist 
>>> in the database. In this case, for records back in July 2022, over a year 
>>> ago. You didn't say what kind of weather station you are using, but its 
>>> implementation of genArchiveRecords() is not quite right. Or, perhaps the 
>>> log is from an archive dump? It's impossible to tell without seeing earlier 
>>> parts of the log from when weewxd starts up.
>>>
>>> Hope that gets you started.
>>>
>>> -tk
>>>
>>>
>>>
>>>
>>> On Sun, Oct 22, 2023 at 2:46 PM Sylvain M  wrote:
>>>
 Hello,

 I have just installed weewx under opensuse with the repository 
 according to the user manual method.
 My HTML_ROOT = /srv/www/htdocs/weewx/
 My base is mysql.

 I managed to put my translation into French but my web interface does 
 not have an image in the base Seasons skin to get back to basics.

 I set debug to 1 and my system log gives me lots of errors. Here are 
 the last 3000 lines: https://pastebin.com/dJKQ53Kw

 Can you help me resolve these errors?
 What's not working?

 Thank you 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/2c404e14-b1ec-485d-bdaf-99bfa4c76e6fn%40googlegroups.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to the Google

Re: [weewx-user] Cascading errors for the Seasons base skin.

2023-10-23 Thread Tom Keffer
Tumbleweed doesn't show earlier versions of packages? What do you see if
you do (note the -v flag):

*zypper search -v python3-Pillow*


If I do it on Leaf, I see that V8.3.1 is available. Then

*sudo zypper install python3-Pillow-8.3.1-lp152.5.3.1 *


would install it. Any version of Pillow later than v5.2 will work.

Alternatively, the beta for V5 has a patch for Pillow 10.0.  *Installation
using pip *

While it's in beta, it's pretty stable.




On Mon, Oct 23, 2023 at 8:34 AM Sylvain M  wrote:

> It is not possible to downgrade the Pillow version to 9.5 under OpenSuse
> Tumbleweed (OpenSuse forum).
> The repository I used to install is dedicated to OpenSuse Leap.
> However, I had asked the question of compatibility with Tumbleweed on this
> weewxx-user forum but without an answer which I interpreted as obvious.
>
> I'm going to have to stop weewx until there is an update that is
> compatible with Pillow 10.0.1 at best and above all that is compatible with
> OpenSuse Tumbleweed.
>
> My weather station is a Bresser Wifi Comfort Weather Center 7-in-1 which
> sends data to Wunderground.
> I imported the data from Wunderground with the import tool to populate my
> mysql database with the wee_import tool (perhaps not adapted to my
> version?). I updated it every day.
>
> The goal for me is to have a history of past months and years to compare
> different parameters such as temperatures, rain or wind. It’s tracking
> weather history that fascinates me.
> I have done very little manipulation since I recently installed weewx
> (October 12, 2023).
>
> As I do not have a computer permanently connected, importing data seemed
> ideal to me, especially since my station is not supported by current
> drivers.
>
> Le lundi 23 octobre 2023 à 13:50:10 UTC+2, Tom Keffer a écrit :
>
>> As you say, there are several errors here.
>>
>> The first is caused by changes in Pillow, the library WeeWX uses for
>> imaging. A number of features were deprecated in Pillow 10.0
>> .
>> WeeWX Version 5 will have workarounds for these features, but, for now, the
>> solution is to go back to Pillow version 9.5. I don't know how to do that
>> on the SuSE platform, but I'm sure it's possible.
>>
>> It seems that you are using the Bootstrap skin? It is causing the 2nd
>> error (KeyError: 'minvalues'). I do not know anything about this skin, but
>> make sure your copy is up to date --- perhaps the author has fixed it.
>>
>> One of the templates in one of your skin is using the unit 'hpa'. The
>> name is actually "hPa". Note the capital "P".
>>
>> Finally, you are getting a number of "Duplicate entry" errors caused by
>> trying to insert data into the database for time values that already exist
>> in the database. In this case, for records back in July 2022, over a year
>> ago. You didn't say what kind of weather station you are using, but its
>> implementation of genArchiveRecords() is not quite right. Or, perhaps the
>> log is from an archive dump? It's impossible to tell without seeing earlier
>> parts of the log from when weewxd starts up.
>>
>> Hope that gets you started.
>>
>> -tk
>>
>>
>>
>>
>> On Sun, Oct 22, 2023 at 2:46 PM Sylvain M  wrote:
>>
>>> Hello,
>>>
>>> I have just installed weewx under opensuse with the repository according
>>> to the user manual method.
>>> My HTML_ROOT = /srv/www/htdocs/weewx/
>>> My base is mysql.
>>>
>>> I managed to put my translation into French but my web interface does
>>> not have an image in the base Seasons skin to get back to basics.
>>>
>>> I set debug to 1 and my system log gives me lots of errors. Here are the
>>> last 3000 lines: https://pastebin.com/dJKQ53Kw
>>>
>>> Can you help me resolve these errors?
>>> What's not working?
>>>
>>> Thank you 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/2c404e14-b1ec-485d-bdaf-99bfa4c76e6fn%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/b9ef6ce2-8874-4d0b-83bd-ac94a2269f90n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribe

Re: [weewx-user] Cloud base calculation formula in Weewx

2023-10-23 Thread Tom Keffer
cloudbase_Metric

cloudbase_US



On Mon, Oct 23, 2023 at 9:07 AM Remy Lavabre  wrote:

> Good morning,
> Would it be possible to know the WeeWX calculation formula used to obtain
> the height of the cloud base in weewx from the outside temperature and the
> dew point?
> Thank you - Kind regards
>
> --
> 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/f8ce0a4a-b99f-4d4a-aece-f79a238790b1n%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/CAPq0zEDsCTbduHnoqMG1L9fow1CsF1sF5pQ5yMjF-rU2fm_1Ow%40mail.gmail.com.


Re: [weewx-user] merge two data base

2023-10-23 Thread salinois

I found this in the mails from Vince;

is it the good methode ?

[I do it manually via dump and restore using sqlite3...

 * Stop weewx
 * Make a copy of your old and new db and work off those copies
 o cp weewx.sdb  /var/tmp/weewx.new.sdb
 o cp your_old_weewx.sdb /var/tmp/weewx.old.sdb
 o cd /var/tmp
 * Dump your old database's archive table to a file
 o echo ".dump archive" | sqlite3 weewx.old.sdb > old.dump.txt
 * Restore that into your new database
 o "cat old.dump.txt | sqlite3 weewx.new.sdb"
 o (and ignore the 'table already exists' warning)
 * Rebuild your daily summaries
 o rename your production weewx.sdb file to something else
 o copy the weewx.new.sdb built above into place as weewx.sdb in
   the directory weewx expects it in
 o sudo wee_database --rebuild-daily
 * Start weewx]

thanks


Patrick

Le 23/10/2023 à 23:07, sali...@gmail.com a écrit :

hello,
I put my station into service on a new weewx installation, operation 
OK. How can I recover the old database to add it to the new one? am I 
clear enough?


thanks

Patrick
--
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/d15daeff-4d57-4bdb-a38f-6f9ef5499e3bn%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/0561615d-9a41-41f3-bc21-72534c258643%40gmail.com.


[weewx-user] merge two data base

2023-10-23 Thread sali...@gmail.com
hello,
I put my station into service on a new weewx installation, operation OK. How 
can I recover the old database to add it to the new one? am I clear enough?

thanks

Patrick

-- 
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/d15daeff-4d57-4bdb-a38f-6f9ef5499e3bn%40googlegroups.com.


[weewx-user] Re: Cloud base calculation formula in Weewx

2023-10-23 Thread vince
Try a grep for "cloudbase" in your weewx installation tree.

On Monday, October 23, 2023 at 9:07:30 AM UTC-7 Remy Lavabre wrote:

> Good morning,
> Would it be possible to know the WeeWX calculation formula used to obtain 
> the height of the cloud base in weewx from the outside temperature and the 
> dew point?
> Thank you - Kind regards
>

-- 
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/23af76e7-56bc-46c4-ab29-48d4a2ec1424n%40googlegroups.com.


[weewx-user] Cloud base calculation formula in Weewx

2023-10-23 Thread Remy Lavabre
Good morning,
Would it be possible to know the WeeWX calculation formula used to obtain 
the height of the cloud base in weewx from the outside temperature and the 
dew point?
Thank you - Kind regards

-- 
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/f8ce0a4a-b99f-4d4a-aece-f79a238790b1n%40googlegroups.com.


Re: [weewx-user] Cascading errors for the Seasons base skin.

2023-10-23 Thread Sylvain M
It is not possible to downgrade the Pillow version to 9.5 under OpenSuse 
Tumbleweed (OpenSuse forum).
The repository I used to install is dedicated to OpenSuse Leap.
However, I had asked the question of compatibility with Tumbleweed on this 
weewxx-user forum but without an answer which I interpreted as obvious.

I'm going to have to stop weewx until there is an update that is compatible 
with Pillow 10.0.1 at best and above all that is compatible with OpenSuse 
Tumbleweed.

My weather station is a Bresser Wifi Comfort Weather Center 7-in-1 which 
sends data to Wunderground.
I imported the data from Wunderground with the import tool to populate my 
mysql database with the wee_import tool (perhaps not adapted to my 
version?). I updated it every day.

The goal for me is to have a history of past months and years to compare 
different parameters such as temperatures, rain or wind. It’s tracking 
weather history that fascinates me.
I have done very little manipulation since I recently installed weewx 
(October 12, 2023).

As I do not have a computer permanently connected, importing data seemed 
ideal to me, especially since my station is not supported by current 
drivers.

Le lundi 23 octobre 2023 à 13:50:10 UTC+2, Tom Keffer a écrit :

> As you say, there are several errors here.
>
> The first is caused by changes in Pillow, the library WeeWX uses for 
> imaging. A number of features were deprecated in Pillow 10.0 
> .
>  
> WeeWX Version 5 will have workarounds for these features, but, for now, the 
> solution is to go back to Pillow version 9.5. I don't know how to do that 
> on the SuSE platform, but I'm sure it's possible.
>
> It seems that you are using the Bootstrap skin? It is causing the 2nd 
> error (KeyError: 'minvalues'). I do not know anything about this skin, but 
> make sure your copy is up to date --- perhaps the author has fixed it.
>
> One of the templates in one of your skin is using the unit 'hpa'. The name 
> is actually "hPa". Note the capital "P".
>
> Finally, you are getting a number of "Duplicate entry" errors caused by 
> trying to insert data into the database for time values that already exist 
> in the database. In this case, for records back in July 2022, over a year 
> ago. You didn't say what kind of weather station you are using, but its 
> implementation of genArchiveRecords() is not quite right. Or, perhaps the 
> log is from an archive dump? It's impossible to tell without seeing earlier 
> parts of the log from when weewxd starts up.
>
> Hope that gets you started.
>
> -tk
>
>
>
>
> On Sun, Oct 22, 2023 at 2:46 PM Sylvain M  wrote:
>
>> Hello,
>>
>> I have just installed weewx under opensuse with the repository according 
>> to the user manual method.
>> My HTML_ROOT = /srv/www/htdocs/weewx/
>> My base is mysql.
>>
>> I managed to put my translation into French but my web interface does not 
>> have an image in the base Seasons skin to get back to basics.
>>
>> I set debug to 1 and my system log gives me lots of errors. Here are the 
>> last 3000 lines: https://pastebin.com/dJKQ53Kw
>>
>> Can you help me resolve these errors?
>> What's not working?
>>
>> Thank you 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/2c404e14-b1ec-485d-bdaf-99bfa4c76e6fn%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/b9ef6ce2-8874-4d0b-83bd-ac94a2269f90n%40googlegroups.com.


Re: [weewx-user] Having problems with weewx not wrighting all the rain into reports.

2023-10-23 Thread Rich Bell
I agree it looks like WeeWX is getting the information. The line below is
logged right before the loop packet is generated. This should be seen in
the 1697833200 archive record. So no rain.
Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
data-> final loop packet is enviro/river-wx 2023-10-20 16:15:00 EDT
(1697832900): 'dateTime': '1697832900.6921751', 'luminance': '171.37',
'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain':
'0.0', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '0.0'

The line below is logged right before the loop packet is generated. This
should be seen in the next archive record. So 2.514 mm or .099 in.
Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
data-> final loop packet is enviro/river-wx 2023-10-20 16:20:00 EDT
(1697833200): 'dateTime': '1697833200.808235', 'luminance': '82.25',
'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain':
'2.5146', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '2.12127'

The next thing to try is, run WeeWX from the command line. This will print
the loop packets and archive records to the console.

Out of curiosity, what are the values in the database? Do the other
observations look correct?
rich


On Fri, Oct 20, 2023 at 5:10 PM kufuu  wrote:

> Using weewx mqtt from a pi pico enviro weather, had rain off and on all
> day today and this morning the reports had .110" , after another .100 later
> weewx didnt write it to the reports, went out and manually added rain to
> try to figure out whats wrong and still didnt write it, weewx is getting it
> but dont know whats going on. Heres the script.
>
> Oct 20 16:15:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0,
> retain: 0, payload: b'{"readings": {"pressure": 936.97, "rain": 0,
> "wind_speed": 0, "temperature": 13.52, "humidity": 77.89, "wind_direction":
> 45, "rain_per_second": 0.0, "luminance": 171.37}, "nickname": "river-wx",
> "model": "weather", "uid": "e6614c311b62b034", "timestamp":
> "2023-10-20T20:15:05Z"}'
> Oct 20 16:15:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> TopicManager data-> incoming enviro/river-wx: 'luminance': '171.37',
> 'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain':
> '0.0', 'windDir': '45.0', 'windSpeed': '0.0'
> Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> TopicManager data-> outgoing enviro/river-wx: 'dateTime':
> '1697832900.6921751', 'luminance': '171.37', 'outHumidity': '77.89',
> 'outTemp': '13.52', 'pressure': '936.97', 'rain': '0.0', 'usUnits': '17',
> 'windDir': '45.0', 'windSpeed': '0.0'
> Oct 20 16:15:02 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> data-> final loop packet is enviro/river-wx 2023-10-20 16:15:00 EDT
> (1697832900): 'dateTime': '1697832900.6921751', 'luminance': '171.37',
> 'outHumidity': '77.89', 'outTemp': '13.52', 'pressure': '936.97', 'rain':
> '0.0', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '0.0'
> Oct 20 16:17:01 zero-wx CRON[1104]: (root) CMD (   cd / && run-parts
> --report /etc/cron.hourly)
> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> MessageCallbackProvider data-> incoming topic: enviro/river-wx, QOS: 0,
> retain: 0, payload: b'{"readings": {"pressure": 937.04, "rain": 2.5146,
> "wind_speed": 2.12127, "temperature": 13.6, "humidity": 77.04,
> "wind_direction": 45, "rain_per_second": 0.008381999, "luminance": 82.25},
> "nickname": "river-wx", "model": "weather", "uid": "e6614c311b62b034",
> "timestamp": "2023-10-20T20:20:05Z"}'
> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> TopicManager data-> incoming enviro/river-wx: 'luminance': '82.25',
> 'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain':
> '2.5146', 'windDir': '45.0', 'windSpeed': '2.12127'
> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> TopicManager data-> outgoing enviro/river-wx: 'dateTime':
> '1697833200.808235', 'luminance': '82.25', 'outHumidity': '77.04',
> 'outTemp': '13.6', 'pressure': '937.04', 'rain': '2.5146', 'usUnits': '17',
> 'windDir': '45.0', 'windSpeed': '2.12127'
> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver)
> data-> final loop packet is enviro/river-wx 2023-10-20 16:20:00 EDT
> (1697833200): 'dateTime': '1697833200.808235', 'luminance': '82.25',
> 'outHumidity': '77.04', 'outTemp': '13.6', 'pressure': '937.04', 'rain':
> '2.5146', 'usUnits': '17', 'windDir': '45.0', 'windSpeed': '2.12127'
> Oct 20 16:20:00 zero-wx weewx[579] DEBUG user.MQTTSubscribe: (Driver) No
> archive topic configured.
> Oct 20 16:20:01 zero-wx weewx[579] INFO weewx.manager: Added record
> 2023-10-20 16:20:00 EDT (1697833200) to database 'weewx.sdb'
> Oct 20 16:20:02 zero-wx weewx[579] INFO weewx.manager: Added record
> 2023-10-20 16:20:00 EDT (1697833200) to daily summary in 'weewx.sdb'
> Oct 20 16:20:02 zero-wx weewx[579

Re: [weewx-user] Cascading errors for the Seasons base skin.

2023-10-23 Thread Tom Keffer
As you say, there are several errors here.

The first is caused by changes in Pillow, the library WeeWX uses for
imaging. A number of features were deprecated in Pillow 10.0
.
WeeWX Version 5 will have workarounds for these features, but, for now, the
solution is to go back to Pillow version 9.5. I don't know how to do that
on the SuSE platform, but I'm sure it's possible.

It seems that you are using the Bootstrap skin? It is causing the 2nd error
(KeyError: 'minvalues'). I do not know anything about this skin, but make
sure your copy is up to date --- perhaps the author has fixed it.

One of the templates in one of your skin is using the unit 'hpa'. The name
is actually "hPa". Note the capital "P".

Finally, you are getting a number of "Duplicate entry" errors caused by
trying to insert data into the database for time values that already exist
in the database. In this case, for records back in July 2022, over a year
ago. You didn't say what kind of weather station you are using, but its
implementation of genArchiveRecords() is not quite right. Or, perhaps the
log is from an archive dump? It's impossible to tell without seeing earlier
parts of the log from when weewxd starts up.

Hope that gets you started.

-tk




On Sun, Oct 22, 2023 at 2:46 PM Sylvain M  wrote:

> Hello,
>
> I have just installed weewx under opensuse with the repository according
> to the user manual method.
> My HTML_ROOT = /srv/www/htdocs/weewx/
> My base is mysql.
>
> I managed to put my translation into French but my web interface does not
> have an image in the base Seasons skin to get back to basics.
>
> I set debug to 1 and my system log gives me lots of errors. Here are the
> last 3000 lines: https://pastebin.com/dJKQ53Kw
>
> Can you help me resolve these errors?
> What's not working?
>
> Thank you 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2c404e14-b1ec-485d-bdaf-99bfa4c76e6fn%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/CAPq0zED6NcB%3D9g5jsH1ZE4iL3wqS40h0aZDL3ufxn1ws1ojfZg%40mail.gmail.com.