Re: [weewx-user] Re: [Belchertown] strange rain information

2020-07-16 Thread jterr...@gmail.com
Hi Didier, maxSolarRad is one of the parameters that are calculated by weewx - see http://weewx.com/docs/usersguide.htm#StdWXCalculate It is the theoretical maximum solar radiation expected at your location. Le mercredi 15 juillet 2020 à 19:05:28 UTC+2, didier@gmail.com a écrit : > Hi Pat

[weewx-user] Iterate over records for the last 24h

2021-07-26 Thread jterr...@gmail.com
Hi, I am trying to define a template that would list selected data for each record for the last 24h Here is my test code, running on Weewx 4.5.1 : test 24h #for $_record in $span($hour_delta=24).records $_record.dateTime.format("%Y-%m-%d"), $_record.dateTime.format("%H:%M:%S") #end for

Re: [weewx-user] Belchertown weekly graph

2023-09-30 Thread jterr...@gmail.com
Lorin, According to your "week" configuration, Belchertown should normally create a json file named week.json. (http://www.gestionlgt.com/Chalet/json/week.json). Your problem seems to be due to the fact that another template is overwriting the week.json file, and that the format of this json

[weewx-user] Re: Separate weewx.log file -- instructions/suggestions all over the place

2023-08-17 Thread jterr...@gmail.com
On my side, I configured a separate log file (/var/log/weewx.conf) and rotation by simply adding a [Logging] stanza in weewx.conf file - see https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging - without changing anything else in the OS logging configuration. Here is the stanza I use :

[weewx-user] Re: MQTT issues

2023-08-26 Thread jterr...@gmail.com
I see some errors with your configuration : 1) mosquitto should be listening at port 1883 (Mqtt protocol) and at port 9001 (websockets protocol). Websockets is used by the javascript of the Belchertown skin. So in mosquitto.conf, you should have : listener 1883 listener 9001 protocol

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread jterr...@gmail.com
hex C2 B5 is the UTF-8 binary encoding of "micro" in a "text" file such as a python script. But as far as HTML is concerned, the html UTF-8 encoding of "micro" is either or or - see https://www.w3schools.com/charsets/tryit.asp?deci=181=micro May be cheetah converts the two binary UTF-8

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread jterr...@gmail.com
om their browser(s) that would be helpful too. > > For me, I cannot find a combination where the group_concentration label > looks correct when the .html is generated. > > On Sunday, August 27, 2023 at 7:04:17 AM UTC-7 jterr...@gmail.com wrote: > >> hex C2 B5 is the UTF-8 b

Re: [weewx-user] Wind Color Belchertown

