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

2024-04-16 Thread vince
Wonderful 

On Tuesday, April 16, 2024 at 11:54:49 AM UTC-7 Marie-Laure TERRIENNE wrote:

> vince, avant toute chose, je voudrais vous remercier de m'avoir accompagné 
> pour résoudre un problème ... qui n'en était pas un, mais qui était, comme 
> vous l'avez deviné, un problème lié à ma mauvaise connaissance de 
> l'environnement Linux (Ubuntu dans mon cas).
>
> Je pensais aussi que weewx était une application autonome et qu'avoir un 
> serveur n'était qu'un petit plus.
>
> Vous m'aviez demandé d'installer un serveur (nginx) et allant voir dans 
> mon gestionnaire de paquets, ce serveur et ces dépendances étaient cochés. 
> Oui, coché, mais pas installé ! J'avais mal interprété les coches. Je viens 
> donc de l'installer et de relancer la commande que vous m'aviez dite : 
> http://192.168.0.7/weewx  et Oh miracle, les 
> jolies courbes comme celles de la page weewx.com se sont affichées.
>
> Je pense donc que "mon" problème est résolu. Tout fonctionne très bien.
>
> Encore merci vince.
>
> Cordialement.
>
> Pierre.
>
>
>
>

-- 
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/fec6942e-0a5d-46c2-904b-9440bf746a20n%40googlegroups.com.


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

2024-04-16 Thread Marie-Laure TERRIENNE
vince, avant toute chose, je voudrais vous remercier de m'avoir accompagné 
pour résoudre un problème ... qui n'en était pas un, mais qui était, comme 
vous l'avez deviné, un problème lié à ma mauvaise connaissance de 
l'environnement Linux (Ubuntu dans mon cas).

Je pensais aussi que weewx était une application autonome et qu'avoir un 
serveur n'était qu'un petit plus.

Vous m'aviez demandé d'installer un serveur (nginx) et allant voir dans mon 
gestionnaire de paquets, ce serveur et ces dépendances étaient cochés. Oui, 
coché, mais pas installé ! J'avais mal interprété les coches. Je viens donc 
de l'installer et de relancer la commande que vous m'aviez dite : 
http://192.168.0.7/weewx  et Oh miracle, les 
jolies courbes comme celles de la page weewx.com se sont affichées.

Je pense donc que "mon" problème est résolu. Tout fonctionne très bien.

Encore merci vince.

Cordialement.

Pierre.



-- 
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/924017b0-2f98-4533-a4bb-50cdbae892d1n%40googlegroups.com.


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

2024-04-16 Thread vince
Pierre - I'm sorry but I have to ask some more general questions:

   - have you ever run weewx before, or is this a new installation ?
   - Are you a new unix/linux user ?
   - Did you install a webserver onto your weewx computer ?  If so, which 
   one ?
   
Your questions tell me that you do not quite understand the entire system 
end-to-end, unless GoogleTranslate is misleading me.

   - weewx connects to your weather station to query it for sensor data
   - weewx periodically saves that data to a sqlite3 database named 
   'weewx.sdb'
   - weewx also periodically generates web pages and images 'from' that 
   data and saves them to /var/www/html/weewx by default

And:

   - you 'also' need to install a webserver app of your choice.  I 
   recommend nginx as the webserver to use
   - if you have weewx and a webserver installed, you should not see any 
   permission errors at all
   - you should not need to write your own software to read the database 
   and write out your own web pages or images

We can fix your permission errors but I wanted to make sure you understand 
what a complete weewx system looks like.  You need weewx 'and' a webserver 
installed and both need to be configured so that they work together.  If 
you install weewx and nginx, you should not be seeing any errors at all, 
and you should be able to browser your web pages via any browser.


(last questions he asked via Google Translate for our mostly 
English-speaking readers here)

*Apparently, my station is recognized and information is saved in a 
file named "weewx.sdb". What is this type of database?*







*I think the error lines correspond to data not provided by my 
station.How do we get graphical presentations like those shown on the 
right of the page: https://weewx.com/?I understand that these are 
images of applications that some users were willing to show, but that this 
is not an "option" of weewx. Yes No ?Being an Object Pascal programmer 
with Lazarus, I could make a similar presentation as long as I could insert 
the data from my station. But to do this, I need to be able to retrieve 
this data, updated every "x" seconds via weewx. Where to get this? In which 
file?*

