Re: [weewx-user] $almanac varying values

2022-11-03 Thread Tom Keffer
Pressure and temperature also factor into the calculation. If you want to
hold them constant as well, then use something like:

$current.dateTime , $almanac(almanac_time=1655805600, temperature=20.0,
pressure=1010.0).sunrise

See the section *Almanac
* in the Customizing
Guide.

-tk

On Thu, Nov 3, 2022 at 2:28 PM Karen K  wrote:

> I was unsure about some results of the $alamanac tag. So I created a test
> template. It is very short. It calculates the sunrise time for June 21st,
> 2022:
>
> $current.dateTime , $almanac(almanac_time=1655805600).sunrise
>
> Every archive period a file is created out of that template. And I
> collected those files.
>
> I would expect to get the same sunrise time all the time. But I don't.
>
> Could someone explain the reason for that behavior?
>
> The different files for the different archive periods are (one line per
> file):
>
> 03.11.2022 15:40:00 , 04:52:07
> 03.11.2022 15:45:00 , 04:52:07
> 03.11.2022 15:50:00 , 04:52:06
> 03.11.2022 15:55:00 , 04:52:06
> 03.11.2022 16:00:00 , 04:52:06
> 03.11.2022 16:05:00 , 04:52:06
> 03.11.2022 16:10:00 , 04:52:06
> 03.11.2022 16:15:00 , 04:52:05
> 03.11.2022 16:20:00 , 04:52:05
> 03.11.2022 16:25:00 , 04:52:05
> 03.11.2022 16:30:00 , 04:52:05
> 03.11.2022 16:35:00 , 04:52:05
> 03.11.2022 16:40:00 , 04:52:05
> 03.11.2022 16:45:00 , 04:52:05
> 03.11.2022 16:50:00 , 04:52:04
> 03.11.2022 16:55:00 , 04:52:04
> 03.11.2022 17:00:00 , 04:52:04
> 03.11.2022 17:05:00 , 04:52:04
> 03.11.2022 17:10:00 , 04:52:04
> 03.11.2022 17:15:00 , 04:52:04
> 03.11.2022 17:20:00 , 04:52:04
> 03.11.2022 17:25:00 , 04:52:04
> 03.11.2022 17:30:00 , 04:52:04
> 03.11.2022 17:35:00 , 04:52:04
> 03.11.2022 17:40:00 , 04:52:04
> 03.11.2022 17:45:00 , 04:52:04
> 03.11.2022 17:50:00 , 04:52:04
> 03.11.2022 17:55:00 , 04:52:03
> 03.11.2022 18:00:00 , 04:52:03
> 03.11.2022 18:05:00 , 04:52:03
> 03.11.2022 18:10:00 , 04:52:03
> 03.11.2022 18:15:00 , 04:52:03
> 03.11.2022 18:20:00 , 04:52:03
> 03.11.2022 18:25:00 , 04:52:03
> 03.11.2022 18:30:00 , 04:52:03
> 03.11.2022 18:35:00 , 04:52:03
> 03.11.2022 18:40:00 , 04:52:04
> 03.11.2022 18:45:00 , 04:52:04
> 03.11.2022 18:50:00 , 04:52:04
> 03.11.2022 18:55:00 , 04:52:04
> 03.11.2022 19:00:00 , 04:52:04
> 03.11.2022 19:05:00 , 04:52:04
> 03.11.2022 19:10:00 , 04:52:04
> 03.11.2022 19:15:00 , 04:52:05
> 03.11.2022 19:20:00 , 04:52:04
> 03.11.2022 19:25:00 , 04:52:05
> 03.11.2022 19:30:00 , 04:52:04
> 03.11.2022 19:35:00 , 04:52:05
> 03.11.2022 19:40:00 , 04:52:05
> 03.11.2022 19:45:00 , 04:52:05
> 03.11.2022 19:50:00 , 04:52:05
> 03.11.2022 19:55:00 , 04:52:05
> 03.11.2022 20:00:00 , 04:52:05
> 03.11.2022 20:05:00 , 04:52:05
> 03.11.2022 20:10:00 , 04:52:05
> 03.11.2022 20:15:00 , 04:52:05
> 03.11.2022 20:20:00 , 04:52:05
> 03.11.2022 20:25:00 , 04:52:05
> 03.11.2022 20:30:00 , 04:52:05
> 03.11.2022 20:35:00 , 04:52:05
> 03.11.2022 20:40:00 , 04:52:05
> 03.11.2022 20:45:00 , 04:52:05
> 03.11.2022 20:50:00 , 04:52:05
> 03.11.2022 20:55:00 , 04:52:04
> 03.11.2022 21:00:00 , 04:52:04
> 03.11.2022 21:05:00 , 04:52:04
> 03.11.2022 21:10:00 , 04:52:04
> 03.11.2022 21:15:00 , 04:52:03
> 03.11.2022 21:20:00 , 04:52:03
> 03.11.2022 21:25:00 , 04:52:03
> 03.11.2022 21:30:00 , 04:52:02
> 03.11.2022 21:35:00 , 04:52:02
> 03.11.2022 21:40:00 , 04:52:02
> 03.11.2022 21:45:00 , 04:52:02
> 03.11.2022 21:50:00 , 04:52:02
> 03.11.2022 21:55:00 , 04:52:02
> 03.11.2022 22:00:00 , 04:52:02
> 03.11.2022 22:05:00 , 04:52:02
>
>
> --
> 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/861c66cf-2db2-480f-9aa1-e54c2a6bbed6n%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/CAPq0zEDwjT5QhHK0FxHfdtSuNYR%2B4LgRoYxUSfPz4eTpF6Q-bQ%40mail.gmail.com.