2022-07-05 Thread jterr...@gmail.com
Hi, In Belchertown script, temperature color is set at two different places : 1) in index.html.tmpl : jQuery(document).ready(function() { #if $Extras.has_key("aqi_enabled") and $Extras.aqi_enabled == '1' get_aqi_color( "$aqi" ); #end if #if $Extras.has_key("beaufort_category")

Re: [weewx-user] Re: WDC Skin

2022-07-04 Thread jterr...@gmail.com
I don't know if it is by design or if it is a bug, but when one navigate to a given month - for instance March 2021 on your site - the 2022 year and months are no more shown in the left navigation bar, and it is therefore not possible to select and load directly to any month of 2022. Le

Re: [weewx-user] Determine archive interval from within weewx

2022-06-10 Thread jterr...@gmail.com
"Using the interval field from the current archive record should always give the correct value.". I use it in my extension and it works very well: *event.record['interval'] * Le vendredi 10 juin 2022 à 05:04:45 UTC+2, gjr80 a écrit : > Whilst in almost all cases the archive interval used by

Re: [weewx-user] Sunshine Database

2022-06-04 Thread jterr...@gmail.com
It is a very good idea to calculate the sunshine duration for each LOOP packet and sum these values to make the final archive sunshine duration. I have modified my script accordingly : https://github.com/Jterrettaz/sunduration. The logic is the following : for each received LOOP packet, the

Re: [weewx-user] Sunshine Database

2022-06-30 Thread jterr...@gmail.com
>> when it seemed unlikely that the actual radiation value would have been >> precisely constant for that length of time, so I am not sure exactly what >> is going on. In any event, I am revising the code I am using on the basis >> of doing the threshold calculation when

Re: [weewx-user] Need help for a "fresh" upgrade

2022-10-02 Thread jterr...@gmail.com
Additionnal note : since you want to move and upgrade your weewx version, you can first use the method above by installing a fresh version of weewx 3.9.2 , moving your old data, and then perform the upgrade to version 4.8. Le dimanche 2 octobre 2022 à 20:09:28 UTC+2, jterr...@gmail.com a écrit

Re: [weewx-user] Need help for a "fresh" upgrade

2022-10-02 Thread jterr...@gmail.com
To Yves Martin : this is the way I do when I need to move my weewx installation on a fresh system. It is the reverse of your method, and it works very well : 1) in the new system, install a fresh "empty" version of weewx. When asked for the location, longitude/latitude, and other information,

Re: [weewx-user] MQTT sampling frequency

2022-11-24 Thread jterr...@gmail.com
In the* [[MQTT]]* section of weewx.conf, you have to set the binding correctly : *binding = loop* or *binding = loop, archive* if you want both loop and archive data to be sent by mqtt (used by belchertown skin for exemple) Le mercredi 23 novembre 2022 à 13:26:33 UTC+1, tke...@gmail.com a

Re: [weewx-user] weedb.OperationalError: no such function: RADIANS

2023-03-09 Thread jterr...@gmail.com
I observed the same "sqlite3 Operational Error' when using by mistake. windDir.vecdir instead of wind.vecdir Le jeudi 9 mars 2023 à 10:13:40 UTC+1, Michael Waldor a écrit : > Sorry, my fault: I've modified skin.conf for weekly created images. And > I've used windDir instead of wind

[weewx-user] Re: Webpage won't connect to MQTT

2023-03-07 Thread jterr...@gmail.com
" *Using a userid and password for authentication for mqtt works...but the credentials show up as clear text in the javascript. So no real security there. Easier to just use an anonymous mqtt server. It's just weather data*." It depends on the way authentication and access control list

[weewx-user] wind.vecdir aggregation and null values for wind direction

2023-03-01 Thread jterr...@gmail.com
Hello, I observed recently that the wind.vecdir aggregation type return 90 degrees if all windDir observation are null within the aggregation period. With a Vantage Pro at least, the windDir is null if windSpeed = 0 during the archive period. So for exemple, the tag $hour.wind.vecdir.raw

[weewx-user] Re: wind.vecdir aggregation and null values for wind direction

2023-03-01 Thread jterr...@gmail.com
I forgot to say that I am running weewx 4.10.2 and that my version of sqlite3 does not support math function. Le mercredi 1 mars 2023 à 14:25:13 UTC+1, jterr...@gmail.com a écrit : > Hello, > I observed recently that the wind.vecdir aggregation type return 90 > degrees if al

[weewx-user] Re: how to change log-interval to a WS-28xx

2023-04-28 Thread jterr...@gmail.com
Did you tried to change the "archive_interval" parameter in weewx.conf ? [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 = 60* Le jeudi 27 avril 2023

[weewx-user] Re: Json error

2023-04-06 Thread jterr...@gmail.com
If you are not running the last version (v.1.3) of Belchertown skin, it may be due to the fact that the forecast data from Darksky are no more available and that the json of these forecast data is empty. Le jeudi 6 avril 2023 à 05:00:58 UTC+2, Adnan Mumtaz a écrit : I am using the belchertown

Re: [weewx-user] Weird error with days_ago in 3.8.0

2023-04-06 Thread jterr...@gmail.com
I don't know if it is related to your error, but I am surprised by the tag itself : "$days_ago($days_ago=$n).dateTime.raw" According to Weewx documentation, "$days-ago=x" should be used with the "day" aggregation : *$day*($days_ago=$n).dateTime.raw see

Re: [weewx-user] Weird error with days_ago in 3.8.0

2023-04-05 Thread jterr...@gmail.com
No sure if this is related to your errors, but it looks like the tag *$days_ago($days_ago=$n).dateTime.raw *is not correct. According to weewx documentation, ($days_ago=x) should be used with the *day* aggregation period : *$day($days_ago=$n).dateTime.raw * See

[weewx-user] Re: Belchertown / Graphs

2023-04-05 Thread jterr...@gmail.com
It appears that you are running weewx 3.9.2. The error you have shows that the new belchertown.py (v1.3) script want to access to functions in weewx.xtypes , which does not exists in version 3.9.2 You will need to install weewx 4.0 or higher to avoid this error. Le mardi 4 avril 2023 à

[weewx-user] Re: Json error

2023-04-07 Thread jterr...@gmail.com
weather APIs > > > On Thursday, 6 April 2023 at 23:54:47 UTC+3 jterr...@gmail.com wrote: > >> If you are not running the last version (v.1.3) of Belchertown skin, it >> may be due to the fact that the forecast data from Darksky are no more >> available and that the json of

[weewx-user] Re: Weewx SFTP errors

2023-02-02 Thread jterr...@gmail.com
Another way to go is to install and use the weewx-SFTP generator : https://github.com/matthewwall/weewx-sftp It is working very well with IONOS, OVHCloud and others... Le mercredi 1 février 2023 à 21:12:36 UTC+1, vince a écrit : > On Wednesday, February 1, 2023 at 11:49:24 AM UTC-8 >

Re: [weewx-user] Re: Problem with weewx SQL database

2023-07-29 Thread jterr...@gmail.com
you should edit /usr/share/weewx/user/extension.py and not /usr/share/weewx/weecfg/extension.py Le samedi 29 juillet 2023 à 10:47:31 UTC+2, Remy LAVABRE a écrit : > Thanks Gary for your response. > I added : > > > import weewx.units > weewx.units.obs_group_dict['wetbulbTemp'] =

[weewx-user] Re: MQTT / Belchertown / Connected. Waiting for data.

2023-07-22 Thread jterr...@gmail.com
Please try the following Belchertown configuration : StdReport] [[Belchertown]] skin = Belchertown HTML_ROOT = /var/www/html/weewx/belchertown enable = true [[[Extras]]] #--- MQTT Websockets (for Real Time Streaming) Options ---

[weewx-user] NEW_ACHIVE_RECORD event chronology

2023-12-05 Thread jterr...@gmail.com
I have weewx (4.10.2) configured with the Davis Vantage 2 driver, and additionally the GW1000 gateway service provides values for some more temperature sensors. Everything is working properly , and GW1000 temperature values (mapped as extraTempX) are recorded in the archive database and appear

Re: [weewx-user] Pipe errors etc

2023-12-05 Thread jterr...@gmail.com
David, I have 2 suggestions about your network problems with your IP datalogger : 1. By default, the IP datalogger will periodically send sensor real-time data and datalogger archive data to weatherlink.com servers. Weewx needs exclusive access to the IP datalogger. You may try to

Re: [weewx-user] NEW_ACHIVE_RECORD event chronology

2023-12-08 Thread jterr...@gmail.com
rd. Again as long your service appears after >> the gw1000 service and before StdArchive it should be fine. >> >> There are probably other possibilities. Will be much easier when v5.1 >> comes out with a split StdArchive :) :) >> >> Gary >> On Wednes

