Re: [weewx-user] No SDR after upgrade from 5.0.2 to 5.1.0

2024-08-11 Thread Martin H.
yes its tricky but its working on 5.0.2 and the device routing from the 
proxmox through the container is not the problem. lsusb is showing the 
stick.

LG
Martin

Graham Eddy schrieb am Sonntag, 11. August 2024 um 08:47:12 UTC+2:

> eliminate the LXC until you can talk to the device from the proxmox server.
> adding LXC mapping of devices from proxmox server into container is 
> tricky, especially if you are using unpriviledged containers.
> *⊣GE⊢*
>
> On 11 Aug 2024, at 4:40 PM, Martin H.  wrote:
>
> sorry please rename the files to .txt
>
>
> Martin H. schrieb am Sonntag, 11. August 2024 um 08:35:22 UTC+2:
>
>> Please i need your help. I try now for hours to get running my SDR again 
>> but it wont work.
>>
>> I use a LXC Container on a Proxmox and 5.0.2 was running after adding 
>> #eingefuegt von mir
>> SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", 
>> GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"
>>
>> to /etc/udev/rules.d/rtl-sdr.rules
>>
>> After update the rtl Stick is not working anymore.
>> I did read the permission wiki, and check all permissions and groups but 
>> i must missed something because 5.1.0 wont work anymore.
>>
>> I did also try to remove my #eingefügt von mir because to lines down 
>> there is my Stick with 0bda:2838 listed on Plugdev
>>
>> I attach the log from restarting weewx on 5.0.2 and 5.1.0 
>> If you need any files or logs pse tell me.
>>
>> Hopefully greetings
>> Martin
>>
>
> -- 
> 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/1ed5a2dd-1f8f-4da4-b0d3-401ea409c566n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/1ed5a2dd-1f8f-4da4-b0d3-401ea409c566n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/935edee3-146f-4316-8bf1-2498e2e4b670n%40googlegroups.com.


[weewx-user] Re: No SDR after upgrade from 5.0.2 to 5.1.0

2024-08-10 Thread Martin H.
sorry please rename the files to .txt


Martin H. schrieb am Sonntag, 11. August 2024 um 08:35:22 UTC+2:

> Please i need your help. I try now for hours to get running my SDR again 
> but it wont work.
>
> I use a LXC Container on a Proxmox and 5.0.2 was running after adding 
> #eingefuegt von mir
> SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", 
> GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"
>
> to /etc/udev/rules.d/rtl-sdr.rules
>
> After update the rtl Stick is not working anymore.
> I did read the permission wiki, and check all permissions and groups but i 
> must missed something because 5.1.0 wont work anymore.
>
> I did also try to remove my #eingefügt von mir because to lines down there 
> is my Stick with 0bda:2838 listed on Plugdev
>
> I attach the log from restarting weewx on 5.0.2 and 5.1.0 
> If you need any files or logs pse tell me.
>
> Hopefully greetings
> Martin
>

-- 
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/1ed5a2dd-1f8f-4da4-b0d3-401ea409c566n%40googlegroups.com.


[weewx-user] No SDR after upgrade from 5.0.2 to 5.1.0

2024-08-10 Thread Martin H.
Please i need your help. I try now for hours to get running my SDR again 
but it wont work.

I use a LXC Container on a Proxmox and 5.0.2 was running after adding 
#eingefuegt von mir
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", 
GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"

to /etc/udev/rules.d/rtl-sdr.rules

After update the rtl Stick is not working anymore.
I did read the permission wiki, and check all permissions and groups but i 
must missed something because 5.1.0 wont work anymore.

I did also try to remove my #eingefügt von mir because to lines down there 
is my Stick with 0bda:2838 listed on Plugdev

I attach the log from restarting weewx on 5.0.2 and 5.1.0 
If you need any files or logs pse tell me.

Hopefully greetings
Martin

-- 
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/4ae07693-54fa-4e4f-a74e-36b5a4d29295n%40googlegroups.com.


5.0.2
Description: Binary data


5.1.0
Description: Binary data


[weewx-user] rtcrthread: Unexpected exception of type

2024-08-10 Thread Martin H.
Hi
Can anybody help me out with this error?
Im running weewx on a Proxmox Virtual Container LXC and not quiet sure why 
im getting this error. On my meteotemplate the actual are not showing 
anymore ?
Im running 5.0.2 and when i update i have the next problem with loosing my 
usb to control the SDR Stick 

73
Martin


rtcrthread: Unexpected exception of type 
Aug 10 12:28:31 weewx weewxd[637]: Exception in thread Thread-3:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", 
line 821, in process_packet
Aug 10 12:28:31 weewx weewxd[637]: data = self.calculate(cached_packet)
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", 
line 980, in calculate
Aug 10 12:28:31 weewx weewxd[637]: age=self.gust_period).value
Aug 10 12:28:31 weewx weewxd[637]: AttributeError: 'NoneType' object has no 
attribute 'value'
Aug 10 12:28:31 weewx weewxd[637]: During handling of the above exception, 
another exception occurred:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", 
line 771, in run
Aug 10 12:28:31 weewx weewxd[637]: 
self.process_packet(_package['payload'])
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", 
line 837, in process_packet
Aug 10 12:28:31 weewx weewxd[637]: 
weeutil.weeutil.log_traceback('rtcrthread:  ')
Aug 10 12:28:31 weewx weewxd[637]: AttributeError: module 'weeutil.weeutil' 
has no attribute 'log_traceback'
Aug 10 12:28:31 weewx weewxd[637]: During handling of the above exception, 
another exception occurred:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File 
"/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
Aug 10 12:28:31 weewx weewxd[637]: self.run()
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", 
line 777, in run
Aug 10 12:28:31 weewx weewxd[637]: weeutil.weeutil.log_traceback('*** 
', syslog.LOG_DEBUG)

-- 
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/f6665d83-8f17-41eb-b3c0-6c67cead73can%40googlegroups.com.


[weewx-user] Tracking/calculating multiple Humidex

2024-08-04 Thread Martin Boissonneault
Hi!
I'm currently recording outside Humidex and I'd like to add inside Humidex 
to my graphs. 

Is it possible? Do you have an example I can follow?

I'm using WeeWx 5.0.2 on a Raspberry Pi 4B on Bookworm, hoping to add to 
Belchertown skin.

Thanks in advance for any pointers!
Martin VE2MRX

Extract of weewx.conf:
[SDR]
# This section is for the software-defined radio driver.

# The driver to use
driver = user.sdr
cmd="/usr/local/bin/rtl_433 -M utc -F json"
log_unknown_sensors = True
log_unmapped_sensors = True

[[sensor_map]]
outTemp = temperature.0283.AcuriteAtlasPacket
outHumidity = humidity.0283.AcuriteAtlasPacket
windSpeed = wind_speed.0283.AcuriteAtlasPacket
windDir = wind_dir.0283.AcuriteAtlasPacket
UV = uv.0283.AcuriteAtlasPacket
rainTotal = rain_total.0283.AcuriteAtlasPacket
luminosity = lux.0283.AcuriteAtlasPacket
lightning_strike_count = strike_count.0283.AcuriteAtlasPacket
lightning_distance = strike_distance.0283.AcuriteAtlasPacket
lux = lux.0283.AcuriteAtlasPacket
inTemp = temperature.1966.AcuriteTowerPacketV2
inHumidity = humidity.1966.AcuriteTowerPacketV2
extraTemp2 = temperature.2ED2.AcuriteTowerPacketV2
extraHumid2 = humidity.2ED2.AcuriteTowerPacketV2

-- 
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/bb79448d-39f7-4413-8c5a-eda8d1d494dbn%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2024 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug = 0

# Whether to log successful operations. May get overridden below.
log_success = True

# Whether to log unsuccessful operations. May get overridden below.
log_failure = True

# This configuration file was created by ...
version = 5.0.2

##

#   This section is for information about the station.

[Station]

# Description of the station location, such as your town.
location = "Sainte-Julie, QC, Canada"

# Latitude in decimal degrees. Negative for southern hemisphere.
latitude = 45.523
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -73.320

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 36, 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 = AcuRite
station_type = SDR

# 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

##

#   This section is for uploading data to Internet sites

[StdRESTful]

# Uncomment and change to override logging for uploading services.
# log_success = True
# log_failure = True

[[StationRegistry]]
# To register this weather station at weewx.com, set this to true, and
# set option 'station_url', located in the [Station] section above.
register_this_station = False

[[AWEKAS]]
# This section is for configuring posts to AWEKAS.

Re: [weewx-user] Problems Updating 4.10.2 to 5.1

2024-07-05 Thread Martin Davies
ion can adjust data using calibration expressions.

[StdCalibrate]

[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2

##

#   This section is for quality control checks. If units are not specified,
#   values must be in the units defined in the StdConvert section.

[StdQC]

[[MinMax]]
barometer = 26, 32.5, inHg
pressure = 24, 34.5, inHg
outTemp = -40, 120, degree_F
inTemp = 10, 120, degree_F
outHumidity = 0, 100
inHumidity = 0, 100
windSpeed = 0, 120, mile_per_hour
rain = 0, 10, inch

##

#   This section controls the origin of derived values.

[StdWXCalculate]

[[Calculations]]
# How to calculate derived quantities.  Possible values are:
#  hardware- use the value provided by hardware
#  software- use the value calculated by weewx
#  prefer_hardware - use value provide by hardware if available,
#  otherwise use value calculated by weewx

pressure = prefer_hardware
altimeter = prefer_hardware
appTemp = prefer_hardware
barometer = prefer_hardware
cloudbase = prefer_hardware
dewpoint = prefer_hardware
ET = prefer_hardware
heatindex = prefer_hardware
humidex = prefer_hardware
inDewpoint = prefer_hardware
maxSolarRad = prefer_hardware
rainRate = prefer_hardware
windchill = prefer_hardware
windrun = prefer_hardware

##

#   For hardware that supports it, this section controls how often the
#   onboard clock gets updated.

[StdTimeSynch]

# How often to check the weather station clock for drift (in seconds)
clock_check = 14400

# How much it can drift before we will correct it (in seconds)
max_drift = 5

##

#   This section is for configuring the archive service.

[StdArchive]

# If the station hardware supports data logging then the archive 
interval
# will be downloaded from the station. Otherwise, specify it (in 
seconds).
archive_interval = 300

# If possible, new archive records are downloaded from the station
# hardware. If the hardware does not support this, then new archive
# records will be generated in software.
# Set the following to "software" to force software record generation.
record_generation = hardware

# Whether to include LOOP data in hi/low statistics
loop_hilo = True

# Uncomment and change to override logging for archive operations
# log_success = True
# log_failure = True

# The data binding used to save archive records
data_binding = wx_binding

##

#   This section binds a data store to a database.

[DataBindings]

[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.manager.DaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview_extended.schema

##

#   This section defines various databases.

[Databases]

# A SQLite database is simply a single file
[[archive_sqlite]]
database_name = weewx.sdb
database_type = SQLite

# MySQL
[[archive_mysql]]
database_name = weewx
database_type = MySQL

##

#   This section defines defaults for the different types of databases.

[DatabaseTypes]

# Defaults for SQLite databases
[[SQLite]]
driver = weedb.sqlite
# Directory in which the database files are located
SQLITE_ROOT = /var/lib/weewx

# Defaults for MySQL databases
[[MySQL]]
driver = weedb.mysql
# The host where the database is located
host = localhost
# The user name for logging in to the host
user = XX
# The password (use quotes to guard against parsing errors)
password = XX

##

#   This section configures the intern

Re: [weewx-user] Problems Updating 4.10.2 to 5.1

2024-07-05 Thread Martin Davies
Yes, agreed. Looking at the directory listing the file doesn't appear to 
exist. But this is after a 'clean' install.

Not sure why. Will try a further 'uninstall/reinstall'


On Friday, July 5, 2024 at 3:03:09 PM UTC+1 Graham Eddy wrote:

> this doesn’t look right
> *⊣GE⊢*
>
> On 5 Jul 2024, at 11:59 PM, Martin Davies  wrote:
>
> 2024-07-05T14:40:14.766546+01:00 croft301 weewxd[4080]: DEBUG 
> weewx.reportengine: Running report 'SeasonsReport'
> 2024-07-05T14:40:14.767221+01:00 croft301 weewxd[4080]: DEBUG 
> weewx.reportengine: Cannot read skin configuration file 
> /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport': Config file 
> not found: "/etc/weewx/skins/Seasons/skin.conf".
>
>
>

-- 
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/5e56efd8-a2ae-4835-864d-8a15bc795342n%40googlegroups.com.


[weewx-user] Problems Updating 4.10.2 to 5.1

2024-07-05 Thread Martin Davies


Hi,

I've had a stable weewx configuration for a couple of years. Most recently 
the system was running v. 4.10.2 on an Unbuntu server 24.04. As of about 48 
hours ago the system stopped updating web reports [no system changes or 
update prior to failure]. Investigating the problem I couldn't find any 
reason for this. In an attempt to fix the problem, I tried updating to 
weewx to the latest version 5.1, following the update guide, thinking this 
might fix the problem but without success.

Continuing the investigation, I uninstalled weewx and did a clean install 
but even with the default weewx.conf (with the simulator driver) the system 
failed to generate any reports into the html directory.

Prior to failing, the system was running 4.10.2, Ubuntu 24.04, Python 
3.12.3 with an Ecowitt weather station using the intercept driver.

I would welcome suggestions for further troubleshooting to fix problem.

Many thanks.

Below is some extra system/log information..

syslog with Debug set..

2024-07-05T14:32:32.192523+01:00 croft301 weewxd[4080]: INFO __main__: 
Initializing weewxd version 5.1.0
2024-07-05T14:32:32.192652+01:00 croft301 weewxd[4080]: INFO __main__: 
Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
2024-07-05T14:32:32.192808+01:00 croft301 weewxd[4080]: INFO __main__: 
Using Python: 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0]
2024-07-05T14:32:32.192871+01:00 croft301 weewxd[4080]: INFO __main__: 
Located at:   /usr/bin/python3
2024-07-05T14:32:32.194954+01:00 croft301 weewxd[4080]: INFO __main__: 
Platform: Linux-6.8.0-36-generic-x86_64-with-glibc2.39
2024-07-05T14:32:32.195020+01:00 croft301 weewxd[4080]: INFO __main__: 
Locale:   'en_GB.UTF-8'
2024-07-05T14:32:32.195085+01:00 croft301 weewxd[4080]: INFO __main__: 
Entry path:   /usr/share/weewx/weewxd.py
2024-07-05T14:32:32.195129+01:00 croft301 weewxd[4080]: INFO __main__: 
WEEWX_ROOT:   /etc/weewx
2024-07-05T14:32:32.195169+01:00 croft301 weewxd[4080]: INFO __main__: 
Config file:  /etc/weewx/weewx.conf
2024-07-05T14:32:32.195215+01:00 croft301 weewxd[4080]: INFO __main__: User 
module:  /etc/weewx/bin/user
2024-07-05T14:32:32.195279+01:00 croft301 weewxd[4080]: INFO __main__: 
Debug:1
2024-07-05T14:32:32.195317+01:00 croft301 weewxd[4080]: INFO __main__: 
User: weewx
2024-07-05T14:32:32.195432+01:00 croft301 weewxd[4080]: INFO __main__: 
Group:weewx
2024-07-05T14:32:32.195478+01:00 croft301 weewxd[4080]: INFO __main__: 
Groups:   weewx
2024-07-05T14:32:32.195530+01:00 croft301 weewxd[4080]: DEBUG __main__: 
loop_on_init: False
2024-07-05T14:32:32.195577+01:00 croft301 weewxd[4080]: DEBUG __main__: 
Initializing engine
2024-07-05T14:32:32.195624+01:00 croft301 weewxd[4080]: INFO weewx.engine: 
Loading station type Simulator (weewx.drivers.simulator)
2024-07-05T14:32:32.196301+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.engine.StdTimeSynch
2024-07-05T14:32:32.196361+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.engine.StdTimeSynch
2024-07-05T14:32:32.196410+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.engine.StdConvert
2024-07-05T14:32:32.196449+01:00 croft301 weewxd[4080]: INFO weewx.engine: 
StdConvert target unit is 0x1
2024-07-05T14:32:32.196488+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.engine.StdConvert
2024-07-05T14:32:32.196525+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.engine.StdCalibrate
2024-07-05T14:32:32.196559+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.engine.StdCalibrate
2024-07-05T14:32:32.196598+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.engine.StdQC
2024-07-05T14:32:32.196631+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.engine.StdQC
2024-07-05T14:32:32.196663+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.wxservices.StdWXCalculate
2024-07-05T14:32:32.196824+01:00 croft301 weewxd[4080]: INFO 
weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-07-05T14:32:32.200228+01:00 croft301 weewxd[4080]: DEBUG 
weewx.manager: Daily summary version is 4.0
2024-07-05T14:32:32.200311+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.wxservices.StdWXCalculate
2024-07-05T14:32:32.200356+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdWXXTypes
2024-07-05T14:32:32.201138+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdWXXTypes
2024-07-05T14:32:32.201198+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdPressureCooker
2024-07-05T14:32:32.201280+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdPressureCooker
2024-07-05T14:32:32.201322+01:00 croft301 weewxd[4080]: DEBUG weewx.engine: 
Loading service weew

Re: [weewx-user] Re: removed bad rainrate data but this did not reflect in totals

2024-07-02 Thread Martin Thoresen
Ahh, thank you for this information! I've spent several days trying to 
calculate rainRate for my newly imported historic data by using weectl 
calc-missing, with all sorts of different settings tested out in 
weewx.conf. I could get all the other data I wanted, like windrun and heat 
index and so on. I've pulled some hairs during this period, that's for 
sure. But now it all makes sense: rainRate does not work on archive 
records, only loop data.

I could not understand from the wiki that rainRate was exempt from working 
on archive records, that's why I believed I was doing something wrong all 
this time.

You definitely have my vote if you are considering resolving issue 787.

Best regards,
Martin Thoresen



On Wednesday, May 15, 2024 at 12:21:23 PM UTC+2 gjr80 wrote:

That's quite possible, when Xtypes came along in v4.0.0 the StdWXCalculate 
service was re-written to utilise Xtypes resulting in rainRate only being 
calculated for loop packets. Versions before v4.0.0 calculated rainRate for 
both loop packets and archive records.

But I digress.

Gary

On Wednesday 15 May 2024 at 14:16:29 UTC+10 michael.k...@gmx.at wrote:

Good to know. I can't remember how I recalculated the rainRate some years 
ago, when I switched from an 1h-interval to a 15-min interval. Obviously 
not with --calc-missing, because it worked :)

gjr80 schrieb am Dienstag, 14. Mai 2024 um 23:55:01 UTC+2:

Whilst rainRate may be a value calculated by WeeWX, the current 
StdWXCalculate service is limited in that it can only calculate rainRate 
from loop packet data. In the case of a backfill/recalculate (as with an 
import) the only rain data available is from archive records and hence 
rainRate is not calculated. In these cases rainRate must be manually 
calculated.

Issue #787 <https://github.com/weewx/weewx/issues/787> was raised to 
address this behaviour for imports. Any resolution to issue #787 would 
likely fix the rainRate re-calculate behaviour as well, but I have no 
 timeframe for when issue #787 might be addressed.

Gary

On Tuesday 14 May 2024 at 23:39:19 UTC+10 michael.k...@gmx.at wrote:

rainRate is a calculated value: 
https://weewx.com/docs/5.0/reference/weewx-options/stdwxcalculate/

So first you correct all the rain values and may want to delete rainRate 
values from your database
Second recalculate them: 
https://weewx.com/docs/5.0/utilities/weectl-database/#calculate-missing-derived-variables
Third drop the daily summaries 
https://weewx.com/docs/5.0/utilities/weectl-database/#drop-the-daily-summaries
Fourth rebuild the daily summaries 
https://weewx.com/docs/5.0/utilities/weectl-database/#rebuild-the-daily-summaries

If your archive values are sane, your totals will be sane then.
Consider only dropping/rebuilding the daily summaries for days with bad 
data, this will be faster and you won't lose the exact timestamps/value for 
min/max records on all the other days. See these switches in the docs:  
[[--date=-mm-dd] 
| [--from=-mm-dd] [--to=-mm-dd]]

Kevin Crivelli schrieb am Dienstag, 14. Mai 2024 um 14:48:16 UTC+2:

I did everything here. It is how I was able to remove the bad rainrate 
data. The problem now is that while the bad rainrate data is gone, the 
resulting rain total data is not. I need to get the rain totals to reflect 
the rainrate data now. The totals are still considering the bad rainrate 
data that has been removed. 

On Tue, May 7, 2024, 2:22 PM vince  wrote:

You might want to consult the wiki.  That's why hundreds of hours have been 
spent creating it.

https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data

On Tuesday, May 7, 2024 at 9:19:04 AM UTC-7 Kevin Crivelli wrote:

or perhaps there is a way to rebuild the raintotals fields from the current 
rainrate data

On Tuesday, May 7, 2024 at 12:17:20 PM UTC-4 Kevin Crivelli wrote:

I removed bad rainrate data but it did not effect the raintotals field. I 
was able to determine the epoch date-time for the bad rainrate data. Having 
those I was going to delete the rain_total values for those entries but how 
would I have that then reflect in the following rain_total fields?

chatgpt gave me this which I feel is a start but I'm not quite there yet. 
anyone able to help me with this?

-- Store the rain total of the specific datetime in a variable
SET @deleted_rain_total = (SELECT rain_total FROM your_table WHERE datetime 
= specific_datetime);

-- Delete the rain total at the specific datetime
DELETE FROM your_table WHERE datetime = specific_datetime;

-- Decrease the rain totals for the following datetimes
UPDATE your_table
SET rain_total = rain_total - @deleted_rain_total
WHERE datetime > specific_datetime;

These are the date and times of the entries that need their raintotal 
nulled and then the proceeding raintotals to reflect the change

1699559700: 2024-05-10 01:55:00
169956: 2024-05-10 01:56:40
1709221800: 2024-05-26 06:50:00
170

[weewx-user] BootStrap 4.0 to 4.1.1?

2023-11-24 Thread Yves Martin
Hi,

How to upgrade from BootStrap 4.0 to BootStrap 4.1.1 from the easiest way 
without loosing my actual setting?

Yves,
YMartin.com/meteo

-- 
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/e4789a8f-6d95-4079-a109-e333874c879cn%40googlegroups.com.


[weewx-user] BootStrap 4.0 to 4.1.1 ?

2023-11-24 Thread Yves Martin
Hi,

How to upgrade from BootStrap 4.0 to BootStrap 4.1.1 from the easiest way 
without loosing my actual setting?

-- 
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/0805e43d-93fe-462a-8766-9305130bf596n%40googlegroups.com.


Re: [weewx-user] NOAA data mixed (F and C)

2023-09-26 Thread Yves Martin
Oh! Great, thanks ;)

Regards,
YM

Le mardi 26 septembre 2023 à 09 h 03 min 37 s UTC-4, Tom Keffer a écrit :