-- 
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/59859d5d-832f-44b9-b755-b4447db5ba98n%40googlegroups.com.


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

2024-04-16 Thread Marie-Laure TERRIENNE
Merci "vince" pour ces informations.

J'ai modifiée le fichier /etc/weewx/weewx.conf comme vous me l'avez dit : 
ma station figure maintenant dans le fichier de configuration.

Appliquant cette commande : sudo systemctl restart weewx" to restart weewx 
, rien ne s'affiche dans le terminal et rien ne se passe, tout du moins 
visuellement.

Appliquant cette commande : sudo journalctl -u weewx --no-pager , j'obtiens 
un volumineux fichier dont les dernières lignes sont :

...
















































*avril 16 17:07:48 PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: get 1452 
records since 2024-04-16 15:12:30avril 16 17:07:48 PC-64 weewxd[1319]: INFO 
weewx.drivers.fousb: synchronising to the weather station (quality=0)avril 
16 17:07:49 PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: status 
{'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)avril 16 
17:08:00 PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: new dataavril 16 
17:08:00 PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: setting sensor 
clock 0.516293avril 16 17:08:00 PC-64 weewxd[1319]: DEBUG 
weewx.drivers.fousb: live synchronisedavril 16 17:08:00 PC-64 weewxd[1319]: 
DEBUG weewx.drivers.fousb: packet timestamp is 15:08:00avril 16 17:08:00 
PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: estimated log time 15:03:36 
+/- 24s (15:03:12..15:04:00)avril 16 17:08:45 PC-64 weewxd[1319]: DEBUG 
weewx.drivers.fousb: avoid 5.908215284347534avril 16 17:08:51 PC-64 
weewxd[1319]: DEBUG weewx.drivers.fousb: new dataavril 16 17:08:51 PC-64 
weewxd[1319]: DEBUG weewx.drivers.fousb: packet timestamp is 15:08:48avril 
16 17:08:51 PC-64 weewxd[1319]: DEBUG weewx.drivers.fousb: estimated log 
time 15:03:54 +/- 6s (15:03:48..15:04:00)avril 16 17:08:51 PC-64 
weewxd[1319]: DEBUG weewx.drivers.fousb: synchronised to 2024-04-16 
15:03:54 for ptr 0xb870avril 16 17:08:51 PC-64 weewxd[1319]: DEBUG 
weewx.drivers.fousb: found 0 archive recordsavril 16 17:08:51 PC-64 
weewxd[1319]: INFO weewx.engine: Starting main packet loop.avril 16 
17:08:51 PC-64 weewxd[1319]: INFO weewx.drivers.fousb: station status 
{'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)avril 16 
17:10:52 PC-64 weewxd[1319]: INFO weewx.manager: Added record 2024-04-16 
17:10:00 CEST (1713280200) to database 'weewx.sdb'avril 16 17:10:52 PC-64 
weewxd[1319]: INFO weewx.manager: Added record 2024-04-16 17:10:00 CEST 
(1713280200) to daily summary in 'weewx.sdb'avril 16 17:10:52 PC-64 
weewxd[1319]: DEBUG weewx.reportengine: Running reports for latest time in 
the database.avril 16 17:10:52 PC-64 weewxd[1319]: DEBUG 
weewx.reportengine: Running report 'SeasonsReport'avril 16 17:10:52 PC-64 
weewxd[1319]: DEBUG weewx.reportengine: Found configuration file 
/etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'avril 16 
17:10:52 PC-64 weewxd[1319]: DEBUG weewx.reportengine: Running generators 
for report 'SeasonsReport' in directory '/etc/weewx/skins/Seasons'avril 16 
17:10:52 PC-64 weewxd[1319]: 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']avril 16 17:10:52 PC-64 weewxd[1319]: 
DEBUG weewx.manager: Daily summary version is 4.0avril 16 17:10:52 PC-64 
weewxd[1319]: INFO weewx.cheetahgenerator: Generated 8 files for report 
SeasonsReport in 0.49 secondsavril 16 17:10:52 PC-64 weewxd[1319]: DEBUG 
weewx.manager: Daily summary version is 4.0avril 16 17:10:53 PC-64 
weewxd[1319]: ERROR weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/dayET.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/dayET.png':avril 16 17:10:53 PC-64 weewxd[1319]: ERROR 
weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/dayUV.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/dayUV.png':avril 16 17:10:53 PC-64 weewxd[1319]: ERROR 
weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/dayradiation.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/dayradiation.png':avril 16 17:10:53 PC-64 
weewxd[1319]: ERROR weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/dayvolt.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/dayvolt.png':avril 16 17:10:53 PC-64 weewxd[1319]: 
ERROR weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/weekET.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/weekET.png':avril 16 17:10:53 PC-64 weewxd[1319]: 
ERROR weewx.imagegenerator: Unable to save to file 
'/var/www/html/weewx/weekUV.png' [Errno 13] Permission non accordée: 
'/var/www/html/weewx/weekUV.png':avril 16 17:10:53 PC-64 weewxd[1319]: 
ERROR weewx.imagegenerator: Unable to save to file 

[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 et 

[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 somewhat 

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

2024-04-14 Thread vince
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 somewhat complicated.  This example is the simulator 
driver.

$ sudo -u weewx bash -c 'python3 /usr/share/weewx/weewxd.py 
/etc/weewx/weewx.conf'

LOOP:   2024-04-14 11:39:38 PDT (1713119978) 'altimeter': 
'31.10283290280814', 'appTemp': '28.46010918752483', 'barometer': 
'31.09998967093', 'cloudbase': '1244.323176426526', 
'consBatteryVoltage': '12.718450749586843', 'dateTime': '1713119978', 
'dewpoint': '27.203560993945757', 'ET': 'None', 'heatindex': 
'32.67858297022247', 'heatingVoltage': '12.0', 'humidex': 
'32.67858297022247', 'inDewpoint': '31.079533828013187', 'inHumidity': 
'29.99958683617', 'inTemp': '63.0002065819', 'inTempBatteryStatus': 
'0', 'maxSolarRad': '66.05216886122633', 'outHumidity': 
'79.9996901272', 'outTemp': '32.67858297022247', 
'outTempBatteryStatus': '0', 'pressure': '31.09998967093', 'radiation': 
'992.1106767453836', 'rain': '0', 'rainBatteryStatus': '0', 'rainRate': 
'0.0', 'referenceVoltage': '12.0', 'rxCheckPercent': '82.52427564124497', 
'supplyVoltage': '13.150462912118508', 'txBatteryStatus': '0', 'usUnits': 
'1', 'UV': '13.88954947443537', 'windBatteryStatus': '0', 'windchill': 
'32.67858297022247', 'windDir': '359.998140763', 'windGust': 
'6.197456769996279e-09', 'windGustDir': '359.998140763', 'windrun': 
'None', 'windSpeed': '5.164547900449179e-09'

^C to stop it in the command above.   You should see LOOP messages every 
few seconds.

To start and stop weewx, you would use systemctl 'with' sudo required:

$ sudo systemctl start weewx
$ sudo systemctl stop weewx

On Sunday, April 14, 2024 at 10:50:24 AM UTC-7 Marie-Laure TERRIENNE wrote:

> Thank you very much "vince" for answering to my problem.
>
> First of all : I am French and not very good in English. I often use 
> Google's online translation.
> This was an opportunity for : Just a question : how do you simply launch, 
> usually "weewx". Here is the French formulation: Simple question: Comment 
> lance-ton normalement, habituellement "weewx"?
>
> Note : If I run the following commands :
>
> sudo weewxd
> sudo weewxd /etc/weewx/weewx.conf
>
> Nothing happens.
>
> if I run : sudo weewxd /etc/weewx/weewx.conf-5.0.2, I get in the shell a 
> lot of information about my weather station. This information is updated 
> every two seconds. Mais je n'ai toujours pas de présentation graphique 
> comme montrée dans le site weewx
>
> Now, reading your answers, I have the impression that you have not 
> understood my software and hardware configuration. I only have one computer 
> with Ubuntu operating system and I have "weewx" installed on it. My web 
> browser is Firefox.
>
> With Firefox, I can go to any external site ; that of this forum for 
> example.
>
> I haven't tried it with another browser yet.
>
> Sincerely.
>
> Pierre.
> Le dimanche 14 avril 2024 à 18:33:28 UTC+2, vince a écrit :
>
>> On Sunday, April 14, 2024 at 1:04:35 AM UTC-7 Marie-Laure TERRIENNE wrote:
>>
>> vince : i tried what you said : http://192.168.0.7/weewx
>>
>> the answaer is :
>> The connection failed
>> An error occurred while connecting to 192.168.0.7.
>> The site may be temporarily unavailable or overloaded. Try again later;
>> If you cannot navigate to any site, check your computer's network 
>> connection;
>> If your computer or network is protected by a firewall or proxy, make 
>> sure Firefox is allowed to access the web.
>>
>>
>> Are you running Firefox on the weewx computer, or are you running it on a 
>> different computer (MS Windows?) ?
>>
>> Are you running a firewall on the computer you are running Firefox on ?   
>> Are you running a firewall on the weewx computer ?
>>
>>  
>>
>> Just a question : how do you simply launch, usually "weewx"
>>
>>  
>> I'm sorry, I do not understand the question.  If you are not a native 
>> English speaker, rephrase that in French (?) and perhaps Google Translate 
>> will generate a different wording in English.
>>
>> Your weewx log file seems to say that weewx is running.   Your error 
>> message seems to say the operating system on the computer you are running 
>> Firefox on is blocking Firefox from accessing your web site.   Can Firefox 
>> access other websites ?Can you try a different browser on your ubuntu 
>> computer ?
>>
>> If you can run a command from a shell prompt on your weewx computer, log 
>> into the weewx computer and run "curl http://192.168.0.7; and then "curl 
>> http://192.168.0.7/weewx; 

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

2024-04-14 Thread Marie-Laure TERRIENNE
Thank you very much "vince" for answering to my problem.

First of all : I am French and not very good in English. I often use 
Google's online translation.
This was an opportunity for : Just a question : how do you simply launch, 
usually "weewx". Here is the French formulation: Simple question: Comment 
lance-ton normalement, habituellement "weewx"?

Note : If I run the following commands :

sudo weewxd
sudo weewxd /etc/weewx/weewx.conf

Nothing happens.

if I run : sudo weewxd /etc/weewx/weewx.conf-5.0.2, I get in the shell a 
lot of information about my weather station. This information is updated 
every two seconds. Mais je n'ai toujours pas de présentation graphique 
comme montrée dans le site weewx

Now, reading your answers, I have the impression that you have not 
understood my software and hardware configuration. I only have one computer 
with Ubuntu operating system and I have "weewx" installed on it. My web 
browser is Firefox.

With Firefox, I can go to any external site ; that of this forum for 
example.

I haven't tried it with another browser yet.

Sincerely.

Pierre.
Le dimanche 14 avril 2024 à 18:33:28 UTC+2, vince a écrit :

> On Sunday, April 14, 2024 at 1:04:35 AM UTC-7 Marie-Laure TERRIENNE wrote:
>
> vince : i tried what you said : http://192.168.0.7/weewx
>
> the answaer is :
> The connection failed
> An error occurred while connecting to 192.168.0.7.
> The site may be temporarily unavailable or overloaded. Try again later;
> If you cannot navigate to any site, check your computer's network 
> connection;
> If your computer or network is protected by a firewall or proxy, make sure 
> Firefox is allowed to access the web.
>
>
> Are you running Firefox on the weewx computer, or are you running it on a 
> different computer (MS Windows?) ?
>
> Are you running a firewall on the computer you are running Firefox on ?   
> Are you running a firewall on the weewx computer ?
>
>  
>
> Just a question : how do you simply launch, usually "weewx"
>
>  
> I'm sorry, I do not understand the question.  If you are not a native 
> English speaker, rephrase that in French (?) and perhaps Google Translate 
> will generate a different wording in English.
>
> Your weewx log file seems to say that weewx is running.   Your error 
> message seems to say the operating system on the computer you are running 
> Firefox on is blocking Firefox from accessing your web site.   Can Firefox 
> access other websites ?Can you try a different browser on your ubuntu 
> computer ?
>
> If you can run a command from a shell prompt on your weewx computer, log 
> into the weewx computer and run "curl http://192.168.0.7; and then "curl 
> http://192.168.0.7/weewx; and see if they respond with something looking 
> like a web page.
>
>

-- 
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/86d3bd33-05d8-4ea3-9bb5-38b92bbe18c0n%40googlegroups.com.


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

2024-04-14 Thread vince
On Sunday, April 14, 2024 at 1:04:35 AM UTC-7 Marie-Laure TERRIENNE wrote:

vince : i tried what you said : http://192.168.0.7/weewx

the answaer is :
The connection failed
An error occurred while connecting to 192.168.0.7.
The site may be temporarily unavailable or overloaded. Try again later;
If you cannot navigate to any site, check your computer's network 
connection;
If your computer or network is protected by a firewall or proxy, make sure 
Firefox is allowed to access the web.


Are you running Firefox on the weewx computer, or are you running it on a 
different computer (MS Windows?) ?

Are you running a firewall on the computer you are running Firefox on ?   
Are you running a firewall on the weewx computer ?

 

Just a question : how do you simply launch, usually "weewx"

 
I'm sorry, I do not understand the question.  If you are not a native 
English speaker, rephrase that in French (?) and perhaps Google Translate 
will generate a different wording in English.

Your weewx log file seems to say that weewx is running.   Your error 
message seems to say the operating system on the computer you are running 
Firefox on is blocking Firefox from accessing your web site.   Can Firefox 
access other websites ?Can you try a different browser on your ubuntu 
computer ?

If you can run a command from a shell prompt on your weewx computer, log 
into the weewx computer and run "curl http://192.168.0.7; and then "curl 
http://192.168.0.7/weewx; and see if they respond with something looking 
like a web page.

-- 
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/150787a1-02de-4224-a67b-eaa57898c6fcn%40googlegroups.com.


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

2024-04-14 Thread Marie-Laure TERRIENNE
vince : i tried what you said : http://192.168.0.7/weewx

the answaer is :

The connection failed
An error occurred while connecting to 192.168.0.7.
The site may be temporarily unavailable or overloaded. Try again later;
If you cannot navigate to any site, check your computer's network 
connection;
If your computer or network is protected by a firewall or proxy, make sure 
Firefox is allowed to access the web.

Just a question : how do you simply launch, usually "weewx"

Sincerely.

Pierre.

Le vendredi 12 avril 2024 à 22:42:08 UTC+2, vince a écrit :

> I would suggest installing a webserver (I recommend nginx) and then just 
> opening http://your_ip_here/weewx and seeing if that works.  Your log 
> looks ok to me.
>
> On Friday, April 12, 2024 at 11:51:31 AM UTC-7 Marie-Laure TERRIENNE wrote:
>
>> I have followed what is said to get the log. Here is what i got :
>>
>>
>> Le vendredi 12 avril 2024 à 19:21:23 UTC+2, Chuck Rhode a écrit :
>>
>>> -BEGIN PGP SIGNED MESSAGE- 
>>> Hash: SHA1 
>>>
>>> On Fri, 12 Apr 2024 08:43:04 -0500 
>>> DR  wrote: 
>>>
>>> > THE most often made comment from the developers is to turn on debug 
>>> > and then furnish the log. 
>>>
>>> Humpf! If it's that easy, why not put it in a script like a 
>>> client-side *bugzilla*? Seems like a good idea to me. All us mice could 
>>> approve, wouldn't we? 
>>>
>>> Of course, it takes only one mouse to put a bell on this (apparently) 
>>> sleepy cat. 
>>>
>>> What scope should the script have? 
>>>
>>> + NO PARAMETERS! 
>>>
>>> + NO *.ini*! 
>>>
>>> + Import *configobj*. 
>>>
>>> + Get write authority to ~/weewx-data/weewx.conf. Not so easy because 
>>> it could be in any number of locations. 
>>>
>>> + Save *debug* option status. 
>>>
>>> + Set *debug* option. 
>>>
>>> + Ask real-time User of this script for *root* authority and escalate 
>>> to it, telling User what we're doing and making doubly sure of his 
>>> approval. Danger, Will Robinson! 
>>>
>>> + Do *systemctl restart weewx*. If this fails, throw up hands. 
>>>
>>> + Keep User on hold for an hour. 
>>>
>>> + Reset *debug* option. 
>>>
>>> + Do *systemctl restart weewx*. Expect success. 
>>>
>>> + Checkpoint current log file. Not so easy because it could be in any 
>>> number of locations. Allow read-only access to User. 
>>>
>>> + Relinquish *root* authority. 
>>>
>>> + Checkpoint the output of *weectl debug*. 
>>>
>>> + Ask for the User's favorite code editor. Give Newbies *emacs*. 
>>>
>>> + Conjure authority to send eMail. 
>>>
>>> * What is your name? 
>>>
>>> * What is your eMail address? 
>>>
>>> * Which is your SMTP server? 
>>>
>>> * What port is allowed? 
>>>
>>> * What password is required? 
>>>
>>> * What is your quest? 
>>>
>>> * What's your favorite color? 
>>>
>>> + Present a template for a well-formed Bug report. 
>>>
>>> * What happened that prompted you to make this bug report? 
>>>
>>> * What did you expect to happen? 
>>>
>>> * What did you do to make it happen? 
>>>
>>> * What was the most recent change you made? 
>>>
>>> + Checkpoint the template and amendments. 
>>>
>>> + Compose eMail to weewx...@googlegroups.com. 
>>>
>>> + Show the User what we're going to send (with attachments) and ask 
>>> for approval. 
>>>
>>> + Import *smtplib*. 
>>>
>>> + Import *email.message*. 
>>>
>>> + Do *SMTP.send_message()*. If this fails, throw up hands. 
>>>
>>>
>>> - -- 
>>> .. Be Seeing You, 
>>> .. Chuck Rhode, Sheboygan, WI, USA 
>>> .. Weather: http://LacusVeris.com/WX 
>>> .. 53° — Wind NNW 25 mph 
>>>
>>> -BEGIN PGP SIGNATURE- 
>>>
>>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZhltfgAKCRBg2/xipKOW 
>>> UuySAJ95fU4/3AMb+PFfbW90Zt+dPL9p/QCdHytzG+LsiviUTPGQJ+PQXd74aLI= 
>>> =KydE 
>>> -END PGP SIGNATURE- 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/46cbb4e8-978d-4d91-bb0e-10144c6f5b20n%40googlegroups.com.


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

2024-04-12 Thread vince
I would suggest installing a webserver (I recommend nginx) and then just 
opening http://your_ip_here/weewx and seeing if that works.  Your log looks 
ok to me.

On Friday, April 12, 2024 at 11:51:31 AM UTC-7 Marie-Laure TERRIENNE wrote:

> I have followed what is said to get the log. Here is what i got :
>
>
> Le vendredi 12 avril 2024 à 19:21:23 UTC+2, Chuck Rhode a écrit :
>
>> -BEGIN PGP SIGNED MESSAGE- 
>> Hash: SHA1 
>>
>> On Fri, 12 Apr 2024 08:43:04 -0500 
>> DR  wrote: 
>>
>> > THE most often made comment from the developers is to turn on debug 
>> > and then furnish the log. 
>>
>> Humpf! If it's that easy, why not put it in a script like a 
>> client-side *bugzilla*? Seems like a good idea to me. All us mice could 
>> approve, wouldn't we? 
>>
>> Of course, it takes only one mouse to put a bell on this (apparently) 
>> sleepy cat. 
>>
>> What scope should the script have? 
>>
>> + NO PARAMETERS! 
>>
>> + NO *.ini*! 
>>
>> + Import *configobj*. 
>>
>> + Get write authority to ~/weewx-data/weewx.conf. Not so easy because 
>> it could be in any number of locations. 
>>
>> + Save *debug* option status. 
>>
>> + Set *debug* option. 
>>
>> + Ask real-time User of this script for *root* authority and escalate 
>> to it, telling User what we're doing and making doubly sure of his 
>> approval. Danger, Will Robinson! 
>>
>> + Do *systemctl restart weewx*. If this fails, throw up hands. 
>>
>> + Keep User on hold for an hour. 
>>
>> + Reset *debug* option. 
>>
>> + Do *systemctl restart weewx*. Expect success. 
>>
>> + Checkpoint current log file. Not so easy because it could be in any 
>> number of locations. Allow read-only access to User. 
>>
>> + Relinquish *root* authority. 
>>
>> + Checkpoint the output of *weectl debug*. 
>>
>> + Ask for the User's favorite code editor. Give Newbies *emacs*. 
>>
>> + Conjure authority to send eMail. 
>>
>> * What is your name? 
>>
>> * What is your eMail address? 
>>
>> * Which is your SMTP server? 
>>
>> * What port is allowed? 
>>
>> * What password is required? 
>>
>> * What is your quest? 
>>
>> * What's your favorite color? 
>>
>> + Present a template for a well-formed Bug report. 
>>
>> * What happened that prompted you to make this bug report? 
>>
>> * What did you expect to happen? 
>>
>> * What did you do to make it happen? 
>>
>> * What was the most recent change you made? 
>>
>> + Checkpoint the template and amendments. 
>>
>> + Compose eMail to weewx...@googlegroups.com. 
>>
>> + Show the User what we're going to send (with attachments) and ask 
>> for approval. 
>>
>> + Import *smtplib*. 
>>
>> + Import *email.message*. 
>>
>> + Do *SMTP.send_message()*. If this fails, throw up hands. 
>>
>>
>> - -- 
>> .. Be Seeing You, 
>> .. Chuck Rhode, Sheboygan, WI, USA 
>> .. Weather: http://LacusVeris.com/WX 
>> .. 53° — Wind NNW 25 mph 
>>
>> -BEGIN PGP SIGNATURE- 
>>
>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZhltfgAKCRBg2/xipKOW 
>> UuySAJ95fU4/3AMb+PFfbW90Zt+dPL9p/QCdHytzG+LsiviUTPGQJ+PQXd74aLI= 
>> =KydE 
>> -END PGP SIGNATURE- 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b9b2b18e-937f-48e7-b6d3-b95263bd24ean%40googlegroups.com.


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

2024-04-12 Thread Marie-Laure TERRIENNE
I have followed what is said to get the log. Here is what i got :


Le vendredi 12 avril 2024 à 19:21:23 UTC+2, Chuck Rhode a écrit :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Fri, 12 Apr 2024 08:43:04 -0500
> DR  wrote:
>
> > THE most often made comment from the developers is to turn on debug
> > and then furnish the log.
>
> Humpf! If it's that easy, why not put it in a script like a
> client-side *bugzilla*? Seems like a good idea to me. All us mice could
> approve, wouldn't we?
>
> Of course, it takes only one mouse to put a bell on this (apparently)
> sleepy cat.
>
> What scope should the script have?
>
> + NO PARAMETERS!
>
> + NO *.ini*!
>
> + Import *configobj*.
>
> + Get write authority to ~/weewx-data/weewx.conf. Not so easy because
> it could be in any number of locations.
>
> + Save *debug* option status.
>
> + Set *debug* option.
>
> + Ask real-time User of this script for *root* authority and escalate
> to it, telling User what we're doing and making doubly sure of his
> approval. Danger, Will Robinson! 
>
> + Do *systemctl restart weewx*. If this fails, throw up hands.
>
> + Keep User on hold for an hour.
>
> + Reset *debug* option.
>
> + Do *systemctl restart weewx*. Expect success.
>
> + Checkpoint current log file. Not so easy because it could be in any
> number of locations. Allow read-only access to User.
>
> + Relinquish *root* authority.
>
> + Checkpoint the output of *weectl debug*.
>
> + Ask for the User's favorite code editor. Give Newbies *emacs*.
>
> + Conjure authority to send eMail.
>
> * What is your name?
>
> * What is your eMail address?
>
> * Which is your SMTP server?
>
> * What port is allowed?
>
> * What password is required?
>
> * What is your quest?
>
> * What's your favorite color?
>
> + Present a template for a well-formed Bug report.
>
> * What happened that prompted you to make this bug report?
>
> * What did you expect to happen?
>
> * What did you do to make it happen?
>
> * What was the most recent change you made?
>
> + Checkpoint the template and amendments.
>
> + Compose eMail to weewx...@googlegroups.com.
>
> + Show the User what we're going to send (with attachments) and ask
> for approval.
>
> + Import *smtplib*.
>
> + Import *email.message*.
>
> + Do *SMTP.send_message()*. If this fails, throw up hands.
>
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 53° — Wind NNW 25 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZhltfgAKCRBg2/xipKOW
> UuySAJ95fU4/3AMb+PFfbW90Zt+dPL9p/QCdHytzG+LsiviUTPGQJ+PQXd74aLI=
> =KydE
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/326763eb-a39c-4682-86ee-6ec613977993n%40googlegroups.com.


mylog
Description: Binary data