Re: [weewx-user] Problem with weewx after power failure

2024-04-15 Thread dunbrokin
Yes apologies, it has been so long since my system misbehaved (probably 10
years), I had forgotten what was required.

I looked back over the history of commands in the terminal of the Rpi and
found these commands: (probably given to me by you last time around)

1297 sudo /etc/init.d/weewx stop

1298 wee_device --dump

1299 wee_device --clear-memory

1300 sudo /etc/init.d/weewx start

I tried them and lo! and behold! We are back online!

Thank you to all who tried to help...always much appreciated.




On Sun, Apr 14, 2024 at 1:35 AM Tom Keffer  wrote:

> You're not giving us much information. At the very least, what kind of
> weather station? Better yet, include the log. See the wiki article *Help!
> Posting to weewx-user
> * for
> how to get a good log.
>
> The wlan0 entries are probably red herrings.
>
> -tk
>
> On Fri, Apr 12, 2024 at 5:38 PM Monica Mulholland 
> wrote:
>
>> My Rpi with weewx has been running very successfully for many
>> years.until we had a power failure recently. I can still get into my
>> Rpi from my desktop and see that it is runningbut nothing is been
>> updating on my website. It is still stuck at the time the power came back
>> on. I suppose it could be the battery on the external weather station but
>> that was changed recently and it the signal strength on the last webpage is
>> not showing any problem. When I look at the log, I get a stream of these.
>>
>> Apr 13 12:25:28 WeatherPi dhcpcd[349]: wlan0: Router Advertisement from
>> fe80::724f:57ff:feb7:82a1
>> Apr 13 12:25:28 WeatherPi dhcpcd[349]: wlan0: soliciting a DHCPv6 lease
>>
>> Can somebody who knows more about these things than me, please tell me
>> what is going on and how I can sort this out,
>>
>> Thanks in anticipation.
>>
>> --
>> 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/e75c2ddf-368e-4e45-b0c9-e238058eeb4cn%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/CAPq0zEAobmP7beSg4Nw4i%2BqM%2B9pui1SV9_25Zu8xChwjs-XwKg%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/CAF1oaffHzHAO-v5E_GwKxB6n7UR_9g7Bd7ANiyOwy7uphJyFTA%40mail.gmail.com.


Re: [weewx-user] Fileparse Installation

2024-04-15 Thread Tom Keffer
You're trying to install the documentation, not the actual code.

Try

*weectl extension install /etc/weewx/examples/fileparse*



On Mon, Apr 15, 2024 at 8:19 AM Craig Benson 
wrote:

> Hello -
>
> I'm building a weather station from scratch and I will need to use the
> fileparse driver to consume a data file.  However, when I run the command
> in the fileparse readme file [sudo weectl extension install
> /usr/share/doc/weewx/examples/fileparse], I get the error shown in the
> attachment.  Since the fileparse example is in the /etc directory, is there
> a newer script that will run the install?
>
> Thanks in advance for any help.
> Craig
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/8edf5c4f-be21-4708-9f94-73a97d7267acn%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/CAPq0zEDsS--zAr%2BMrFhuG25FrJJXLuYaeWWPS_-KETePaJ%3D6Ag%40mail.gmail.com.


[weewx-user] Re: Belling the Cat — Was: Launching Weewx

2024-04-15 Thread Marie-Laure TERRIENNE
Je mets mon message en français, les traducteurs en ligne font un travail 
correct.
Le contenu de weewx.conf est :

Note : désolé, je n'ai pas vu comment mettre en forme du texte copié/collé 
; je l'ai mis en italique.











































*[Station]# Description of the station location, such as your 
town.location = Le Haut Bilain LCDB 35660# Latitude in decimal 
degrees. Negative for southern hemisphere.latitude = 47.698963# 
Longitude in decimal degrees. Negative for western hemisphere.longitude 
= -1.921372# Altitude of the station, with the unit it is in. This 
is used only# if the hardware cannot supply a value.altitude = 20, 
meter# Choose 'foot' or 'meter' for unit# 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. The 
URL is required if you# intend to register your station. The URL must 
include the scheme, for# example, "http://"; or "https://";
#station_url = https://www.example.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##[FineOffsetUSB]
  
  # This section is for the Fine Offset series of weather stations.
# The station model, e.g., WH1080, WS1090, WS2080, WH3081model = 
WH1081# How often to poll the station for data, in seconds
polling_interval = 60# The driver to use:driver = 
weewx.drivers.fousb*

Il décrit bien ma station, mais quand je lance :"sudo weewxd 
/etc/weewx/weewx.conf", rien ne se passe.

Le contenu de weewx.conf-5.0.2 est : 






















































*#   This section is for information about the station.[Station]# 
Description of the station location, such as your town.location = WeeWX 
station# Latitude in decimal degrees. Negative for southern 
hemisphere.latitude = 0.0# Longitude in decimal degrees. Negative 
for western hemisphere.longitude = 0.0# Altitude of the 
station, with the unit it is in. This is used only# if the hardware 
cannot supply a value.altitude = 0, foot# Choose 'foot' or 'meter' 
for unit# 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 = Simulator# If you have a 
website, you may specify an URL. The URL is required if you# intend to 
register your station. The URL must include the scheme, for# example, 
"http://"; or "https://";#station_url = https://www.example.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##[Simulator]
  
  # This section is for the weewx weather station simulator.# The 