> Just delete them. Weewx will automatically regenerate them on then next 
> reporting cycle.
>
> On Tue, Sep 26, 2023 at 5:42 AM Yves Martin  wrote:
>
>> Hi Tom,
>>
>> Sorry if I missed some questions:
>>
>> > Which skin? Which version? 
>> - Bootstrap 3.0
>>
>> > Which values were in C, which in F?
>> - in the French part of the web site (
>> https://ymartin.com/meteo/history.html) the NOAA reports are mixed. I 
>> was able to get some old backup but the last 3 years have some reports in 
>> imperal values and other in metrics.
>>
>> (...)
>>
>> But my question is simple, is there a way to re-generated all NOAA 
>> reports (for the metric part) ?
>>
>> regards,
>> YM
>> Le samedi 23 septembre 2023 à 10 h 30 min 41 s UTC-4, Tom Keffer a écrit :
>>
>>> You still haven't answered my questions, but, nevertheless, I do see one 
>>> change you made. The report under [[StandardReport]] uses the "Bootstrap" 
>>> skin, rather than the "Standard" skin. That would mean the Bootstrap skin 
>>> would be run a total of 3 times.
>>>
>>> Try changing it back and disabling it:
>>>
>>> [[StandardReport]]
>>> # See the customizing guide to change the units, plot types and 
>>> line
>>> # colors, modify the fonts, display additional sensor data, and 
>>> other
>>> # customizations. Many of those changes can be made here by 
>>> overriding
>>> # parameters, or by modifying templates within the skin itself.
>>>
>>> # The StandardReport uses the 'Standard' skin, which contains the
>>> # images, templates and plots for the report.
>>> skin = Standard
>>> enable = False
>>> lang = fr
>>>
>>>
>>>
>>> On Sat, Sep 23, 2023 at 6:33 AM Yves Martin  wrote:
>>>
>>>> Here is the config file:
>>>>
>>>> [StdReport]
>>>>
>>>> # Where the skins reside, relative to WEEWX_ROOT
>>>> SKIN_ROOT = /etc/weewx/skins
>>>>
>>>> # Where the generated reports should go, relative to WEEWX_ROOT
>>>> HTML_ROOT = /var/www/html/weewx
>>>>
>>>> # The database binding indicates which data should be used in 
>>>> reports.
>>>> data_binding = wx_binding
>>>>
>>>> [[StandardReport]]
>>>> # See the customizing guide to change the units, plot types and 
>>>> line
>>>> # colors, modify the fonts, display additional sensor data, and 
>>>> other
>>>> # customizations. Many of those changes can be made here by 
>>>> overriding
>>>> # parameters, or by modifying templates within the skin itself.
>>>>
>>>> # The StandardReport uses the 'Standard' skin, which contains 
>>>> the
>>>> # images, templates and plots for the report.
>>>> skin = Bootstrap
>>>> enable = True
>>>> lang = fr
>>>>
>>>> #[[wxobs]]
>>>> #HTML_ROOT = /var/www/html/weewx/wxobs
>>>> #skin = wxobs
>>>>
>>>> [[SeasonsReport]]
>>>> # The SeasonsReport uses the 'Seasons' skin, which contains the
>>>> # images, templates and plots for the report.
>>>> skin = Seasons
>>>> enable = false
>>>>
>>>> [[SmartphoneReport]]
>>>> # The SmartphoneReport uses the 'Smartphone' skin, and the 
>>>> images and
>>>> # files are placed in a dedicated subdirectory.
>>>> skin = Smartphone
>>>> enable = false
>>>> HTML_ROOT = public_html/smartphone
>>>>
>>>> [[MobileReport]]
>>>> # The MobileReport uses the 'Mobile' skin, and the images and 
>>>> files
>>>> # are placed in a dedicated subdirectory.
>>>> skin = Mobile
>>>> enable = false
>>>> HTML_ROOT = public_html/mobile
>>>>
>>>> [[Bootstrap-en]]
>>>> skin = Bootstrap
>>>>   

Re: [weewx-user] NOAA data mixed (F and C)

2023-09-26 Thread Yves Martin
Hi Tom,

Sorry if I missed some questions:

> Which skin? Which version? 
- Bootstrap 3.0

> Which values were in C, which in F?
- in the French part of the web site 
(https://ymartin.com/meteo/history.html) the NOAA reports are mixed. I was 
able to get some old backup but the last 3 years have some reports in 
imperal values and other in metrics.

(...)

But my question is simple, is there a way to re-generated all NOAA reports 
(for the metric part) ?

regards,
YM
Le samedi 23 septembre 2023 à 10 h 30 min 41 s UTC-4, Tom Keffer a écrit :

> You still haven't answered my questions, but, nevertheless, I do see one 
> change you made. The report under [[StandardReport]] uses the "Bootstrap" 
> skin, rather than the "Standard" skin. That would mean the Bootstrap skin 
> would be run a total of 3 times.
>
> Try changing it back and disabling it:
>
> [[StandardReport]]
> # See the customizing guide to change the units, plot types and 
> line
> # colors, modify the fonts, display additional sensor data, and 
> other
> # customizations. Many of those changes can be made here by 
> overriding
> # parameters, or by modifying templates within the skin itself.
>
> # The StandardReport uses the 'Standard' skin, which contains the
> # images, templates and plots for the report.
> skin = Standard
> enable = False
> lang = fr
>
>
>
> On Sat, Sep 23, 2023 at 6:33 AM Yves Martin  wrote:
>
>> Here is the config file:
>>
>> [StdReport]
>>
>> # Where the skins reside, relative to WEEWX_ROOT
>> SKIN_ROOT = /etc/weewx/skins
>>
>> # Where the generated reports should go, relative to WEEWX_ROOT
>> HTML_ROOT = /var/www/html/weewx
>>
>> # The database binding indicates which data should be used in reports.
>> data_binding = wx_binding
>>
>> [[StandardReport]]
>> # See the customizing guide to change the units, plot types and 
>> line
>> # colors, modify the fonts, display additional sensor data, and 
>> other
>> # customizations. Many of those changes can be made here by 
>> overriding
>> # parameters, or by modifying templates within the skin itself.
>>
>> # The StandardReport uses the 'Standard' skin, which contains the
>> # images, templates and plots for the report.
>> skin = Bootstrap
>> enable = True
>> lang = fr
>>
>> #[[wxobs]]
>> #HTML_ROOT = /var/www/html/weewx/wxobs
>> #skin = wxobs
>>
>> [[SeasonsReport]]
>> # The SeasonsReport uses the 'Seasons' skin, which contains the
>> # images, templates and plots for the report.
>> skin = Seasons
>> enable = false
>>
>> [[SmartphoneReport]]
>> # The SmartphoneReport uses the 'Smartphone' skin, and the images 
>> and
>> # files are placed in a dedicated subdirectory.
>> skin = Smartphone
>> enable = false
>> HTML_ROOT = public_html/smartphone
>>
>> [[MobileReport]]
>> # The MobileReport uses the 'Mobile' skin, and the images and 
>> files
>> # are placed in a dedicated subdirectory.
>> skin = Mobile
>> enable = false
>> HTML_ROOT = public_html/mobile
>>
>> [[Bootstrap-en]]
>> skin = Bootstrap
>> enable = true
>> lang = en
>> HTML_ROOT = /var/www/html/weewx/en
>>
>> [[Bootstrap]]
>> skin = Bootstrap
>> enable = true
>> lang = fr
>> HTML_ROOT = /var/www/html/weewx
>>
>> [[[Units]]]
>> Groups
>> group_speed = km_per_hour
>>
>> #[[[LiveGauges]]]
>>
>> #windSpeed
>> #maxvalue = 100
>> #splitnumber = 5
>> #lineColorUntil = 75
>>
>> #windGust
>> #maxvalue = 160
>> #splitnumber = 8
>> #lineColorUntil = 75
>>
>> [[lastrain]]
>> skin = lastrain
>> HTML_ROOT = /var/www/html/weewx/lastrain
>>
>> [[AirLinkReport]]
>> HTML_ROOT = /var/www/html/weewx/airlink
>> enable = true
>> skin = airlink
>>
>>

Re: [weewx-user] NOAA data mixed (F and C)

2023-09-23 Thread Yves Martin
e the labels for these observation types
Generic
# inHumidity = Inside Humidity
# inTemp = Inside Temperature
# outHumidity= Outside Humidity
# outTemp= Outside Temperature
# extraTemp1 = Temperature1
# extraTemp2 = Temperature2
# extraTemp3 = Temperature3
# The following line is used to keep the above lines 
indented properly.
# It can be ignored.
unused = unused

(...)

YM
Le vendredi 22 septembre 2023 à 17 h 03 min 35 s UTC-4, Tom Keffer a écrit :

> Thanks. How about the rest of my questions? Also, post your [StdReport] 
> section.
>
>
>
>
>
> On Fri, Sep 22, 2023 at 12:30 PM Yves Martin  wrote:
>
>> ... On the French side, C and F and mixed in the NOAA reports.
>> ... On the English one, all is correct.
>>
>> YM
>>
>> Le vendredi 22 septembre 2023 à 15 h 28 min 42 s UTC-4, Yves Martin a 
>> écrit :
>>
>>> Hi Tom,
>>>
>>> Sorry for the delay... had a lot of work...
>>>
>>>  unit_system = us
>>>
>>> I'm using the Bootstrap skin. This happen when I upgraded from old 
>>> version to the new one... and the tests I did with the last Bootstrap 
>>> (before the 4.1 was released).
>>>
>>> YM
>>>
>>> Le mercredi 13 septembre 2023 à 12 h 21 min 07 s UTC-4, Tom Keffer a 
>>> écrit :
>>>
>>>> Yves, did you resolve this?
>>>>
>>>> On Fri, Sep 8, 2023 at 3:59 PM Tom Keffer  wrote:
>>>>
>>>>> Not much information here.
>>>>>
>>>>> Which skin? Which version?
>>>>>
>>>>> Which values were in C, which in F?
>>>>>
>>>>> In weewx.conf, under [StdReport] / [[Defaults]] what settings did you 
>>>>> use for unit_system? Did you override group_temperature? Did you override 
>>>>> for the specific skin?
>>>>>
>>>>> How did you manage the mixed unit systems? With separate reports, each 
>>>>> using a different value for unit_system? Some other way?
>>>>>
>>>>> It might be easiest if you post your [StdReport] section.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Fri, Sep 8, 2023 at 1:07 PM Yves Martin  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have a bilingual web site, English and French.
>>>>>> When I upgraded weewx, the NOAA data were mixed-up for the French 
>>>>>> version in F and C !
>>>>>>
>>>>>> How to re-generate all the NOAA data in C (For the French side) from 
>>>>>> the database?
>>>>>>
>>>>>> Regards,
>>>>>> Yves, YMartin.com/meteo
>>>>>>
>>>>>> -- 
>>>>>> 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/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>> 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/774b32eb-1036-4713-8382-843413bc6423n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/774b32eb-1036-4713-8382-843413bc6423n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/e65fc0c9-4898-49e2-99dd-52bf4efe803fn%40googlegroups.com.


Re: [weewx-user] NOAA data mixed (F and C)

2023-09-22 Thread Yves Martin
... On the French side, C and F and mixed in the NOAA reports.
... On the English one, all is correct.

YM

Le vendredi 22 septembre 2023 à 15 h 28 min 42 s UTC-4, Yves Martin a 
écrit :

> Hi Tom,
>
> Sorry for the delay... had a lot of work...
>
>  unit_system = us
>
> I'm using the Bootstrap skin. This happen when I upgraded from old version 
> to the new one... and the tests I did with the last Bootstrap (before the 
> 4.1 was released).
>
> YM
>
> Le mercredi 13 septembre 2023 à 12 h 21 min 07 s UTC-4, Tom Keffer a 
> écrit :
>
>> Yves, did you resolve this?
>>
>> On Fri, Sep 8, 2023 at 3:59 PM Tom Keffer  wrote:
>>
>>> Not much information here.
>>>
>>> Which skin? Which version?
>>>
>>> Which values were in C, which in F?
>>>
>>> In weewx.conf, under [StdReport] / [[Defaults]] what settings did you 
>>> use for unit_system? Did you override group_temperature? Did you override 
>>> for the specific skin?
>>>
>>> How did you manage the mixed unit systems? With separate reports, each 
>>> using a different value for unit_system? Some other way?
>>>
>>> It might be easiest if you post your [StdReport] section.
>>>
>>> -tk
>>>
>>> On Fri, Sep 8, 2023 at 1:07 PM Yves Martin  wrote:
>>>
>>>> Hi,
>>>>
>>>> I have a bilingual web site, English and French.
>>>> When I upgraded weewx, the NOAA data were mixed-up for the French 
>>>> version in F and C !
>>>>
>>>> How to re-generate all the NOAA data in C (For the French side) from 
>>>> the database?
>>>>
>>>> Regards,
>>>> Yves, YMartin.com/meteo
>>>>
>>>> -- 
>>>> 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/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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/774b32eb-1036-4713-8382-843413bc6423n%40googlegroups.com.


Re: [weewx-user] NOAA data mixed (F and C)

2023-09-22 Thread Yves Martin
Hi Tom,

Sorry for the delay... had a lot of work...

 unit_system = us

I'm using the Bootstrap skin. This happen when I upgraded from old version 
to the new one... and the tests I did with the last Bootstrap (before the 
4.1 was released).

YM

Le mercredi 13 septembre 2023 à 12 h 21 min 07 s UTC-4, Tom Keffer a écrit :

> Yves, did you resolve this?
>
> On Fri, Sep 8, 2023 at 3:59 PM Tom Keffer  wrote:
>
>> Not much information here.
>>
>> Which skin? Which version?
>>
>> Which values were in C, which in F?
>>
>> In weewx.conf, under [StdReport] / [[Defaults]] what settings did you use 
>> for unit_system? Did you override group_temperature? Did you override 
>> for the specific skin?
>>
>> How did you manage the mixed unit systems? With separate reports, each 
>> using a different value for unit_system? Some other way?
>>
>> It might be easiest if you post your [StdReport] section.
>>
>> -tk
>>
>> On Fri, Sep 8, 2023 at 1:07 PM Yves Martin  wrote:
>>
>>> Hi,
>>>
>>> I have a bilingual web site, English and French.
>>> When I upgraded weewx, the NOAA data were mixed-up for the French 
>>> version in F and C !
>>>
>>> How to re-generate all the NOAA data in C (For the French side) from the 
>>> database?
>>>
>>> Regards,
>>> Yves, YMartin.com/meteo
>>>
>>> -- 
>>> 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/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/96426249-471d-44e1-b85d-12f0dbb4421en%40googlegroups.com.


[weewx-user] NOAA data mixed (F and C)

2023-09-08 Thread Yves Martin
Hi,

I have a bilingual web site, English and French.
When I upgraded weewx, the NOAA data were mixed-up for the French version 
in F and C !

How to re-generate all the NOAA data in C (For the French side) from the 
database?

Regards,
Yves, YMartin.com/meteo

-- 
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/430ac885-d7c9-4dec-8108-98106719375en%40googlegroups.com.


[weewx-user] Re: More Almanac Pop-Up No Longer Working - neowx-material

2023-08-29 Thread Martin Davies
Hi,

Just to say that I fixed the problem. The problem wasn't caused by the 
update to 4.10.2 but instead an upgrade to Python 3.

Having updated 'pyephem' everything now works fine.

This is the command I used to complete the update..

sudo apt install python3-ephem




On Sunday, August 27, 2023 at 9:38:19 PM UTC+1 Martin Davies wrote:

> Hi,
>
> Recently, since 4.10.2 update, I've noticed that the 'more alamanac' 
> option no longer works for my site that uses the neowx-material skin.
>
> I think other folk have noticed a similar problem with other Skins. 
>
> Can anyone suggest what steps I should take to investigate this problem.
>
> Many thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2e3aa1b1-4425-429f-835f-3e29cf637ca1n%40googlegroups.com.


[weewx-user] More Almanac Pop-Up No Longer Working - neowx-material

2023-08-27 Thread Martin Davies
Hi,

Recently, since 4.10.2 update, I've noticed that the 'more alamanac' option 
no longer works for my site that uses the neowx-material skin.

I think other folk have noticed a similar problem with other Skins. 

Can anyone suggest what steps I should take to investigate this problem.

Many thanks.

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


[weewx-user] Re: Boostrap and LiveCharts ...

2023-07-18 Thread Yves Martin
Michael,

You look like a very susceptible person. What you says is not true.
you look at your life point and ignore those of others.
Yes I try things. You have no documentation (or not very much) so the only 
way is asking and try...

I don't want to argue with you.
I give-up for now.

YM

Le mardi 18 juillet 2023 à 23 h 30 min 34 s UTC-4, michael.k...@gmx.at a 
écrit :

> >  I've tried to installed Bootsrap 4.1 with your help twice but get lot 
> of errors and issues. Because your distribution is not finished (that I've 
> explained before) I will use the version 4.0 till the official version 
> (4.1) will be released by you. Again, I did not change my mind about it
>
> No, this is not true. You installation dos not work, because you are not 
> reading the docs, not following instructions, ignoring suggestions. It does 
> not work, because you try to achieve things with 4.0, which are not 
> supported before 4.1. This is nothing to make a mind about, it is a fact. 
> And that's something I've told you already, multiple times.
>
> > Is it possible to have different index with different scales (like the 
> UV and radiation on my main page)
>
> Yes. With 4.1. Install it. 
>
> > Actually, my web site (YMartin.com/meteo) is working @ 90%
>
> It would have been 100% (except for not supported featuers) days ago, if 
> you had:
>
> - Posted relevant logs, when you have bin asked for it
> - Read the instructions (interestingly, although not very exhaustive 
> documented, almost all of you questions could have been solved with the 
> existing docs)
> - Followed the instructions you were given
> - Followed the suggestions you were told
>
> >  About the "pm2_5_aqi" added in the database, I'm now able to show it in 
> the livecharts. 
>
> You shouldn't have. You should have used pm2_5. If the sensor/driver has 
> another name for it, map it. 
>
> >  I really like what you did with the bootstrap.
>
> Appreciated. But I don't like what you are doing here.
>
> > I am very happy to share my experiences with this group of course!
>
> Then let's hope the opposite is also true.
>
> Yves Martin schrieb am Dienstag, 18. Juli 2023 um 23:09:57 UTC+2:
>
>> Michael,
>>
>> My goal is still the same for 6 months, to replace/update my old version 
>> of weewx and Boostrap (including various addons), which has not been 
>> updated for 5-6 years (approximately) and to be able to integrate my air 
>> quality sensor and keep my actual database (weewx.sdb) of course! To do 
>> this, I had no choice but to reinstall weewx with a more recent Debian 
>> distribution and the Python language. This has NEVER change.
>>
>> I've tried to installed Bootsrap 4.1 with your help twice but get lot of 
>> errors and issues. Because your distribution is not finished (that I've 
>> explained before) I will use the version 4.0 till the official version 
>> (4.1) will be released by you. Again, I did not change my mind about it, so 
>> please be patient with me. I test, I try and ask help and do my best with 
>> my knowledge, and I am very happy to share my experiences with this group 
>> of course!
>>
>> Actually, my web site (YMartin.com/meteo) is working @ 90%. There are 
>> some options I will wait for, as the tags to add different blocs of texts 
>> in different languages in the html templates, the options on the 
>> LiveCharts, etc.
>>
>> I really like what you did with the bootstrap.
>>
>> (...)
>>
>> Is it possible to have different index with different scales (like the UV 
>> and radiation on my main page) one on the left and another one on the right 
>> with bootstrap 4.0 or should I wait for 4.1 ?
>>
>> About the "pm2_5_aqi" added in the database, I'm now able to show it in 
>> the livecharts. That is why I've added it in the db. In another hand, I 
>> will keep the data in the db!
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le mardi 18 juillet 2023 à 10 h 35 min 59 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> > It does not work, probably because I'm still with bootstrap 4.0. 
>>> Still, or again? You switched in the mean time. The real problem is: you 
>>> are demanding instructions and suggestions, then you are getting these 
>>> instructions and sugguesstion, then you are doing something totally 
>>> different and after that you are complaining, that things don't work. 
>>> Simple as that.
>>>
>>> > I've added "pm2_5_aqi" and it works.
>>>
>>> But why did

[weewx-user] Re: Boostrap and LiveCharts ...

2023-07-18 Thread Yves Martin
Michael,

My goal is still the same for 6 months, to replace/update my old version of 
weewx and Boostrap (including various addons), which has not been updated 
for 5-6 years (approximately) and to be able to integrate my air quality 
sensor and keep my actual database (weewx.sdb) of course! To do this, I had 
no choice but to reinstall weewx with a more recent Debian distribution and 
the Python language. This has NEVER change.

I've tried to installed Bootsrap 4.1 with your help twice but get lot of 
errors and issues. Because your distribution is not finished (that I've 
explained before) I will use the version 4.0 till the official version 
(4.1) will be released by you. Again, I did not change my mind about it, so 
please be patient with me. I test, I try and ask help and do my best with 
my knowledge, and I am very happy to share my experiences with this group 
of course!

Actually, my web site (YMartin.com/meteo) is working @ 90%. There are some 
options I will wait for, as the tags to add different blocs of texts in 
different languages in the html templates, the options on the LiveCharts, 
etc.

I really like what you did with the bootstrap.

(...)

Is it possible to have different index with different scales (like the UV 
and radiation on my main page) one on the left and another one on the right 
with bootstrap 4.0 or should I wait for 4.1 ?

About the "pm2_5_aqi" added in the database, I'm now able to show it in the 
livecharts. That is why I've added it in the db. In another hand, I will 
keep the data in the db!

Yves,
YMartin.com/meteo

Le mardi 18 juillet 2023 à 10 h 35 min 59 s UTC-4, michael.k...@gmx.at a 
écrit :

> > It does not work, probably because I'm still with bootstrap 4.0. 
> Still, or again? You switched in the mean time. The real problem is: you 
> are demanding instructions and suggestions, then you are getting these 
> instructions and sugguesstion, then you are doing something totally 
> different and after that you are complaining, that things don't work. 
> Simple as that.
>
> > I've added "pm2_5_aqi" and it works.
>
> But why did you?
>
> Every series you have defined in a chart that works, has a database column 
> with it's exact name. Period.
> [[pm2_5_aqi]] # <=== valid, if not existing as column name in the archive 
> table
> [[[pm2_5_aqi]]]   # <=== INVALID, if not existing as column name 
> in the archive table
>
> payload_key = outAQI
> showMaxMarkPoint = true
> showMinMarkPoint = true
> showAvgMarkLine = false
> lineColor = '#428bca'
> decimals = 0
> [[[pm2_5]]] # <=== valid, if existing as column name in the 
> archive table
>
> payload_key = outAQI
> showMaxMarkPoint = true
> showMinMarkPoint = true
> showAvgMarkLine = false
> lineColor = '#428bca'
> decimals = 0
>
> Yves Martin schrieb am Dienstag, 18. Juli 2023 um 15:57:15 UTC+2:
>
>> Hi Michael,
>>
>> Thank you.
>> It does not work, probably because I'm still with bootstrap 4.0.
>>
>> About table named "pm2_5_aqi", I do not understand how the other charts 
>> are generated if it is not in the db?
>>
>> I've added "pm2_5_aqi" and it works.
>>
>> About the documentation, I do not have all the info, but I will check 
>> what to send previously about the variables and tags we can add in the 
>> Livechart.
>>
>> I put all in pause for now and I will try it again tonight.
>>
>> Thank you
>>
>> Yves,
>> YMartin.com/meteo
>> Le mardi 18 juillet 2023 à 09 h 40 min 08 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> For the UV-Chart, something like this should work:
>>>
>>> [[radiation]]
>>> [[[radiation]]]
>>> payload_key = radiation
>>> showMaxMarkPoint = true
>>> showMinMarkPoint = false
>>> showAvgMarkLine = false
>>>
>>> lineColor = '#ffcd56'
>>> decimals = 0
>>> [[[UV]]]
>>> yAxisIndex = 1
>>> plotType = bar
>>>
>>> aggregateType = avg
>>> aggregateInterval = 3600
>>> payload_key = UV
>>> showMaxMarkPoint = false
>>> showMinMarkPoint = false
>>>
>>> showAvgMarkLine = false
>>> lineColor = '#7f1ae555'
>>> decimals = 0
>>

[weewx-user] Re: Boostrap and LiveCharts ...

2023-07-18 Thread Yves Martin
Hi Michael,

Thank you.
It does not work, probably because I'm still with bootstrap 4.0.

About table named "pm2_5_aqi", I do not understand how the other charts are 
generated if it is not in the db?

I've added "pm2_5_aqi" and it works.

About the documentation, I do not have all the info, but I will check what 
to send previously about the variables and tags we can add in the Livechart.

I put all in pause for now and I will try it again tonight.

Thank you

Yves,
YMartin.com/meteo
Le mardi 18 juillet 2023 à 09 h 40 min 08 s UTC-4, michael.k...@gmx.at a 
écrit :

> For the UV-Chart, something like this should work:
>
> [[radiation]]
> [[[radiation]]]
> payload_key = radiation
> showMaxMarkPoint = true
> showMinMarkPoint = false
> showAvgMarkLine = false
>
> lineColor = '#ffcd56'
> decimals = 0
> [[[UV]]]
> yAxisIndex = 1
> plotType = bar
>
> aggregateType = avg
> aggregateInterval = 3600
> payload_key = UV
> showMaxMarkPoint = false
> showMinMarkPoint = false
>
> showAvgMarkLine = false
> lineColor = '#7f1ae555'
> decimals = 0
>
> michael.k...@gmx.at schrieb am Dienstag, 18. Juli 2023 um 15:29:09 UTC+2:
>
>> If you check the documentation in the skin.conf:
>>
>>
>> https://github.com/brewster76/fuzzy-archer/blob/4.1/skins/Bootstrap/skin.conf#L799
>>  
>>
>> "choose weewx field name" 
>>
>> So [[[pm2_5_aqi]]] is invalid, since you don't have a column in your 
>> archive table named "pm2_5_aqi"
>>
>> You probably (just a guess) tried to configure something like that:
>>
>>  [[outAqi]]
>> [[[pm1_0]]]
>>
>> showMaxMarkPoint = true
>> showMinMarkPoint = true
>> showAvgMarkLine = false
>> lineColor = '#b44242'
>> decimals = 0
>> [[[pm2_5]]]
>>
>> showMaxMarkPoint = true
>> showMinMarkPoint = true
>>     showAvgMarkLine = false
>> lineColor = '#428bca'
>> decimals = 0
>> [[[pm10_0]]]
>> showMaxMarkPoint = true
>> showMinMarkPoint = true
>> showAvgMarkLine = false
>> lineColor = '#7f1ae5'
>> decimals = 0
>>
>> Yves Martin schrieb am Dienstag, 18. Juli 2023 um 15:19:57 UTC+2:
>>
>>> Hi,
>>>
>>> 2 questions:
>>>
>>> 1. How to add a scale on the right side of the chart if 2 charts are 
>>> mixed in one picture?
>>>
>>> Here is the code:
>>>
>>> [[radiation]]
>>> [[[radiation]]]
>>> payload_key = radiation
>>> #convertFunction = "function(value) { return value / 126.7; 
>>> }" #you can do value conversions if needed
>>> showMaxMarkPoint = true
>>> showMinMarkPoint = true
>>> showAvgMarkLine = true
>>> lineColor = '#ffcd56'
>>> decimals = 0
>>> [[[UV]]]
>>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>>> aggregateType = avg
>>> aggregateInterval = 3600
>>> payload_key = UV
>>> showMaxMarkPoint = true
>>> showMinMarkPoint = true
>>> showAvgMarkLine = false
>>> lineColor = '#7f1ae555'
>>> decimals = 0
>>>
>>> My issue is, I cannot see the UV chart because I cannot add a correct 
>>> scale on the right side of the chart.
>>>
>>> 2. How to add the Air Quality charts on the LiveChart:
>>>
>>> [[pm2_5_aqi]]
>>> [[[pm2_5_aqi]]]
>>> payload_key = outAQI
>>> showMaxMarkPoint = true
>>> showMinMarkPoint = true
>>> showAvgMarkLine = false
>>> lineColor = '#428bca'
>>> decimals = 0
>>> [[[pm2_5]]]
>>> payload_key = outAQI
>>> showMaxMarkPoint = true
>>> showMinMarkPoint = true
>>> showAvgMarkLine = false
>>> lineColor = '#428bca'
>>> decimals = 0
>>

[weewx-user] Boostrap and LiveCharts ...

2023-07-18 Thread Yves Martin
Hi,

2 questions:

1. How to add a scale on the right side of the chart if 2 charts are mixed 
in one picture?

Here is the code:

[[radiation]]
[[[radiation]]]
payload_key = radiation
#convertFunction = "function(value) { return value / 126.7; }" 
#you can do value conversions if needed
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = true
lineColor = '#ffcd56'
decimals = 0
[[[UV]]]
yAxisIndex = 1  #to assign UV to the 2nd yAxis
aggregateType = avg
aggregateInterval = 3600
payload_key = UV
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = false
lineColor = '#7f1ae555'
decimals = 0

My issue is, I cannot see the UV chart because I cannot add a correct scale 
on the right side of the chart.

2. How to add the Air Quality charts on the LiveChart:

[[pm2_5_aqi]]
[[[pm2_5_aqi]]]
payload_key = outAQI
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = false
lineColor = '#428bca'
decimals = 0
[[[pm2_5]]]
payload_key = outAQI
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = false
lineColor = '#428bca'
decimals = 0

but I get an error like the variable is not set :

Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.jsonengine.JSONGenerator'
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  'pm2_5_aqi'
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  obj.start()
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  self.run()
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 51, in run
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  self.gen_data()
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 128, in gen_data
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  ret, category_history = self.gen_history_data(category, 
data_type, live_options, self.c$
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 210, in 
gen_history_data
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  db_value_tuple = weewx.units.as_value_tuple(rec, column_name)
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/units.py", line 1644, in as_value_tuple
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  val = record_dict[obs_type]
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  KeyError: 'pm2_5_aqi'
Jul 18 09:05:56 weewx4-raspi weewx[31203] ERROR weewx.reportengine: 
  Generator terminated

Yves,
YMartin.com/meteo

-- 
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/6b1caf5f-f13d-4ce0-8288-e3a5c811b106n%40googlegroups.com.


Re: [weewx-user] Re: Error with weewx-airlink

2023-07-18 Thread Yves Martin
OK, I did also for the 3 variables, and then it works!
Thank you and also thanks to Tom for the great software.

('pm10_0','REAL')
('pm1_0','REAL')
('pm2_5','REAL')

YM

Le mardi 18 juillet 2023 à 07 h 40 min 47 s UTC-4, michael.k...@gmx.at a 
écrit :

> I posted you links to step-by-step instructions. The latter will serve for 
> the current error message, but probably get's you lost again, when you habe 
> a sensor for pm10. Or any other obs_type not included in your schema, but 
> the extended schema.
>
> Again: visit 
> https://weewx.com/docs/latest/utilities.htm#Action_--add-column and 
> follow the instructions. Thats the recipe.
>
> In your case, run
>  wee_database --add-column=pm2_5
> Thats already pre-chewed.
>
> Or follow the 5 steps to extend your schema.
>
> Yves Martin schrieb am Dienstag, 18. Juli 2023 um 13:26:00 UTC+2:
>
>> If you are able to give me a recipe and some hints, I will do the job.
>> Unfortunately, I don't have years to become a chef (I'm not a programmer) 
>> and it is not my job too.
>> I can learn and this is what I'm doing every time.
>>
>> When I've reinstalled from scratch a new Fresh Debian distribution on my 
>> Raspeberry Pi to upgrade the distribution and use a more recent Python 
>> language, I've installed it with the minimum. No X11 and useless things, it 
>> is just a server. Then I try to find some sqlite manager (a tool like MC 
>> for exemple) but I could not find it. They used Mac, PC or X11... I tried 
>> to installed a few tools like sqlitebrowser but it did not work. I've give 
>> up for now. 
>>
>> The other thing I wanted to try is to delete my actual database (just 
>> keep it in a safe place, with my 8 years of data. I already lost 2 years of 
>> data 8 years ago and I wrote a small script to do a backup... and I learned 
>> too) then create a new database with the wview_extended 
>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>> reference, 
>> then compare the 2 databases (the new and my old one). After, I could add 
>> the fields with a sqlite manager, or the new table in my old database. 
>>
>> So, I'm hungry but I won't wait too long. I'm busy too with my life.
>>
>> Let me know if my ideas are right, I will try them later.
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le lundi 17 juillet 2023 à 23 h 36 min 46 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> If you are hungry and someone prepared lunch for you, served it, and 
>>> started feeding you, you'll stay hungry, unless you swallow.
>>>
>>> Yves Martin schrieb am Montag, 17. Juli 2023 um 23:11:25 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> It is empty as I use the same db from my old weewx to version 4.10.2 
>>>> and when I migrate to python 3.7.3.
>>>>
>>>> sqlite> .open weewx.sdb
>>>> sqlite>
>>>> sqlite> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>>>> grep pm2_5
>>>>...>
>>>>...> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>>>> grep pm2_5
>>>>...> PRAGMA table_info(archive);" ".exit" | grep pm2_5
>>>>...>
>>>>...>
>>>>
>>>> (...)
>>>>
>>>> I will need some help with this one.
>>>>
>>>> How I convert my actual database with the new one?
>>>>
>>>> My setting is like this in weewx.conf :
>>>>
>>>> [DataBindings]
>>>>
>>>> [[wx_binding]]
>>>> # The database must match one of the sections in [Databases].
>>>> # This is likely to be the only option you would want to change.
>>>> database = archive_sqlite
>>>> # The name of the table within the database
>>>> table_name = archive
>>>> # The manager handles aggregation of data for historical 
>>>> summaries
>>>> manager = weewx.wxmanager.WXDaySummaryManager
>>>> # The schema defines the structure of the database.
>>>> # It is *only* used when the database is created.
>>>> schema = schemas.wview.schema
>>>>
>>>>[[forecast_binding]]
>>>> database = forecast_sqlite
>>>>
>>>> (...

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-18 Thread Yves Martin
OK, that means I have to do it for the 3 variables, right?:

('pm10_0','REAL')
('pm1_0','REAL')
('pm2_5','REAL')

YM
Le mardi 18 juillet 2023 à 07 h 40 min 47 s UTC-4, michael.k...@gmx.at a 
écrit :

> I posted you links to step-by-step instructions. The latter will serve for 
> the current error message, but probably get's you lost again, when you habe 
> a sensor for pm10. Or any other obs_type not included in your schema, but 
> the extended schema.
>
> Again: visit 
> https://weewx.com/docs/latest/utilities.htm#Action_--add-column and 
> follow the instructions. Thats the recipe.
>
> In your case, run
>  wee_database --add-column=pm2_5
> Thats already pre-chewed.
>
> Or follow the 5 steps to extend your schema.
>
> Yves Martin schrieb am Dienstag, 18. Juli 2023 um 13:26:00 UTC+2:
>
>> If you are able to give me a recipe and some hints, I will do the job.
>> Unfortunately, I don't have years to become a chef (I'm not a programmer) 
>> and it is not my job too.
>> I can learn and this is what I'm doing every time.
>>
>> When I've reinstalled from scratch a new Fresh Debian distribution on my 
>> Raspeberry Pi to upgrade the distribution and use a more recent Python 
>> language, I've installed it with the minimum. No X11 and useless things, it 
>> is just a server. Then I try to find some sqlite manager (a tool like MC 
>> for exemple) but I could not find it. They used Mac, PC or X11... I tried 
>> to installed a few tools like sqlitebrowser but it did not work. I've give 
>> up for now. 
>>
>> The other thing I wanted to try is to delete my actual database (just 
>> keep it in a safe place, with my 8 years of data. I already lost 2 years of 
>> data 8 years ago and I wrote a small script to do a backup... and I learned 
>> too) then create a new database with the wview_extended 
>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>> reference, 
>> then compare the 2 databases (the new and my old one). After, I could add 
>> the fields with a sqlite manager, or the new table in my old database. 
>>
>> So, I'm hungry but I won't wait too long. I'm busy too with my life.
>>
>> Let me know if my ideas are right, I will try them later.
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le lundi 17 juillet 2023 à 23 h 36 min 46 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> If you are hungry and someone prepared lunch for you, served it, and 
>>> started feeding you, you'll stay hungry, unless you swallow.
>>>
>>> Yves Martin schrieb am Montag, 17. Juli 2023 um 23:11:25 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> It is empty as I use the same db from my old weewx to version 4.10.2 
>>>> and when I migrate to python 3.7.3.
>>>>
>>>> sqlite> .open weewx.sdb
>>>> sqlite>
>>>> sqlite> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>>>> grep pm2_5
>>>>...>
>>>>...> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>>>> grep pm2_5
>>>>...> PRAGMA table_info(archive);" ".exit" | grep pm2_5
>>>>...>
>>>>...>
>>>>
>>>> (...)
>>>>
>>>> I will need some help with this one.
>>>>
>>>> How I convert my actual database with the new one?
>>>>
>>>> My setting is like this in weewx.conf :
>>>>
>>>> [DataBindings]
>>>>
>>>> [[wx_binding]]
>>>> # The database must match one of the sections in [Databases].
>>>> # This is likely to be the only option you would want to change.
>>>> database = archive_sqlite
>>>> # The name of the table within the database
>>>> table_name = archive
>>>> # The manager handles aggregation of data for historical 
>>>> summaries
>>>> manager = weewx.wxmanager.WXDaySummaryManager
>>>> # The schema defines the structure of the database.
>>>> # It is *only* used when the database is created.
>>>> schema = schemas.wview.schema
>>>>
>>>>[[forecast_binding]]
>>>> database = forecast_sqlite
>>>>
>>>> (...)
>>>>
>>>> How I use : wvie

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-18 Thread Yves Martin
If you are able to give me a recipe and some hints, I will do the job.
Unfortunately, I don't have years to become a chef (I'm not a programmer) 
and it is not my job too.
I can learn and this is what I'm doing every time.