Re: [weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread Tom Keffer
It is weird. It's possible the problem is related to an "upgrade" in perl,
or MySQL. Don't know.

On Thu, Nov 3, 2022 at 2:47 PM Δημήτρης Βήχος 
wrote:

> my both os are in greek locale. i rember in past i was registred kolxiko
> weather station in greek. remember in 4.6 verion of weewx. know in 4.9
> cant. its weird that the weewx accept all greek characters , except the
> registration. i will set for now to english title of my stations
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 11:06:41 μ.μ. UTC+2, ο χρήστης
> tke...@gmail.com έγραψε:
>
>> The problem is the "location" option. Here's the error showing up on
>> weewx.com:
>>
>> 2022.11.03 17:45:34 execute failed: Incorrect string value:
>> '\xCE\x9C\xCE\xB5\xCF\x84...' for column 'description' at row 1
>> reg={description=Μετεωρολογικός Σταθμός Νέων Μουδανιών
>> Χαλκιδικής,last_addr=87.202.32.10,last_seen=1667497534,latitude=40.2430,longitude=23.2770,platform_info=Linux-5.10.0-16-amd64-x86_64-with-glibc2.31,python_info=3.9.2,station_model=WΗ1080,station_type=FineOffsetUSB,station_url=
>> https://kairos.moudania.com,user_agent=weewx/4.9.1,weewx_info=4.9.1}
>>
>> Unfortunately, the registry does not handle utf-8 characters well, which
>> is a known problem. See Issue #7
>> .
>>
>> I would fix it myself, but all that stuff is written in Perl by mwall,
>> and I don't have a clue how that language works.
>>
>> My apologies.
>>
>> -tk
>>
>> On Thu, Nov 3, 2022 at 10:59 AM Δημήτρης Βήχος 
>> wrote:
>>
>>> my station stanza
>>>
>>> [Station]
>>>
>>> # Description of the station location
>>> location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής
>>>
>>> # Latitude in decimal degrees. Negative for southern hemisphere
>>> latitude = 40.243
>>> # Longitude in decimal degrees. Negative for western hemisphere.
>>> longitude = 23.277
>>>
>>> # Altitude of the station, with the unit it is in. This is used only
>>> # if the hardware cannot supply a value.
>>> altitude = 4, meter
>>>
>>> # Set to type of station hardware. There must be a corresponding
>>> stanza
>>> # in this file, which includes a value for the 'driver' option.
>>> station_type = FineOffsetUSB
>>>
>>> # If you have a website, you may specify an URL. This is required if
>>> you
>>> # intend to register your station.
>>> station_url = https://kairos.moudania.com
>>>
>>> # The start of the rain year (1=January; 10=October, etc.). This is
>>> # downloaded from the station if the hardware supports it.
>>> rain_year_start = 1
>>>
>>> # Start of week (0=Monday, 6=Sunday)
>>> week_start = 6
>>>
>>> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince
>>> έγραψε:
>>>
 On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com
 wrote:

>
> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry:
> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value:
> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>

 Lets see your [Station] stanza from weewx.conf please.  I'm guessing
 that you have strange characters in there possibly in your 'location = '
 line or nearby.


 --
>>> 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/85b2443f-31ea-4fd4-9805-42a1a59ac135n%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/4d2c52c4-fdea-4d72-8059-68db3350a658n%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/CAPq0zEDL3Adi5cn2QKqFM3%3DDMr%2BkRaV2Na_tnYWzE5bh6yjwMw%40mail.gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Tom Keffer
(Vince, I think he went to the correct link.)

Alex, what operating system are you using? These days, almost all operating
systems put something in /var/log.

If we can't figure it out, there is a way to get WeeWX to log to a standard
file. Add this to the bottom of weewx.conf:

[Logging]
[[root]]
  handlers = rotate,

[[handlers]]
# Log to a set of rotating files
[[[rotate]]]
level = DEBUG
formatter = verbose
class = logging.handlers.RotatingFileHandler
filename = /var/tmp/weewx.log
maxBytes = 1000
backupCount = 4

This will put the weewx-related log entries in /var/tmp/weewx.log. Post
that.

On Thu, Nov 3, 2022 at 2:19 PM Alex Vanuxem  wrote:

> i'm sorry . There's nothing there on both locations specified in the doc
> you posted.  Thanks though any other suggestions? Grtz alex
>
>
>
> Op do 3 nov. 2022 21:59 schreef vince :
>
>> Look at the bottom of
>> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>>
>> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
>> wrote:
>>
>>> thx, installed it, but I'm learning python and linux as we speak, bare
>>> with me please.
>>> where can I find the log? not in var/log... apologize for my dumbness,
>>> thanks again
>>>
>>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>>
 You need to install a syslog daemon .

 sudo apt-get install -y rsyslog

 On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com
 wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
> airlinks, and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium
> (sint-katelijne-waver-meteo.be)
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something...
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a
>> little bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get
>> when performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth
>> pole default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
> --
>> 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/dc807670-b1e8-46c7-9cef-121c27c8a812n%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/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBtPp97VTptkGY9bw-Vt77UzG0%2BkO0YJMBU1m1f%2BsN48A%40mail.gmail.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
Try again.  The next-to-last link in the FAQ.

You have to work a 'little' here please.  I'd suggest you also look into 
some free linux courses online to help you learn linux enough.

On Thursday, November 3, 2022 at 2:19:50 PM UTC-7 vanuxe...@gmail.com wrote:

> i'm sorry . There's nothing there on both locations specified in the doc 
> you posted.  Thanks though any other suggestions? Grtz alex
>
>
>
> Op do 3 nov. 2022 21:59 schreef vince :
>
>> Look at the bottom of 
>> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>>
>> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com 
>> wrote:
>>
>>> thx, installed it, but I'm learning python and linux as we speak, bare 
>>> with me please.
>>> where can I find the log? not in var/log... apologize for my dumbness, 
>>> thanks again
>>>
>>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>>
 You need to install a syslog daemon .

 sudo apt-get install -y rsyslog

 On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
 wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, 
> airlinks, and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
> (sint-katelijne-waver-meteo.be) 
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for 
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something... 
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a 
>> little bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out 
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get 
>> when performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
>> pole default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
> -- 
>> 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/dc807670-b1e8-46c7-9cef-121c27c8a812n%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/c4ff276e-d889-4eb9-96ec-b3833f19b932n%40googlegroups.com.


Re: [weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread Δημήτρης Βήχος
my both os are in greek locale. i rember in past i was registred kolxiko 
weather station in greek. remember in 4.6 verion of weewx. know in 4.9 
cant. its weird that the weewx accept all greek characters , except the 
registration. i will set for now to english title of my stations

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 11:06:41 μ.μ. UTC+2, ο χρήστης 
tke...@gmail.com έγραψε:

> The problem is the "location" option. Here's the error showing up on 
> weewx.com:
>
> 2022.11.03 17:45:34 execute failed: Incorrect string value: 
> '\xCE\x9C\xCE\xB5\xCF\x84...' for column 'description' at row 1 
> reg={description=Μετεωρολογικός Σταθμός Νέων Μουδανιών 
> Χαλκιδικής,last_addr=87.202.32.10,last_seen=1667497534,latitude=40.2430,longitude=23.2770,platform_info=Linux-5.10.0-16-amd64-x86_64-with-glibc2.31,python_info=3.9.2,station_model=WΗ1080,station_type=FineOffsetUSB,station_url=
> https://kairos.moudania.com,user_agent=weewx/4.9.1,weewx_info=4.9.1}
>
> Unfortunately, the registry does not handle utf-8 characters well, which 
> is a known problem. See Issue #7 
> .
>
> I would fix it myself, but all that stuff is written in Perl by mwall, and 
> I don't have a clue how that language works.
>
> My apologies. 
>
> -tk
>
> On Thu, Nov 3, 2022 at 10:59 AM Δημήτρης Βήχος  
> wrote:
>
>> my station stanza
>>
>> [Station]
>> 
>> # Description of the station location
>> location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής
>> 
>> # Latitude in decimal degrees. Negative for southern hemisphere
>> latitude = 40.243
>> # Longitude in decimal degrees. Negative for western hemisphere.
>> longitude = 23.277
>> 
>> # Altitude of the station, with the unit it is in. This is used only
>> # if the hardware cannot supply a value.
>> altitude = 4, meter
>> 
>> # Set to type of station hardware. There must be a corresponding 
>> stanza
>> # in this file, which includes a value for the 'driver' option.
>> station_type = FineOffsetUSB
>> 
>> # If you have a website, you may specify an URL. This is required if 
>> you
>> # intend to register your station.
>> station_url = https://kairos.moudania.com
>> 
>> # The start of the rain year (1=January; 10=October, etc.). This is
>> # downloaded from the station if the hardware supports it.
>> rain_year_start = 1
>> 
>> # Start of week (0=Monday, 6=Sunday)
>> week_start = 6
>>
>> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince 
>> έγραψε:
>>
>>> On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com 
>>> wrote:
>>>

 Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry: 
 Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value: 
 '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"

>>>
>>> Lets see your [Station] stanza from weewx.conf please.  I'm guessing 
>>> that you have strange characters in there possibly in your 'location = ' 
>>> line or nearby.
>>>
>>>
>>> -- 
>> 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/85b2443f-31ea-4fd4-9805-42a1a59ac135n%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/4d2c52c4-fdea-4d72-8059-68db3350a658n%40googlegroups.com.


[weewx-user] $almanac varying values

2022-11-03 Thread Karen K
I was unsure about some results of the $alamanac tag. So I created a test 
template. It is very short. It calculates the sunrise time for June 21st, 
2022:

$current.dateTime , $almanac(almanac_time=1655805600).sunrise

Every archive period a file is created out of that template. And I 
collected those files. 

I would expect to get the same sunrise time all the time. But I don't. 

Could someone explain the reason for that behavior?

The different files for the different archive periods are (one line per 
file):

03.11.2022 15:40:00 , 04:52:07
03.11.2022 15:45:00 , 04:52:07
03.11.2022 15:50:00 , 04:52:06
03.11.2022 15:55:00 , 04:52:06
03.11.2022 16:00:00 , 04:52:06
03.11.2022 16:05:00 , 04:52:06
03.11.2022 16:10:00 , 04:52:06
03.11.2022 16:15:00 , 04:52:05
03.11.2022 16:20:00 , 04:52:05
03.11.2022 16:25:00 , 04:52:05
03.11.2022 16:30:00 , 04:52:05
03.11.2022 16:35:00 , 04:52:05
03.11.2022 16:40:00 , 04:52:05
03.11.2022 16:45:00 , 04:52:05
03.11.2022 16:50:00 , 04:52:04
03.11.2022 16:55:00 , 04:52:04
03.11.2022 17:00:00 , 04:52:04
03.11.2022 17:05:00 , 04:52:04
03.11.2022 17:10:00 , 04:52:04
03.11.2022 17:15:00 , 04:52:04
03.11.2022 17:20:00 , 04:52:04
03.11.2022 17:25:00 , 04:52:04
03.11.2022 17:30:00 , 04:52:04
03.11.2022 17:35:00 , 04:52:04
03.11.2022 17:40:00 , 04:52:04
03.11.2022 17:45:00 , 04:52:04
03.11.2022 17:50:00 , 04:52:04
03.11.2022 17:55:00 , 04:52:03
03.11.2022 18:00:00 , 04:52:03
03.11.2022 18:05:00 , 04:52:03
03.11.2022 18:10:00 , 04:52:03
03.11.2022 18:15:00 , 04:52:03
03.11.2022 18:20:00 , 04:52:03
03.11.2022 18:25:00 , 04:52:03
03.11.2022 18:30:00 , 04:52:03
03.11.2022 18:35:00 , 04:52:03
03.11.2022 18:40:00 , 04:52:04
03.11.2022 18:45:00 , 04:52:04
03.11.2022 18:50:00 , 04:52:04
03.11.2022 18:55:00 , 04:52:04
03.11.2022 19:00:00 , 04:52:04
03.11.2022 19:05:00 , 04:52:04
03.11.2022 19:10:00 , 04:52:04
03.11.2022 19:15:00 , 04:52:05
03.11.2022 19:20:00 , 04:52:04
03.11.2022 19:25:00 , 04:52:05
03.11.2022 19:30:00 , 04:52:04
03.11.2022 19:35:00 , 04:52:05
03.11.2022 19:40:00 , 04:52:05
03.11.2022 19:45:00 , 04:52:05
03.11.2022 19:50:00 , 04:52:05
03.11.2022 19:55:00 , 04:52:05
03.11.2022 20:00:00 , 04:52:05
03.11.2022 20:05:00 , 04:52:05
03.11.2022 20:10:00 , 04:52:05
03.11.2022 20:15:00 , 04:52:05
03.11.2022 20:20:00 , 04:52:05
03.11.2022 20:25:00 , 04:52:05
03.11.2022 20:30:00 , 04:52:05
03.11.2022 20:35:00 , 04:52:05
03.11.2022 20:40:00 , 04:52:05
03.11.2022 20:45:00 , 04:52:05
03.11.2022 20:50:00 , 04:52:05
03.11.2022 20:55:00 , 04:52:04
03.11.2022 21:00:00 , 04:52:04
03.11.2022 21:05:00 , 04:52:04
03.11.2022 21:10:00 , 04:52:04
03.11.2022 21:15:00 , 04:52:03
03.11.2022 21:20:00 , 04:52:03
03.11.2022 21:25:00 , 04:52:03
03.11.2022 21:30:00 , 04:52:02
03.11.2022 21:35:00 , 04:52:02
03.11.2022 21:40:00 , 04:52:02
03.11.2022 21:45:00 , 04:52:02
03.11.2022 21:50:00 , 04:52:02
03.11.2022 21:55:00 , 04:52:02
03.11.2022 22:00:00 , 04:52:02
03.11.2022 22:05:00 , 04:52:02


-- 
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/861c66cf-2db2-480f-9aa1-e54c2a6bbed6n%40googlegroups.com.


Re: [weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
i'm sorry . There's nothing there on both locations specified in the doc
you posted.  Thanks though any other suggestions? Grtz alex



Op do 3 nov. 2022 21:59 schreef vince :

> Look at the bottom of
> https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions
>
> On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com
> wrote:
>
>> thx, installed it, but I'm learning python and linux as we speak, bare
>> with me please.
>> where can I find the log? not in var/log... apologize for my dumbness,
>> thanks again
>>
>> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>>
>>> You need to install a syslog daemon .
>>>
>>> sudo apt-get install -y rsyslog
>>>
>>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com
>>> wrote:
>>>
 Hi Guys,

 I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2,
 airlinks, and soil and leaf sensors.

 got a website at  Meteo Sint-Katelijne-Waver, Belgium
 (sint-katelijne-waver-meteo.be)
 

 so finally i'm getting some data in at var/www/html/weewx/index.html.

 using for the moment vantage pro 2 iplink, i have also wll, thats for
 later.

 but when i start weewx i get a lot of errors see attachment.

 next thing is to send it to my website, i'm missing something...

 thanks




 Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:

> hey Guys,
>
> I'm trying weewx for the first time, no experience in python, a little
> bit in php
>
> done the setup as required.
>
> running ubuntu as a virtual machine on windows, want to check it out
> before i buy a raspberry.
>
> problems: in the config file I see a lot of setups which I dont get
> when performing the the how to.
>
> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth
> pole default thing.
>
> and sudo ./bin/weewxd doesn't exist???
>
> although i configured the config manually and copied it.
>
> what files do you want to troubleshout?
>
> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this
> should work too?
>
> Bare with me please,
>
> THX
>
> alex
>
 --
> 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/dc807670-b1e8-46c7-9cef-121c27c8a812n%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/CAHaYyoJ5V4qo-J5e9OWZkg0hT3XT8SMr_cfCz0DgiMoSdMfu4g%40mail.gmail.com.


Re: [weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread Tom Keffer
The problem is the "location" option. Here's the error showing up on
weewx.com:

2022.11.03 17:45:34 execute failed: Incorrect string value:
'\xCE\x9C\xCE\xB5\xCF\x84...' for column 'description' at row 1
reg={description=Μετεωρολογικός Σταθμός Νέων Μουδανιών
Χαλκιδικής,last_addr=87.202.32.10,last_seen=1667497534,latitude=40.2430,longitude=23.2770,platform_info=Linux-5.10.0-16-amd64-x86_64-with-glibc2.31,python_info=3.9.2,station_model=WΗ1080,station_type=FineOffsetUSB,station_url=
https://kairos.moudania.com,user_agent=weewx/4.9.1,weewx_info=4.9.1}

Unfortunately, the registry does not handle utf-8 characters well, which is
a known problem. See Issue #7 .

I would fix it myself, but all that stuff is written in Perl by mwall, and
I don't have a clue how that language works.

My apologies.

-tk

On Thu, Nov 3, 2022 at 10:59 AM Δημήτρης Βήχος 
wrote:

> my station stanza
>
> [Station]
>
> # Description of the station location
> location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής
>
> # Latitude in decimal degrees. Negative for southern hemisphere
> latitude = 40.243
> # Longitude in decimal degrees. Negative for western hemisphere.
> longitude = 23.277
>
> # Altitude of the station, with the unit it is in. This is used only
> # if the hardware cannot supply a value.
> altitude = 4, meter
>
> # Set to type of station hardware. There must be a corresponding stanza
> # in this file, which includes a value for the 'driver' option.
> station_type = FineOffsetUSB
>
> # If you have a website, you may specify an URL. This is required if
> you
> # intend to register your station.
> station_url = https://kairos.moudania.com
>
> # The start of the rain year (1=January; 10=October, etc.). This is
> # downloaded from the station if the hardware supports it.
> rain_year_start = 1
>
> # Start of week (0=Monday, 6=Sunday)
> week_start = 6
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince
> έγραψε:
>
>> On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com
>> wrote:
>>
>>>
>>> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry:
>>> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value:
>>> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>>>
>>
>> Lets see your [Station] stanza from weewx.conf please.  I'm guessing that
>> you have strange characters in there possibly in your 'location = ' line or
>> nearby.
>>
>>
>> --
> 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/85b2443f-31ea-4fd4-9805-42a1a59ac135n%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/CAPq0zEAaUKb4TH7GrEVA%3D_Gpq8SAxNwyE94dwVN6HEbS%3DckjBw%40mail.gmail.com.


[weewx-user] Re: UDP listener (for Weatherflow Tempest) won't run

2022-11-03 Thread vince
It's not hearing anything.   Your hub is either offline or your network 
isn't getting the broadcast messages to the system you're listening on. 
 Did you perhaps VLAN your network and put the hub on a different VLAN ?

You'll need to crtl-C twice to stop it.  The error is normal so it can be 
ignored.

On Thursday, November 3, 2022 at 1:26:06 PM UTC-7 weatherl...@gmail.com 
wrote:

> I realize this is not strictly a WeeWx issue but perhaps Vince can see 
> from the Terminal results below what I might be doing wrong.
>
> I've always been able to run this but can get it to work this time.
>
> Ubuntu 20.04
> UDP Listener V 4.x
>
> I issue:
> /Downloads/WeeWx/weatherflow-udp-listener-master$ python3 listen.py 
> --decoded
>
> and nothing happens.
>
> When I hit Ctrl-C, this is the result.
>
>
>
>
>
>
>
> *^CTraceback (most recent call last):  File "listen.py", line 785, in 
> t.join()  File "/usr/lib/python3.8/threading.py", line 1011, in 
> joinself._wait_for_tstate_lock()  File 
> "/usr/lib/python3.8/threading.py", line 1027, in _wait_for_tstate_lock
> elif lock.acquire(block, timeout):KeyboardInterrupt*
>
> I know the Tempest is working as I receive its data in the Tempest App on 
> the iPad.
>

-- 
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/8f18c37d-46bb-4959-9fe0-778ccabe5cb8n%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
Look at the bottom 
of https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions

On Thursday, November 3, 2022 at 1:36:29 PM UTC-7 vanuxe...@gmail.com wrote:

> thx, installed it, but I'm learning python and linux as we speak, bare 
> with me please.
> where can I find the log? not in var/log... apologize for my dumbness, 
> thanks again
>
> Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:
>
>> You need to install a syslog daemon .
>>
>> sudo apt-get install -y rsyslog
>>
>> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
>> wrote:
>>
>>> Hi Guys,
>>>
>>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
>>> and soil and leaf sensors.
>>>
>>> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
>>> (sint-katelijne-waver-meteo.be) 
>>> 
>>>
>>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>>
>>> using for the moment vantage pro 2 iplink, i have also wll, thats for 
>>> later.
>>>
>>> but when i start weewx i get a lot of errors see attachment.
>>>
>>> next thing is to send it to my website, i'm missing something... 
>>>
>>> thanks
>>>
>>>
>>>
>>>
>>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>>
 hey Guys,

 I'm trying weewx for the first time, no experience in python, a little 
 bit in php

 done the setup as required.

 running ubuntu as a virtual machine on windows, want to check it out 
 before i buy a raspberry.

 problems: in the config file I see a lot of setups which I dont get 
 when performing the the how to.

 sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
 pole default thing.

 and sudo ./bin/weewxd doesn't exist???

 although i configured the config manually and copied it.

 what files do you want to troubleshout?

 I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
 should work too?

 Bare with me please,

 THX

 alex

>>>

-- 
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/dc807670-b1e8-46c7-9cef-121c27c8a812n%40googlegroups.com.


Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2022-11-03 Thread Tom Keffer
We are still not seeing any debug messages, so I suspect that you may still
have more than one instance of weewxd running. Kill them all with:

sudo killall weewxd

Then try starting weewxd again. Post  the log.

On Thu, Nov 3, 2022 at 10:13 AM Günther Wrana  wrote:

> Hello i have now activate debug=1 in weewx.conf and in the weewx.conf.dist
> But I have no idea what should be different now.
> So what should I do to uninstall the whole program?
>
> pi@wetterpi:/etc/weewx$ sudo nano weewx.conf
> pi@wetterpi:/etc/weewx$ sudo nano weewx.conf.dist
> pi@wetterpi:/etc/weewx$ sudo /etc/init.d/weewx stop
> [ ok ] Stopping weewx (via systemctl): weewx.service.
> pi@wetterpi:/etc/weewx$ sudo tail -f /var/log/syslog
> Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine:
> File "/usr/share/weewx/weewx/xtypes.py", line 116, in get_series
> Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine:
>   raise weewx.UnknownType(msg)
> Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine:
>   weewx.UnknownType: 'wind' or 'vecdir'
> Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine:
>   Generator terminated
> Nov  3 18:00:35 wetterpi weewx[29729] INFO weewx.reportengine: Copied 0
> files to /var/www/html/weewx
> Nov  3 18:00:41 wetterpi systemd[1]: Stopping LSB: weewx weather system...
> Nov  3 18:00:41 wetterpi weewx[6620]: Stopping weewx weather system: weewx
> not running
> Nov  3 18:00:41 wetterpi systemd[1]: weewx.service: Succeeded.
> Nov  3 18:00:41 wetterpi systemd[1]: Stopped LSB: weewx weather system.
> Nov  3 18:00:54 wetterpi weewx[29729] ERROR weewx.restx: AWEKAS: Failed to
> publish record 2022-11-03 18:00:00 CET (1667494800): Failed upload after 3
> tries
> ^C
> pi@wetterpi:/etc/weewx$ sudo /etc/init.d/weewx start
> [ ok ] Starting weewx (via systemctl): weewx.service.
> pi@wetterpi:/etc/weewx$ sudo tail -f /var/log/syslog
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  self.console = loader_function(config_dict, self)
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  File "/usr/share/weewx/user/wh23xx.py", line 266, in loader
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  return WH23xxDriver(**config_dict[DRIVER_NAME])
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  File "/usr/share/weewx/user/wh23xx.py", line 411, in __init__
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  self._station.open()
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  File "/usr/share/weewx/user/wh23xx.py", line 596, in open
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  raise weewx.WeeWxIOError(e)
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine: 
>  weewx.WeeWxIOError: [Errno 16] Resource busy
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL __main__: Unable to load
> driver: [Errno 16] Resource busy
> Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL __main__: 
>  Exiting...
> Nov  3 18:01:29 wetterpi /weewxd: wh23xx: get_current: failed attempt 1 of
> 5: [Errno 5] Input/Output Error
> Nov  3 18:01:29 wetterpi kernel: [19184295.464327] usb 1-1.5: usbfs:
> process 29729 (python3) did not claim interface 0 before use
> Nov  3 18:01:39 wetterpi /weewxd: wh23xx: get_current: failed attempt 2 of
> 5: [Errno 5] Input/Output Error
> Nov  3 18:01:39 wetterpi kernel: [19184305.473969] usb 1-1.5: usbfs:
> process 29729 (python3) did not claim interface 0 before use
> Nov  3 18:01:49 wetterpi /weewxd: wh23xx: get_current: failed attempt 3 of
> 5: [Errno 5] Input/Output Error
> Nov  3 18:01:49 wetterpi kernel: [19184315.485083] usb 1-1.5: usbfs:
> process 29729 (python3) did not claim interface 0 before use
> Nov  3 18:01:59 wetterpi /weewxd: wh23xx: get_current: failed attempt 4 of
> 5: [Errno 5] Input/Output Error
> Nov  3 18:01:59 wetterpi kernel: [19184325.496175] usb 1-1.5: usbfs:
> process 29729 (python3) did not claim interface 0 before use
> Nov  3 18:02:09 wetterpi /weewxd: wh23xx: get_current: failed attempt 5 of
> 5: [Errno 5] Input/Output Error
> Nov  3 18:02:09 wetterpi kernel: [19184335.507264] usb 1-1.5: usbfs:
> process 29729 (python3) did not claim interface 0 before use
> Nov  3 18:02:19 wetterpi /weewxd: wh23xx: read failed: max retries (5)
> exceeded
> Nov  3 18:02:19 wetterpi weewx[29729] INFO weewx.engine: Main loop
> exiting. Shutting engine down.
> Nov  3 18:02:19 wetterpi weewx[29729] INFO weewx.engine: Shutting down
> StdReport thread
> Nov  3 18:02:19 wetterpi /weewxd: wh23xx: release interface failed: [Errno
> None] Other error
> Nov  3 18:02:19 wetterpi weewx[29729] CRITICAL __main__: Caught
> WeeWxIOError: read failed: max retries (5) exceeded
> Nov  3 18:02:19 wetterpi weewx[29729] CRITICAL __main__:   Waiting
> 60 seconds then retrying...
> Nov  3 18:03:20 wetterpi weewx[29729] INFO __main__: retrying...
> Nov  3 18:03:20 wetterpi 

[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
thx, installed it, but I'm learning python and linux as we speak, bare with 
me please.
where can I find the log? not in var/log... apologize for my dumbness, 
thanks again

Op donderdag 3 november 2022 om 20:26:50 UTC+1 schreef vince:

> You need to install a syslog daemon .
>
> sudo apt-get install -y rsyslog
>
> On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
> wrote:
>
>> Hi Guys,
>>
>> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
>> and soil and leaf sensors.
>>
>> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
>> (sint-katelijne-waver-meteo.be) 
>> 
>>
>> so finally i'm getting some data in at var/www/html/weewx/index.html.
>>
>> using for the moment vantage pro 2 iplink, i have also wll, thats for 
>> later.
>>
>> but when i start weewx i get a lot of errors see attachment.
>>
>> next thing is to send it to my website, i'm missing something... 
>>
>> thanks
>>
>>
>>
>>
>> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>>
>>> hey Guys,
>>>
>>> I'm trying weewx for the first time, no experience in python, a little 
>>> bit in php
>>>
>>> done the setup as required.
>>>
>>> running ubuntu as a virtual machine on windows, want to check it out 
>>> before i buy a raspberry.
>>>
>>> problems: in the config file I see a lot of setups which I dont get when 
>>> performing the the how to.
>>>
>>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth 
>>> pole default thing.
>>>
>>> and sudo ./bin/weewxd doesn't exist???
>>>
>>> although i configured the config manually and copied it.
>>>
>>> what files do you want to troubleshout?
>>>
>>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>>> should work too?
>>>
>>> Bare with me please,
>>>
>>> THX
>>>
>>> alex
>>>
>>

-- 
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/a7679c05-e4fc-40f3-8115-691c49da677cn%40googlegroups.com.


[weewx-user] UDP listener (for Weatherflow Tempest) won't run

2022-11-03 Thread weatherl...@gmail.com
I realize this is not strictly a WeeWx issue but perhaps Vince can see from 
the Terminal results below what I might be doing wrong.

I've always been able to run this but can get it to work this time.

Ubuntu 20.04
UDP Listener V 4.x

I issue:
/Downloads/WeeWx/weatherflow-udp-listener-master$ python3 listen.py 
--decoded

and nothing happens.

When I hit Ctrl-C, this is the result.







*^CTraceback (most recent call last):  File "listen.py", line 785, in 
t.join()  File "/usr/lib/python3.8/threading.py", line 1011, in 
joinself._wait_for_tstate_lock()  File 
"/usr/lib/python3.8/threading.py", line 1027, in _wait_for_tstate_lock
elif lock.acquire(block, timeout):KeyboardInterrupt*

I know the Tempest is working as I receive its data in the Tempest App on 
the iPad.

-- 
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/aa882284-57f2-4eef-8ae7-ed6d01f90a9en%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread vince
You need to install a syslog daemon .

sudo apt-get install -y rsyslog

On Thursday, November 3, 2022 at 12:13:07 PM UTC-7 vanuxe...@gmail.com 
wrote:

> Hi Guys,
>
> I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
> and soil and leaf sensors.
>
> got a website at  Meteo Sint-Katelijne-Waver, Belgium 
> (sint-katelijne-waver-meteo.be) 
> 
>
> so finally i'm getting some data in at var/www/html/weewx/index.html.
>
> using for the moment vantage pro 2 iplink, i have also wll, thats for 
> later.
>
> but when i start weewx i get a lot of errors see attachment.
>
> next thing is to send it to my website, i'm missing something... 
>
> thanks
>
>
>
>
> Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:
>
>> hey Guys,
>>
>> I'm trying weewx for the first time, no experience in python, a little 
>> bit in php
>>
>> done the setup as required.
>>
>> running ubuntu as a virtual machine on windows, want to check it out 
>> before i buy a raspberry.
>>
>> problems: in the config file I see a lot of setups which I dont get when 
>> performing the the how to.
>>
>> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth pole 
>> default thing.
>>
>> and sudo ./bin/weewxd doesn't exist???
>>
>> although i configured the config manually and copied it.
>>
>> what files do you want to troubleshout?
>>
>> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this 
>> should work too?
>>
>> Bare with me please,
>>
>> THX
>>
>> alex
>>
>

-- 
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/3ef7c0f6-92e5-4ee5-ab44-cfb4a01690een%40googlegroups.com.


[weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread vince
Yes, the location in Greek (?) characters seems to be the issue

You seem to have registered https://kairos.moudania.com/kolxiko/ 
successfully in the past with Greek characters according to 
https://groups.google.com/g/weewx-user/c/9eAWjrvbIAU/m/JUwjf8X-CQAJ so do 
whatever you did then for that site.

Perhaps your os isn't set to a greek language ?   Try the 'locale' command 
on both systems and see if there are any differences.

On Thursday, November 3, 2022 at 10:59:30 AM UTC-7 hobbyl...@gmail.com 
wrote:

> my station stanza
>
> [Station]
> 
> # Description of the station location
> location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής
> 
> # Latitude in decimal degrees. Negative for southern hemisphere
> latitude = 40.243
> # Longitude in decimal degrees. Negative for western hemisphere.
> longitude = 23.277
> 
> # Altitude of the station, with the unit it is in. This is used only
> # if the hardware cannot supply a value.
> altitude = 4, meter
> 
> # Set to type of station hardware. There must be a corresponding stanza
> # in this file, which includes a value for the 'driver' option.
> station_type = FineOffsetUSB
> 
> # If you have a website, you may specify an URL. This is required if 
> you
> # intend to register your station.
> station_url = https://kairos.moudania.com
> 
> # The start of the rain year (1=January; 10=October, etc.). This is
> # downloaded from the station if the hardware supports it.
> rain_year_start = 1
> 
> # Start of week (0=Monday, 6=Sunday)
> week_start = 6
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince 
> έγραψε:
>
>> On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com 
>> wrote:
>>
>>>
>>> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry: 
>>> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value: 
>>> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>>>
>>
>> Lets see your [Station] stanza from weewx.conf please.  I'm guessing that 
>> you have strange characters in there possibly in your 'location = ' line or 
>> nearby.
>>
>>
>>

-- 
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/0f166e87-5af6-4281-a84f-e4f7f706483fn%40googlegroups.com.


[weewx-user] Re: first user - a lot of issues

2022-11-03 Thread Alex Vanuxem
Hi Guys,

I'm Alex from Belgium, a weather amateur, got a Vantage Pro 2, airlinks, 
and soil and leaf sensors.

got a website at  Meteo Sint-Katelijne-Waver, Belgium 
(sint-katelijne-waver-meteo.be) 


so finally i'm getting some data in at var/www/html/weewx/index.html.

using for the moment vantage pro 2 iplink, i have also wll, thats for later.

but when i start weewx i get a lot of errors see attachment.

next thing is to send it to my website, i'm missing something... 

thanks




Op donderdag 3 november 2022 om 01:21:24 UTC+1 schreef Alex Vanuxem:

> hey Guys,
>
> I'm trying weewx for the first time, no experience in python, a little bit 
> in php
>
> done the setup as required.
>
> running ubuntu as a virtual machine on windows, want to check it out 
> before i buy a raspberry.
>
> problems: in the config file I see a lot of setups which I dont get when 
> performing the the how to.
>
> sudo tail -f /var/log/syslog doesn't exist, I'm stuck with the nOrth pole 
> default thing.
>
> and sudo ./bin/weewxd doesn't exist???
>
> although i configured the config manually and copied it.
>
> what files do you want to troubleshout?
>
> I've set up a cumulusMX, pwsWD and a meteotemplate website, so this should 
> work too?
>
> Bare with me please,
>
> THX
>
> alex
>

-- 
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/a03198e9-b36a-4b1f-9c1d-50d6bb1183dcn%40googlegroups.com.
oot@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start
sudo: /etc/init.d/weewx: command not found
root@LAPTOP-M848VS7O:~# sudo apt-get install weewx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  sqlite httpd
The following NEW packages will be installed:
  weewx
0 upgraded, 1 newly installed, 0 to remove and 277 not upgraded.
Need to get 0 B/1838 kB of archives.
After this operation, 6144 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package weewx.
(Reading database ... 39374 files and directories currently installed.)
Preparing to unpack .../archives/weewx_4.9.1-1_all.deb ...
Unpacking weewx (4.9.1-1) ...
Setting up weewx (4.9.1-1) ...
invoke-rc.d: could not determine current runlevel
Processing triggers for systemd (245.4-4ubuntu3) ...
root@LAPTOP-M848VS7O:~# sudo tail -f /var/log/syslog
tail: cannot open '/var/log/syslog' for reading: No such file or directory
tail: no files remaining
root@LAPTOP-M848VS7O:~# sudo /etc/init.d/weewx start
 * Starting weewx weather system weewx  
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit
self.socket.send(msg)
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 855, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit
self._connect_unixsocket(self.address)
  File "/usr/lib/python3.8/logging/handlers.py", line 866, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
  File "/usr/share/weewx/weewxd", line 249, in 
main()
  File "/usr/share/weewx/weewxd", line 101, in main
log.info("Initializing weewx version %s", weewx.__version__)
Message: 'Initializing weewx version %s'
Arguments: ('4.9.1',)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 934, in emit
self.socket.send(msg)
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 855, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/logging/handlers.py", line 937, in emit
self._connect_unixsocket(self.address)
  File "/usr/lib/python3.8/logging/handlers.py", line 866, in 
_connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
  File "/usr/share/weewx/weewxd", line 249, in 
main()
  File "/usr/share/weewx/weewxd", line 102, in main

[weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread Δημήτρης Βήχος
my station stanza

[Station]

# Description of the station location
location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 40.243
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = 23.277

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 4, meter

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = FineOffsetUSB

# If you have a website, you may specify an URL. This is required if you
# intend to register your station.
station_url = https://kairos.moudania.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince 
έγραψε:

> On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com 
> wrote:
>
>>
>> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry: 
>> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value: 
>> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>>
>
> Lets see your [Station] stanza from weewx.conf please.  I'm guessing that 
> you have strange characters in there possibly in your 'location = ' line or 
> nearby.
>
>
>

-- 
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/85b2443f-31ea-4fd4-9805-42a1a59ac135n%40googlegroups.com.


[weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread vince
On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com 
wrote:

>
> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry: 
> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value: 
> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>

Lets see your [Station] stanza from weewx.conf please.  I'm guessing that 
you have strange characters in there possibly in your 'location = ' line or 
nearby.


-- 
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/0e0a88d3-e94a-4d21-b977-8280d47a4acfn%40googlegroups.com.


[weewx-user] Re: OS-WEEWX compatibility question

2022-11-03 Thread vince
There is no need to change your os to add Home Assistant under docker...

But to answer:

   - weewx runs fine on debian on any hardware, as well as debian 
   derivatives (RaspiOS, Ubuntu)


   - Home Assistant in docker runs fine on a pi4 over RaspiOS


   - If you purchase a Flirc case for your pi4 it will idle under 50C with 
   no reboots required.

While you can run HA and weewx on the same pi, be aware that HA does a lot 
of disk writes and this might stress your SD card.  Even on a pi4 you might 
find the HA performance a bit slow.  I started that way here and moved HA 
to a i3 NUC in docker (over ubuntu LTS) and it is much more responsive and 
stable.

Ignore the HA people saying 'you must run debian'.  They're referring to 
adding HA on top of an os, not running HA in a 'container' under Docker. 
 It doesn't matter what os you're running docker on really.

-- 
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/78b00887-c46b-4803-a98f-07c79c478adcn%40googlegroups.com.


[weewx-user] Re: cant registrer my weather stations

2022-11-03 Thread Δημήτρης Βήχος
in both weather stations in weewx conf ,

 [[StationRegistry]]
# To register this weather station with weewx, set this to true,
# then fill out option 'station_url', located in the [Station] 
section above.
register_this_station = true
heres my log after debug=1

metfm@metfm:~$ sudo tail -f /var/log/syslog
[sudo] password for metfm: 
Nov  3 19:40:34 metfm weewx[10655] DEBUG weewx.manager: Daily summary 
version is 4.0
Nov  3 19:40:34 metfm weewx[10655] DEBUG weewx.manager: Daily summary 
version is 4.0
Nov  3 19:40:35 metfm weewx[10655] DEBUG weewx.drivers.fousb: get 787 
records since 2022-11-03 17:55:00
Nov  3 19:40:35 metfm weewx[10655] INFO weewx.drivers.fousb: synchronising 
to the weather station (quality=0)
Nov  3 19:40:36 metfm weewx[10655] DEBUG weewx.drivers.fousb: status 
{'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Nov  3 19:40:42 metfm weewx[10655] DEBUG weewx.drivers.fousb: new data
Nov  3 19:40:42 metfm weewx[10655] DEBUG weewx.drivers.fousb: setting 
sensor clock 42.8507
Nov  3 19:40:42 metfm weewx[10655] DEBUG weewx.drivers.fousb: live 
synchronised
Nov  3 19:40:42 metfm weewx[10655] DEBUG weewx.drivers.fousb: packet 
timestamp is 17:40:42
Nov  3 19:40:42 metfm weewx[10655] DEBUG weewx.drivers.fousb: estimated log 
time 17:33:18 +/- 24s (17:32:54..17:33:42)
Nov  3 19:41:27 metfm weewx[10655] DEBUG weewx.drivers.fousb: avoid 
5.865389347076416
Nov  3 19:41:33 metfm weewx[10655] DEBUG weewx.drivers.fousb: new data
Nov  3 19:41:33 metfm weewx[10655] DEBUG weewx.drivers.fousb: packet 
timestamp is 17:41:30
Nov  3 19:41:33 metfm weewx[10655] DEBUG weewx.drivers.fousb: estimated log 
time 17:33:12 +/- 18s (17:32:42..17:33:30)
Nov  3 19:42:15 metfm weewx[10655] DEBUG weewx.drivers.fousb: avoid 
5.86328387260437
Nov  3 19:42:21 metfm weewx[10655] DEBUG weewx.drivers.fousb: new data
Nov  3 19:42:21 metfm weewx[10655] DEBUG weewx.drivers.fousb: packet 
timestamp is 17:42:18
Nov  3 19:42:21 metfm weewx[10655] DEBUG weewx.drivers.fousb: estimated log 
time 17:33:06 +/- 12s (17:32:30..17:33:18)
Nov  3 19:42:21 metfm weewx[10655] DEBUG weewx.drivers.fousb: synchronised 
to 2022-11-03 17:33:06 for ptr 0x3220
Nov  3 19:42:21 metfm weewx[10655] DEBUG weewx.drivers.fousb: found 0 
archive records
Nov  3 19:42:21 metfm weewx[10655] INFO weewx.engine: Starting main packet 
loop.
Nov  3 19:42:22 metfm weewx[10655] INFO weewx.drivers.fousb: station status 
{'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Nov  3 19:42:22 metfm weewx[10655] DEBUG user.rtgd: Data may have been 
posted successfully. Response message was not received but a valid response 
code was received.
Nov  3 19:42:48 metfm dbus-daemon[813]: [session uid=1000 pid=813] 
Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested 
by ':1.37' (uid=1000 pid=1061 comm="/usr/bin/Thunar --daemon ")
Nov  3 19:42:48 metfm org.freedesktop.thumbnails.Thumbnailer1[10700]: 
Registered thumbnailer atril-thumbnailer -s %s %u %o
Nov  3 19:42:48 metfm org.freedesktop.thumbnails.Thumbnailer1[10700]: 
Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Nov  3 19:42:48 metfm dbus-daemon[813]: [session uid=1000 pid=813] 
Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Nov  3 19:43:22 metfm weewx[10655] DEBUG user.rtgd: Data may have been 
posted successfully. Response message was not received but a valid response 
code was received.
Nov  3 19:44:22 metfm weewx[10655] DEBUG user.rtgd: Data may have been 
posted successfully. Response message was not received but a valid response 
code was received.
Nov  3 19:44:44 metfm rtkit-daemon[622]: Supervising 5 threads of 2 
processes of 1 users.
Nov  3 19:44:44 metfm rtkit-daemon[622]: Supervising 5 threads of 2 
processes of 1 users.
Nov  3 19:45:22 metfm weewx[10655] INFO weewx.manager: Added record 
2022-11-03 19:45:00 EET (1667497500) to database 'weewx.sdb'
Nov  3 19:45:22 metfm weewx[10655] INFO weewx.manager: Added record 
2022-11-03 19:45:00 EET (1667497500) to daily summary in 'weewx.sdb'
Nov  3 19:45:22 metfm weewx[10655] DEBUG weewx.reportengine: Running 
reports for latest time in the database.
Nov  3 19:45:22 metfm weewx[10655] DEBUG weewx.reportengine: Running report 
'SeasonsReport'
Nov  3 19:45:22 metfm weewx[10655] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 
'SeasonsReport'
Nov  3 19:45:22 metfm weewx[10655] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Nov  3 19:45:22 metfm weewx[10655] DEBUG weewx.manager: Daily summary 
version is 4.0
Nov  3 19:45:23 metfm 

[weewx-user] Re: OS-WEEWX compatibility question

2022-11-03 Thread Karen K
Support people can be very special if they don't see their favorite setup. 
Sigh. 

rklud...@gmail.com schrieb am Donnerstag, 3. November 2022 um 18:05:20 
UTC+1:

> Does WEEX run on Debian OS on the Raspberry PI? I am currently using 
> Raspbian OS (that the RPI came with), but I am being somewhat "pushed" to 
> change it
>
> That may sound "odd" but below is the reason why -
>
> Current setup:
>
> My long term goal was to use my Raspberry PI for a bunch of stuff, not 
> just WEEWX and here is a slight compatibility problem. Hardware and 
> software setup listed below, then main question is at the bottom:
>
> Hardware:
>
>- Raspberry PI 4 (8GB Ram and booting off of an SSD so it is pretty 
>fast). 
>- Connected to a fiber 1GB connection by ethernet for reliability
>- Running it headless (access over local network via VNC & Telnet) -
>- Bluetooth, sound and HDMI ports all turned off to maximize available 
>CPU. The weather station is an AmbientWeather WS-2902C about 9 months old.
>
> Software:
>
>- I have WEEWX running like a top (very well) and recently updated it 
>to the latest version. It is using the "Interceptor" driver to listen to 
>the weather station  to collect the data, and sends data out to ten 
> places: 
>Windy, Wundergound, WindGuru, OWM, Meteoservices, Weather365, PWSWeather, 
>WeatherCloud, AWEKA and WOW
>- Running on the default OS that came with the RPI (which I 
>consistently keep up to date via VNC) - Raspbian.
>- Partially as learning excercise,  I have two two decent scripts 
>running on it:
>   - One that turns it's fans on when the CPU exceeds 65 degrees 
>   celcius and turns back off when it drops below 55 celcius.
>   - A nightly reboot script as a cron job that emails me with details 
>   on processes first shut-down and then gently reboots the RPI (takes 
> place a 
>   few minutes after my router reboots in the middle of the night).
>- Home Assistant* ("Supervised" version), which is pretty involved but 
>can do amazing things regarding home automation. It was pure luck that 
>there is also a very good integration with the AmbientWeather weather 
>station that I am using so I can set up lights in certain rooms to turn on 
>automatically with brightness that is inversely proportional to the 
>berightness outside, send reminders to close specific windows that are 
> open 
>when it starts raining, remind me to close the garage if left open too 
>long, etc., etc., etc.,
>
> The creator of Home Assistant is a company named "Nabu Casa". The vast 
> majority of Home Assistant users run their setup on a dedicated machine 
> with the Home Assistant OS. With that setup, they do not allow ANY other 
> software to run on the machine. There is one exception which I am using, 
> and that is to run Home Assistant on Debian OS in a container - and that is 
> what I am doing - even so, they still insist I use Debian, as my setup is 
> considerd "unsupported" (ugh)... (They also alow me to run it in a VM but I 
> haven't gone that route).
>
> I was also thinking maybe I would get a dedicated mini PC or a second RPI 
> and have them talk to each other, but #1 that's not in the budget right 
> now, and 2. it might be overkill... (RPI CPU levels and temperature is 
> still within very acceptable limits)...
>
> Thoughts?
>
>
>
>

-- 
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/a07153b6-1794-448a-b7ae-10dd037c31ecn%40googlegroups.com.


Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2022-11-03 Thread Günther Wrana
Hello i have now activate debug=1 in weewx.conf and in the weewx.conf.dist
But I have no idea what should be different now.
So what should I do to uninstall the whole program?

pi@wetterpi:/etc/weewx$ sudo nano weewx.conf
pi@wetterpi:/etc/weewx$ sudo nano weewx.conf.dist
pi@wetterpi:/etc/weewx$ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@wetterpi:/etc/weewx$ sudo tail -f /var/log/syslog
Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/xtypes.py", line 116, in get_series
Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine: 
  raise weewx.UnknownType(msg)
Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine: 
  weewx.UnknownType: 'wind' or 'vecdir'
Nov  3 18:00:35 wetterpi weewx[29729] ERROR weewx.reportengine: 
  Generator terminated
Nov  3 18:00:35 wetterpi weewx[29729] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx
Nov  3 18:00:41 wetterpi systemd[1]: Stopping LSB: weewx weather system...
Nov  3 18:00:41 wetterpi weewx[6620]: Stopping weewx weather system: weewx 
not running
Nov  3 18:00:41 wetterpi systemd[1]: weewx.service: Succeeded.
Nov  3 18:00:41 wetterpi systemd[1]: Stopped LSB: weewx weather system.
Nov  3 18:00:54 wetterpi weewx[29729] ERROR weewx.restx: AWEKAS: Failed to 
publish record 2022-11-03 18:00:00 CET (1667494800): Failed upload after 3 
tries
^C
pi@wetterpi:/etc/weewx$ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@wetterpi:/etc/weewx$ sudo tail -f /var/log/syslog
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:  
 self.console = loader_function(config_dict, self)
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:    
 File "/usr/share/weewx/user/wh23xx.py", line 266, in loader
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:  
 return WH23xxDriver(**config_dict[DRIVER_NAME])
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:    
 File "/usr/share/weewx/user/wh23xx.py", line 411, in __init__
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:  
 self._station.open()
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:    
 File "/usr/share/weewx/user/wh23xx.py", line 596, in open
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:  
 raise weewx.WeeWxIOError(e)
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL weewx.engine:  
 weewx.WeeWxIOError: [Errno 16] Resource busy
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL __main__: Unable to load 
driver: [Errno 16] Resource busy
Nov  3 18:01:18 wetterpi weewx[6675] CRITICAL __main__:   Exiting...
Nov  3 18:01:29 wetterpi /weewxd: wh23xx: get_current: failed attempt 1 of 
5: [Errno 5] Input/Output Error
Nov  3 18:01:29 wetterpi kernel: [19184295.464327] usb 1-1.5: usbfs: 
process 29729 (python3) did not claim interface 0 before use
Nov  3 18:01:39 wetterpi /weewxd: wh23xx: get_current: failed attempt 2 of 
5: [Errno 5] Input/Output Error
Nov  3 18:01:39 wetterpi kernel: [19184305.473969] usb 1-1.5: usbfs: 
process 29729 (python3) did not claim interface 0 before use
Nov  3 18:01:49 wetterpi /weewxd: wh23xx: get_current: failed attempt 3 of 
5: [Errno 5] Input/Output Error
Nov  3 18:01:49 wetterpi kernel: [19184315.485083] usb 1-1.5: usbfs: 
process 29729 (python3) did not claim interface 0 before use
Nov  3 18:01:59 wetterpi /weewxd: wh23xx: get_current: failed attempt 4 of 
5: [Errno 5] Input/Output Error
Nov  3 18:01:59 wetterpi kernel: [19184325.496175] usb 1-1.5: usbfs: 
process 29729 (python3) did not claim interface 0 before use
Nov  3 18:02:09 wetterpi /weewxd: wh23xx: get_current: failed attempt 5 of 
5: [Errno 5] Input/Output Error
Nov  3 18:02:09 wetterpi kernel: [19184335.507264] usb 1-1.5: usbfs: 
process 29729 (python3) did not claim interface 0 before use
Nov  3 18:02:19 wetterpi /weewxd: wh23xx: read failed: max retries (5) 
exceeded
Nov  3 18:02:19 wetterpi weewx[29729] INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Nov  3 18:02:19 wetterpi weewx[29729] INFO weewx.engine: Shutting down 
StdReport thread
Nov  3 18:02:19 wetterpi /weewxd: wh23xx: release interface failed: [Errno 
None] Other error
Nov  3 18:02:19 wetterpi weewx[29729] CRITICAL __main__: Caught 
WeeWxIOError: read failed: max retries (5) exceeded
Nov  3 18:02:19 wetterpi weewx[29729] CRITICAL __main__:   Waiting 
60 seconds then retrying...
Nov  3 18:03:20 wetterpi weewx[29729] INFO __main__: retrying...
Nov  3 18:03:20 wetterpi weewx[29729] INFO weewx.engine: Loading station 
type WH23xx (user.wh23xx)
Nov  3 18:03:20 wetterpi /weewxd: wh23xx: driver version is 0.14
Nov  3 18:03:20 wetterpi /weewxd: wh23xx: usb info: pyusb_version=1.0.2
Nov  3 18:03:20 wetterpi /weewxd: wh23xx: poll interval is 15
Nov  3 18:03:20 wetterpi /weewxd: wh23xx: Found device on USB bus= device=
Nov  

[weewx-user] OS-WEEWX compatibility question

2022-11-03 Thread Kruse Ludington
Does WEEX run on Debian OS on the Raspberry PI? I am currently using 
Raspbian OS (that the RPI came with), but I am being somewhat "pushed" to 
change it

That may sound "odd" but below is the reason why -

Current setup:

My long term goal was to use my Raspberry PI for a bunch of stuff, not just 
WEEWX and here is a slight compatibility problem. Hardware and software 
setup listed below, then main question is at the bottom:

Hardware:

   - Raspberry PI 4 (8GB Ram and booting off of an SSD so it is pretty 
   fast). 
   - Connected to a fiber 1GB connection by ethernet for reliability
   - Running it headless (access over local network via VNC & Telnet) -
   - Bluetooth, sound and HDMI ports all turned off to maximize available 
   CPU. The weather station is an AmbientWeather WS-2902C about 9 months old.

Software:

   - I have WEEWX running like a top (very well) and recently updated it to 
   the latest version. It is using the "Interceptor" driver to listen to the 
   weather station  to collect the data, and sends data out to ten places: 
   Windy, Wundergound, WindGuru, OWM, Meteoservices, Weather365, PWSWeather, 
   WeatherCloud, AWEKA and WOW
   - Running on the default OS that came with the RPI (which I consistently 
   keep up to date via VNC) - Raspbian.
   - Partially as learning excercise,  I have two two decent scripts 
   running on it:
  - One that turns it's fans on when the CPU exceeds 65 degrees celcius 
  and turns back off when it drops below 55 celcius.
  - A nightly reboot script as a cron job that emails me with details 
  on processes first shut-down and then gently reboots the RPI (takes place 
a 
  few minutes after my router reboots in the middle of the night).
   - Home Assistant* ("Supervised" version), which is pretty involved but 
   can do amazing things regarding home automation. It was pure luck that 
   there is also a very good integration with the AmbientWeather weather 
   station that I am using so I can set up lights in certain rooms to turn on 
   automatically with brightness that is inversely proportional to the 
   berightness outside, send reminders to close specific windows that are open 
   when it starts raining, remind me to close the garage if left open too 
   long, etc., etc., etc.,

The creator of Home Assistant is a company named "Nabu Casa". The vast 
majority of Home Assistant users run their setup on a dedicated machine 
with the Home Assistant OS. With that setup, they do not allow ANY other 
software to run on the machine. There is one exception which I am using, 
and that is to run Home Assistant on Debian OS in a container - and that is 
what I am doing - even so, they still insist I use Debian, as my setup is 
considerd "unsupported" (ugh)... (They also alow me to run it in a VM but I 
haven't gone that route).

I was also thinking maybe I would get a dedicated mini PC or a second RPI 
and have them talk to each other, but #1 that's not in the budget right 
now, and 2. it might be overkill... (RPI CPU levels and temperature is 
still within very acceptable limits)...

Thoughts?



-- 
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/2ac0912d-23d2-496a-a924-813141d3a10cn%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread David Marshall
All working fine.
Many thanks for the new release.

On Thursday, November 3, 2022 at 3:58:33 AM UTC+1 gjr80 wrote:

> I've released v0.6.0 which should fix the average bearing/current bearing 
> issue highlighted in this thread. The release can be found in the usual 
> place .
>
> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
> as it needs more debug time than I have available just now. I will 
> investigate later this week and if necessary make a dot dot release.
>
> Gary  
>
> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>
>> Thanks Gary, that would be great.
>> Amazing piece of work by the way.
>> David
>>
>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>
>>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>>> SteelSeries gauges. I should have a fix by tomorrow.
>>>
>>> Gary
>>>
>>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Built a new station using an esp32 which mqtt’s data every second to a 
 Raspi. A python program converts this to a txt file which I then file 
 parse 
 into weewx. All ok.
 I have successfully installed the steelseries gauges and the rtgd 
 extension. All works fine and it is fantastic to see the gauges updating 
 in 
 real time.

 Just one small problem - the Wind Direction gauge shows latest and 
 average, but the average is always the same as the latest. Tried playing 
 with the rtgd.py program but even when I set data[avgdirection] to a 
 different value, nothing  changes.

 Any ideas?

>>>

-- 
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/d75f6f2e-5cda-49b9-9df5-b16232b87af3n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread Δημήτρης Βήχος
οκ after reinstalling works fine .

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 12:20:57 μ.μ. UTC+2, ο χρήστης gjr80 
έγραψε:

> Download and install it again.
>
> Gary
>
> On Thursday, 3 November 2022 at 19:55:40 UTC+10 hobbyl...@gmail.com wrote:
>
>> something goes wrong with 0.6.0 vresion to me. log tel me after 
>> installing and restarting weewx
>>
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
>> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> Traceback (most recent call last):
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> data = self.calculate(cached_packet)
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2390, in calculate
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> data[field] = self.get_field_value(field, packet)
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
>> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
>> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
>> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>>
>> im going back to 0.5.5  and all works  fine
>>
>> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
>> έγραψε:
>>
>>> I've released v0.6.0 which should fix the average bearing/current 
>>> bearing issue highlighted in this thread. The release can be found in the 
>>> usual place 
>>> .
>>>
>>> In testing v0.6.0 I've noticed a problem with sporadic windrun updates 
>>> on the Wind Rose gauge. I'm not sure if this a bug or an issue with my 
>>> system as it needs more debug time than I have available just now. I will 
>>> investigate later this week and if necessary make a dot dot release.
>>>
>>> Gary  
>>>
>>> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Thanks Gary, that would be great.
 Amazing piece of work by the way.
 David

 On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:

> Thanks for spotting this. There is an issue is v0.5.5 that maps 
> current wind direction to both the 'bearing' and 'avgbearing' fields used 
> by the SteelSeries gauges. I should have a fix by tomorrow.
>
> Gary
>
> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
> wrote:
>
>> Built a new station using an esp32 which mqtt’s data every second to 
>> a Raspi. A python program converts this to a txt file which I then file 
>> parse into weewx. All ok.
>> I have successfully installed the steelseries gauges and the rtgd 
>> extension. All works fine and it is fantastic to see the gauges updating 
>> in 
>> real time.
>>
>> Just one small problem - the Wind Direction gauge shows latest and 
>> average, but the average is always the same as the latest. Tried playing 
>> with the rtgd.py program but even when I set data[avgdirection] to a 
>> different value, nothing  changes.
>>
>> Any ideas?
>>
>

-- 
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/6ec5144b-7e44-4f06-9bc6-7299d4b4329cn%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread gjr80
Download and install it again.

Gary

On Thursday, 3 November 2022 at 19:55:40 UTC+10 hobbyl...@gmail.com wrote:

> something goes wrong with 0.6.0 vresion to me. log tel me after installing 
> and restarting weewx
>
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
> Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> Traceback (most recent call last):
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> data = self.calculate(cached_packet)
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2390, in calculate
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> data[field] = self.get_field_value(field, packet)
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
> "/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> _conv_default = weeutil.weeutil.convert(this_field_map['default'],
> Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
> AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
>
> im going back to 0.5.5  and all works  fine
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
> έγραψε:
>
>> I've released v0.6.0 which should fix the average bearing/current bearing 
>> issue highlighted in this thread. The release can be found in the usual 
>> place .
>>
>> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
>> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
>> as it needs more debug time than I have available just now. I will 
>> investigate later this week and if necessary make a dot dot release.
>>
>> Gary  
>>
>> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>>
>>> Thanks Gary, that would be great.
>>> Amazing piece of work by the way.
>>> David
>>>
>>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>>
 Thanks for spotting this. There is an issue is v0.5.5 that maps current 
 wind direction to both the 'bearing' and 'avgbearing' fields used by the 
 SteelSeries gauges. I should have a fix by tomorrow.

 Gary

 On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
 wrote:

> Built a new station using an esp32 which mqtt’s data every second to a 
> Raspi. A python program converts this to a txt file which I then file 
> parse 
> into weewx. All ok.
> I have successfully installed the steelseries gauges and the rtgd 
> extension. All works fine and it is fantastic to see the gauges updating 
> in 
> real time.
>
> Just one small problem - the Wind Direction gauge shows latest and 
> average, but the average is always the same as the latest. Tried playing 
> with the rtgd.py program but even when I set data[avgdirection] to a 
> different value, nothing  changes.
>
> Any ideas?
>


-- 
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/8c955ee6-b273-4522-809d-65293b6cd200n%40googlegroups.com.


[weewx-user] Re: rtgd-0.5.5 extension Wind Direction Average

2022-11-03 Thread Δημήτρης Βήχος
something goes wrong with 0.6.0 vresion to me. log tel me after installing 
and restarting weewx

Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
_conv_default = weeutil.weeutil.convert(this_field_map['default'],
Nov  3 09:36:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
AttributeError: module 'weeutil.weeutil' has no attribute 'convert'
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
Traceback (most recent call last):
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 1896, in process_packet
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  data 
= self.calculate(cached_packet)
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2390, in calculate
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
data[field] = self.get_field_value(field, packet)
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:    File 
"/usr/share/weewx/user/rtgd.py", line 2155, in get_field_value
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
_conv_default = weeutil.weeutil.convert(this_field_map['default'],
Nov  3 09:37:57 metfm weewx[9966] INFO user.rtgd: rtgdthread:  
AttributeError: module 'weeutil.weeutil' has no attribute 'convert'

im going back to 0.5.5  and all works  fine

Στις Πέμπτη 3 Νοεμβρίου 2022 στις 4:58:33 π.μ. UTC+2, ο χρήστης gjr80 
έγραψε:

> I've released v0.6.0 which should fix the average bearing/current bearing 
> issue highlighted in this thread. The release can be found in the usual 
> place .
>
> In testing v0.6.0 I've noticed a problem with sporadic windrun updates on 
> the Wind Rose gauge. I'm not sure if this a bug or an issue with my system 
> as it needs more debug time than I have available just now. I will 
> investigate later this week and if necessary make a dot dot release.
>
> Gary  
>
> On Tuesday, 1 November 2022 at 22:28:59 UTC+10 marsha...@gmail.com wrote:
>
>> Thanks Gary, that would be great.
>> Amazing piece of work by the way.
>> David
>>
>> On Tuesday, November 1, 2022 at 2:50:51 AM UTC+1 gjr80 wrote:
>>
>>> Thanks for spotting this. There is an issue is v0.5.5 that maps current 
>>> wind direction to both the 'bearing' and 'avgbearing' fields used by the 
>>> SteelSeries gauges. I should have a fix by tomorrow.
>>>
>>> Gary
>>>
>>> On Tuesday, 1 November 2022 at 05:34:05 UTC+10 marsha...@gmail.com 
>>> wrote:
>>>
 Built a new station using an esp32 which mqtt’s data every second to a 
 Raspi. A python program converts this to a txt file which I then file 
 parse 
 into weewx. All ok.
 I have successfully installed the steelseries gauges and the rtgd 
 extension. All works fine and it is fantastic to see the gauges updating 
 in 
 real time.

 Just one small problem - the Wind Direction gauge shows latest and 
 average, but the average is always the same as the latest. Tried playing 
 with the rtgd.py program but even when I set data[avgdirection] to a 
 different value, nothing  changes.

 Any ideas?

>>>

-- 
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/01b0225e-6761-4442-a1fb-4af5adfe3d9dn%40googlegroups.com.