Re: [weewx-user] NEW_ACHIVE_RECORD event chronology

2023-12-08 Thread jterr...@gmail.com
StdArchive is called and before the GW1000 record values are generated from the accumulated LOOP packets. Le vendredi 8 décembre 2023 à 09:18:26 UTC+1, jterr...@gmail.com a écrit : > Thanks . I will also have a try with an XTYPE extension > > Le mercredi 6 décembre 2023 à 16:21:57 UTC+1

Re: [weewx-user] Pipe errors etc

2023-12-07 Thread jterr...@gmail.com
ddress for the datalogger, or any > other device configured with the same IP address. > > On Wednesday 6 December 2023 at 07:46:08 UTC jterr...@gmail.com wrote: > >> David, >> >> I have 2 suggestions about your network problems with your IP datalogger : >> >>

[weewx-user] Re: weewx.drivers.vantage: Socket error while opening port 22222

2024-01-28 Thread jterr...@gmail.com
I am coming back to your first message of this discussion since it seems that you are trying to use the weewx Vantage driver to connect to a Weatherlink Live. The communication protocol of the Weatherlink Live is completely different of the one used by VP2 or Vantage Vue + datalogger., and the

Re: [weewx-user] CLIMATOLOGICAL SUMMARY contains formulas instead of results for calculated values.