When I've reinstalled from scratch a new Fresh Debian distribution on my 
Raspeberry Pi to upgrade the distribution and use a more recent Python 
language, I've installed it with the minimum. No X11 and useless things, it 
is just a server. Then I try to find some sqlite manager (a tool like MC 
for exemple) but I could not find it. They used Mac, PC or X11... I tried 
to installed a few tools like sqlitebrowser but it did not work. I've give 
up for now. 

The other thing I wanted to try is to delete my actual database (just keep 
it in a safe place, with my 8 years of data. I already lost 2 years of data 
8 years ago and I wrote a small script to do a backup... and I learned too) 
then create a new database with the wview_extended 
<https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
reference, 
then compare the 2 databases (the new and my old one). After, I could add 
the fields with a sqlite manager, or the new table in my old database. 

So, I'm hungry but I won't wait too long. I'm busy too with my life.

Let me know if my ideas are right, I will try them later.

Yves,
YMartin.com/meteo

Le lundi 17 juillet 2023 à 23 h 36 min 46 s UTC-4, michael.k...@gmx.at a 
écrit :

> If you are hungry and someone prepared lunch for you, served it, and 
> started feeding you, you'll stay hungry, unless you swallow.
>
> Yves Martin schrieb am Montag, 17. Juli 2023 um 23:11:25 UTC+2:
>
>> Hi Michael,
>>
>> It is empty as I use the same db from my old weewx to version 4.10.2 and 
>> when I migrate to python 3.7.3.
>>
>> sqlite> .open weewx.sdb
>> sqlite>
>> sqlite> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>> grep pm2_5
>>...>
>>...> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | 
>> grep pm2_5
>>...> PRAGMA table_info(archive);" ".exit" | grep pm2_5
>>...>
>>...>
>>
>> (...)
>>
>> I will need some help with this one.
>>
>> How I convert my actual database with the new one?
>>
>> My setting is like this in weewx.conf :
>>
>> [DataBindings]
>>
>> [[wx_binding]]
>> # The database must match one of the sections in [Databases].
>> # This is likely to be the only option you would want to change.
>> database = archive_sqlite
>> # The name of the table within the database
>> table_name = archive
>> # The manager handles aggregation of data for historical summaries
>> manager = weewx.wxmanager.WXDaySummaryManager
>> # The schema defines the structure of the database.
>> # It is *only* used when the database is created.
>> schema = schemas.wview.schema
>>
>>[[forecast_binding]]
>> database = forecast_sqlite
>>
>> (...)
>>
>> How I use : wview_extended 
>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py>  
>> ?
>>
>> YM
>> Le lundi 17 juillet 2023 à 14 h 17 min 32 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> What is sqlite3 weewx.sdb "SELECT name FROM sqlite_master WHERE type = 
>>> 'table'" ".exit" | grep pm2_5 showing?
>>>
>>> What ist sqlite3 weewx.sdb "PRAGMA table_info(archive);" ".exit" | grep 
>>> pm2_5 showing?
>>>
>>> If nothing, migrate to wview extended: 
>>> https://weewx.com/docs/latest/customizing.htm#transfer_database_using_new_schema
>>>
>>> Yves Martin schrieb am Montag, 17. Juli 2023 um 17:18:23 UTC+2:
>>>
>>>> It seems the AQI works but not the other variable ... (not all the 
>>>> time).
>>>>
>>>> I was thinking ... because I'm using an old version of the sqlite 
>>>> database (from 2016), perhaps the new version did not integrate the new 
>>>> fields?
>>>>
>>>> How can I check this?
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>> Le lundi 17 juillet 2023 à 11 h 06 min 43 s UTC-4, Yves Martin a écrit :
>>>>
>>>>> I'm using the Bootstrap for my station with multi-language. Is there 
>>>>> some incompatibility?
>>>>> wview_extended 
>>>>

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread Yves Martin
Hi Michael,

It is empty as I use the same db from my old weewx to version 4.10.2 and 
when I migrate to python 3.7.3.

sqlite> .open weewx.sdb
sqlite>
sqlite> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | grep 
pm2_5
   ...>
   ...> SELECT name FROM sqlite_master WHERE type = 'table'" ".exit" | grep 
pm2_5
   ...> PRAGMA table_info(archive);" ".exit" | grep pm2_5
   ...>
   ...>

(...)

I will need some help with this one.

How I convert my actual database with the new one?

My setting is like this in weewx.conf :

[DataBindings]

[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview.schema

   [[forecast_binding]]
database = forecast_sqlite

(...)

How I use : wview_extended 
<https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py>  
?

YM
Le lundi 17 juillet 2023 à 14 h 17 min 32 s UTC-4, michael.k...@gmx.at a 
écrit :

> What is sqlite3 weewx.sdb "SELECT name FROM sqlite_master WHERE type = 
> 'table'" ".exit" | grep pm2_5 showing?
>
> What ist sqlite3 weewx.sdb "PRAGMA table_info(archive);" ".exit" | grep 
> pm2_5 showing?
>
> If nothing, migrate to wview extended: 
> https://weewx.com/docs/latest/customizing.htm#transfer_database_using_new_schema
>
> Yves Martin schrieb am Montag, 17. Juli 2023 um 17:18:23 UTC+2:
>
>> It seems the AQI works but not the other variable ... (not all the time).
>>
>> I was thinking ... because I'm using an old version of the sqlite 
>> database (from 2016), perhaps the new version did not integrate the new 
>> fields?
>>
>> How can I check this?
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le lundi 17 juillet 2023 à 11 h 06 min 43 s UTC-4, Yves Martin a écrit :
>>
>>> I'm using the Bootstrap for my station with multi-language. Is there 
>>> some incompatibility?
>>> wview_extended 
>>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>>> is 
>>> set correctly here, the variables are well defined.
>>> Is there something I've missed?
>>>
>>> Yves,
>>> YMartin.com/meteo
>>>
>>> Le lundi 17 juillet 2023 à 09 h 30 min 04 s UTC-4, John Kline a écrit :
>>>
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   no such column: pm2_5
>>>>
>>>> On Jul 17, 2023, at 6:12 AM, Yves Martin  wrote:
>>>>
>>>> wview_extended 
>>>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>>>> is 
>>>> correct here.
>>>>
>>>>
>>>> I'm able to show the data on my main page but I've still theses 
>>>> errors...
>>>>
>>>> YM
>>>>
>>>> Le lundi 17 juillet 2023 à 09 h 01 min 24 s UTC-4, John Kline a écrit :
>>>>
>>>>> Please note in the description for this extension:
>>>>>
>>>>> “weewx-airlink requires the wview_extended 
>>>>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py>
>>>>>  in 
>>>>> WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“
>>>>>
>>>>> On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at  
>>>>> wrote:
>>>>>
>>>>> 
>>>>>
>>>>>
>>>>> weedb.NoColumnError: no such column: pm2_5
>>>>> Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I've installe the module weewx-airlink (
>>>>>> https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air 
>>>>>> Quality, but I have this error :
>>>>>>
>>>>>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: 
>>>>>> Generated 18 images for report Bootstrap in 19.46 seconds
>>>>>> Jul 17 08:48:42 weewx4-raspi weewx[2

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread Yves Martin
It seems the AQI works but not the other variable ... (not all the time).

I was thinking ... because I'm using an old version of the sqlite database 
(from 2016), perhaps the new version did not integrate the new fields?

How can I check this?

Yves,
YMartin.com/meteo

Le lundi 17 juillet 2023 à 11 h 06 min 43 s UTC-4, Yves Martin a écrit :

> I'm using the Bootstrap for my station with multi-language. Is there some 
> incompatibility?
> wview_extended 
> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> is 
> set correctly here, the variables are well defined.
> Is there something I've missed?
>
> Yves,
> YMartin.com/meteo
>
> Le lundi 17 juillet 2023 à 09 h 30 min 04 s UTC-4, John Kline a écrit :
>
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     no such column: pm2_5
>>
>> On Jul 17, 2023, at 6:12 AM, Yves Martin  wrote:
>>
>> wview_extended 
>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>> is 
>> correct here.
>>
>>
>> I'm able to show the data on my main page but I've still theses errors...
>>
>> YM
>>
>> Le lundi 17 juillet 2023 à 09 h 01 min 24 s UTC-4, John Kline a écrit :
>>
>>> Please note in the description for this extension:
>>>
>>> “weewx-airlink requires the wview_extended 
>>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>>> in 
>>> WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“
>>>
>>> On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at  
>>> wrote:
>>>
>>> 
>>>
>>>
>>> weedb.NoColumnError: no such column: pm2_5
>>> Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> I've installe the module weewx-airlink (
>>>> https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air 
>>>> Quality, but I have this error :
>>>>
>>>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: 
>>>> Generated 18 images for report Bootstrap in 19.46 seconds
>>>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: 
>>>> Copied 0 files to /var/www/html/weewx
>>>> Jul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: 
>>>> historygenerator.py: Generated 7 tables in 1.20 seconds
>>>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>>> Generated 10 files for report Bootstrap in 5.12 seconds
>>>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>>> Generated 1 files for report lastrain in 0.06 seconds
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>>> Generated 1 files for report AirLinkReport in 0.06 seconds
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar 
>>>> called where record does not contain pm2_5.  This is unexpected.
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>> Caught unrecoverable exception in generator 
>>>> 'weewx.imagegenerator.ImageGenerator'
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   no such column: pm2_5
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   Traceback (most recent call last):
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>> File "/usr/share/weewx/weewx/xtypes.py", line 101, in 
>>>> get_series
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   aggregate_interval, **option_dict)
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   TypeError: get_series() got an unexpected keyword argument 
>>>> 'SKIN_ROOT'
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>> 
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>>   During handling of the above exception, another exception 
>>>> occurred:
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>> 
>>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>> 

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread Yves Martin
I'm using the Bootstrap for my station with multi-language. Is there some 
incompatibility?
wview_extended 
<https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> is 
set correctly here, the variables are well defined.
Is there something I've missed?

Yves,
YMartin.com/meteo

Le lundi 17 juillet 2023 à 09 h 30 min 04 s UTC-4, John Kline a écrit :

> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>     no such column: pm2_5
>
> On Jul 17, 2023, at 6:12 AM, Yves Martin  wrote:
>
> wview_extended 
> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> is 
> correct here.
>
>
> I'm able to show the data on my main page but I've still theses errors...
>
> YM
>
> Le lundi 17 juillet 2023 à 09 h 01 min 24 s UTC-4, John Kline a écrit :
>
>> Please note in the description for this extension:
>>
>> “weewx-airlink requires the wview_extended 
>> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> 
>> in 
>> WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“
>>
>> On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at  
>> wrote:
>>
>> 
>>
>>
>> weedb.NoColumnError: no such column: pm2_5
>> Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:
>>
>>> Hi,
>>>
>>> I've installe the module weewx-airlink (
>>> https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air 
>>> Quality, but I have this error :
>>>
>>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: 
>>> Generated 18 images for report Bootstrap in 19.46 seconds
>>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: 
>>> Copied 0 files to /var/www/html/weewx
>>> Jul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: 
>>> historygenerator.py: Generated 7 tables in 1.20 seconds
>>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>> Generated 10 files for report Bootstrap in 5.12 seconds
>>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>> Generated 1 files for report lastrain in 0.06 seconds
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>>> Generated 1 files for report AirLinkReport in 0.06 seconds
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar 
>>> called where record does not contain pm2_5.  This is unexpected.
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> Caught unrecoverable exception in generator 
>>> 'weewx.imagegenerator.ImageGenerator'
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   no such column: pm2_5
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   Traceback (most recent call last):
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_series
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   aggregate_interval, **option_dict)
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   TypeError: get_series() got an unexpected keyword argument 
>>> 'SKIN_ROOT'
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> 
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   During handling of the above exception, another exception 
>>> occurred:
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> 
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   Traceback (most recent call last):
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fn
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   return fn(*args, **kwargs)
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>> File "/usr/share/weewx/weedb/sqlite.py", line 233, in execute
>>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>>>   return sqlite3.Cursor.execute(self, *args, **kwargs)
>>> Jul

Re: [weewx-user] Re: Air Quality Sensor ?

2023-07-17 Thread Yves Martin
Just to let you know, Tom was right, my database was corrupted during the 
copy.
I did it a second time then all was perfect.

YM

Le lundi 3 juillet 2023 à 16 h 23 min 20 s UTC-4, Yves Martin a écrit :

> Hi Tom,
>
> I used the last version of aprx, this seems better, but now I have another 
> error linked to mysql lite.
>
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>   File "/usr/share/weewx/weewx/manager.py", line 130, in __init__
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     self.sqlkeys = self.connection.columnsOf(self.table_name)
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>   File "/usr/share/weewx/weedb/sqlite.py", line 187, in columnsOf
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     column_list = [row[1] for row in self.genSchemaOf(table)]
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>   File "/usr/share/weewx/weedb/sqlite.py", line 187, in 
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     column_list = [row[1] for row in self.genSchemaOf(table)]
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>   File "/usr/share/weewx/weedb/sqlite.py", line 176, in genSchemaOf
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     for row in self.connection.execute("""PRAGMA table_info(%s);""" 
> % table):
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     sqlite3.DatabaseError: database disk image is malformed
> Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
>     Exiting.
> root@weewx4-raspi:/home/ymartin#
>
> (...)
>
> Of course, I just copy the old database to the new server. Is there some 
> updates or something to convert this?
>
> regards
> Yves
> Le samedi 1 juillet 2023 à 17 h 04 min 54 s UTC-4, Tom Keffer a écrit :
>
>> Noted!
>>
>> Yves, check around. Apparently your copy did not come from gjr's 
>> repository.
>>
>> OTOH, maybe his copy works better?
>>
>> -tk
>>
>> On Sat, Jul 1, 2023 at 2:02 PM gjr80  wrote:
>>
>>> I would tread carefully here, it is some time since I last touched 
>>> weewx-aprx <https://github.com/gjr80/weewx-aprx> and I seem to remember 
>>> there was more than one player in the 'WeeWX aprx' field. As far as I am 
>>> aware the line:
>>>
>>> self.lat   = d.get('lat', {})
>>>
>>> has not been used in any weewx-aprx 
>>> <https://github.com/gjr80/weewx-aprx> code.
>>>
>>> Gary
>>> On Saturday, 1 July 2023 at 21:08:48 UTC+1 tke...@gmail.com wrote:
>>>
>>>> Have you tried upgrading your copy of weewx-aprx 
>>>> <https://github.com/gjr80/weewx-aprx/tree/master>? The current copy 
>>>> looks quite different from the one you seem to be using.
>>>>
>>>> On Sat, Jul 1, 2023 at 8:39 AM Yves Martin  wrote:
>>>>
>>>>> Hi Vince,
>>>>>
>>>>> You're probably a programmer, not me. I did some in my old time in asm 
>>>>> but it was with a Z80, in opl, pascal, basic and Clarion and that was my 
>>>>> last experience in programming.
>>>>>
>>>>> I can play a bit but I don't want to spend my time learning Python, I 
>>>>> have no time for that unfortunately. Perhaps in a few years when my 
>>>>> business will give me more spare time ...
>>>>>
>>>>> I checked in the forums but I could not not find theses errors, plus 
>>>>> it seems these error are from existing programs working now with Python 
>>>>> 2.7.3... For example, it seems there is some tab of space at the wrong 
>>>>> place in a program wrote in 2017 (aprx.py). I believe something change 
>>>>> between Python 2.7 and 3, some help will be welcome. I can do more than 
>>>>> waiting, just give me some hints.
>>>>>
>>>>> Perhaps my config file (weewx.conf) has to be updated or checked with 
>>>>> Python3 ?
>>>>>
>>>>> Also I use some script addon (*nicksengines*) and I don't know if I 
>>>>> have to check some update if I use Python3?
>>>>>
>>>>> It will be a god idea of course to use a more recent distributio

Re: [weewx-user] Re: Error with weewx-airlink

2023-07-17 Thread Yves Martin
wview_extended 
<https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> is 
correct here.

I'm able to show the data on my main page but I've still theses errors...

YM

Le lundi 17 juillet 2023 à 09 h 01 min 24 s UTC-4, John Kline a écrit :

> Please note in the description for this extension:
>
> “weewx-airlink requires the wview_extended 
> <https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py> in 
> WeeWX 4 that contains pm1_0, pm2_5 and pm10_0 columns.“
>
> On Jul 17, 2023, at 5:57 AM, michael.k...@gmx.at  
> wrote:
>
> 
>
>
> weedb.NoColumnError: no such column: pm2_5
> Yves Martin schrieb am Montag, 17. Juli 2023 um 14:52:24 UTC+2:
>
>> Hi,
>>
>> I've installe the module weewx-airlink (
>> https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air 
>> Quality, but I have this error :
>>
>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: 
>> Generated 18 images for report Bootstrap in 19.46 seconds
>> Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: Copied 
>> 0 files to /var/www/html/weewx
>> Jul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: 
>> historygenerator.py: Generated 7 tables in 1.20 seconds
>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>> Generated 10 files for report Bootstrap in 5.12 seconds
>> Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report lastrain in 0.06 seconds
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report AirLinkReport in 0.06 seconds
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar 
>> called where record does not contain pm2_5.  This is unexpected.
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
>> Caught unrecoverable exception in generator 
>> 'weewx.imagegenerator.ImageGenerator'
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     no such column: pm2_5
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     Traceback (most recent call last):
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_series
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     aggregate_interval, **option_dict)
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     TypeError: get_series() got an unexpected keyword argument 
>> 'SKIN_ROOT'
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     During handling of the above exception, another exception occurred:
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     Traceback (most recent call last):
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fn
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     return fn(*args, **kwargs)
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weedb/sqlite.py", line 233, in execute
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     return sqlite3.Cursor.execute(self, *args, **kwargs)
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     sqlite3.OperationalError: no such column: pm2_5
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     During handling of the above exception, another exception occurred:
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>     Traceback (most recent call last):
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
>> Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine:   
>

[weewx-user] Error with weewx-airlink

2023-07-17 Thread Yves Martin
Hi,

I've installe the module weewx-airlink 
(https://github.com/chaunceygardiner/weewx-airlink) for the Davis Air 
Quality, but I have this error :

Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.imagegenerator: 
Generated 18 images for report Bootstrap in 19.46 seconds
Jul 17 08:48:42 weewx4-raspi weewx[24741] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx
Jul 17 08:48:44 weewx4-raspi weewx[24741] INFO user.historygenerator: 
historygenerator.py: Generated 7 tables in 1.20 seconds
Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
Generated 10 files for report Bootstrap in 5.12 seconds
Jul 17 08:48:47 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
Generated 1 files for report lastrain in 0.06 seconds
Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO weewx.cheetahgenerator: 
Generated 1 files for report AirLinkReport in 0.06 seconds
Jul 17 08:48:48 weewx4-raspi weewx[24741] INFO user.airlink: get_scalar 
called where record does not contain pm2_5.  This is unexpected.
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  no such column: pm2_5
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/xtypes.py", line 101, in get_series
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  aggregate_interval, **option_dict)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  TypeError: get_series() got an unexpected keyword argument 'SKIN_ROOT'
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 

Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  During handling of the above exception, another exception occurred:
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 

Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weedb/sqlite.py", line 39, in guarded_fn
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  return fn(*args, **kwargs)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weedb/sqlite.py", line 233, in execute
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  return sqlite3.Cursor.execute(self, *args, **kwargs)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  sqlite3.OperationalError: no such column: pm2_5
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 

Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  During handling of the above exception, another exception occurred:
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 

Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  obj.start()
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  self.run()
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/imagegenerator.py", line 42, in run
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  self.gen_images(self.gen_ts)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/imagegenerator.py", line 109, in 
gen_images
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  self.image_dict[timespan][plotname])
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/imagegenerator.py", line 249, in 
gen_plot
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  **option_dict)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/xtypes.py", line 106, in get_series
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.reportengine: 
  aggregate_interval)
Jul 17 08:48:48 weewx4-raspi weewx[24741] ERROR weewx.re

[weewx-user] Davis Air Quality and Bootstrap - Ultimate question!

2023-07-14 Thread Yves Martin
Hi,

I've upgraded my old weewx to the last version 4.10.2.
I've also upgraded my Debian distribution (Raspbian GNU/Linux 10 (buster)) 
and also Python (3.7.3).

What are the options to be able to add the information provided by my Davis 
Air Quality (raw data sent via a local IP address) to the skin Bootstrap or 
other options? To be able to add the data in the sqlite database and show 
it on the skin Bootstrap...

Yves,
YMartin.com/meteo

-- 
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/7bd1b9ae-3e32-4465-861a-a86358802293n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-14 Thread Yves Martin
You mean in the Bootstrap section (default is fr)?

I tried but I've lost my Live gauge and graphs.

Yves,
YMartin.com/meteo

Le vendredi 14 juillet 2023 à 03 h 49 min 12 s UTC-4, michael.k...@gmx.at a 
écrit :

> Override the gauges' max and splitNumber, in weewx,conf in the 
> coresponding Section of the fr-skin:
> [[[LiveGauges]]]
> 
> windSpeed
> maxvalue = 100
> splitnumber = 5
> lineColorUntil = 75
> 
> windGust
> maxvalue = 160
> splitnumber = 8
> lineColorUntil = 75
>
>
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 23:21:12 UTC+2:
>
>> Hi Michael,
>>
>> This setting works for the unit in km/h for French language, except the 
>> limit for the gauge is not correct (max 30 km/h for speed and 50 km/h for 
>> gust). This is not enough. How to increase theses values (for French only)?
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le mercredi 12 juillet 2023 à 15 h 35 min 35 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> >  Is there a specific log file for this installation? Where can I find 
>>> it?
>>>
>>> For the installation, there is a log, but I am asking for the log weewx 
>>> writes every archive_interval. Mentioning the archive_interval again: 
>>> consider increasing it. Rendering two or more skins will probably take 
>>> longer than the archive_interval, from time to  time.
>>>
>>> >  General question about the "livegauge" and the reports, how I change 
>>> the "m/s" by "km/s" for the wind speed ?
>>>
>>> Yes, it is also described in the about.html:
>>> [StdReport]
>>> [[Bootstrap]]
>>>[[[Units]]]
>>>Groups
>>>group_speed = km_per_hourOr in
>>> [StdReport]
>>> [[Defaults]]
>>> ... for all skins (due to a bug, this doesn't work with 
>>> versions < 4.1). If you only do it in the skin's "fr" section, the other 
>>> languages will still use the unit defined with the unit_system in each 
>>> lang/xx.conf
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 21:11:46 UTC+2:
>>>
>>>> General question about the "livegauge" and the reports, how I change 
>>>> the "m/s" by "km/s" for the wind speed ?
>>>> I did it a long time ago, but now I use a multi-language version 
>>>> (French and English) and I'm a bit lost...
>>>> YM
>>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>>> michael.k...@gmx.at a écrit :
>>>>
>>>>> As of today, the documentation is very limited. Some documentation is 
>>>>> in the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, 
>>>>> and a guide for MQTT is in the wiki: 
>>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>>> You are invited to participate in improving the docs, your ongoing 
>>>>> experience will be a valuable source :)
>>>>>
>>>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>>>> new features and bug fixes. 
>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>>> Such combined charts are not available in prior versions.
>>>>>
>>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>>
>>>>> Also, a very basic config guide is included on the "about" page: 
>>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>>
>>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>>> have no information.
>>>>>>
>>>>>> Tks.
>>>>>>
>>>>>> Yves
>>>>>>
>>>>>

-- 
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/bf417889-aaf4-49fb-b254-75fc11ffa008n%40googlegroups.com.


[weewx-user] Re: Adding a new page With Bootstrap in multi-language

2023-07-14 Thread Yves Martin
Great, thank you !
OK, I will in the future.

Yves,
YMartin.com/meteo

Le vendredi 14 juillet 2023 à 03 h 10 min 38 s UTC-4, michael.k...@gmx.at a 
écrit :