time (in seconds) between LOOP packets.loop_interval = 2.5# The 
simulator mode can be either 'simulator' or 'generator'.# Real-time 
simulator. Sleep between each LOOP packet.mode = simulator# 
Generator.  Emit LOOP packets as fast as possible (useful for testing).
#mode = generator# The start time. Format is -mm-ddTHH:MM. If 
not specified, the# default is to use the present time.#start = 
2011-01-01T00:00# The driver to use.driver = 
weewx.drivers.simulator##*

Cela ne correspond plus à ma station, ça correspond au simulator et quand 
je lance :"sudo weewxd /etc/weewx/weewx.conf-5.0.2, j'obtiens des résultats 
dans le terminal, mais ils ne correspondent bien entendu pas à ceux de ma 
station. C'est à peu près les mêmes valeurs que celles que vous avez mises 
dans votre post.

Faut-il modifier weewx.conf-5.0.2 et si oui, comment.

Cordialement.

Pierre.
Le dimanche 14 avril 2024 à 20:45:52 UTC+2, vince a écrit :

> Your English is ok.  Google Translate is not always so ok :-)
>
> You might want to check your /etc/weewx/weewx.conf to see if it looks 
> correct.  Make sure that it is not zero length.   This example is running 
> the simulator driver.
>
> /etc/weewx$ ls -lgd /etc/weewx/weewx.conf*
> -rw-r--r-- 1 weewx 23713 Apr  2 12:04 /etc/weewx/weewx.conf
> -rw-rw-r-- 1 weewx 19482 Apr  2 12:04 /etc/weewx/weewx.conf.20240402120403
> -rw-rw-r-- 1 weewx 19463 Feb  9 23:03 /etc/weewx/weewx.conf-5.0.2
>
> Weewx v5 runs as user 'weewx' and group 'weewx', but the command to test 
> from the shell is somewh

[weewx-user] Re: Belling the Cat — Was: Launching Weewx

2024-04-15 Thread vince
The correct configuration file is /etc/weewx/weewx.conf which you can 
modify by running "weectl station reconfigure" and answering the questions 
it asks.  Then run "sudo systemctl restart weewx" to restart weewx.

You can view your logs with "sudo journalctl -u weewx --no-pager" to see 
all weewx related log entries since weewx restart.

On Monday, April 15, 2024 at 8:49:03 AM UTC-7 Marie-Laure TERRIENNE wrote:

> Je mets mon message en français, les traducteurs en ligne font un travail 
> correct.
> Le contenu de weewx.conf est :
>
> Note : désolé, je n'ai pas vu comment mettre en forme du texte copié/collé 
> ; je l'ai mis en italique.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[Station]# Description of the station location, such as your 
> town.location = Le Haut Bilain LCDB 35660# Latitude in decimal 
> degrees. Negative for southern hemisphere.latitude = 47.698963# 
> Longitude in decimal degrees. Negative for western hemisphere.longitude 
> = -1.921372# Altitude of the station, with the unit it is in. This 
> is used only# if the hardware cannot supply a value.altitude = 20, 
> meter# Choose 'foot' or 'meter' for unit# 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. The 
> URL is required if you# intend to register your station. The URL must 
> include the scheme, for# example, "http://"; or "https://";
> #station_url = https://www.example.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##[FineOffsetUSB]
>   
>   # This section is for the Fine Offset series of weather stations.
> # The station model, e.g., WH1080, WS1090, WS2080, WH3081model = 
> WH1081# How often to poll the station for data, in seconds
> polling_interval = 60# The driver to use:driver = 
> weewx.drivers.fousb*
>
> Il décrit bien ma station, mais quand je lance :"sudo weewxd 
> /etc/weewx/weewx.conf", rien ne se passe.
>
> Le contenu de weewx.conf-5.0.2 est : 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *#   This section is for information about the station.[Station]# 
> Description of the station location, such as your town.location = WeeWX 
> station# Latitude in decimal degrees. Negative for southern 
> hemisphere.latitude = 0.0# Longitude in decimal degrees. Negative 
> for western hemisphere.longitude = 0.0# Altitude of the 
> station, with the unit it is in. This is used only# if the hardware 
> cannot supply a value.altitude = 0, foot# Choose 'foot' or 'meter' 
> for unit# 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 = Simulator# If you have a 
> website, you may specify an URL. The URL is required if you# intend to 
> register your station. The URL must include the scheme, for# example, 
> "http://"; or "https://";#station_url = https://www.example.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##[Simulator]
>   
>   # This section is for the weewx weather station simulator.# The 
> time (in seconds) between LOOP packets.loop_interval = 2.5# The 
> simulator mode can be either 'simulator' or 'generator'.# Real-time 
> simulator. Sleep between each LOOP packet.mode = simulator# 
> Generator.  Emit LOOP packets as fast as possible (useful for testing).
> #mode = generator# The start time. Format is -mm-ddTHH:MM. If 
> not specified, the# default is to use the present time.#start = 
> 2011-01-01T00:00# The driver to use.driver = 
> weewx.drivers.simulator##*
>
> Cela ne correspond plus à ma station, ça correspond au simulator et quand 
> je lance :"sudo weewxd /etc/weewx/weewx.conf-5.0.2, j'obtiens des 
> résultats dans le terminal, mais ils ne correspondent bien entendu pas à 
> ceux de ma station. C'est à peu près les mêmes valeurs que celles que vous 
> avez mises dans votre post.
>
> Faut-il modifier weewx.conf-5.0.2