2023-11-12 Thread jterr...@gmail.com
you said "Y*up, in /usr/share/weewx/weewx.xtypes.py at line 9 we have "import logging*"". May be a typo, but it should be /usr/share/weewx/weewx/xtypes.py and not /usr/share/weewx/weewx.xtypes.py Le lundi 13 novembre 2023 à 01:45:44

[weewx-user] Re: Your hardware experience (for running WeeWX, the service)

2024-02-23 Thread jterr...@gmail.com
I installed my Weewx in 2019 on a Raspberry Pi 3B+, fitted with an mSATA extension card (such as this one : https://geekworm.com/products/raspberry-pi-3-x850-v3-0-usb-3-0-msata-ssd-storage-expansion-board ) and a 120Gb mSATA SSD. Zero issues, and still running today. Le vendredi 23 février

[weewx-user] Re: Permissions problems /var/www/html/weewx after running weectl report run

2024-04-03 Thread jterr...@gmail.com
eectl report again ? > On Tuesday, April 2, 2024 at 9:53:48 AM UTC-7 jterr...@gmail.com wrote: > >> I forgot to say that I installed weewx according to >> http://www.weewx.com/docs/5.0/quickstarts/debian/ on Debian GNU/Linux >> 12 (bookworm) >> >> >> >&g

[weewx-user] Permissions problems /var/www/html/weewx after running weectl report run

2024-04-02 Thread jterr...@gmail.com
Hello, I am configuring a new raspberry Pi 5 with Weewx 5.02. One of the skin I am using is producing daily , monthly and yearly html files, and during the first run, it take a while to generate all this files. With weewxd rot running, I used the command weectl report run to run all the

[weewx-user] Re: Permissions problems /var/www/html/weewx after running weectl report run

2024-04-02 Thread jterr...@gmail.com
I forgot to say that I installed weewx according to http://www.weewx.com/docs/5.0/quickstarts/debian/ on Debian GNU/Linux 12 (bookworm) -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving

[weewx-user] Re: Permissions problems /var/www/html/weewx after running weectl report run

2024-04-02 Thread jterr...@gmail.com
> Once the files are generated initially would user meteo ever need to run > weectl report again ? > On Tuesday, April 2, 2024 at 9:53:48 AM UTC-7 jterr...@gmail.com wrote: > >> I forgot to say that I installed weewx according to >> http://www.weewx.com/docs/5.0/quickstar

Re: [weewx-user] Sunshine Duration

2024-05-01 Thread jterr...@gmail.com
Yes, different sensors will induce difference in results. The formula used in my extension has been validated for the Davis radiation sensor with the following specifications : https://cdn.shopify.com/s/files/1/0515/5992/3873/files/6450_SS.pdf As far as I know, the Weatherflow Tempest has a

Re: [weewx-user] Sunshine Duration

2024-05-02 Thread jterr...@gmail.com
he sun until it's around 20 degrees above > eastern horizon (winter solstice) and 34 degrees (summer solstice). I think > i could get the tool to model a horizon like mine, but haven't played with > it. > > Cheers - Jon N7UV > > On Wednesday, May 1, 2024 at 1:32:41 PM UTC-7 jt

Re: [weewx-user] Sunshine Duration

2024-05-10 Thread jterr...@gmail.com
these values ? Scale them proportionally so that a value of 324 correspond to a 300 second sunshine ? Le vendredi 10 mai 2024 à 20:15:23 UTC+2, Karen K a écrit : > jterr...@gmail.com schrieb am Freitag, 10. Mai 2024 um 19:49:06 UTC+2: > > Karen, thanks. > I will do the calculation, and

Re: [weewx-user] Sunshine Duration

2024-05-10 Thread jterr...@gmail.com
Karen, thanks. I will do the calculation, and let you know. It will be interesting to have a comparison , but I need some more information , particularly the latitude and longitude of the place where your sensors are installed. I will send you a private email . Le vendredi 10 mai 2024 à