> I will add an option for this.
> https://github.com/brewster76/fuzzy-archer/issues/119
> For additional Bugs/Feature request please file them directly in gitlab: 
> https://github.com/brewster76/fuzzy-archer/issues
>
> Yves Martin schrieb am Freitag, 14. Juli 2023 um 04:48:51 UTC+2:
>
>> Hi,
>>
>> Using Boostrap (4.0), is there a way to add some "tags" in a template 
>> (for example "about.html.tmpl") to create some multi language (and static) 
>> web page?
>>
>> I read the short documentation to do it with some small text and 
>> pictures, but if the content is more complex and big, this will be more 
>> complicated.
>>
>> For example this page : https://ymartin.com/meteo/about.html (need to be 
>> translated in english ...)
>>
>> Any suggestion?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/477c7ca3-bf6c-4198-bc2d-96ce130ab691n%40googlegroups.com.


[weewx-user] Cannot decode reading of 'None' for column 'windDir'

2023-07-13 Thread Yves Martin
Hi,

Using Bootstrap 4.0, I can see this reccuring error in my logs :

Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
Jul 13 09:35:43 weewx4-raspi weewx[9408] DEBUG user.jsonengine: 
JSONGenerator: Cannot decode reading of 'None' for column 'windDir'
(...)

Is it a bug or something we can resolve?

Yves
YMartin.com/meteo 

-- 
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/c33a75c2-c059-4175-98af-a228a58774e2n%40googlegroups.com.


[weewx-user] Adding a new page With Bootstrap in multi-language

2023-07-13 Thread Yves Martin
Hi,

Using Boostrap (4.0), is there a way to add some "tags" in a template (for 
example "about.html.tmpl") to create some multi language (and static) web 
page?

I read the short documentation to do it with some small text and pictures, 
but if the content is more complex and big, this will be more complicated.

For example this page : https://ymartin.com/meteo/about.html (need to be 
translated in english ...)

Any suggestion?

Yves,
YMartin.com/meteo

-- 
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/0efc4f66-0f53-4bc0-8188-15e8afcb1400n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-13 Thread Yves Martin
Hi Michael,

This setting works for the unit in km/h for French language, except the 
limit for the gauge is not correct (max 30 km/h for speed and 50 km/h for 
gust). This is not enough. How to increase theses values (for French only)?

Yves,
YMartin.com/meteo

Le mercredi 12 juillet 2023 à 15 h 35 min 35 s UTC-4, michael.k...@gmx.at a 
écrit :

> >  Is there a specific log file for this installation? Where can I find it?
>
> For the installation, there is a log, but I am asking for the log weewx 
> writes every archive_interval. Mentioning the archive_interval again: 
> consider increasing it. Rendering two or more skins will probably take 
> longer than the archive_interval, from time to  time.
>
> >  General question about the "livegauge" and the reports, how I change 
> the "m/s" by "km/s" for the wind speed ?
>
> Yes, it is also described in the about.html:
> [StdReport]
> [[Bootstrap]]
>[[[Units]]]
>Groups
>group_speed = km_per_hourOr in
> [StdReport]
> [[Defaults]]
> ... for all skins (due to a bug, this doesn't work with versions 
> < 4.1). If you only do it in the skin's "fr" section, the other languages 
> will still use the unit defined with the unit_system in each lang/xx.conf
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 21:11:46 UTC+2:
>
>> General question about the "livegauge" and the reports, how I change the 
>> "m/s" by "km/s" for the wind speed ?
>> I did it a long time ago, but now I use a multi-language version (French 
>> and English) and I'm a bit lost...
>> YM
>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> As of today, the documentation is very limited. Some documentation is in 
>>> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
>>> a guide for MQTT is in the wiki: 
>>> https://github.com/brewster76/fuzzy-archer/wiki
>>> You are invited to participate in improving the docs, your ongoing 
>>> experience will be a valuable source :)
>>>
>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>> new features and bug fixes. 
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>> Such combined charts are not available in prior versions.
>>>
>>> My Test page is running v4.1, here is how the combined charts looks 
>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>
>>> Also, a very basic config guide is included on the "about" page: 
>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>
>>>
>>>
>>>
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>
>>>> I want to add my solar and UV sensors under the live screen, but I have 
>>>> no information.
>>>>
>>>> Tks.
>>>>
>>>> Yves
>>>>
>>>

-- 
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/90702247-c102-4edf-be9a-c205969b037cn%40googlegroups.com.


[weewx-user] Re: Some variables are not working with Boostrap 4.0 ?

2023-07-13 Thread Yves Martin
About the last-rain ... I've added the extension for the "last rain" but it 
does not seem to work ...

I'm am trying to show the cumulative rain of the current day ... Any idea?

Yves,
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 15 h 44 min 24 s UTC-4, michael.k...@gmx.at a 
écrit :

> Do they work with another skin? For the almanac, my best guess is that 
> these are not weewx almanac values and you don't have ephem installed (the 
> latter is a very educated guess, since your charts don't show dayNight 
> background and I highly doubt you turned this feature off) I have ephem 
> installed, I just tested $almanac.next_equinox , it works.
>
> for  $time_since_last_rain: is this a standard feature? Anyway, Bootstrap 
> skin will not interfere. My best guess here, you didn't install 
> https://github.com/vinceskahan/vds-weewx-lastrain-extension.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 21:09:17 UTC+2:
>
>> Hi,
>>
>> When I upgrade weewx from 3.7 to 4.10, I wanted to keep some useful 
>> features, but I discovered they are not supported here. Here is the code 
>> I've added in /etc/weewx/skins/Boutstrap/livegauge.html.inc
>>
>> (...)
>> 
>> #if $almanac.next_solstice.raw < 
>> $almanac.next_equinox.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> #if $almanac.next_equinox.raw < 
>> $almanac.next_solstice.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> $gettext("Cumulative rain")
>> $time_since_last_rain
>> 
>> (...)
>>
>> Unfortunately, these variable are not supported.
>> Did I forget something?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/69cc7469-6fae-4251-9d0e-864868971aa1n%40googlegroups.com.


[weewx-user] Re: Some variables are not working with Boostrap 4.0 ?

2023-07-13 Thread Yves Martin
Finally it works ... (used: "sudo apt install python3-ephem")

Added this :

/etc/weewx/skins/Boutstrap/livegauge.html.inc

(...)

#if $almanac.next_solstice.raw < $almanac.next_equinox.raw
$gettext("Solstice")
$almanac.next_solstice
#else
$gettext("Equinox")
$almanac.next_equinox
#end if


#if $almanac.next_equinox.raw < $almanac.next_solstice.raw
$gettext("Solstice")
$almanac.next_solstice
#else
$gettext("Equinox")
$almanac.next_equinox
#end if


$gettext("Cumulative rain")
$time_since_last_rain


(...)

I always use this as a reference ...

Thanks again!

Yves,
YMmartin.com/meteo

Le jeudi 13 juillet 2023 à 15 h 44 min 24 s UTC-4, michael.k...@gmx.at a 
écrit :

> Do they work with another skin? For the almanac, my best guess is that 
> these are not weewx almanac values and you don't have ephem installed (the 
> latter is a very educated guess, since your charts don't show dayNight 
> background and I highly doubt you turned this feature off) I have ephem 
> installed, I just tested $almanac.next_equinox , it works.
>
> for  $time_since_last_rain: is this a standard feature? Anyway, Bootstrap 
> skin will not interfere. My best guess here, you didn't install 
> https://github.com/vinceskahan/vds-weewx-lastrain-extension.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 21:09:17 UTC+2:
>
>> Hi,
>>
>> When I upgrade weewx from 3.7 to 4.10, I wanted to keep some useful 
>> features, but I discovered they are not supported here. Here is the code 
>> I've added in /etc/weewx/skins/Boutstrap/livegauge.html.inc
>>
>> (...)
>> 
>> #if $almanac.next_solstice.raw < 
>> $almanac.next_equinox.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> #if $almanac.next_equinox.raw < 
>> $almanac.next_solstice.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> $gettext("Cumulative rain")
>> $time_since_last_rain
>> 
>> (...)
>>
>> Unfortunately, these variable are not supported.
>> Did I forget something?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/72ea05a4-e2ca-444b-bb0d-afb6aa36caa9n%40googlegroups.com.


[weewx-user] Re: Some variables are not working with Boostrap 4.0 ?

2023-07-13 Thread Yves Martin
t 
> these are not weewx almanac values and you don't have ephem installed (the 
> latter is a very educated guess, since your charts don't show dayNight 
> background and I highly doubt you turned this feature off) I have ephem 
> installed, I just tested $almanac.next_equinox , it works.
>
> for  $time_since_last_rain: is this a standard feature? Anyway, Bootstrap 
> skin will not interfere. My best guess here, you didn't install 
> https://github.com/vinceskahan/vds-weewx-lastrain-extension.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 21:09:17 UTC+2:
>
>> Hi,
>>
>> When I upgrade weewx from 3.7 to 4.10, I wanted to keep some useful 
>> features, but I discovered they are not supported here. Here is the code 
>> I've added in /etc/weewx/skins/Boutstrap/livegauge.html.inc
>>
>> (...)
>> 
>> #if $almanac.next_solstice.raw < 
>> $almanac.next_equinox.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> #if $almanac.next_equinox.raw < 
>> $almanac.next_solstice.raw
>> $gettext("Solstice")
>> $almanac.next_solstice
>> #else
>> $gettext("Equinox")
>> $almanac.next_equinox
>> #end if
>> 
>> 
>> $gettext("Cumulative rain")
>> $time_since_last_rain
>> 
>> (...)
>>
>> Unfortunately, these variable are not supported.
>> Did I forget something?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/20970a65-68f2-4ded-9f53-37a4d9161b13n%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Hi Michael,

I understand. I've already modified the interval from 60 to 180 ... 2 days 
ago.

I will try it again, but later, now everything is working.

I've sent some add on you could add in your next release (the UV indice for 
example ... Useful for the summer!!)

Thanks for all your efforts, I appreciate a lot and I like the option to be 
able to modify the language, it is easy and simple.

If I can help, do not hesitate ... but I'm not a programmer ;)

Yves,
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 15 h 32 min 01 s UTC-4, michael.k...@gmx.at a 
écrit :

> Yes, that happens, if you don't follow the recommended way customizing the 
> skin. I told you before, I sent you the link with the explanation, why. 
> By the way, your archive_interval of 60s not only makes some plots look 
> ugly, it also causes poor performance. Without any benefit.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 21:21:00 UTC+2:
>
>> Just did it ... but I lost my UV graphs ... again and the livegauges are 
>> not at the same place...
>>
>> hu...
>>
>> YM
>>
>> Le jeudi 13 juillet 2023 à 15 h 07 min 51 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> wee_extension --install*=* 4.1.zip => This will never work.
>>>
>>> This will do the trick:
>>>
>>> rm 4.1.zip
>>> wget 
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>>> wee_extension --install 4.1.zip
>>>
>>> Maybe wee_extension with "sudo"
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 20:46:46 UTC+2:
>>>
>>>> Yep, I did it manually, will check it later. The tool "wee_extension 
>>>> --install= 4.1.zip" do not work here.
>>>> Definitely, I will wait your official release when it will be ready, 
>>>> this is not rush.
>>>>
>>>> YM
>>>>
>>>> Le jeudi 13 juillet 2023 à 14 h 23 min 19 s UTC-4, michael.k...@gmx.at 
>>>> a écrit :
>>>>
>>>>> https://ymartin.com/meteo/js/site.js is still 4.0, the other already 
>>>>> mentioned resources are still missing. There is something wrong, either 
>>>>> with the upload to your webspace, with your skin installation or with the 
>>>>> page generation. Did you restart everything? Did the installer really 
>>>>> work 
>>>>> correctly?
>>>>> [image: 2023-07-13 20_22_14-Window.png]
>>>>> Assuming that your skin installation resides in 
>>>>> /etc/weewx/skins/Bootstrap, is the content of the files the same as 
>>>>> in https://github.com/brewster76/fuzzy-archer/tree/4.1/skins/Bootstrap 
>>>>> ?
>>>>>
>>>>>
>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 17:24:58 UTC+2:
>>>>>
>>>>>> Hi Michael,
>>>>>>
>>>>>> Just installed the version 4.1 ... but "plotType = bar" still do not 
>>>>>> work here (for the last graph UV Index).
>>>>>>
>>>>>> Yves,
>>>>>> YMartin.com/meteo
>>>>>>
>>>>>> Le jeudi 13 juillet 2023 à 11 h 13 min 13 s UTC-4, 
>>>>>> michael.k...@gmx.at a écrit :
>>>>>>
>>>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>>>>>>>
>>>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:44:19 UTC+2:
>>>>>>>
>>>>>>>> OK ... where can I download it? The last one was broken as you said.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Yves,
>>>>>>>> YMartin.com/meteo
>>>>>>>>
>>>>>>>> Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, 
>>>>>>>> michael.k...@gmx.at a écrit :
>>>>>>>>
>>>>>>>>> There is no release schedule. It will be there, when it is ready. 
>>>>>>>>> It is very, very likely that there will be only minor change from the 
>>>>>>>>> current 4.1 state. My suggestion was, and still is: go for 4.1, now.
>>>>>>>>>
>>>>>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 
>>>>>>>>> 16:30:32 UTC+2:
>>>>>>>>>
>>>>>>>>>>
>>

[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Just did it ... but I lost my UV graphs ... again and the livegauges are 
not at the same place...

hu...

YM

Le jeudi 13 juillet 2023 à 15 h 07 min 51 s UTC-4, michael.k...@gmx.at a 
écrit :

> wee_extension --install*=* 4.1.zip => This will never work.
>
> This will do the trick:
>
> rm 4.1.zip
> wget https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
> wee_extension --install 4.1.zip
>
> Maybe wee_extension with "sudo"
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 20:46:46 UTC+2:
>
>> Yep, I did it manually, will check it later. The tool "wee_extension 
>> --install= 4.1.zip" do not work here.
>> Definitely, I will wait your official release when it will be ready, this 
>> is not rush.
>>
>> YM
>>
>> Le jeudi 13 juillet 2023 à 14 h 23 min 19 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> https://ymartin.com/meteo/js/site.js is still 4.0, the other already 
>>> mentioned resources are still missing. There is something wrong, either 
>>> with the upload to your webspace, with your skin installation or with the 
>>> page generation. Did you restart everything? Did the installer really work 
>>> correctly?
>>> [image: 2023-07-13 20_22_14-Window.png]
>>> Assuming that your skin installation resides in 
>>> /etc/weewx/skins/Bootstrap, is the content of the files the same as in 
>>> https://github.com/brewster76/fuzzy-archer/tree/4.1/skins/Bootstrap ?
>>>
>>>
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 17:24:58 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> Just installed the version 4.1 ... but "plotType = bar" still do not 
>>>> work here (for the last graph UV Index).
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>> Le jeudi 13 juillet 2023 à 11 h 13 min 13 s UTC-4, michael.k...@gmx.at 
>>>> a écrit :
>>>>
>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>>>>>
>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:44:19 UTC+2:
>>>>>
>>>>>> OK ... where can I download it? The last one was broken as you said.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Yves,
>>>>>> YMartin.com/meteo
>>>>>>
>>>>>> Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, 
>>>>>> michael.k...@gmx.at a écrit :
>>>>>>
>>>>>>> There is no release schedule. It will be there, when it is ready. It 
>>>>>>> is very, very likely that there will be only minor change from the 
>>>>>>> current 
>>>>>>> 4.1 state. My suggestion was, and still is: go for 4.1, now.
>>>>>>>
>>>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 
>>>>>>> 16:30:32 UTC+2:
>>>>>>>
>>>>>>>>
>>>>>>>> > Another question about the rain for the Live Graphs, it is a way 
>>>>>>>> to add the total (sum) of all rain fallen in the graph?
>>>>>>>>
>>>>>>>> With 4.1 you should be able to configure this in the one or the 
>>>>>>>> other way, but "showMaxMarkPoint", "showMinMarkPoint", 
>>>>>>>> "showAvgMarkLine" 
>>>>>>>> refer to a feature of eCharts, and for these charts, there ist no 
>>>>>>>> "sum" 
>>>>>>>> feature: 
>>>>>>>> https://echarts.apache.org/en/option.html#series-line.markPoint.data.type
>>>>>>>>  
>>>>>>>>
>>>>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 
>>>>>>>> 16:15:30 UTC+2:
>>>>>>>>
>>>>>>>>> For LiveCharts, the plot_type option didn't exist in 4.0. Looking 
>>>>>>>>> at the js-files on you site, you are on 4.0. Still, with a broken 
>>>>>>>>> Installation, since some js-files are missing.
>>>>>>>>>
>>>>>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>>>>>>>>>
>>>>>>>>>> OK, I've change the skin.conf for (then it works fine!!!) :
>>>>

[weewx-user] Some variables are not working with Boostrap 4.0 ?

2023-07-13 Thread Yves Martin
Hi,

When I upgrade weewx from 3.7 to 4.10, I wanted to keep some useful 
features, but I discovered they are not supported here. Here is the code 
I've added in /etc/weewx/skins/Boutstrap/livegauge.html.inc

(...)

#if $almanac.next_solstice.raw < $almanac.next_equinox.raw
$gettext("Solstice")
$almanac.next_solstice
#else
$gettext("Equinox")
$almanac.next_equinox
#end if


#if $almanac.next_equinox.raw < $almanac.next_solstice.raw
$gettext("Solstice")
$almanac.next_solstice
#else
$gettext("Equinox")
$almanac.next_equinox
#end if


$gettext("Cumulative rain")
$time_since_last_rain

(...)

Unfortunately, these variable are not supported.
Did I forget something?

Yves,
YMartin.com/meteo

-- 
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/8721f40d-98d9-489e-bbe1-41148282c035n%40googlegroups.com.


[weewx-user] Bootstrap 4.0 addon ...

2023-07-13 Thread Yves Martin
Hi,

With the heat and UV issues for health, I've added this on my page ...
I've added some lines with Bootstrap 4.0 for the UV sensor, here are the 
lines :

file /etc/weewx/skins/Boutstrap/livegauge.html.inc

(...)


$gettext("RecommendationsUV")
#if $current.UV.raw > 11
 $gettext("RiskUV5")
#elif $current.UV.raw >= 8
 $gettext("RiskUV4")
#elif $current.UV.raw >= 6
 $gettext("RiskUV3")
#elif $current.UV.raw >= 3
 $gettext("RiskUV2")
#elif $current.UV.raw >= 1
 $gettext("RiskUV1")
#else:
 $gettext("RiskUV0")
#end if


(...)

And the languages 

/etc/weewx/skins/Boutstrap/lang/fr.conf

"UV" = "Indice UV"
"RecommendationsUV" = "Recommandations (UV)"
"RiskUV5" = "Risque extrême et dangereux"
"RiskUV4" = "Risque très élevé (Indice 50+)"
"RiskUV3" = "Risque élevé (Indice 30 à 50)"
"RiskUV2" = "Risque modéré (Indice 15 à 29)"
"RiskUV1" = "Risque faible"
"RiskUV0" = "Risque nul"
"Cumulative rain" = "Cumul de pluie"
"Equinox" = "Équinoxe"
"Solstice" = "Solstice"

/etc/weewx/skins/Boutstrap/lang/en.conf

"UV" = "UV Indice"
"RecommendationsUV" = "Recommendations (UV)"
"RiskUV5" = "Extreme and dangerous risk"
"RiskUV4" = "Very high risk (Index 50+)"
"RiskUV3" = "High risk (Index 30 to 50)"
"RiskUV2" = "Moderate risk (Index 15 to 29)"
"RiskUV1" = "Low risk"
"RiskUV0" = "Zero risk"
"Cumulative rain" = "Cumulative Rain"
"Equinox" = "Equinox"
"Solstice" = "Solstice"

(...)

Have fun

Yves,
YMartin.com/meteo

-- 
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/dca12e41-fd50-4c78-b257-7d3251dada55n%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Yep, I did it manually, will check it later. The tool "wee_extension 
--install= 4.1.zip" do not work here.
Definitely, I will wait your official release when it will be ready, this 
is not rush.

YM

Le jeudi 13 juillet 2023 à 14 h 23 min 19 s UTC-4, michael.k...@gmx.at a 
écrit :

> https://ymartin.com/meteo/js/site.js is still 4.0, the other already 
> mentioned resources are still missing. There is something wrong, either 
> with the upload to your webspace, with your skin installation or with the 
> page generation. Did you restart everything? Did the installer really work 
> correctly?
> [image: 2023-07-13 20_22_14-Window.png]
> Assuming that your skin installation resides in /etc/weewx/skins/Bootstrap, 
> is the content of the files the same as in 
> https://github.com/brewster76/fuzzy-archer/tree/4.1/skins/Bootstrap ?
>
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 17:24:58 UTC+2:
>
>> Hi Michael,
>>
>> Just installed the version 4.1 ... but "plotType = bar" still do not work 
>> here (for the last graph UV Index).
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le jeudi 13 juillet 2023 à 11 h 13 min 13 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>>>
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:44:19 UTC+2:
>>>
>>>> OK ... where can I download it? The last one was broken as you said.
>>>>
>>>> Thanks,
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>> Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, michael.k...@gmx.at 
>>>> a écrit :
>>>>
>>>>> There is no release schedule. It will be there, when it is ready. It 
>>>>> is very, very likely that there will be only minor change from the 
>>>>> current 
>>>>> 4.1 state. My suggestion was, and still is: go for 4.1, now.
>>>>>
>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:30:32 
>>>>> UTC+2:
>>>>>
>>>>>>
>>>>>> > Another question about the rain for the Live Graphs, it is a way to 
>>>>>> add the total (sum) of all rain fallen in the graph?
>>>>>>
>>>>>> With 4.1 you should be able to configure this in the one or the other 
>>>>>> way, but "showMaxMarkPoint", "showMinMarkPoint", "showAvgMarkLine" refer 
>>>>>> to 
>>>>>> a feature of eCharts, and for these charts, there ist no "sum" feature: 
>>>>>> https://echarts.apache.org/en/option.html#series-line.markPoint.data.type
>>>>>>  
>>>>>>
>>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:15:30 
>>>>>> UTC+2:
>>>>>>
>>>>>>> For LiveCharts, the plot_type option didn't exist in 4.0. Looking at 
>>>>>>> the js-files on you site, you are on 4.0. Still, with a broken 
>>>>>>> Installation, since some js-files are missing.
>>>>>>>
>>>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>>>>>>>
>>>>>>>> OK, I've change the skin.conf for (then it works fine!!!) :
>>>>>>>>
>>>>>>>> [[radiation]]
>>>>>>>> [[[radiation]]]
>>>>>>>> payload_key = radiation
>>>>>>>> #convertFunction = "function(value) { return value / 
>>>>>>>> 126.7; }" #you can do value conversions if needed
>>>>>>>> showMaxMarkPoint = true
>>>>>>>> showMinMarkPoint = true
>>>>>>>> showAvgMarkLine = true
>>>>>>>> lineColor = '#ffcd56'
>>>>>>>> decimals = 0
>>>>>>>>
>>>>>>>>[[UV]]
>>>>>>>> [[[UV]]]
>>>>>>>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>>>>>>>> plotType = bar  #plot type, "line" is default
>>>>>>>> aggregateType = avg
>>>>>>>> aggregateInterval = 3600
>>>>>>>> payload_key = UV
>>>>>

[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Hi,

Yep, I don't know why, the css directory is not uploaded via my FTP. I did 
it manually, it works.

YM

Le jeudi 13 juillet 2023 à 14 h 23 min 19 s UTC-4, michael.k...@gmx.at a 
écrit :

> https://ymartin.com/meteo/js/site.js is still 4.0, the other already 
> mentioned resources are still missing. There is something wrong, either 
> with the upload to your webspace, with your skin installation or with the 
> page generation. Did you restart everything? Did the installer really work 
> correctly?
> [image: 2023-07-13 20_22_14-Window.png]
> Assuming that your skin installation resides in /etc/weewx/skins/Bootstrap, 
> is the content of the files the same as in 
> https://github.com/brewster76/fuzzy-archer/tree/4.1/skins/Bootstrap ?
>
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 17:24:58 UTC+2:
>
>> Hi Michael,
>>
>> Just installed the version 4.1 ... but "plotType = bar" still do not work 
>> here (for the last graph UV Index).
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le jeudi 13 juillet 2023 à 11 h 13 min 13 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>>>
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:44:19 UTC+2:
>>>
>>>> OK ... where can I download it? The last one was broken as you said.
>>>>
>>>> Thanks,
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>> Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, michael.k...@gmx.at 
>>>> a écrit :
>>>>
>>>>> There is no release schedule. It will be there, when it is ready. It 
>>>>> is very, very likely that there will be only minor change from the 
>>>>> current 
>>>>> 4.1 state. My suggestion was, and still is: go for 4.1, now.
>>>>>
>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:30:32 
>>>>> UTC+2:
>>>>>
>>>>>>
>>>>>> > Another question about the rain for the Live Graphs, it is a way to 
>>>>>> add the total (sum) of all rain fallen in the graph?
>>>>>>
>>>>>> With 4.1 you should be able to configure this in the one or the other 
>>>>>> way, but "showMaxMarkPoint", "showMinMarkPoint", "showAvgMarkLine" refer 
>>>>>> to 
>>>>>> a feature of eCharts, and for these charts, there ist no "sum" feature: 
>>>>>> https://echarts.apache.org/en/option.html#series-line.markPoint.data.type
>>>>>>  
>>>>>>
>>>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:15:30 
>>>>>> UTC+2:
>>>>>>
>>>>>>> For LiveCharts, the plot_type option didn't exist in 4.0. Looking at 
>>>>>>> the js-files on you site, you are on 4.0. Still, with a broken 
>>>>>>> Installation, since some js-files are missing.
>>>>>>>
>>>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>>>>>>>
>>>>>>>> OK, I've change the skin.conf for (then it works fine!!!) :
>>>>>>>>
>>>>>>>> [[radiation]]
>>>>>>>> [[[radiation]]]
>>>>>>>> payload_key = radiation
>>>>>>>> #convertFunction = "function(value) { return value / 
>>>>>>>> 126.7; }" #you can do value conversions if needed
>>>>>>>> showMaxMarkPoint = true
>>>>>>>> showMinMarkPoint = true
>>>>>>>> showAvgMarkLine = true
>>>>>>>> lineColor = '#ffcd56'
>>>>>>>> decimals = 0
>>>>>>>>
>>>>>>>>[[UV]]
>>>>>>>> [[[UV]]]
>>>>>>>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>>>>>>>> plotType = bar  #plot type, "line" is default
>>>>>>>> aggregateType = avg
>>>>>>>> aggregateInterval = 3600
>>>>>>>> payload_key = UV
>>>>>>>> showMaxMarkPoint = true
>>>>>>>> sh

[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Hi Michael,

Just installed the version 4.1 ... but "plotType = bar" still do not work 
here (for the last graph UV Index).

Yves,
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 11 h 13 min 13 s UTC-4, michael.k...@gmx.at a 
écrit :

> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:44:19 UTC+2:
>
>> OK ... where can I download it? The last one was broken as you said.
>>
>> Thanks,
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> There is no release schedule. It will be there, when it is ready. It is 
>>> very, very likely that there will be only minor change from the current 4.1 
>>> state. My suggestion was, and still is: go for 4.1, now.
>>>
>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:30:32 
>>> UTC+2:
>>>
>>>>
>>>> > Another question about the rain for the Live Graphs, it is a way to 
>>>> add the total (sum) of all rain fallen in the graph?
>>>>
>>>> With 4.1 you should be able to configure this in the one or the other 
>>>> way, but "showMaxMarkPoint", "showMinMarkPoint", "showAvgMarkLine" refer 
>>>> to 
>>>> a feature of eCharts, and for these charts, there ist no "sum" feature: 
>>>> https://echarts.apache.org/en/option.html#series-line.markPoint.data.type
>>>>  
>>>>
>>>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:15:30 
>>>> UTC+2:
>>>>
>>>>> For LiveCharts, the plot_type option didn't exist in 4.0. Looking at 
>>>>> the js-files on you site, you are on 4.0. Still, with a broken 
>>>>> Installation, since some js-files are missing.
>>>>>
>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>>>>>
>>>>>> OK, I've change the skin.conf for (then it works fine!!!) :
>>>>>>
>>>>>> [[radiation]]
>>>>>> [[[radiation]]]
>>>>>> payload_key = radiation
>>>>>> #convertFunction = "function(value) { return value / 
>>>>>> 126.7; }" #you can do value conversions if needed
>>>>>> showMaxMarkPoint = true
>>>>>> showMinMarkPoint = true
>>>>>> showAvgMarkLine = true
>>>>>> lineColor = '#ffcd56'
>>>>>> decimals = 0
>>>>>>
>>>>>>[[UV]]
>>>>>> [[[UV]]]
>>>>>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>>>>>> plotType = bar  #plot type, "line" is default
>>>>>> aggregateType = avg
>>>>>> aggregateInterval = 3600
>>>>>> payload_key = UV
>>>>>> showMaxMarkPoint = true
>>>>>> showMinMarkPoint = true
>>>>>> showAvgMarkLine = false
>>>>>> lineColor = '#7f1ae555'
>>>>>> decimals = 0
>>>>>>
>>>>>> What are the option for the "plotType"? I've set "bar" to make it 
>>>>>> plain but this does not change ...
>>>>>>
>>>>>> Yves
>>>>>> YMartin.com/meteo
>>>>>>
>>>>>> Le jeudi 13 juillet 2023 à 09 h 23 min 25 s UTC-4, 
>>>>>> michael.k...@gmx.at a écrit :
>>>>>>
>>>>>>> The reason is, that the JSONGenerator fails (See log excerpt of your 
>>>>>>> other post). No JSON, no Gauges, no LiveCharts.
>>>>>>>
>>>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:11:25 UTC+2:
>>>>>>>
>>>>>>>> For Michael ...
>>>>>>>>
>>>>>>>> I've installed Boostrap 4.0, all was fine.
>>>>>>>> Then I've installed Boostrap 4.1 and get issues
>>>>>>>> So I returned back and re-installed Boostrap 4.0
>>>>>>>>
>>>>>>>> Now all works except the LiveGauge and the live graphs which 
>>>>>>>> stopped to get data.
>>>>>>>>
>>>>>>>> I checked the files, they seems OK. I cannot find errors in the 
>>>>>>>> logs about this issue  (/var/log/syslog) or perhaps I do not check at 
>>>>>>>> the 
>>>>>>>> right place?
>>>>>>>>
>>>>>>>> *PS: To see what it is look like, go to YMartin.com/meteo*
>>>>>>>>
>>>>>>>> Any ideas?
>>>>>>>>
>>>>>>>> Yves,
>>>>>>>> YMartin.com/meteo
>>>>>>>>
>>>>>>>

-- 
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/594d89ff-3705-4194-8345-add62ae7813dn%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
OK ... where can I download it? The last one was broken as you said.

Thanks,

Yves,
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 10 h 32 min 30 s UTC-4, michael.k...@gmx.at a 
écrit :

> There is no release schedule. It will be there, when it is ready. It is 
> very, very likely that there will be only minor change from the current 4.1 
> state. My suggestion was, and still is: go for 4.1, now.
>
> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:30:32 
> UTC+2:
>
>>
>> > Another question about the rain for the Live Graphs, it is a way to add 
>> the total (sum) of all rain fallen in the graph?
>>
>> With 4.1 you should be able to configure this in the one or the other 
>> way, but "showMaxMarkPoint", "showMinMarkPoint", "showAvgMarkLine" refer to 
>> a feature of eCharts, and for these charts, there ist no "sum" feature: 
>> https://echarts.apache.org/en/option.html#series-line.markPoint.data.type
>>  
>>
>> michael.k...@gmx.at schrieb am Donnerstag, 13. Juli 2023 um 16:15:30 
>> UTC+2:
>>
>>> For LiveCharts, the plot_type option didn't exist in 4.0. Looking at the 
>>> js-files on you site, you are on 4.0. Still, with a broken Installation, 
>>> since some js-files are missing.
>>>
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>>>
>>>> OK, I've change the skin.conf for (then it works fine!!!) :
>>>>
>>>> [[radiation]]
>>>> [[[radiation]]]
>>>> payload_key = radiation
>>>> #convertFunction = "function(value) { return value / 126.7; 
>>>> }" #you can do value conversions if needed
>>>> showMaxMarkPoint = true
>>>> showMinMarkPoint = true
>>>> showAvgMarkLine = true
>>>> lineColor = '#ffcd56'
>>>> decimals = 0
>>>>
>>>>[[UV]]
>>>> [[[UV]]]
>>>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>>>> plotType = bar  #plot type, "line" is default
>>>> aggregateType = avg
>>>> aggregateInterval = 3600
>>>> payload_key = UV
>>>> showMaxMarkPoint = true
>>>> showMinMarkPoint = true
>>>>     showAvgMarkLine = false
>>>> lineColor = '#7f1ae555'
>>>> decimals = 0
>>>>
>>>> What are the option for the "plotType"? I've set "bar" to make it plain 
>>>> but this does not change ...
>>>>
>>>> Yves
>>>> YMartin.com/meteo
>>>>
>>>> Le jeudi 13 juillet 2023 à 09 h 23 min 25 s UTC-4, michael.k...@gmx.at 
>>>> a écrit :
>>>>
>>>>> The reason is, that the JSONGenerator fails (See log excerpt of your 
>>>>> other post). No JSON, no Gauges, no LiveCharts.
>>>>>
>>>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:11:25 UTC+2:
>>>>>
>>>>>> For Michael ...
>>>>>>
>>>>>> I've installed Boostrap 4.0, all was fine.
>>>>>> Then I've installed Boostrap 4.1 and get issues
>>>>>> So I returned back and re-installed Boostrap 4.0
>>>>>>
>>>>>> Now all works except the LiveGauge and the live graphs which stopped 
>>>>>> to get data.
>>>>>>
>>>>>> I checked the files, they seems OK. I cannot find errors in the logs 
>>>>>> about this issue  (/var/log/syslog) or perhaps I do not check at the 
>>>>>> right 
>>>>>> place?
>>>>>>
>>>>>> *PS: To see what it is look like, go to YMartin.com/meteo*
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Yves,
>>>>>> YMartin.com/meteo
>>>>>>
>>>>>

-- 
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/31a44a63-8bd0-4e5d-a379-cf6faf946876n%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Oh! ... no problem, when your 4.1 will be release?

What about the calculation of total rain fallen shown on the graph?

Yves,
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 10 h 15 min 30 s UTC-4, michael.k...@gmx.at a 
écrit :

> For LiveCharts, the plot_type option didn't exist in 4.0. Looking at the 
> js-files on you site, you are on 4.0. Still, with a broken Installation, 
> since some js-files are missing.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 16:08:51 UTC+2:
>
>> OK, I've change the skin.conf for (then it works fine!!!) :
>>
>> [[radiation]]
>> [[[radiation]]]
>> payload_key = radiation
>> #convertFunction = "function(value) { return value / 126.7; 
>> }" #you can do value conversions if needed
>> showMaxMarkPoint = true
>> showMinMarkPoint = true
>> showAvgMarkLine = true
>> lineColor = '#ffcd56'
>> decimals = 0
>>
>>[[UV]]
>> [[[UV]]]
>> yAxisIndex = 1  #to assign UV to the 2nd yAxis
>> plotType = bar  #plot type, "line" is default
>> aggregateType = avg
>> aggregateInterval = 3600
>> payload_key = UV
>> showMaxMarkPoint = true
>> showMinMarkPoint = true
>> showAvgMarkLine = false
>> lineColor = '#7f1ae555'
>> decimals = 0
>>
>> What are the option for the "plotType"? I've set "bar" to make it plain 
>> but this does not change ...
>>
>> Yves
>> YMartin.com/meteo
>>
>> Le jeudi 13 juillet 2023 à 09 h 23 min 25 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> The reason is, that the JSONGenerator fails (See log excerpt of your 
>>> other post). No JSON, no Gauges, no LiveCharts.
>>>
>>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:11:25 UTC+2:
>>>
>>>> For Michael ...
>>>>
>>>> I've installed Boostrap 4.0, all was fine.
>>>> Then I've installed Boostrap 4.1 and get issues
>>>> So I returned back and re-installed Boostrap 4.0
>>>>
>>>> Now all works except the LiveGauge and the live graphs which stopped to 
>>>> get data.
>>>>
>>>> I checked the files, they seems OK. I cannot find errors in the logs 
>>>> about this issue  (/var/log/syslog) or perhaps I do not check at the right 
>>>> place?
>>>>
>>>> *PS: To see what it is look like, go to YMartin.com/meteo*
>>>>
>>>> Any ideas?
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>

-- 
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/2dc15b06-93fa-4fea-b3a5-dbb8e860f702n%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
Hi Michael,

Another question about the rain for the Live Graphs, it is a way to add the 
total (sum) of all rain fallen in the graph?

[[rain]]
aggregate_interval_minutes = 30
[[[rain]]]
payload_key = rain_mm
showMaxMarkPoint = false
showMinMarkPoint = false
showAvgMarkLine = false
lineColor = '#428bca'
decimals = 1

There are the Max, the Min, The Avg but how to get Sum? New option?

Yves
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 10 h 08 min 51 s UTC-4, Yves Martin a écrit :

> OK, I've change the skin.conf for (then it works fine!!!) :
>
> [[radiation]]
> [[[radiation]]]
> payload_key = radiation
> #convertFunction = "function(value) { return value / 126.7; }" 
> #you can do value conversions if needed
> showMaxMarkPoint = true
> showMinMarkPoint = true
> showAvgMarkLine = true
> lineColor = '#ffcd56'
> decimals = 0
>
>[[UV]]
> [[[UV]]]
> yAxisIndex = 1  #to assign UV to the 2nd yAxis
> plotType = bar  #plot type, "line" is default
> aggregateType = avg
> aggregateInterval = 3600
> payload_key = UV
> showMaxMarkPoint = true
> showMinMarkPoint = true
> showAvgMarkLine = false
> lineColor = '#7f1ae555'
> decimals = 0
>
> What are the option for the "plotType"? I've set "bar" to make it plain 
> but this does not change ...
>
> Yves
> YMartin.com/meteo
>
> Le jeudi 13 juillet 2023 à 09 h 23 min 25 s UTC-4, michael.k...@gmx.at a 
> écrit :
>
>> The reason is, that the JSONGenerator fails (See log excerpt of your 
>> other post). No JSON, no Gauges, no LiveCharts.
>>
>> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:11:25 UTC+2:
>>
>>> For Michael ...
>>>
>>> I've installed Boostrap 4.0, all was fine.
>>> Then I've installed Boostrap 4.1 and get issues
>>> So I returned back and re-installed Boostrap 4.0
>>>
>>> Now all works except the LiveGauge and the live graphs which stopped to 
>>> get data.
>>>
>>> I checked the files, they seems OK. I cannot find errors in the logs 
>>> about this issue  (/var/log/syslog) or perhaps I do not check at the right 
>>> place?
>>>
>>> *PS: To see what it is look like, go to YMartin.com/meteo*
>>>
>>> Any ideas?
>>>
>>> Yves,
>>> YMartin.com/meteo
>>>
>>

-- 
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/f2581837-0ecc-4b57-b843-4764dd0752d6n%40googlegroups.com.


[weewx-user] Re: Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
OK, I've change the skin.conf for (then it works fine!!!) :

[[radiation]]
[[[radiation]]]
payload_key = radiation
#convertFunction = "function(value) { return value / 126.7; }" 
#you can do value conversions if needed
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = true
lineColor = '#ffcd56'
decimals = 0

   [[UV]]
[[[UV]]]
yAxisIndex = 1  #to assign UV to the 2nd yAxis
plotType = bar  #plot type, "line" is default
aggregateType = avg
aggregateInterval = 3600
payload_key = UV
showMaxMarkPoint = true
showMinMarkPoint = true
showAvgMarkLine = false
lineColor = '#7f1ae555'
decimals = 0

What are the option for the "plotType"? I've set "bar" to make it plain but 
this does not change ...

Yves
YMartin.com/meteo

Le jeudi 13 juillet 2023 à 09 h 23 min 25 s UTC-4, michael.k...@gmx.at a 
écrit :

> The reason is, that the JSONGenerator fails (See log excerpt of your other 
> post). No JSON, no Gauges, no LiveCharts.
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:11:25 UTC+2:
>
>> For Michael ...
>>
>> I've installed Boostrap 4.0, all was fine.
>> Then I've installed Boostrap 4.1 and get issues
>> So I returned back and re-installed Boostrap 4.0
>>
>> Now all works except the LiveGauge and the live graphs which stopped to 
>> get data.
>>
>> I checked the files, they seems OK. I cannot find errors in the logs 
>> about this issue  (/var/log/syslog) or perhaps I do not check at the right 
>> place?
>>
>> *PS: To see what it is look like, go to YMartin.com/meteo*
>>
>> Any ideas?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/14b8bb4b-bab5-4345-b687-3caf84dfe428n%40googlegroups.com.


[weewx-user] Re: Error with user.jsonengine

2023-07-13 Thread Yves Martin
om/weewx/weewx/blob/master/bin/schemas/wview.py => 
> doesn't contain "maxSolarRad" vs. 
> https://github.com/weewx/weewx/blob/master/bin/schemas/wview_extended.py 
> => conains "maxSolarRad"
>
> The skin's configuration is assuming having the extended schema, so now 
> your options are:
>
>- Not using the predefined Chart
>- Using the predefined chart without "maxSolarRad", problem here: in 
>this case I don't know any other solution than removing it in skin .conf. 
>I'll check an improvement
>- Migrate to the extended schema, see: 
>
> https://weewx.com/docs/latest/customizing.htm#transfer_database_using_new_schema
>
>
>
>
> Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 14:14:37 UTC+2:
>
>> Hi,
>>
>> I have this recurent error :
>>
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] DEBUG user.jsonengine: 
>> Generating history for obs_name maxSolarRad and column_name maxSolarRad 
>> with binding None
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: Caught 
>> unrecoverable exception in generator 'user.jsonengine.JSONGenerator'
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     'maxSolarRad'
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     Traceback (most recent call last):
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     obj.start()
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     self.run()
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/user/jsonengine.py", line 51, in run
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     self.gen_data()
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/user/jsonengine.py", line 128, in gen_data
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     ret, category_history = self.gen_history_data(category, 
>> data_type, live_$
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/user/jsonengine.py", line 210, in 
>> gen_history_data
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     db_value_tuple = weewx.units.as_value_tuple(rec, column_name)
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>   File "/usr/share/weewx/weewx/units.py", line 1644, in 
>> as_value_tuple
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     val = record_dict[obs_type]
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     KeyError: 'maxSolarRad'
>> Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine:   
>>     Generator terminated
>>
>> Any idea?
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/ed13706e-294e-4b65-9034-3538f1360060n%40googlegroups.com.


[weewx-user] Error with user.jsonengine

2023-07-13 Thread Yves Martin
Hi,

I have this recurent error :

Jul 13 08:11:47 weewx4-raspi weewx[7143] DEBUG user.jsonengine: Generating 
history for obs_name maxSolarRad and column_name maxSolarRad with binding 
None
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.jsonengine.JSONGenerator'
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  'maxSolarRad'
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  obj.start()
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  self.run()
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 51, in run
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  self.gen_data()
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 128, in gen_data
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  ret, category_history = self.gen_history_data(category, 
data_type, live_$
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/user/jsonengine.py", line 210, in 
gen_history_data
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  db_value_tuple = weewx.units.as_value_tuple(rec, column_name)
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
File "/usr/share/weewx/weewx/units.py", line 1644, in as_value_tuple
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  val = record_dict[obs_type]
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  KeyError: 'maxSolarRad'
Jul 13 08:11:47 weewx4-raspi weewx[7143] ERROR weewx.reportengine: 
  Generator terminated

Any idea?

Yves,
YMartin.com/meteo

-- 
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/24d9caef-baab-4336-bf52-c5ea48aef4bdn%40googlegroups.com.


[weewx-user] Bootstrap 4 ... LiveGauge and Live graph do not work

2023-07-13 Thread Yves Martin
For Michael ...

I've installed Boostrap 4.0, all was fine.
Then I've installed Boostrap 4.1 and get issues
So I returned back and re-installed Boostrap 4.0

Now all works except the LiveGauge and the live graphs which stopped to get 
data.

I checked the files, they seems OK. I cannot find errors in the logs about 
this issue  (/var/log/syslog) or perhaps I do not check at the right place?

*PS: To see what it is look like, go to YMartin.com/meteo*

Any ideas?

Yves,
YMartin.com/meteo

-- 
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/e07888d1-cb27-44ed-8d17-c0e6b96503f8n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
If works for ages ... what do you suggest?

Also "LiveGauge" (on my main page: YMartin.com/meteo) stop working at 12:06 
today.
I cannot find any log about it ...

Let me know when you version 4.1 will be ready and I will try to reinstall 
it.

Yves

Le mercredi 12 juillet 2023 à 14 h 54 min 55 s UTC-4, michael.k...@gmx.at a 
écrit :

> There is something messed up with the installation, I'd say. At least, 
> there are some files missing on the web space. Did you install the skin 
> using wee_extension --install 4.1.zip? Did you restart weewx then? What's 
> with the logs? You didn't post any logs. 
> Your archive_interval of 60 seconds is also "intense" and it makes the 
> charts not render very nicely.
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 20:15:56 UTC+2:
>
>> You can test it here : https://ymartin.com/meteo/ and 
>> https://ymartin.com/meteo/en/ (english version)
>>
>> Yves
>>
>> Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> Do you see any Errors in the log? Where and how did you configure the UV 
>>> Chart?
>>> What issues did you encounter with v4.1? It is very likely you encounter 
>>> the sames issues in the final version, if you don't tell me the details :)
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> I had unexpected issues with 4.1.
>>>> I returned back to 4.0 and it is fine now except I have not the 
>>>> UV/Radiation in live, even if I add it in the skin.conf.
>>>>
>>>> I will wait for your final 4.1.
>>>> I also translated the French language, I've attached it here.
>>>>
>>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>>> michael.k...@gmx.at a écrit :
>>>>
>>>>> As of today, the documentation is very limited. Some documentation is 
>>>>> in the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, 
>>>>> and a guide for MQTT is in the wiki: 
>>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>>> You are invited to participate in improving the docs, your ongoing 
>>>>> experience will be a valuable source :)
>>>>>
>>>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>>>> new features and bug fixes. 
>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>>> Such combined charts are not available in prior versions.
>>>>>
>>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>>
>>>>> Also, a very basic config guide is included on the "about" page: 
>>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>>
>>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>>> have no information.
>>>>>>
>>>>>> Tks.
>>>>>>
>>>>>> Yves
>>>>>>
>>>>>

-- 
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/891a7136-f616-46e8-961f-adf34c2046e8n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
General question about the "livegauge" and the reports, how I change the 
"m/s" by "km/s" for the wind speed ?
I did it a long time ago, but now I use a multi-language version (French 
and English) and I'm a bit lost...
YM
Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at a 
écrit :

> As of today, the documentation is very limited. Some documentation is in 
> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
> a guide for MQTT is in the wiki: 
> https://github.com/brewster76/fuzzy-archer/wiki
> You are invited to participate in improving the docs, your ongoing 
> experience will be a valuable source :)
>
> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
> chart, you can simply enable (at least if you use "radiation" and "UV" 
> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
> it will be released soon and I'd recommend already going for 4.1 for the 
> new features and bug fixes. 
> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
> Such combined charts are not available in prior versions.
>
> My Test page is running v4.1, here is how the combined charts looks like: 
> https://www.kainzbauer.net/weather/Rif/de/
>
> Also, a very basic config guide is included on the "about" page: 
> https://www.kainzbauer.net/weather/Rif/de/about.html
>
>
>
>
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>
>> Hi,
>>
>> Where can I find a documentation for the new Bootstrap (4)?
>>
>> I want to add my solar and UV sensors under the live screen, but I have 
>> no information.
>>
>> Tks.
>>
>> Yves
>>
>

-- 
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/eb58c986-9b83-46cd-99fb-4422810a095an%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
Hi,

Yes I use this (wee_extension --install 4.0.zip).
Yes I restarted weewx.
You chan check it here : YMartin.com/meteo (French and English)
Is there a specific log file for this installation? Where can I find it?

YM

Le mercredi 12 juillet 2023 à 15 h 00 min 39 s UTC-4, michael.k...@gmx.at a 
écrit :

> Then: Did you install the skin using wee_extension --install 4.0.zip? Did 
> you restart weewx then? What's with the logs? You didn't post any logs. 
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 20:56:43 UTC+2:
>
>> ... but I'm still using version 4 not 4.1 till it is unstable here.
>>
>> I did the changes, no result for now.
>> I will wait for your 4.1 version ... Thanks.
>>
>> Le mercredi 12 juillet 2023 à 14 h 11 min 30 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> Did you specify "live_chart_items" in the config, as described on the 
>>> "about" page? If you add "radiation" and "rxCheckPercent" your weewx.conf 
>>> for v4.1 should look like this:
>>>
>>>
>>> [StdReport]
>>> [[Bootstrap]]
>>> ...
>>> [[[LiveCharts]]]
>>> live_chart_items = outTemp, barometer, rain, outHumidity, 
>>> wind, windDir, *radiation, **rxCheckPercent* # radiation is already 
>>> preconfigured in skin.conf
>>> rxCheckPercent
>>> [rxCheckPercent]
>>> payload_key = rxCheckPercent
>>> showMaxMarkPoint = false
>>> showMinMarkPoint = false
>>> showAvgMarkLine = false
>>> lineColor = '#b44242'
>>> decimals = 0
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 19:46:19 UTC+2:
>>>
>>>> with 4.1, some charts are not printed.
>>>> I've added mines : [radiation], [UV] and [rxCheckPercent] (for the 
>>>> quality signal between my station and the receiver here (from Davis 
>>>> Vantage))
>>>>
>>>> Yves
>>>>
>>>> Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, 
>>>> michael.k...@gmx.at a écrit :
>>>>
>>>>> Do you see any Errors in the log? Where and how did you configure the 
>>>>> UV Chart?
>>>>> What issues did you encounter with v4.1? It is very likely you 
>>>>> encounter the sames issues in the final version, if you don't tell me the 
>>>>> details :)
>>>>>
>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>>>>>
>>>>>> Hi Michael,
>>>>>>
>>>>>> I had unexpected issues with 4.1.
>>>>>> I returned back to 4.0 and it is fine now except I have not the 
>>>>>> UV/Radiation in live, even if I add it in the skin.conf.
>>>>>>
>>>>>> I will wait for your final 4.1.
>>>>>> I also translated the French language, I've attached it here.
>>>>>>
>>>>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>>>>> michael.k...@gmx.at a écrit :
>>>>>>
>>>>>>> As of today, the documentation is very limited. Some documentation 
>>>>>>> is in the skin.conf predefined configs. ([see LiveCharts]) An upgrade 
>>>>>>> guide, and a guide for MQTT is in the wiki: 
>>>>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>>>>> You are invited to participate in improving the docs, your ongoing 
>>>>>>> experience will be a valuable source :)
>>>>>>>
>>>>>>> BTW: the upcoming version v4.1 has a predefined, combined 
>>>>>>> radiation/UV chart, you can simply enable (at least if you use 
>>>>>>> "radiation" 
>>>>>>> and "UV" obs_type). v4.1 is not released yet, but I consider it usable 
>>>>>>> by 
>>>>>>> now, and it will be released soon and I'd recommend already going for 
>>>>>>> 4.1 
>>>>>>> for the new features and bug fixes. 
>>>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>>>>> Such combined charts are not available in prior versions.
>>>>>>>
>>>>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>>>>
>>>>>>> Also, a very basic config guide is included on the "about" page: 
>>>>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>>>>
>>>>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>>>>> have no information.
>>>>>>>>
>>>>>>>> Tks.
>>>>>>>>
>>>>>>>> Yves
>>>>>>>>
>>>>>>>

-- 
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/7eb0cc0f-ac64-48da-8030-e9c882886927n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
... but I'm still using version 4 not 4.1 till it is unstable here.

I did the changes, no result for now.
I will wait for your 4.1 version ... Thanks.

Le mercredi 12 juillet 2023 à 14 h 11 min 30 s UTC-4, michael.k...@gmx.at a 
écrit :

> Did you specify "live_chart_items" in the config, as described on the 
> "about" page? If you add "radiation" and "rxCheckPercent" your weewx.conf 
> for v4.1 should look like this:
>
>
> [StdReport]
> [[Bootstrap]]
> ...
> [[[LiveCharts]]]
> live_chart_items = outTemp, barometer, rain, outHumidity, 
> wind, windDir, *radiation, **rxCheckPercent* # radiation is already 
> preconfigured in skin.conf
> rxCheckPercent
> [rxCheckPercent]
> payload_key = rxCheckPercent
> showMaxMarkPoint = false
> showMinMarkPoint = false
> showAvgMarkLine = false
> lineColor = '#b44242'
> decimals = 0
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 19:46:19 UTC+2:
>
>> with 4.1, some charts are not printed.
>> I've added mines : [radiation], [UV] and [rxCheckPercent] (for the 
>> quality signal between my station and the receiver here (from Davis 
>> Vantage))
>>
>> Yves
>>
>> Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> Do you see any Errors in the log? Where and how did you configure the UV 
>>> Chart?
>>> What issues did you encounter with v4.1? It is very likely you encounter 
>>> the sames issues in the final version, if you don't tell me the details :)
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> I had unexpected issues with 4.1.
>>>> I returned back to 4.0 and it is fine now except I have not the 
>>>> UV/Radiation in live, even if I add it in the skin.conf.
>>>>
>>>> I will wait for your final 4.1.
>>>> I also translated the French language, I've attached it here.
>>>>
>>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>>> michael.k...@gmx.at a écrit :
>>>>
>>>>> As of today, the documentation is very limited. Some documentation is 
>>>>> in the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, 
>>>>> and a guide for MQTT is in the wiki: 
>>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>>> You are invited to participate in improving the docs, your ongoing 
>>>>> experience will be a valuable source :)
>>>>>
>>>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>>>> new features and bug fixes. 
>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>>> Such combined charts are not available in prior versions.
>>>>>
>>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>>
>>>>> Also, a very basic config guide is included on the "about" page: 
>>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>>
>>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>>> have no information.
>>>>>>
>>>>>> Tks.
>>>>>>
>>>>>> Yves
>>>>>>
>>>>>

-- 
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/f4b61534-aa89-496d-abe7-66da509cfe4cn%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
No I did not.
I do not understand why I have to add this here but I did.
I've restarted weewx without any change till now.

Yves

Le mercredi 12 juillet 2023 à 14 h 11 min 30 s UTC-4, michael.k...@gmx.at a 
écrit :

> Did you specify "live_chart_items" in the config, as described on the 
> "about" page? If you add "radiation" and "rxCheckPercent" your weewx.conf 
> for v4.1 should look like this:
>
>
> [StdReport]
> [[Bootstrap]]
> ...
> [[[LiveCharts]]]
> live_chart_items = outTemp, barometer, rain, outHumidity, 
> wind, windDir, *radiation, **rxCheckPercent* # radiation is already 
> preconfigured in skin.conf
> rxCheckPercent
> [rxCheckPercent]
> payload_key = rxCheckPercent
> showMaxMarkPoint = false
> showMinMarkPoint = false
> showAvgMarkLine = false
> lineColor = '#b44242'
> decimals = 0
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 19:46:19 UTC+2:
>
>> with 4.1, some charts are not printed.
>> I've added mines : [radiation], [UV] and [rxCheckPercent] (for the 
>> quality signal between my station and the receiver here (from Davis 
>> Vantage))
>>
>> Yves
>>
>> Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> Do you see any Errors in the log? Where and how did you configure the UV 
>>> Chart?
>>> What issues did you encounter with v4.1? It is very likely you encounter 
>>> the sames issues in the final version, if you don't tell me the details :)
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>>>
>>>> Hi Michael,
>>>>
>>>> I had unexpected issues with 4.1.
>>>> I returned back to 4.0 and it is fine now except I have not the 
>>>> UV/Radiation in live, even if I add it in the skin.conf.
>>>>
>>>> I will wait for your final 4.1.
>>>> I also translated the French language, I've attached it here.
>>>>
>>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>>> michael.k...@gmx.at a écrit :
>>>>
>>>>> As of today, the documentation is very limited. Some documentation is 
>>>>> in the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, 
>>>>> and a guide for MQTT is in the wiki: 
>>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>>> You are invited to participate in improving the docs, your ongoing 
>>>>> experience will be a valuable source :)
>>>>>
>>>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>>>> new features and bug fixes. 
>>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>>> Such combined charts are not available in prior versions.
>>>>>
>>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>>
>>>>> Also, a very basic config guide is included on the "about" page: 
>>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>>
>>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>>> have no information.
>>>>>>
>>>>>> Tks.
>>>>>>
>>>>>> Yves
>>>>>>
>>>>>

-- 
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/9d82c926-f562-4397-9519-e029c9083bc5n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
You can test it here : https://ymartin.com/meteo/ 
and https://ymartin.com/meteo/en/ (english version)

Yves

Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at a 
écrit :

> Do you see any Errors in the log? Where and how did you configure the UV 
> Chart?
> What issues did you encounter with v4.1? It is very likely you encounter 
> the sames issues in the final version, if you don't tell me the details :)
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>
>> Hi Michael,
>>
>> I had unexpected issues with 4.1.
>> I returned back to 4.0 and it is fine now except I have not the 
>> UV/Radiation in live, even if I add it in the skin.conf.
>>
>> I will wait for your final 4.1.
>> I also translated the French language, I've attached it here.
>>
>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> As of today, the documentation is very limited. Some documentation is in 
>>> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
>>> a guide for MQTT is in the wiki: 
>>> https://github.com/brewster76/fuzzy-archer/wiki
>>> You are invited to participate in improving the docs, your ongoing 
>>> experience will be a valuable source :)
>>>
>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>> new features and bug fixes. 
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>> Such combined charts are not available in prior versions.
>>>
>>> My Test page is running v4.1, here is how the combined charts looks 
>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>
>>> Also, a very basic config guide is included on the "about" page: 
>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>
>>>
>>>
>>>
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>
>>>> I want to add my solar and UV sensors under the live screen, but I have 
>>>> no information.
>>>>
>>>> Tks.
>>>>
>>>> Yves
>>>>
>>>

-- 
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/931b490c-203f-45e2-8266-f3d70826269an%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
with 4.1, some charts are not printed.
I've added mines : [radiation], [UV] and [rxCheckPercent] (for the quality 
signal between my station and the receiver here (from Davis Vantage))

Yves

Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at a 
écrit :

> Do you see any Errors in the log? Where and how did you configure the UV 
> Chart?
> What issues did you encounter with v4.1? It is very likely you encounter 
> the sames issues in the final version, if you don't tell me the details :)
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>
>> Hi Michael,
>>
>> I had unexpected issues with 4.1.
>> I returned back to 4.0 and it is fine now except I have not the 
>> UV/Radiation in live, even if I add it in the skin.conf.
>>
>> I will wait for your final 4.1.
>> I also translated the French language, I've attached it here.
>>
>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> As of today, the documentation is very limited. Some documentation is in 
>>> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
>>> a guide for MQTT is in the wiki: 
>>> https://github.com/brewster76/fuzzy-archer/wiki
>>> You are invited to participate in improving the docs, your ongoing 
>>> experience will be a valuable source :)
>>>
>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>> new features and bug fixes. 
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>> Such combined charts are not available in prior versions.
>>>
>>> My Test page is running v4.1, here is how the combined charts looks 
>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>
>>> Also, a very basic config guide is included on the "about" page: 
>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>
>>>
>>>
>>>
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>
>>>> I want to add my solar and UV sensors under the live screen, but I have 
>>>> no information.
>>>>
>>>> Tks.
>>>>
>>>> Yves
>>>>
>>>

-- 
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/fe4669fe-430e-486f-b83c-45c48aca653bn%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
I've reinstalled version 4.

UV Chart is installed in skin.conf, after "[LiveCharts]" at the end after 
the [[windDir]] ...

Yves
Le mercredi 12 juillet 2023 à 13 h 30 min 49 s UTC-4, michael.k...@gmx.at a 
écrit :

> Do you see any Errors in the log? Where and how did you configure the UV 
> Chart?
> What issues did you encounter with v4.1? It is very likely you encounter 
> the sames issues in the final version, if you don't tell me the details :)
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>
>> Hi Michael,
>>
>> I had unexpected issues with 4.1.
>> I returned back to 4.0 and it is fine now except I have not the 
>> UV/Radiation in live, even if I add it in the skin.conf.
>>
>> I will wait for your final 4.1.
>> I also translated the French language, I've attached it here.
>>
>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at 
>> a écrit :
>>
>>> As of today, the documentation is very limited. Some documentation is in 
>>> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
>>> a guide for MQTT is in the wiki: 
>>> https://github.com/brewster76/fuzzy-archer/wiki
>>> You are invited to participate in improving the docs, your ongoing 
>>> experience will be a valuable source :)
>>>
>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>> new features and bug fixes. 
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>> Such combined charts are not available in prior versions.
>>>
>>> My Test page is running v4.1, here is how the combined charts looks 
>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>
>>> Also, a very basic config guide is included on the "about" page: 
>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>
>>>
>>>
>>>
>>>
>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>
>>>> I want to add my solar and UV sensors under the live screen, but I have 
>>>> no information.
>>>>
>>>> Tks.
>>>>
>>>> Yves
>>>>
>>>

-- 
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/e90f5537-59df-431a-899e-ff72699b5574n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
 I resent the lang (fr.conf) file with minors corrections.

Sorry for that ... this last one is better ;)

Yves

Le mercredi 12 juillet 2023 à 13 h 31 min 31 s UTC-4, michael.k...@gmx.at a 
écrit :

> And thanks for your contributions, very appreciated!
>
> michael.k...@gmx.at schrieb am Mittwoch, 12. Juli 2023 um 19:30:49 UTC+2:
>
>> Do you see any Errors in the log? Where and how did you configure the UV 
>> Chart?
>> What issues did you encounter with v4.1? It is very likely you encounter 
>> the sames issues in the final version, if you don't tell me the details :)
>>
>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 17:58:27 UTC+2:
>>
>>> Hi Michael,
>>>
>>> I had unexpected issues with 4.1.
>>> I returned back to 4.0 and it is fine now except I have not the 
>>> UV/Radiation in live, even if I add it in the skin.conf.
>>>
>>> I will wait for your final 4.1.
>>> I also translated the French language, I've attached it here.
>>>
>>> Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, 
>>> michael.k...@gmx.at a écrit :
>>>
>>>> As of today, the documentation is very limited. Some documentation is 
>>>> in the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, 
>>>> and a guide for MQTT is in the wiki: 
>>>> https://github.com/brewster76/fuzzy-archer/wiki
>>>> You are invited to participate in improving the docs, your ongoing 
>>>> experience will be a valuable source :)
>>>>
>>>> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
>>>> chart, you can simply enable (at least if you use "radiation" and "UV" 
>>>> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
>>>> it will be released soon and I'd recommend already going for 4.1 for the 
>>>> new features and bug fixes. 
>>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
>>>> Such combined charts are not available in prior versions.
>>>>
>>>> My Test page is running v4.1, here is how the combined charts looks 
>>>> like: https://www.kainzbauer.net/weather/Rif/de/
>>>>
>>>> Also, a very basic config guide is included on the "about" page: 
>>>> https://www.kainzbauer.net/weather/Rif/de/about.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>>>>
>>>>> Hi,
>>>>>
>>>>> Where can I find a documentation for the new Bootstrap (4)?
>>>>>
>>>>> I want to add my solar and UV sensors under the live screen, but I 
>>>>> have no information.
>>>>>
>>>>> Tks.
>>>>>
>>>>> Yves
>>>>>
>>>>

-- 
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/1c855f32-a2c0-4f7b-9e7c-058975d0d318n%40googlegroups.com.
###
#  Localization File --- Bootstrap skin   #
#  French #
# Copyright (c) 2018-2021 Tom Keffer  and Matthew Wall #
# Copyright (c) 2021 Johanna Karen Roedenbeck #
# See the file LICENSE.txt for your rights.   #
# #
#   Translation by "Cyril"#
#   Revisité par Pascal Cambier le 30 mai 2022 (v2)   #
#   - modification de traductions foireuses   #
#   - ajout de nouveaux tags  #
# #
###

# Generally want a metric system for the French language:
unit_system = metricwx
locale = fr_FR

[Units]

# [[Groups]]
# group_altitude = meter# Options are 'foot' or 
'meter'
# group_degree_day   = degree_C_day # Options are 
'degree_F_day' or 'degree_C_day'
# group_dis

[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
Hi Michael,

I had unexpected issues with 4.1.
I returned back to 4.0 and it is fine now except I have not the 
UV/Radiation in live, even if I add it in the skin.conf.

I will wait for your final 4.1.
I also translated the French language, I've attached it here.

Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at a 
écrit :

> As of today, the documentation is very limited. Some documentation is in 
> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
> a guide for MQTT is in the wiki: 
> https://github.com/brewster76/fuzzy-archer/wiki
> You are invited to participate in improving the docs, your ongoing 
> experience will be a valuable source :)
>
> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
> chart, you can simply enable (at least if you use "radiation" and "UV" 
> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
> it will be released soon and I'd recommend already going for 4.1 for the 
> new features and bug fixes. 
> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
> Such combined charts are not available in prior versions.
>
> My Test page is running v4.1, here is how the combined charts looks like: 
> https://www.kainzbauer.net/weather/Rif/de/
>
> Also, a very basic config guide is included on the "about" page: 
> https://www.kainzbauer.net/weather/Rif/de/about.html
>
>
>
>
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>
>> Hi,
>>
>> Where can I find a documentation for the new Bootstrap (4)?
>>
>> I want to add my solar and UV sensors under the live screen, but I have 
>> no information.
>>
>> Tks.
>>
>> Yves
>>
>

-- 
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/520a204a-7c8c-4c75-8878-bfd72f94eba3n%40googlegroups.com.
###
#  Localization File --- Bootstrap skin   #
#  French #
# Copyright (c) 2018-2021 Tom Keffer  and Matthew Wall #
# Copyright (c) 2021 Johanna Karen Roedenbeck #
# See the file LICENSE.txt for your rights.   #
# #
#   Translation by "Cyril"#
#   Revisité par Pascal Cambier le 30 mai 2022 (v2)   #
#   - modification de traductions foireuses   #
#   - ajout de nouveaux tags  #
# #
###

# Generally want a metric system for the French language:
unit_system = metricwx
locale = fr_FR

[Units]

# [[Groups]]
# group_altitude = meter# Options are 'foot' or 
'meter'
# group_degree_day   = degree_C_day # Options are 
'degree_F_day' or 'degree_C_day'
# group_distance = km   # Options are 'mile' or 'km'
# group_pressure = mbar # Options are 'inHg', 
'mmHg', 'mbar', or 'hPa'
# group_rain = mm   # Options are 'inch', 'cm', 
or 'mm'
# group_rainrate = mm_per_hour  # Options are 
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
# group_speed= meter_per_second # Options are 
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
# group_speed2   = meter_per_second2# Options are 
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
# group_temperature  = degree_C # Options are 'degree_F' or 
'degree_C'

[[TimeFormats]]
# date formats for maxsum, minsum of a day
dailysumday= %X
dailysumweek   = %A
dailysummonth  = %x
dailysumyear   = %x
dailysumcurrent= %x

[[Labels]]
meter = " mètre",   " mètres"
day   = " jour"," jours"

[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
Thanks for all theses information.

I'm testing it.

Yves

Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at a 
écrit :

> As of today, the documentation is very limited. Some documentation is in 
> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
> a guide for MQTT is in the wiki: 
> https://github.com/brewster76/fuzzy-archer/wiki
> You are invited to participate in improving the docs, your ongoing 
> experience will be a valuable source :)
>
> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
> chart, you can simply enable (at least if you use "radiation" and "UV" 
> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
> it will be released soon and I'd recommend already going for 4.1 for the 
> new features and bug fixes. 
> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
> Such combined charts are not available in prior versions.
>
> My Test page is running v4.1, here is how the combined charts looks like: 
> https://www.kainzbauer.net/weather/Rif/de/
>
> Also, a very basic config guide is included on the "about" page: 
> https://www.kainzbauer.net/weather/Rif/de/about.html
>
>
>
>
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>
>> Hi,
>>
>> Where can I find a documentation for the new Bootstrap (4)?
>>
>> I want to add my solar and UV sensors under the live screen, but I have 
>> no information.
>>
>> Tks.
>>
>> Yves
>>
>

-- 
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/369d9f4c-e208-45ec-809e-c46646f5eb6en%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
Hi,

I've downloader the last Bootstrap 4.1, but there is no exemple for the UV 
and Radiation for live screen. It is on your test page but not in the 
skin.conf

Do you have this information?

Thanks for these precious documentation.

Yves

Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at a 
écrit :

> As of today, the documentation is very limited. Some documentation is in 
> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
> a guide for MQTT is in the wiki: 
> https://github.com/brewster76/fuzzy-archer/wiki
> You are invited to participate in improving the docs, your ongoing 
> experience will be a valuable source :)
>
> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
> chart, you can simply enable (at least if you use "radiation" and "UV" 
> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
> it will be released soon and I'd recommend already going for 4.1 for the 
> new features and bug fixes. 
> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
> Such combined charts are not available in prior versions.
>
> My Test page is running v4.1, here is how the combined charts looks like: 
> https://www.kainzbauer.net/weather/Rif/de/
>
> Also, a very basic config guide is included on the "about" page: 
> https://www.kainzbauer.net/weather/Rif/de/about.html
>
>
>
>
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>
>> Hi,
>>
>> Where can I find a documentation for the new Bootstrap (4)?
>>
>> I want to add my solar and UV sensors under the live screen, but I have 
>> no information.
>>
>> Tks.
>>
>> Yves
>>
>

-- 
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/f96c77ce-72a9-414e-bfd1-6701dd794380n%40googlegroups.com.


[weewx-user] Re: Bootstrap and documentation?

2023-07-12 Thread Yves Martin
Thank you for these precious information.

Yves

Le mercredi 12 juillet 2023 à 01 h 55 min 56 s UTC-4, michael.k...@gmx.at a 
écrit :

> As of today, the documentation is very limited. Some documentation is in 
> the skin.conf predefined configs. ([see LiveCharts]) An upgrade guide, and 
> a guide for MQTT is in the wiki: 
> https://github.com/brewster76/fuzzy-archer/wiki
> You are invited to participate in improving the docs, your ongoing 
> experience will be a valuable source :)
>
> BTW: the upcoming version v4.1 has a predefined, combined radiation/UV 
> chart, you can simply enable (at least if you use "radiation" and "UV" 
> obs_type). v4.1 is not released yet, but I consider it usable by now, and 
> it will be released soon and I'd recommend already going for 4.1 for the 
> new features and bug fixes. 
> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/4.1.zip 
> Such combined charts are not available in prior versions.
>
> My Test page is running v4.1, here is how the combined charts looks like: 
> https://www.kainzbauer.net/weather/Rif/de/
>
> Also, a very basic config guide is included on the "about" page: 
> https://www.kainzbauer.net/weather/Rif/de/about.html
>
>
>
>
>
> Yves Martin schrieb am Mittwoch, 12. Juli 2023 um 03:05:49 UTC+2:
>
>> Hi,
>>
>> Where can I find a documentation for the new Bootstrap (4)?
>>
>> I want to add my solar and UV sensors under the live screen, but I have 
>> no information.
>>
>> Tks.
>>
>> Yves
>>
>

-- 
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/8727fc0d-56a1-48c7-a33d-0dfb86be60ben%40googlegroups.com.


Re: [weewx-user] ftp/sftp stop working on 4.10.2 ...

2023-07-11 Thread Yves Martin
After a fresh install, I've reinstalled weewx, use ftp instead of sftp (not 
installed here) and everything works!!!

Tks.

Yves

Le mardi 11 juillet 2023 à 10 h 03 min 26 s UTC-4, Tom Keffer a écrit :

> Make sure weewxd is using the copy of weewx.conf that you think it is 
> using.
>
> You provided an excerpt of the [[FTP]] section. Is it from 
> /etc/weewx/weewx.conf? Is that what weewxd is using?
>
> On Mon, Jul 10, 2023 at 2:55 PM Yves Martin  wrote:
>
>> Hi
>>
>> I have this error and I don't know why :
>>
>> Jul 10 17:30:28 meteo-raspi weewx[1797] DEBUG weewx.reportengine: Found 
>> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
>> Jul 10 17:30:29 meteo-raspi weewx[1797] DEBUG weewx.reportengine: 
>> ftpgenerator: FTP upload not requested. Skipped.
>>
>> weewx.conf is set like this :
>>
>> [[FTP]]
>> # FTP'ing the results to a webserver is treated as just another 
>> report,
>> # albeit one with an unusual report generator!
>> skin = Ftp
>> enable = True
>>
>> # Set to True for a secure FTP (SFTP) connection. Not all servers
>> # support this.
>> secure_ftp = True
>>
>> # To upload files from something other than what HTML_ROOT is set
>> # to above, specify a different HTML_ROOT here.
>> HTML_ROOT = /web/meteo
>>
>> # Most FTP servers use port 21
>> port = 22
>>
>> # Set to 1 to use passive mode, zero for active mode
>> passive = 1
>> path = /web/meteo/
>> max_tries = 3
>> user = 
>> password = XX
>> server = 192.168.8.23
>>
>> (sftp server works on a local network only. There is no NAT there ... so 
>> it is safe...)
>>
>> Any idea why ftp or sftp do not work?
>>
>> Regards,
>> Yves
>>
>> -- 
>> 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/3795e503-4d2f-434d-9da8-a67a011f6c73n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3795e503-4d2f-434d-9da8-a67a011f6c73n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/3238e9c0-37fd-4497-9bdf-0876dd04a69fn%40googlegroups.com.


[weewx-user] Bootstrap and documentation?

2023-07-11 Thread Yves Martin
Hi,

Where can I find a documentation for the new Bootstrap (4)?

I want to add my solar and UV sensors under the live screen, but I have no 
information.

Tks.

Yves

-- 
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/346f24d5-2e3c-4f1f-8718-fa6c70576117n%40googlegroups.com.


Re: [weewx-user] Critical error ...

2023-07-11 Thread Yves Martin
OK, purge again ... but this time I did not install MQTT. It seems 
generated issues every time.

I've finally upgraded to a more recent version.

New:
---
Raspbian GNU/Linux 10 (buster)
Python 3.7.3

Old:
---
Raspberry pi Debian 7.11
Python 2.7.3

... It is now about the design and how the new Bootstrap works (seems 
complicated).

... and my sFTP transfert do not work.
This one is more important for now...

YM
Le mardi 11 juillet 2023 à 18 h 47 min 46 s UTC-4, Yves Martin a écrit :

> OK, I purge all, delete old directories ... and keep my old weewx.conf 
> file.
>
> Now I have this error :
>
> Configuration file '/etc/weewx/weewx.conf'
>  ==> File on system created by you or by a script.
>  ==> File also in package provided by package maintainer.
>What would you like to do about it ?  Your options are:
> Y or I  : install the package maintainer's version
> N or O  : keep your currently-installed version
>   D : show the differences between the versions
>   Z : start a shell to examine the situation
>  The default action is to keep your current version.
> *** weewx.conf (Y/I/N/O/D/Z) [default=N] ?
>
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_config", line 128, in 
> main()
>   File "/usr/share/weewx/wee_config", line 122, in main
> config_mgr.run(args, options)
>   File "/usr/share/weewx/weecfg/config.py", line 125, in run
> weecfg.modify_config(config_dict, stn_info, self.logger, options.debug)
>   File "/usr/share/weewx/weecfg/__init__.py", line 313, in modify_config
> config_dict['StdReport']['Defaults']['unit_system'] = 
> stn_info['unit_system']
>   File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
> __getitem__
> val = dict.__getitem__(self, key)
> KeyError: 'Defaults'
> dpkg: error processing package weewx (--install):
>  installed weewx package post-installation script subprocess returned 
> error exit status 1
> Processing triggers for systemd (241-7~deb10u9+rpi1) ...
> Errors were encountered while processing:
>  weewx
>
> (...)
>
> YM
>
> Le mardi 11 juillet 2023 à 18 h 31 min 24 s UTC-4, Tom Keffer a écrit :
>
>> Note that with packaged installs, if you remove a package, it does not 
>> remove weewx.conf unless you "purge" it. 
>>
>> *sudo apt purge weewx*
>>
>>
>> Take a look at the bottom of your weewx.conf under [Engine]. You have 
>> user.mqtt specified somewhere in there.
>>
>>
>>
>> On Tue, Jul 11, 2023 at 3:21 PM Yves Martin  wrote:
>>
>>> I've reinstalled all ... still have critical issues
>>>
>>> debug=1 is already set
>>>
>>> Last error :
>>>
>>> /etc/init.d/weewx start
>>> /etc/init.d/weewx status
>>>
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewxd", line 148, in main
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   engine = weewx.engine.StdEngine(config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   self.loadServices(config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/engine.py", line 161, in 
>>> loadServices
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
>>> get_object
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   mod = __import__(module)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   ModuleNotFoundError: No module named 'user.mqtt'
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   Exiting.
>>>
>>> I have disabled MQTT in weewx.conf but I have till this error.
>>>
>>> One week now I'm trying to reinstall weewx, I'm a bit desperated...
>>>
>>> YM
>

Re: [weewx-user] Critical error ...

2023-07-11 Thread Yves Martin
OK ... purge again ... but this time I did not installed MQTT (it seems 
creating issues every time).

Seems OK now, but after reinstalling Apache2, and set the directory, I 
cannot see it.

How to set the "public_html" directory for weewx? Usually is it there: 
/var/www/weewx/* but it does not work

YM


Le mardi 11 juillet 2023 à 18 h 47 min 46 s UTC-4, Yves Martin a écrit :

> OK, I purge all, delete old directories ... and keep my old weewx.conf 
> file.
>
> Now I have this error :
>
> Configuration file '/etc/weewx/weewx.conf'
>  ==> File on system created by you or by a script.
>  ==> File also in package provided by package maintainer.
>What would you like to do about it ?  Your options are:
> Y or I  : install the package maintainer's version
> N or O  : keep your currently-installed version
>   D : show the differences between the versions
>   Z : start a shell to examine the situation
>  The default action is to keep your current version.
> *** weewx.conf (Y/I/N/O/D/Z) [default=N] ?
>
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_config", line 128, in 
> main()
>   File "/usr/share/weewx/wee_config", line 122, in main
> config_mgr.run(args, options)
>   File "/usr/share/weewx/weecfg/config.py", line 125, in run
> weecfg.modify_config(config_dict, stn_info, self.logger, options.debug)
>   File "/usr/share/weewx/weecfg/__init__.py", line 313, in modify_config
> config_dict['StdReport']['Defaults']['unit_system'] = 
> stn_info['unit_system']
>   File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
> __getitem__
> val = dict.__getitem__(self, key)
> KeyError: 'Defaults'
> dpkg: error processing package weewx (--install):
>  installed weewx package post-installation script subprocess returned 
> error exit status 1
> Processing triggers for systemd (241-7~deb10u9+rpi1) ...
> Errors were encountered while processing:
>  weewx
>
> (...)
>
> YM
>
> Le mardi 11 juillet 2023 à 18 h 31 min 24 s UTC-4, Tom Keffer a écrit :
>
>> Note that with packaged installs, if you remove a package, it does not 
>> remove weewx.conf unless you "purge" it. 
>>
>> *sudo apt purge weewx*
>>
>>
>> Take a look at the bottom of your weewx.conf under [Engine]. You have 
>> user.mqtt specified somewhere in there.
>>
>>
>>
>> On Tue, Jul 11, 2023 at 3:21 PM Yves Martin  wrote:
>>
>>> I've reinstalled all ... still have critical issues
>>>
>>> debug=1 is already set
>>>
>>> Last error :
>>>
>>> /etc/init.d/weewx start
>>> /etc/init.d/weewx status
>>>
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewxd", line 148, in main
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   engine = weewx.engine.StdEngine(config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   self.loadServices(config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weewx/engine.py", line 161, in 
>>> loadServices
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>> File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
>>> get_object
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   mod = __import__(module)
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   ModuleNotFoundError: No module named 'user.mqtt'
>>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>>   Exiting.
>>>
>>> I have disabled MQTT in weewx.conf but I have till this error.
>>>
>>> One week now I'm trying to reinstall weewx, I'm a bit desperated...
>>>
>>> YM
>>>
>>>
>>> Le lundi 10 juillet 2023 à 21 h 19 min 34 s UTC-4, Tom Keffer a écrit :
>

Re: [weewx-user] Critical error ...

2023-07-11 Thread Yves Martin
OK, I purge all, delete old directories ... and keep my old weewx.conf file.

Now I have this error :

Configuration file '/etc/weewx/weewx.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : start a shell to examine the situation
 The default action is to keep your current version.
*** weewx.conf (Y/I/N/O/D/Z) [default=N] ?
Traceback (most recent call last):
  File "/usr/share/weewx/wee_config", line 128, in 
main()
  File "/usr/share/weewx/wee_config", line 122, in main
config_mgr.run(args, options)
  File "/usr/share/weewx/weecfg/config.py", line 125, in run
weecfg.modify_config(config_dict, stn_info, self.logger, options.debug)
  File "/usr/share/weewx/weecfg/__init__.py", line 313, in modify_config
config_dict['StdReport']['Defaults']['unit_system'] = 
stn_info['unit_system']
  File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
__getitem__
val = dict.__getitem__(self, key)
KeyError: 'Defaults'
dpkg: error processing package weewx (--install):
 installed weewx package post-installation script subprocess returned error 
exit status 1
Processing triggers for systemd (241-7~deb10u9+rpi1) ...
Errors were encountered while processing:
 weewx

(...)

YM

Le mardi 11 juillet 2023 à 18 h 31 min 24 s UTC-4, Tom Keffer a écrit :

> Note that with packaged installs, if you remove a package, it does not 
> remove weewx.conf unless you "purge" it. 
>
> *sudo apt purge weewx*
>
>
> Take a look at the bottom of your weewx.conf under [Engine]. You have 
> user.mqtt specified somewhere in there.
>
>
>
> On Tue, Jul 11, 2023 at 3:21 PM Yves Martin  wrote:
>
>> I've reinstalled all ... still have critical issues
>>
>> debug=1 is already set
>>
>> Last error :
>>
>> /etc/init.d/weewx start
>> /etc/init.d/weewx status
>>
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>> File "/usr/share/weewx/weewxd", line 148, in main
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   engine = weewx.engine.StdEngine(config_dict)
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   self.loadServices(config_dict)
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 161, in 
>> loadServices
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>> File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
>> get_object
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   mod = __import__(module)
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   ModuleNotFoundError: No module named 'user.mqtt'
>> Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__: 
>>   Exiting.
>>
>> I have disabled MQTT in weewx.conf but I have till this error.
>>
>> One week now I'm trying to reinstall weewx, I'm a bit desperated...
>>
>> YM
>>
>>
>> Le lundi 10 juillet 2023 à 21 h 19 min 34 s UTC-4, Tom Keffer a écrit :
>>
>>> Please set debug=1, then restart weewx. Post the log from startup 
>>> through the exception.
>>>
>>> On Mon, Jul 10, 2023 at 2:50 PM Yves Martin  wrote:
>>>
>>>> Hi,
>>>>
>>>> Since I've upgraded weewx from 3.9.2 to 4.10.2 I have a couple of error.
>>>>
>>>> This one seems critical :
>>>>
>>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
>>>>  Traceback (most recent call last):
>>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
>>>>File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
>>>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL wee

Re: [weewx-user] Critical error ...

2023-07-11 Thread Yves Martin
I've reinstalled all ... still have critical issues

debug=1 is already set

Last error :

/etc/init.d/weewx start
/etc/init.d/weewx status

Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weewxd", line 148, in main
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    engine = weewx.engine.StdEngine(config_dict)
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    self.loadServices(config_dict)
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
get_object
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    mod = __import__(module)
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    ModuleNotFoundError: No module named 'user.mqtt'
Jul 11 17:17:09 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    Exiting.

I have disabled MQTT in weewx.conf but I have till this error.

One week now I'm trying to reinstall weewx, I'm a bit desperated...

YM


Le lundi 10 juillet 2023 à 21 h 19 min 34 s UTC-4, Tom Keffer a écrit :

> Please set debug=1, then restart weewx. Post the log from startup through 
> the exception.
>
> On Mon, Jul 10, 2023 at 2:50 PM Yves Martin  wrote:
>
>> Hi,
>>
>> Since I've upgraded weewx from 3.9.2 to 4.10.2 I have a couple of error.
>>
>> This one seems critical :
>>
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
>>  Traceback (most recent call last):
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>self.console = loader_function(config_dict, self)
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>return VantageService(engine, config_dict)
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 534, in __init__
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>self._setup()
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1394, in _setup
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>self.hardware_type = self._determine_hardware()
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1385, in 
>> _determine_hardware
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
>>raise weewx.WeeWxIOError("Unable to read hardware type")
>> Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
>>  WeeWxIOError: Unable to read hardware type
>>
>> Any suggestion?
>>
>> Regards,
>> Yves
>>
>> -- 
>> 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/fd6e8299-3b73-4cd8-92ac-22f9087228f5n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/fd6e8299-3b73-4cd8-92ac-22f9087228f5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/80ce2801-f109-476c-a8b4-94e1950460a4n%40googlegroups.com.


[weewx-user] Re: New Bootstrap issue for multi-language

2023-07-11 Thread Yves Martin
OK, I already did that.
I have a lot o errors, I have to check now.
Tks.

Yves

Le mardi 11 juillet 2023 à 07 h 24 min 18 s UTC-4, michael.k...@gmx.at a 
écrit :

> Like this:
>
>  [[StandardReport]]
> # See the customizing guide to change the units, plot types and 
> line
> # colors, modify the fonts, display additional sensor data, and 
> other
> # customizations. Many of those changes can be made here by 
> overriding
> # parameters, or by modifying templates within the skin itself.
>
> # The StandardReport uses the 'Standard' skin, which contains the
> # images, templates and plots for the report.
> skin = Bootstrap
> lang = de
>
> [[Bootstrap-fr]]
> skin = Bootstrap
> HTML_ROOT = /var/www/weewx/fr
> lang = fr
> enable = true
>
> [[Bootstrap-en]]
> skin = Bootstrap
> HTML_ROOT = /var/www/weewx/en
> lang = en
> enable = true
>
> [[Bootstrap-es]]
> skin = Bootstrap
> HTML_ROOT = /var/www/weewx/es
> lang = es
> enable = true
>
> The files for "de" ([[StandardReport]]) will be in /var/www/weewx
> "fr" in /var/www/weewx/fr,
> "en" in/var/www/weewx/en,
> "es" /var/www/weewx/es
>
>
> Yves Martin schrieb am Dienstag, 11. Juli 2023 um 13:20:41 UTC+2:
>
>> OK, but how to use a "multi-language" option?
>>
>> YM
>>
>> Le mardi 11 juillet 2023 à 07 h 14 min 00 s UTC-4, michael.k...@gmx.at a 
>> écrit :
>>
>>> You also use Bootstrap in [[StandardReport]] and need to specify a lang:
>>>
>>> [[StandardReport]]
>>> # See the customizing guide to change the units, plot types and 
>>> line
>>> # colors, modify the fonts, display additional sensor data, and 
>>> other
>>> # customizations. Many of those changes can be made here by 
>>> overriding
>>> # parameters, or by modifying templates within the skin itself.
>>>
>>> # The StandardReport uses the 'Standard' skin, which contains the
>>> # images, templates and plots for the report.
>>> skin = Bootstrap
>>> lang = {one_of_the_available_languages}
>>>
>>> Without the lang, there is no locale
>>> Yves Martin schrieb am Montag, 10. Juli 2023 um 23:06:03 UTC+2:
>>>
>>>> Hi,
>>>>
>>>> I am trying the new Boostrap and I have a lot of trouble...
>>>>
>>>> I want to use the multi-language option so I set as the documentation 
>>>> says in weewx.conf:
>>>>
>>>> [[StandardReport]]
>>>> # See the customizing guide to change the units, plot types and 
>>>> line
>>>> # colors, modify the fonts, display additional sensor data, and 
>>>> other
>>>> # customizations. Many of those changes can be made here by 
>>>> overriding
>>>> # parameters, or by modifying templates within the skin itself.
>>>>
>>>> # The StandardReport uses the 'Standard' skin, which contains 
>>>> the
>>>> # images, templates and plots for the report.
>>>> skin = Bootstrap
>>>>
>>>> [[Bootstrap-fr]]
>>>> skin = Bootstrap
>>>> HTML_ROOT = /var/www/weewx/fr
>>>> lang = fr
>>>> enable = true
>>>>
>>>> [[Bootstrap-en]]
>>>> skin = Bootstrap
>>>> HTML_ROOT = /var/www/weewx/en
>>>> lang = en
>>>> enable = true
>>>>
>>>> [[Bootstrap-es]]
>>>> skin = Bootstrap
>>>> HTML_ROOT = /var/www/weewx/es
>>>> lang = es
>>>> enable = true
>>>>
>>>> But I have this error :
>>>>
>>>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>>> Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed.
>>>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>>>  Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
>>>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>>>  Reason: cannot find 'locale'
>>>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.chee

[weewx-user] Re: New Bootstrap issue for multi-language

2023-07-11 Thread Yves Martin
OK, but how to use a "multi-language" option?

YM

Le mardi 11 juillet 2023 à 07 h 14 min 00 s UTC-4, michael.k...@gmx.at a 
écrit :

> You also use Bootstrap in [[StandardReport]] and need to specify a lang:
>
> [[StandardReport]]
> # See the customizing guide to change the units, plot types and 
> line
> # colors, modify the fonts, display additional sensor data, and 
> other
> # customizations. Many of those changes can be made here by 
> overriding
> # parameters, or by modifying templates within the skin itself.
>
> # The StandardReport uses the 'Standard' skin, which contains the
> # images, templates and plots for the report.
> skin = Bootstrap
> lang = {one_of_the_available_languages}
>
> Without the lang, there is no locale
> Yves Martin schrieb am Montag, 10. Juli 2023 um 23:06:03 UTC+2:
>
>> Hi,
>>
>> I am trying the new Boostrap and I have a lot of trouble...
>>
>> I want to use the multi-language option so I set as the documentation 
>> says in weewx.conf:
>>
>> [[StandardReport]]
>> # See the customizing guide to change the units, plot types and 
>> line
>> # colors, modify the fonts, display additional sensor data, and 
>> other
>> # customizations. Many of those changes can be made here by 
>> overriding
>> # parameters, or by modifying templates within the skin itself.
>>
>> # The StandardReport uses the 'Standard' skin, which contains the
>> # images, templates and plots for the report.
>> skin = Bootstrap
>>
>> [[Bootstrap-fr]]
>> skin = Bootstrap
>> HTML_ROOT = /var/www/weewx/fr
>> lang = fr
>> enable = true
>>
>> [[Bootstrap-en]]
>> skin = Bootstrap
>> HTML_ROOT = /var/www/weewx/en
>> lang = en
>> enable = true
>>
>> [[Bootstrap-es]]
>> skin = Bootstrap
>> HTML_ROOT = /var/www/weewx/es
>> lang = es
>> enable = true
>>
>> But I have this error :
>>
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed.
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Reason: cannot find 'locale'
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  To debug, try inserting '#errorCatcher Echo' at top of template
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/Bootstrap/stats.html.tmpl failed.
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Ignoring template /etc/weewx/skins/Bootstrap/stats.html.tmpl
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Reason: cannot find 'locale'
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  To debug, try inserting '#errorCatcher Echo' at top of template
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed.
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Reason: cannot find 'locale'
>> Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  To debug, try inserting '#errorCatcher Echo' at top of template
>> Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/Bootstrap/indiceUV.html.tmpl failed.
>> Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Ignoring template /etc/weewx/skins/Bootstrap/indiceUV.html.tmpl
>> Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  Reason: cannot find 'time_since_last_rain'
>> Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>>  To debug, try inserting '#errorCatcher Echo' at top of template
>> Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/Boots

[weewx-user] ftp/sftp stop working on 4.10.2 ...

2023-07-10 Thread Yves Martin
Hi

I have this error and I don't know why :

Jul 10 17:30:28 meteo-raspi weewx[1797] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Jul 10 17:30:29 meteo-raspi weewx[1797] DEBUG weewx.reportengine: 
ftpgenerator: FTP upload not requested. Skipped.

weewx.conf is set like this :

[[FTP]]
# FTP'ing the results to a webserver is treated as just another 
report,
# albeit one with an unusual report generator!
skin = Ftp
enable = True

# Set to True for a secure FTP (SFTP) connection. Not all servers
# support this.
secure_ftp = True

# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
HTML_ROOT = /web/meteo

# Most FTP servers use port 21
port = 22

# Set to 1 to use passive mode, zero for active mode
passive = 1
path = /web/meteo/
max_tries = 3
user = 
password = XX
server = 192.168.8.23

(sftp server works on a local network only. There is no NAT there ... so it 
is safe...)

Any idea why ftp or sftp do not work?

Regards,
Yves

-- 
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/3795e503-4d2f-434d-9da8-a67a011f6c73n%40googlegroups.com.


[weewx-user] Critical error ...

2023-07-10 Thread Yves Martin
Hi,

Since I've upgraded weewx from 3.9.2 to 4.10.2 I have a couple of error.

This one seems critical :

Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 Traceback (most recent call last):
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 self.console = loader_function(config_dict, self)
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 return VantageService(engine, config_dict)
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 Vantage.__init__(self, **config_dict[DRIVER_NAME])
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 534, in __init__
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 self._setup()
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 1394, in _setup
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 self.hardware_type = self._determine_hardware()
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:    
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 1385, in 
_determine_hardware
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 raise weewx.WeeWxIOError("Unable to read hardware type")
Jul 10 17:46:34 meteo-raspi weewx[4390] CRITICAL weewx.engine:  
 WeeWxIOError: Unable to read hardware type

Any suggestion?

Regards,
Yves

-- 
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/fd6e8299-3b73-4cd8-92ac-22f9087228f5n%40googlegroups.com.


[weewx-user] New Bootstrap issue for multi-language

2023-07-10 Thread Yves Martin
Hi,

I am trying the new Boostrap and I have a lot of trouble...

I want to use the multi-language option so I set as the documentation says 
in weewx.conf:

[[StandardReport]]
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and 
other
# customizations. Many of those changes can be made here by 
overriding
# parameters, or by modifying templates within the skin itself.

# The StandardReport uses the 'Standard' skin, which contains the
# images, templates and plots for the report.
skin = Bootstrap

[[Bootstrap-fr]]
skin = Bootstrap
HTML_ROOT = /var/www/weewx/fr
lang = fr
enable = true

[[Bootstrap-en]]
skin = Bootstrap
HTML_ROOT = /var/www/weewx/en
lang = en
enable = true

[[Bootstrap-es]]
skin = Bootstrap
HTML_ROOT = /var/www/weewx/es
lang = es
enable = true

But I have this error :

Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed.
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/stats.html.tmpl failed.
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/stats.html.tmpl
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed.
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:46 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/indiceUV.html.tmpl failed.
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/indiceUV.html.tmpl
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'time_since_last_rain'
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/day.html.tmpl failed.
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/day.html.tmpl
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/week.html.tmpl failed.
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/week.html.tmpl
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/month.html.tmpl failed.
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/Bootstrap/month.html.tmpl
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'locale'
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/Bootstrap/year.html.tmpl failed.
Jul 10 16:56:47 meteo-raspi weewx[1797] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/w

[weewx-user] Gauge icons stop upgrading ...

2023-07-07 Thread Yves Martin
Hi,

Since I've upgraded weewx from 3.x to 4.x, my gauge icons stop refreshing:

outTempGauge
outHumidityGauge
barometerGauge
windRoseGauge

Is there any update I've missed?

Trying to find why but I cannot find a reason.

Any suggestion?

Yves,
YMartin.com/meteo

-- 
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/a04ca634-aaed-49f0-9642-136bde0f4474n%40googlegroups.com.


Re: [weewx-user] Transfering db from Python 2 to 3 with sqlite ...

2023-07-04 Thread Yves Martin
Here are some information:

sqlite> .show
echo: off
 eqp: off
 explain: auto
 headers: off
mode: list
   nullvalue: ""
  output: stdout
colseparator: "|"
rowseparator: "\n"
   stats: off
   width:
filename: /var/lib/weewx/weewx.sdb
sqlite> .dbinfo ?DB?
unable to read database header
sqlite> .dbinfo /var/lib/weewx/weewx.sdb
unable to read database header
sqlite> .dbinfo weewx.sdb
unable to read database header

(...)

What is the best way to copy this database from one raspberry Pi to another 
one?

YM

Le mardi 4 juillet 2023 à 17 h 18 min 46 s UTC-4, p q a écrit :

> The error says the disk image is malformed. Can you open the database file 
> with another tool, such as DB Browser or SQLite itself?
>
> If it's true and the database is messed up, then you may need to get a 
> back up if you have one.
>
> On Tue, Jul 4, 2023 at 2:04 PM Yves Martin  wrote:
>
>> Hi,
>>
>> I've upgraded the Debian distribution (from version 7 to 10) and Python 
>> 2.7 to 3.8.
>>
>> I've copied the sqlite database in /var/lib/weewx/ to the new 
>> distribution.
>>
>> Unfortunately, when I start weewx, I have this error :
>>
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 130, in __init__
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   self.sqlkeys = self.connection.columnsOf(self.table_name)
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 187, in columnsOf
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   column_list = [row[1] for row in self.genSchemaOf(table)]
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 187, in 
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   column_list = [row[1] for row in self.genSchemaOf(table)]
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 176, in 
>> genSchemaOf
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   for row in self.connection.execute("""PRAGMA 
>> table_info(%s);""" % table):
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   sqlite3.DatabaseError: database disk image is malformed
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   Exiting.
>>
>> I cannot find here this kind of error.
>> Any help or suggestion will be appreciated.
>>
>> Regards,
>> Yves
>> YMartin.com/meteo
>>
>> -- 
>> 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/61339c2c-7deb-4c69-88c8-f2e3a0edcfd2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/61339c2c-7deb-4c69-88c8-f2e3a0edcfd2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Peter Quinn
> (415)794-2264 <(415)%20794-2264>
>

-- 
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/d556a0b8-1387-40f8-b13e-6dddb74c079fn%40googlegroups.com.


Re: [weewx-user] Transfering db from Python 2 to 3 with sqlite ...

2023-07-04 Thread Yves Martin
Hi Tom,

I use the 32 bit distribution (the version of Raspberry Pi 2 B I have do 
not support the 64 bits).

In fact I have 2 raspberry Pi 2B, one is working live for now with the old 
version of Debian distribution, under Python 2.7 and another one I'm using 
for the upgrade with the new distribution and using Python 3.7.3 ...

What I'm doing is copying the sqlite database in /var/lib/weewx/weewx.sdb 
from the old board to the new one ... using "mc". I love this tool, this is 
really usefull.

Of course, before I stop weewx. It seems the database is corrupted when I 
copy it, but don't worry, this is just the copy and I hardly learned when I 
lost my database in 2014 ... with the years to do backup every night with a 
small script.

How Can I check if the database is correct when I copy it? I'm not very 
familiar with sqlite ...

YM
Le mardi 4 juillet 2023 à 17 h 22 min 43 s UTC-4, Tom Keffer a écrit :

> I'd say somewhere along the way your sqlite file got damaged. Did you 
> change from 32-bit to 64-bit when you did the OS upgrade?
>
> Do you have a backup?
>
> If not, you may be able to use the ".recover" command in the 
> utility sqlite3. See 
> https://www.sqlite.org/cli.html#recover_data_from_a_corrupted_database
>
> -tk
>
> On Tue, Jul 4, 2023 at 2:04 PM Yves Martin  wrote:
>
>> Hi,
>>
>> I've upgraded the Debian distribution (from version 7 to 10) and Python 
>> 2.7 to 3.8.
>>
>> I've copied the sqlite database in /var/lib/weewx/ to the new 
>> distribution.
>>
>> Unfortunately, when I start weewx, I have this error :
>>
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/manager.py", line 130, in __init__
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   self.sqlkeys = self.connection.columnsOf(self.table_name)
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 187, in columnsOf
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   column_list = [row[1] for row in self.genSchemaOf(table)]
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 187, in 
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   column_list = [row[1] for row in self.genSchemaOf(table)]
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>> File "/usr/share/weewx/weedb/sqlite.py", line 176, in 
>> genSchemaOf
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   for row in self.connection.execute("""PRAGMA 
>> table_info(%s);""" % table):
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   sqlite3.DatabaseError: database disk image is malformed
>> Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__: 
>>   Exiting.
>>
>> I cannot find here this kind of error.
>> Any help or suggestion will be appreciated.
>>
>> Regards,
>> Yves
>> YMartin.com/meteo
>>
>> -- 
>>
> 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/61339c2c-7deb-4c69-88c8-f2e3a0edcfd2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/61339c2c-7deb-4c69-88c8-f2e3a0edcfd2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/7fb3a970-9a7a-46a9-ba6e-a14dd05a59a6n%40googlegroups.com.


[weewx-user] Transfering db from Python 2 to 3 with sqlite ...

2023-07-04 Thread Yves Martin
Hi,

I've upgraded the Debian distribution (from version 7 to 10) and Python 2.7 
to 3.8.

I've copied the sqlite database in /var/lib/weewx/ to the new distribution.

Unfortunately, when I start weewx, I have this error :

Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
  File "/usr/share/weewx/weewx/manager.py", line 130, in __init__
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    self.sqlkeys = self.connection.columnsOf(self.table_name)
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 187, in columnsOf
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    column_list = [row[1] for row in self.genSchemaOf(table)]
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 187, in 
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    column_list = [row[1] for row in self.genSchemaOf(table)]
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 176, in genSchemaOf
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    for row in self.connection.execute("""PRAGMA table_info(%s);""" 
% table):
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    sqlite3.DatabaseError: database disk image is malformed
Jul 04 15:17:09 weewx4-raspi python3[377]: weewx[377] CRITICAL __main__:   
    Exiting.

I cannot find here this kind of error.
Any help or suggestion will be appreciated.

Regards,
Yves
YMartin.com/meteo

-- 
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/61339c2c-7deb-4c69-88c8-f2e3a0edcfd2n%40googlegroups.com.


Re: [weewx-user] Re: Air Quality Sensor ?

2023-07-03 Thread Yves Martin
Hi Tom,

I used the last version of aprx, this seems better, but now I have another 
error linked to mysql lite.

Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weewx/manager.py", line 130, in __init__
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    self.sqlkeys = self.connection.columnsOf(self.table_name)
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 187, in columnsOf
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    column_list = [row[1] for row in self.genSchemaOf(table)]
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 187, in 
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    column_list = [row[1] for row in self.genSchemaOf(table)]
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
  File "/usr/share/weewx/weedb/sqlite.py", line 176, in genSchemaOf
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    for row in self.connection.execute("""PRAGMA table_info(%s);""" 
% table):
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    sqlite3.DatabaseError: database disk image is malformed
Jul 01 11:41:32 weewx4-raspi python3[375]: weewx[375] CRITICAL __main__:   
    Exiting.
root@weewx4-raspi:/home/ymartin#

(...)

Of course, I just copy the old database to the new server. Is there some 
updates or something to convert this?

regards
Yves
Le samedi 1 juillet 2023 à 17 h 04 min 54 s UTC-4, Tom Keffer a écrit :

> Noted!
>
> Yves, check around. Apparently your copy did not come from gjr's 
> repository.
>
> OTOH, maybe his copy works better?
>
> -tk
>
> On Sat, Jul 1, 2023 at 2:02 PM gjr80  wrote:
>
>> I would tread carefully here, it is some time since I last touched 
>> weewx-aprx <https://github.com/gjr80/weewx-aprx> and I seem to remember 
>> there was more than one player in the 'WeeWX aprx' field. As far as I am 
>> aware the line:
>>
>> self.lat   = d.get('lat', {})
>>
>> has not been used in any weewx-aprx <https://github.com/gjr80/weewx-aprx>
>>  code.
>>
>> Gary
>> On Saturday, 1 July 2023 at 21:08:48 UTC+1 tke...@gmail.com wrote:
>>
>>> Have you tried upgrading your copy of weewx-aprx 
>>> <https://github.com/gjr80/weewx-aprx/tree/master>? The current copy 
>>> looks quite different from the one you seem to be using.
>>>
>>> On Sat, Jul 1, 2023 at 8:39 AM Yves Martin  wrote:
>>>
>>>> Hi Vince,
>>>>
>>>> You're probably a programmer, not me. I did some in my old time in asm 
>>>> but it was with a Z80, in opl, pascal, basic and Clarion and that was my 
>>>> last experience in programming.
>>>>
>>>> I can play a bit but I don't want to spend my time learning Python, I 
>>>> have no time for that unfortunately. Perhaps in a few years when my 
>>>> business will give me more spare time ...
>>>>
>>>> I checked in the forums but I could not not find theses errors, plus it 
>>>> seems these error are from existing programs working now with Python 
>>>> 2.7.3... For example, it seems there is some tab of space at the wrong 
>>>> place in a program wrote in 2017 (aprx.py). I believe something change 
>>>> between Python 2.7 and 3, some help will be welcome. I can do more than 
>>>> waiting, just give me some hints.
>>>>
>>>> Perhaps my config file (weewx.conf) has to be updated or checked with 
>>>> Python3 ?
>>>>
>>>> Also I use some script addon (*nicksengines*) and I don't know if I 
>>>> have to check some update if I use Python3?
>>>>
>>>> It will be a god idea of course to use a more recent distribution for 
>>>> security issues, but in another hand, the Raspberry Pi server is just used 
>>>> locally, not NATted...
>>>>
>>>> Regards,
>>>> Yves
>>>>
>>>> Le vendredi 30 juin 2023 à 21 h 52 min 04 s UTC-4, vince a écrit :
>>>>
>>>>> Yves - apologies for my earlier too cranky reply.
>>>>>
>>>>> When you see an error in your logs, the first thing to do is to look 
>>>>> up the exact error message in the search feature for this Goo

Re: [weewx-user] Re: Air Quality Sensor ?

2023-07-03 Thread Yves Martin
Hi Tom,

No I did not. I thought it was coming with the weewx distribution.
It has been installed a fews years ago in fact and I never touch it then.

YM
Le samedi 1 juillet 2023 à 16 h 08 min 48 s UTC-4, Tom Keffer a écrit :

> Have you tried upgrading your copy of weewx-aprx 
> <https://github.com/gjr80/weewx-aprx/tree/master>? The current copy looks 
> quite different from the one you seem to be using.
>
> On Sat, Jul 1, 2023 at 8:39 AM Yves Martin  wrote:
>
>> Hi Vince,
>>
>> You're probably a programmer, not me. I did some in my old time in asm 
>> but it was with a Z80, in opl, pascal, basic and Clarion and that was my 
>> last experience in programming.
>>
>> I can play a bit but I don't want to spend my time learning Python, I 
>> have no time for that unfortunately. Perhaps in a few years when my 
>> business will give me more spare time ...
>>
>> I checked in the forums but I could not not find theses errors, plus it 
>> seems these error are from existing programs working now with Python 
>> 2.7.3... For example, it seems there is some tab of space at the wrong 
>> place in a program wrote in 2017 (aprx.py). I believe something change 
>> between Python 2.7 and 3, some help will be welcome. I can do more than 
>> waiting, just give me some hints.
>>
>> Perhaps my config file (weewx.conf) has to be updated or checked with 
>> Python3 ?
>>
>> Also I use some script addon (*nicksengines*) and I don't know if I have 
>> to check some update if I use Python3?
>>
>> It will be a god idea of course to use a more recent distribution for 
>> security issues, but in another hand, the Raspberry Pi server is just used 
>> locally, not NATted...
>>
>> Regards,
>> Yves
>>
>> Le vendredi 30 juin 2023 à 21 h 52 min 04 s UTC-4, vince a écrit :
>>
>>> Yves - apologies for my earlier too cranky reply.
>>>
>>> When you see an error in your logs, the first thing to do is to look up 
>>> the exact error message in the search feature for this Google Group, and if 
>>> it is not there then try to Google for that exact message. It is almost 
>>> certain that the message you are seeing is a known thing that has a known 
>>> solution.
>>>
>>> Doing a quick groups and Google search almost always finds your solution 
>>> much quicker than posting a "what do I do" kind of message.
>>>
>>> In your case, a Google search for "TabError: inconsistent use of tabs 
>>> and spaces in indentation" will return many pages explaining what your 
>>> current issue is, and you'll also possibly learn a little more about how 
>>> python works.
>>>
>>> On Friday, June 30, 2023 at 2:18:43 PM UTC-7 Yves Martin wrote:
>>>
>>>> First test with new Debian distribution and new Python ... I get a 
>>>> couple of errors ...
>>>>
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   self.loadServices(config_dict)
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__: File "/usr/share/weewx/weewx/engine.py", line 161, 
>>>> in 
>>>> loadServices
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   obj = weeutil.weeutil.get_object(svc)(self, 
>>>> config_dict)
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__: File "/usr/share/weewx/weeutil/weeutil.py", line 
>>>> 1335, in get_object
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   mod = __import__(module)
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__: File "/usr/share/weewx/user/aprx.py", line 66
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   self.lat   = d.get('lat', {})
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   ^
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   TabError: inconsistent use of tabs and spaces in 
>>>> indentation
>>>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL 
>>>> __main__:   Exiting.
>>>>
>>>> (...)
>>

[weewx-user] Re: Air Quality Sensor ?

2023-07-01 Thread Yves Martin
Hi Vince,

You're probably a programmer, not me. I did some in my old time in asm but 
it was with a Z80, in opl, pascal, basic and Clarion and that was my last 
experience in programming.

I can play a bit but I don't want to spend my time learning Python, I have 
no time for that unfortunately. Perhaps in a few years when my business 
will give me more spare time ...

I checked in the forums but I could not not find theses errors, plus it 
seems these error are from existing programs working now with Python 
2.7.3... For example, it seems there is some tab of space at the wrong 
place in a program wrote in 2017 (aprx.py). I believe something change 
between Python 2.7 and 3, some help will be welcome. I can do more than 
waiting, just give me some hints.

Perhaps my config file (weewx.conf) has to be updated or checked with 
Python3 ?

Also I use some script addon (*nicksengines*) and I don't know if I have to 
check some update if I use Python3?

It will be a god idea of course to use a more recent distribution for 
security issues, but in another hand, the Raspberry Pi server is just used 
locally, not NATted...

Regards,
Yves

Le vendredi 30 juin 2023 à 21 h 52 min 04 s UTC-4, vince a écrit :

> Yves - apologies for my earlier too cranky reply.
>
> When you see an error in your logs, the first thing to do is to look up 
> the exact error message in the search feature for this Google Group, and if 
> it is not there then try to Google for that exact message. It is almost 
> certain that the message you are seeing is a known thing that has a known 
> solution.
>
> Doing a quick groups and Google search almost always finds your solution 
> much quicker than posting a "what do I do" kind of message.
>
> In your case, a Google search for "TabError: inconsistent use of tabs and 
> spaces in indentation" will return many pages explaining what your current 
> issue is, and you'll also possibly learn a little more about how python 
> works.
>
> On Friday, June 30, 2023 at 2:18:43 PM UTC-7 Yves Martin wrote:
>
>> First test with new Debian distribution and new Python ... I get a couple 
>> of errors ...
>>
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   self.loadServices(config_dict)
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>> File "/usr/share/weewx/weewx/engine.py", line 161, in 
>> loadServices
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>> File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
>> get_object
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   mod = __import__(module)
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>> File "/usr/share/weewx/user/aprx.py", line 66
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   self.lat   = d.get('lat', {})
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   ^
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   TabError: inconsistent use of tabs and spaces in indentation
>> Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__: 
>>   Exiting.
>>
>> (...)
>>
>> Le vendredi 30 juin 2023 à 15 h 46 min 55 s UTC-4, Yves Martin a écrit :
>>
>>> Hi Vince,
>>>
>>> This is already done (new Raspberry Pi 10 with Python 3.9) ... but how 
>>> to transfert all to the new one?
>>> If I copy all from one to the new one, is weewx will work under Python3?
>>>
>>> (/usr/share/, /var/, /etc/ directories etc...)
>>>
>>> Yves
>>> Le vendredi 30 juin 2023 à 15 h 40 min 20 s UTC-4, vince a écrit :
>>>
>>>> debian 7 was end-of-life over 5 years ago and is no longer getting 
>>>> security updates.  You should build a new SD card with a current RaspiOS 
>>>> on 
>>>> it, which will have python3 there by default.   Reinstall everything you 
>>>> have added to your current os onto the new SD card.
>>>>
>>>> Once you have the new SD using weewx and python3 you will meet the 
>>>> prerequisites for the airlink extension.
>>>>
>>>> On Friday, June 30, 2023 at 4:51:33 AM UTC-7 Yves Martin wrote:
>>>>
>>&

[weewx-user] Re: Air Quality Sensor ?

2023-06-30 Thread Yves Martin
First test with new Debian distribution and new Python ... I get a couple 
of errors ...

Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    self.loadServices(config_dict)
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
  File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
  File "/usr/share/weewx/weeutil/weeutil.py", line 1335, in 
get_object
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    mod = __import__(module)
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
  File "/usr/share/weewx/user/aprx.py", line 66
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    self.lat   = d.get('lat', {})
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    ^
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    TabError: inconsistent use of tabs and spaces in indentation
Jun 30 16:17:08 weewx4-raspi python3[374]: weewx[374] CRITICAL __main__:   
    Exiting.

(...)

Le vendredi 30 juin 2023 à 15 h 46 min 55 s UTC-4, Yves Martin a écrit :

> Hi Vince,
>
> This is already done (new Raspberry Pi 10 with Python 3.9) ... but how to 
> transfert all to the new one?
> If I copy all from one to the new one, is weewx will work under Python3?
>
> (/usr/share/, /var/, /etc/ directories etc...)
>
> Yves
> Le vendredi 30 juin 2023 à 15 h 40 min 20 s UTC-4, vince a écrit :
>
>> debian 7 was end-of-life over 5 years ago and is no longer getting 
>> security updates.  You should build a new SD card with a current RaspiOS on 
>> it, which will have python3 there by default.   Reinstall everything you 
>> have added to your current os onto the new SD card.
>>
>> Once you have the new SD using weewx and python3 you will meet the 
>> prerequisites for the airlink extension.
>>
>> On Friday, June 30, 2023 at 4:51:33 AM UTC-7 Yves Martin wrote:
>>
>>> Hi Vince,
>>>
>>> What I'm looking for is to ingrate pertinent information about "Air 
>>> Quality" on my Meteo Station. If there is a third party extension doing it, 
>>> I will take it!
>>> If I have to upgrade Python to version 3.x, I will do it too (but I need 
>>> to know how... and what is the impact of my actual setting).
>>> If there is an easy way to do it, this is perfect! ;)
>>>
>>> Actually I"m using Debian 7.11 with Python 2.7.3
>>>
>>> Regards,
>>>
>>> Yves,
>>> YMartin.com/meteo
>>>
>>> Le jeudi 29 juin 2023 à 18 h 34 min 42 s UTC-4, vince a écrit :
>>>
>>>> Not sure what you're looking for in terms of an answer here.  Yes there 
>>>> is a third-party extension if you attempt to look for it even minimally. 
>>>>  Yes it requires a modern python version.  Yes there is an easy way to 
>>>> integrate it.  Install and configure that extension like you would do with 
>>>> any other extension.
>>>>
>>>> On Thursday, June 29, 2023 at 1:24:13 PM UTC-7 Yves Martin wrote:
>>>>
>>>>> Hi Vince,
>>>>>
>>>>> I'm using the "Davis Air Quality Sensor" with my phone (Installed here 
>>>>> http://45.73.0.50:8080/v1/current_conditions)
>>>>> Here is the information about the device: 
>>>>> https://www.davisinstruments.com/pages/airlink
>>>>>
>>>>> I am looking to integrate this sensor to my meteo station ... 
>>>>> (YMartin.com/meteo)
>>>>> I'm using a Davis Vantage Pro2 since a while now, and with weewx it 
>>>>> works very well since 2014.
>>>>>
>>>>> I already asked here if something exists for this Air Quality Sensor, 
>>>>> and I get an answer that I have to upgrade my version (3.9.2 to 4.x.x) 
>>>>> and 
>>>>> perhaps upgrade also my Python version too and the device was already 
>>>>> supported (I did not find this in the documentation).
>>>>>
>>>>> I've set another Raspberry Pi with Debian 10 and Python 3.9 ... but 
>>>>> before I change and transfert the data to the new plateform, I would like 
>>>>> to know if there is an easy way 

[weewx-user] Re: Air Quality Sensor ?

2023-06-30 Thread Yves Martin
Hi Vince,

This is already done (new Raspberry Pi 10 with Python 3.9) ... but how to 
transfert all to the new one?
If I copy all from one to the new one, is weewx will work under Python3?

(/usr/share/, /var/, /etc/ directories etc...)

Yves
Le vendredi 30 juin 2023 à 15 h 40 min 20 s UTC-4, vince a écrit :

> debian 7 was end-of-life over 5 years ago and is no longer getting 
> security updates.  You should build a new SD card with a current RaspiOS on 
> it, which will have python3 there by default.   Reinstall everything you 
> have added to your current os onto the new SD card.
>
> Once you have the new SD using weewx and python3 you will meet the 
> prerequisites for the airlink extension.
>
> On Friday, June 30, 2023 at 4:51:33 AM UTC-7 Yves Martin wrote:
>
>> Hi Vince,
>>
>> What I'm looking for is to ingrate pertinent information about "Air 
>> Quality" on my Meteo Station. If there is a third party extension doing it, 
>> I will take it!
>> If I have to upgrade Python to version 3.x, I will do it too (but I need 
>> to know how... and what is the impact of my actual setting).
>> If there is an easy way to do it, this is perfect! ;)
>>
>> Actually I"m using Debian 7.11 with Python 2.7.3
>>
>> Regards,
>>
>> Yves,
>> YMartin.com/meteo
>>
>> Le jeudi 29 juin 2023 à 18 h 34 min 42 s UTC-4, vince a écrit :
>>
>>> Not sure what you're looking for in terms of an answer here.  Yes there 
>>> is a third-party extension if you attempt to look for it even minimally. 
>>>  Yes it requires a modern python version.  Yes there is an easy way to 
>>> integrate it.  Install and configure that extension like you would do with 
>>> any other extension.
>>>
>>> On Thursday, June 29, 2023 at 1:24:13 PM UTC-7 Yves Martin wrote:
>>>
>>>> Hi Vince,
>>>>
>>>> I'm using the "Davis Air Quality Sensor" with my phone (Installed here 
>>>> http://45.73.0.50:8080/v1/current_conditions)
>>>> Here is the information about the device: 
>>>> https://www.davisinstruments.com/pages/airlink
>>>>
>>>> I am looking to integrate this sensor to my meteo station ... 
>>>> (YMartin.com/meteo)
>>>> I'm using a Davis Vantage Pro2 since a while now, and with weewx it 
>>>> works very well since 2014.
>>>>
>>>> I already asked here if something exists for this Air Quality Sensor, 
>>>> and I get an answer that I have to upgrade my version (3.9.2 to 4.x.x) and 
>>>> perhaps upgrade also my Python version too and the device was already 
>>>> supported (I did not find this in the documentation).
>>>>
>>>> I've set another Raspberry Pi with Debian 10 and Python 3.9 ... but 
>>>> before I change and transfert the data to the new plateform, I would like 
>>>> to know if there is an easy way to integrate this sensor to weewx?
>>>>
>>>> Regards,
>>>>
>>>> Yves
>>>> YMartin.com/meteo
>>>>
>>>> Le jeudi 29 juin 2023 à 16 h 09 min 52 s UTC-4, vince a écrit :
>>>>
>>>>> What have you searched for ?
>>>>> (hint - try some searches)
>>>>>
>>>>> I would be surprised if anything modern works with python2...
>>>>>
>>>>> On Thursday, June 29, 2023 at 1:00:35 PM UTC-7 Yves Martin wrote:
>>>>>
>>>>>>
>>>>>> 15 h 58 (maintenant) 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Hi,
>>>>>>
>>>>>> Is the Devis "Air Quality Sensor" is natively supported in the last 
>>>>>> version of weewx? (4.9.1) 
>>>>>>
>>>>>> I'm using Python 2.7.3 (I've heard I will need Python 3...)?
>>>>>>
>>>>>> I've added a link to my meteo station and I will be happy to get the 
>>>>>> data and add these information in my meteo station. With the poor Air 
>>>>>> quality we had in Montreal in the last days, it will be important to 
>>>>>> share 
>>>>>> this information. (http://45.73.0.50:8080/v1/current_conditions)
>>>>>>
>>>>>> Yves,
>>>>>> YMartin.com/meteo
>>>>>>
>>>>>

-- 
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/8c4c04f9-9fd5-4436-8320-be625c95afd5n%40googlegroups.com.


[weewx-user] Re: Air Quality Sensor ?

2023-06-30 Thread Yves Martin
Hi Vince,

What I'm looking for is to ingrate pertinent information about "Air 
Quality" on my Meteo Station. If there is a third party extension doing it, 
I will take it!
If I have to upgrade Python to version 3.x, I will do it too (but I need to 
know how... and what is the impact of my actual setting).
If there is an easy way to do it, this is perfect! ;)

Actually I"m using Debian 7.11 with Python 2.7.3

Regards,

Yves,
YMartin.com/meteo

Le jeudi 29 juin 2023 à 18 h 34 min 42 s UTC-4, vince a écrit :

> Not sure what you're looking for in terms of an answer here.  Yes there is 
> a third-party extension if you attempt to look for it even minimally.  Yes 
> it requires a modern python version.  Yes there is an easy way to integrate 
> it.  Install and configure that extension like you would do with any other 
> extension.
>
> On Thursday, June 29, 2023 at 1:24:13 PM UTC-7 Yves Martin wrote:
>
>> Hi Vince,
>>
>> I'm using the "Davis Air Quality Sensor" with my phone (Installed here 
>> http://45.73.0.50:8080/v1/current_conditions)
>> Here is the information about the device: 
>> https://www.davisinstruments.com/pages/airlink
>>
>> I am looking to integrate this sensor to my meteo station ... 
>> (YMartin.com/meteo)
>> I'm using a Davis Vantage Pro2 since a while now, and with weewx it works 
>> very well since 2014.
>>
>> I already asked here if something exists for this Air Quality Sensor, and 
>> I get an answer that I have to upgrade my version (3.9.2 to 4.x.x) and 
>> perhaps upgrade also my Python version too and the device was already 
>> supported (I did not find this in the documentation).
>>
>> I've set another Raspberry Pi with Debian 10 and Python 3.9 ... but 
>> before I change and transfert the data to the new plateform, I would like 
>> to know if there is an easy way to integrate this sensor to weewx?
>>
>> Regards,
>>
>> Yves
>> YMartin.com/meteo
>>
>> Le jeudi 29 juin 2023 à 16 h 09 min 52 s UTC-4, vince a écrit :
>>
>>> What have you searched for ?
>>> (hint - try some searches)
>>>
>>> I would be surprised if anything modern works with python2...
>>>
>>> On Thursday, June 29, 2023 at 1:00:35 PM UTC-7 Yves Martin wrote:
>>>
>>>>
>>>> 15 h 58 (maintenant) 
>>>> 
>>>> 
>>>> 
>>>> Hi,
>>>>
>>>> Is the Devis "Air Quality Sensor" is natively supported in the last 
>>>> version of weewx? (4.9.1) 
>>>>
>>>> I'm using Python 2.7.3 (I've heard I will need Python 3...)?
>>>>
>>>> I've added a link to my meteo station and I will be happy to get the 
>>>> data and add these information in my meteo station. With the poor Air 
>>>> quality we had in Montreal in the last days, it will be important to share 
>>>> this information. (http://45.73.0.50:8080/v1/current_conditions)
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>>

-- 
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/0eb3042d-5708-493d-b701-ef7ab5945cd5n%40googlegroups.com.


Re: [weewx-user] Re: Air Quality Sensor ?

2023-06-29 Thread Yves Martin
Hello Tom,

what a shame. Are there alternatives?
Tom, do you plan to add it later?
Air quality becomes just as important an index as temperature or humidity 
now...

*PS: Thanks also for all these years of support and this beautiful 
software.*

Yves,
YMartin.com/meteo
Le jeudi 29 juin 2023 à 16 h 43 min 36 s UTC-4, Tom Keffer a écrit :

> Hello, Yves
>
> Unfortunately, no, there is no driver for the Davis AirLink.
>
> On Thu, Jun 29, 2023 at 1:24 PM Yves Martin  wrote:
>
>> Hi Vince,
>>
>> I'm using the "Davis Air Quality Sensor" with my phone (Installed here 
>> http://45.73.0.50:8080/v1/current_conditions)
>> Here is the information about the device: 
>> https://www.davisinstruments.com/pages/airlink
>>
>> I am looking to integrate this sensor to my meteo station ... 
>> (YMartin.com/meteo)
>> I'm using a Davis Vantage Pro2 since a while now, and with weewx it works 
>> very well since 2014.
>>
>> I already asked here if something exists for this Air Quality Sensor, and 
>> I get an answer that I have to upgrade my version (3.9.2 to 4.x.x) and 
>> perhaps upgrade also my Python version too and the device was already 
>> supported (I did not find this in the documentation).
>>
>> I've set another Raspberry Pi with Debian 10 and Python 3.9 ... but 
>> before I change and transfert the data to the new plateform, I would like 
>> to know if there is an easy way to integrate this sensor to weewx?
>>
>> Regards,
>>
>> Yves
>> YMartin.com/meteo
>>
>> Le jeudi 29 juin 2023 à 16 h 09 min 52 s UTC-4, vince a écrit :
>>
>>> What have you searched for ?
>>> (hint - try some searches)
>>>
>>> I would be surprised if anything modern works with python2...
>>>
>>> On Thursday, June 29, 2023 at 1:00:35 PM UTC-7 Yves Martin wrote:
>>>
>>>>
>>>> 15 h 58 (maintenant) 
>>>> 
>>>> 
>>>> 
>>>> Hi,
>>>>
>>>> Is the Devis "Air Quality Sensor" is natively supported in the last 
>>>> version of weewx? (4.9.1) 
>>>>
>>>> I'm using Python 2.7.3 (I've heard I will need Python 3...)?
>>>>
>>>> I've added a link to my meteo station and I will be happy to get the 
>>>> data and add these information in my meteo station. With the poor Air 
>>>> quality we had in Montreal in the last days, it will be important to share 
>>>> this information. (http://45.73.0.50:8080/v1/current_conditions)
>>>>
>>>> Yves,
>>>> YMartin.com/meteo
>>>>
>>> -- 
>> 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/52cf6f4a-1c56-4e37-82fd-5556b5459ff2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/52cf6f4a-1c56-4e37-82fd-5556b5459ff2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/79c4fb0b-754d-4ed9-8958-06064ff442c1n%40googlegroups.com.


[weewx-user] Re: Air Quality Sensor ?

2023-06-29 Thread Yves Martin
Hi Vince,

I'm using the "Davis Air Quality Sensor" with my phone (Installed here 
http://45.73.0.50:8080/v1/current_conditions)
Here is the information about the device: 
https://www.davisinstruments.com/pages/airlink

I am looking to integrate this sensor to my meteo station ... 
(YMartin.com/meteo)
I'm using a Davis Vantage Pro2 since a while now, and with weewx it works 
very well since 2014.

I already asked here if something exists for this Air Quality Sensor, and I 
get an answer that I have to upgrade my version (3.9.2 to 4.x.x) and 
perhaps upgrade also my Python version too and the device was already 
supported (I did not find this in the documentation).

I've set another Raspberry Pi with Debian 10 and Python 3.9 ... but before 
I change and transfert the data to the new plateform, I would like to know 
if there is an easy way to integrate this sensor to weewx?

Regards,

Yves
YMartin.com/meteo

Le jeudi 29 juin 2023 à 16 h 09 min 52 s UTC-4, vince a écrit :

> What have you searched for ?
> (hint - try some searches)
>
> I would be surprised if anything modern works with python2...
>
> On Thursday, June 29, 2023 at 1:00:35 PM UTC-7 Yves Martin wrote:
>
>>
>> 15 h 58 (maintenant) 
>> 
>> 
>> 
>> Hi,
>>
>> Is the Devis "Air Quality Sensor" is natively supported in the last 
>> version of weewx? (4.9.1) 
>>
>> I'm using Python 2.7.3 (I've heard I will need Python 3...)?
>>
>> I've added a link to my meteo station and I will be happy to get the data 
>> and add these information in my meteo station. With the poor Air quality we 
>> had in Montreal in the last days, it will be important to share this 
>> information. (http://45.73.0.50:8080/v1/current_conditions)
>>
>> Yves,
>> YMartin.com/meteo
>>
>

-- 
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/52cf6f4a-1c56-4e37-82fd-5556b5459ff2n%40googlegroups.com.


[weewx-user] Air Quality Sensor ?

2023-06-29 Thread Yves Martin

15 h 58 (maintenant) 



Hi,

Is the Devis "Air Quality Sensor" is natively supported in the last version 
of weewx? (4.9.1) 

I'm using Python 2.7.3 (I've heard I will need Python 3...)?

I've added a link to my meteo station and I will be happy to get the data 
and add these information in my meteo station. With the poor Air quality we 
had in Montreal in the last days, it will be important to share this 
information. (http://45.73.0.50:8080/v1/current_conditions)

Yves,
YMartin.com/meteo

-- 
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/02522b60-ead1-4103-a527-b35d893e0262n%40googlegroups.com.


[weewx-user] Air Quality Sensor ...

2023-06-29 Thread Yves Martin
Hi,

Is the Devis "Air Quality Sensor" is natively supported in the last version 
of weewx? (4.9.1) (http://45.73.0.50:8080/v1/current_conditions)

I'm using Python 2.7.3 (I've heard I will need Python 3...)?

I've added a link to my meteo station and I will be happy to get the data 
and add these information in my meteo station. With the poor Air quality we 
had in Montreal in the last days, it will be important to share this 
information.

Yves,
YMartin.com/meteo

-- 
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/0289ecbd-26a9-4c8c-b174-970b0d5ceaben%40googlegroups.com.


Re: [weewx-user] Upgrade from 3.9.2 using Python 2.7.3

2023-06-29 Thread Yves Martin
The upgrade do not work on my old Debian 7.

So I created a new Debian (10) installing Python 3.9.

I will install the old version 3.9.2-1 on it, then I will copy the full 
config and database and then I will upgrade.

But when I want to install this old version (weewx_3.9.2-1_all.deb) I have 
this error :

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package weewx_3.9.2-1_all.deb
E: Couldn't find any package by glob 'weewx_3.9.2-1_all.deb'
E: Couldn't find any package by regex 'weewx_3.9.2-1_all.deb'

Why ?

Yves

Le jeudi 29 juin 2023 à 11 h 08 min 36 s UTC-4, Yves Martin a écrit :

> I've finally compiled/installed version 3.9.17 of Python ... it seems to 
> be the more last stable and safe version ...
> I hope I will run a couple of years yet with this wonderfull weewx 
> software!
>
> Yves,
> YMartin.com/meteo
>
> Le jeudi 29 juin 2023 à 10 h 39 min 01 s UTC-4, Yves Martin a écrit :
>
>> Hi,
>>
>> OK ... (I'm like my customers, I do not read all !... Sorry for that).
>>
>> I'm planing to upgrade the OS (not too much space on the SD card after 
>> all these years, and in the same time upgrading the Debian distribution (to 
>> version 10).
>>
>> Legacy version integrate Python 2.7. What version of Python do you 
>> suggest to be up to date ? 3.8? 3.9?
>>
>> Regards,
>> Yves
>>
>> Le jeudi 29 juin 2023 à 10 h 17 min 07 s UTC-4, Tom Keffer a écrit :
>>
>>> Generally, you can upgrade directly to the last version.
>>>
>>> It's all in the upgrade guide: 
>>> http://www.weewx.com/docs/latest/upgrading.htm
>>>
>>>
>>>
>>> On Thu, Jun 29, 2023 at 6:52 AM Yves Martin  wrote:
>>>
>>>> Thanks a lot!
>>>>
>>>> From version 3.9.2, can I upgrade to the last version or should I 
>>>> upgrade progressively?
>>>>
>>>> Regards,
>>>> Yves
>>>>
>>>> Le jeudi 29 juin 2023 à 09 h 30 min 10 s UTC-4, Tom Keffer a écrit :
>>>>
>>>>> WeeWX Version 4 works with Python 2.7, so you simply need to upgrade 
>>>>> WeeWX.
>>>>>
>>>>> On Thu, Jun 29, 2023 at 6:15 AM Yves Martin  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm using an old version (but very stable) of weewx (3.9.2) using 
>>>>>> Python 2.7.3.
>>>>>>
>>>>>> Is it possible to upgrade to version 4 with this Python version or do 
>>>>>> I need to upgrade Python?
>>>>>>
>>>>>> If I need to upgrade Python, do you have some HowTo somewhere for 
>>>>>> weewx?
>>>>>>
>>>>>> PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to weewx-user+...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> 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/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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/e5f18bc8-a069-40ee-a660-21272bf29db1n%40googlegroups.com.


Re: [weewx-user] Upgrade from 3.9.2 using Python 2.7.3

2023-06-29 Thread Yves Martin
I've finally compiled/installed version 3.9.17 of Python ... it seems to be 
the more last stable and safe version ...
I hope I will run a couple of years yet with this wonderfull weewx software!

Yves,
YMartin.com/meteo

Le jeudi 29 juin 2023 à 10 h 39 min 01 s UTC-4, Yves Martin a écrit :

> Hi,
>
> OK ... (I'm like my customers, I do not read all !... Sorry for that).
>
> I'm planing to upgrade the OS (not too much space on the SD card after all 
> these years, and in the same time upgrading the Debian distribution (to 
> version 10).
>
> Legacy version integrate Python 2.7. What version of Python do you suggest 
> to be up to date ? 3.8? 3.9?
>
> Regards,
> Yves
>
> Le jeudi 29 juin 2023 à 10 h 17 min 07 s UTC-4, Tom Keffer a écrit :
>
>> Generally, you can upgrade directly to the last version.
>>
>> It's all in the upgrade guide: 
>> http://www.weewx.com/docs/latest/upgrading.htm
>>
>>
>>
>> On Thu, Jun 29, 2023 at 6:52 AM Yves Martin  wrote:
>>
>>> Thanks a lot!
>>>
>>> From version 3.9.2, can I upgrade to the last version or should I 
>>> upgrade progressively?
>>>
>>> Regards,
>>> Yves
>>>
>>> Le jeudi 29 juin 2023 à 09 h 30 min 10 s UTC-4, Tom Keffer a écrit :
>>>
>>>> WeeWX Version 4 works with Python 2.7, so you simply need to upgrade 
>>>> WeeWX.
>>>>
>>>> On Thu, Jun 29, 2023 at 6:15 AM Yves Martin  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm using an old version (but very stable) of weewx (3.9.2) using 
>>>>> Python 2.7.3.
>>>>>
>>>>> Is it possible to upgrade to version 4 with this Python version or do 
>>>>> I need to upgrade Python?
>>>>>
>>>>> If I need to upgrade Python, do you have some HowTo somewhere for 
>>>>> weewx?
>>>>>
>>>>> PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858
>>>>>
>>>>> Thanks!
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to weewx-user+...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> 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/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/6dc74646-5e7e-4997-a8ea-8c1caa45de7cn%40googlegroups.com.


Re: [weewx-user] Upgrade from 3.9.2 using Python 2.7.3

2023-06-29 Thread Yves Martin
Hi,

OK ... (I'm like my customers, I do not read all !... Sorry for that).

I'm planing to upgrade the OS (not too much space on the SD card after all 
these years, and in the same time upgrading the Debian distribution (to 
version 10).

Legacy version integrate Python 2.7. What version of Python do you suggest 
to be up to date ? 3.8? 3.9?

Regards,
Yves

Le jeudi 29 juin 2023 à 10 h 17 min 07 s UTC-4, Tom Keffer a écrit :

> Generally, you can upgrade directly to the last version.
>
> It's all in the upgrade guide: 
> http://www.weewx.com/docs/latest/upgrading.htm
>
>
>
> On Thu, Jun 29, 2023 at 6:52 AM Yves Martin  wrote:
>
>> Thanks a lot!
>>
>> From version 3.9.2, can I upgrade to the last version or should I upgrade 
>> progressively?
>>
>> Regards,
>> Yves
>>
>> Le jeudi 29 juin 2023 à 09 h 30 min 10 s UTC-4, Tom Keffer a écrit :
>>
>>> WeeWX Version 4 works with Python 2.7, so you simply need to upgrade 
>>> WeeWX.
>>>
>>> On Thu, Jun 29, 2023 at 6:15 AM Yves Martin  wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm using an old version (but very stable) of weewx (3.9.2) using 
>>>> Python 2.7.3.
>>>>
>>>> Is it possible to upgrade to version 4 with this Python version or do I 
>>>> need to upgrade Python?
>>>>
>>>> If I need to upgrade Python, do you have some HowTo somewhere for weewx?
>>>>
>>>> PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858
>>>>
>>>> Thanks!
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to weewx-user+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/148e83b9-eb19-46e8-bd5c-988bde9c0a8bn%40googlegroups.com.


Re: [weewx-user] Upgrade from 3.9.2 using Python 2.7.3

2023-06-29 Thread Yves Martin
Thanks a lot!

>From version 3.9.2, can I upgrade to the last version or should I upgrade 
progressively?

Regards,
Yves

Le jeudi 29 juin 2023 à 09 h 30 min 10 s UTC-4, Tom Keffer a écrit :

> WeeWX Version 4 works with Python 2.7, so you simply need to upgrade WeeWX.
>
> On Thu, Jun 29, 2023 at 6:15 AM Yves Martin  wrote:
>
>> Hi,
>>
>> I'm using an old version (but very stable) of weewx (3.9.2) using Python 
>> 2.7.3.
>>
>> Is it possible to upgrade to version 4 with this Python version or do I 
>> need to upgrade Python?
>>
>> If I need to upgrade Python, do you have some HowTo somewhere for weewx?
>>
>> PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858
>>
>> Thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/d47436c4-ea86-427a-b03b-d2db67b8ea24n%40googlegroups.com.


[weewx-user] Upgrade from 3.9.2 using Python 2.7.3

2023-06-29 Thread Yves Martin
Hi,

I'm using an old version (but very stable) of weewx (3.9.2) using Python 
2.7.3.

Is it possible to upgrade to version 4 with this Python version or do I 
need to upgrade Python?

If I need to upgrade Python, do you have some HowTo somewhere for weewx?

PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com.


Re: [weewx-user] Raspberry Pi ... What's happening?

2023-03-30 Thread Yves Martin
Hi,

Thank you for all these point of view and advices.

Because I am using an old kernel of Linux and Python, I have to upgrade the 
OS to be able to use the last version of WeeWx and add my Air Quality 
sensor (supported now!) and also the size of my micro-SD (from 16GB to 
32...).
WeeWx works fine since 2014 and I hope this will continue. This soft is a 
rock!
I will continue with my actual board because it works fine and from your 
messages, I don't need to change this.

Regards,

YMartin.com/meteo
Le jeudi 30 mars 2023 à 10 h 37 min 54 s UTC-4, Peter Fletcher a écrit :

> I would endorse the 'if it aint broke, don't replace it' approach. I have 
> a 1 GB 3B running the latest version of weewx and a number of other 
> services for home control, and there would still be plenty of spare 
> capacity if I could think of something else I wanted to do with it. An 8GB 
> 4B would be extreme overkill unless you have some other specific reasons 
> for needing a Pi with all that power.
>
> On Wednesday, March 29, 2023 at 7:51:46 PM UTC-4 Greg Troxel wrote:
>
>> Yves Martin  writes: 
>>
>> > What model of motherboard with how much memory on it, do you suggest 
>> for 
>> > weewx? I have here an old version (Raspberry Pi 2B 1GB) and it works 
>> well 
>> > but the board is 4-5 years old. It is time to upgrade. What is your 
>> > suggestion? 
>>
>> I am using a 3B with 1 GB of RAM, and it works fine. 4-5 years is just 
>> not that old for a computer. If it's reliable, and you aren't running 
>> out of cpu cycles, there's no need to change anything. If anything, you 
>> might want to use a USB SSD as your system and data disk. 
>>
>> Also look at low-power server-type x86 boards. Possibilities include 
>> pcengines apu2 and protectli. 
>>
>

-- 
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/e013197d-548a-41e3-96e4-769caf03dabfn%40googlegroups.com.


[weewx-user] Raspberry Pi ... What's happening?

2023-03-29 Thread Yves Martin
Hi,

I've ordered 6 months ago 2 Raspberry Pi 4B 8GB, and they are still BO, and 
the price triple since! It looks like, it becomes very difficult to get 
this board now at a reasonable price.

What model of motherboard with how much memory on it, do you suggest for 
weewx? I have here an old version (Raspberry Pi 2B 1GB) and it works well 
but the board is 4-5 years old. It is time to upgrade. What is your 
suggestion?

Ref : https://ymartin.com/meteo/about.html

*PS: I'm using an old version of weewx (v3.9.2), and I want to add a 
AirQuality device to it, so I need to upgrade... *

Regards,

YMartin.com/meteo

-- 
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/3f4a3f72-f27a-420e-af1f-aed2f327d4b5n%40googlegroups.com.


  1   2   >