Re: [weewx-user] Export and Append to Text File Each Report Cycle

2025-02-13 Thread 'Rory Gillies' via weewx-user
t; instead of "N/A". > > See format() > <https://www.weewx.com/docs/5.1/custom/cheetah-generator/#format> in the > Customization Guide. > > > On Thu, Feb 13, 2025 at 8:58 AM 'Rory Gillies' via weewx-user > mailto:weewx-user@googlegroups.com>>

Re: [weewx-user] Re: Export and Append to Text File Each Report Cycle

2025-02-13 Thread &#x27;Rory Gillies&#x27; via weewx-user
>> won't work. >> >> However, Python syntax will work. Try this: >> >> $("%.2f" % $rainacc) >> >> >> >> >> >> On Thu, Dec 19, 2024 at 5:21 AM 'Rory Gillies' via weewx-user < >> weewx...@googlegroup

Re: [weewx-user] [StdCalibrate] Wind Logic

2025-01-16 Thread &#x27;Rory Gillies&#x27; via weewx-user
> >>> i mis-spoke. no assignment in ‘else’ e.g. >>> >>> windSpeed = 20 if windSpeed == 0 else windSpeed*1.15 >>> >>> note: in this case, if windSpeed is None, then None*1.15 throws an >>> error (silently, without enough debug level) and no action

Re: [weewx-user] [StdCalibrate] Wind Logic

2025-01-16 Thread &#x27;Rory Gillies&#x27; via weewx-user
syntax 2025-01-16T10:28:04.199402+00:00 weewx5 weewxd[2361]: CRITICAL __main__: Exiting. On Thursday, January 16, 2025 at 10:10:20 AM UTC Graham Eddy wrote: > python syntax: should be = not == in the ‘else’s > > semantics: presumably testing as they make no sense > *⊣GE⊢* >

Re: [weewx-user] Re: Export and Append to Text File Each Report Cycle

2024-12-19 Thread &#x27;Rory Gillies&#x27; via weewx-user
per that > WeeWX normally traffics in, so suffixes such as .round() and .format() > won't work. > > However, Python syntax will work. Try this: > > $("%.2f" % $rainacc) > > > > > > On Thu, Dec 19, 2024 at 5:21 AM 'Rory Gillies' via weew

[weewx-user] Re: Export and Append to Text File Each Report Cycle

2024-12-19 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks for the help, I've got this running pretty well now, however I have an issue with formatting a variable. The WXSim developer has told me the expected rain value is an accumulator for the year. I created a $rainacc so the template code looks like this: #set $rainacc = $year.rain.sum.raw -

[weewx-user] Re: Export and Append to Text File Each Report Cycle

2024-12-19 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Gary, that did the trick! Doesn't take long on my RPi 5 for 19 days in December: 2024-12-19T08:55:33.656223+00:00 weewx5 weewxd[1317867]: INFO weewx.cheetahgenerator: Generated 1 files for report cumulus in 3.50 seconds Cheers, Rory On Thursday, December 19, 2024 at 3:57:23 AM UTC gjr80

Re: [weewx-user] Export and Append to Text File Each Report Cycle

2024-12-18 Thread &#x27;Rory Gillies&#x27; via weewx-user
 AM 'Rory Gillies' via weewx-user < > weewx...@googlegroups.com> wrote: > >> Hi, at first I thought this would be quite easy but I'm struggling a bit. >> The background is I need a text file to import into WXSim using the Cumulus >> %Y%mlog.txt format.

[weewx-user] Export and Append to Text File Each Report Cycle

2024-12-18 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, at first I thought this would be quite easy but I'm struggling a bit. The background is I need a text file to import into WXSim using the Cumulus %Y%mlog.txt format. I created a simple skin that generates the %Y%mlog.txt each reporting cycle (5 minutes in my case), but is there a way to appe

[weewx-user] Re: WeeWX - WU Text Forecast

2024-11-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Gary, I was completely overthinking it and forgetting about gauge-data.txt! I've added a small script in index.html.tmpl to pull the forecast string out of the gauge-data.txt json string, works a treat. Short Term Forecast: const xmlhttp = new XMLHttpRequest(); xmlhttp.onload = functio

Re: [weewx-user] NOAA Reports - Heating Degree Days

2024-09-30 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks for the detailed response Gary, I should have said I am still on 4.10.2, are the base temperature stanzas available in this version? I like the idea of putting it in the Weewx config rather than the skin. Rory > On 30 Sep 2024, at 10:02, gjr80 wrote: > > The simple part of the answer -

[weewx-user] NOAA Reports - Heating Degree Days

2024-09-30 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, quick question about the heating degree days algorithm used in the NOAA text reports. I assume this uses the US base temperature of 18.3°C (65°F)? In the UK we use 15.5°C (59.9°F), is there any way of changing it to this? Thanks, Rory -- You received this message because you are subscribe

Re: [weewx-user] Second Anemometer - Davis Vantage Pro2 Plus

2024-06-20 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Rich, I couldn’t get it to work with both anemometers, I had to set the roof anemometer up as the main anemometer for the ISS in WeatherLinkLive which meant unplugging the one connected to the ISS. It works great and I’m getting much more accurate wind observations. If there’s a problem with

[weewx-user] Re: Second Anemometer - Davis Vantage Pro2 Plus

2024-03-04 Thread &#x27;Rory Gillies&#x27; via weewx-user
OK, after a bit of digging I have found the setting in the Drealine WLL driver I am using, you have to add in the extra wind sensor even though it shows up as the main anemometer in the WLL interface / Davis console. On Sunday, March 3, 2024 at 10:16:35 AM UTC Rory Gillies wrote: > I may be ove

[weewx-user] Second Anemometer - Davis Vantage Pro2 Plus

2024-03-03 Thread &#x27;Rory Gillies&#x27; via weewx-user
I may be over thinking this but I have added a second sensor transmitter with an anemometer mounted on my roof. I use a WeatherLink Live and can see the data from the second anemometer but Weewx (4.10.2) does not, even if I unplug the one attached to the main ISS. The idea is the new anemometer

[weewx-user] Re: Unplanned upgrade from 4.10.2 to 5.0.1 broke it all...

2024-02-07 Thread &#x27;Rory Gillies&#x27; via weewx-user
I nearly did that as well, I thought you had to add a new repository for apt-get to pick up the new version, or is it in the original one now? I take it you don't have a backup of your working 4.10.2 install? I have a simple cron job that copies all the various WeeWx locations and files to the

[weewx-user] Re: Rescaling of SteelSeries Gauges

2024-02-01 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Gary, I have raised an issue on his repository. On Thursday, February 1, 2024 at 9:15:39 AM UTC gjr80 wrote: > Correct, not a RTGD or WeeWX issue. Something perhaps to take up with the > SteelSeries Weather Gauges author > https://github.com/mcrossley/SteelSeries-Weather-Gauges > > Gary

[weewx-user] Rescaling of SteelSeries Gauges

2024-02-01 Thread &#x27;Rory Gillies&#x27; via weewx-user
I am using the SteelSeries gauges with RTGD on a 3 second update as a stand-alone weather display on an old iPad. It looks great, however the constant rescaling of the gauges for no apparent reason is a real problem. Glancing at the display it should be possible to determine the temperature and

[weewx-user] Re: SteelSeries RTGD Auto Scaling / Ranging

2024-01-13 Thread &#x27;Rory Gillies&#x27; via weewx-user
I have fixed the graphs showing inside temp / humidity by removing them from the SS skin.conf, my mistake not looking in there! On Saturday, January 13, 2024 at 12:24:26 PM UTC Rory Gillies wrote: > I'm trying to get my head round the auto scaling of temp / dew point with > the SteelSeries gau

[weewx-user] SteelSeries RTGD Auto Scaling / Ranging

2024-01-13 Thread &#x27;Rory Gillies&#x27; via weewx-user
I'm trying to get my head round the auto scaling of temp / dew point with the SteelSeries gauges using RTGD. The most appropriate range for my location is -10ºC to +25ºC, however I have set it to -10 to +30 in gauges.js to push the 0ºC location to the left of the gauge. For some reason it keep

Re: [weewx-user] Wind Run in RTGD with SteelSeries Gauges

2024-01-02 Thread &#x27;Rory Gillies&#x27; via weewx-user
That’s fixed it Gary, many thanks! Happy New Year, Rory > On 1 Jan 2024, at 19:54, gjr80 wrote: > > Rory, > > There is a bug in the realtime gauge extension windrun unit conversion, the > net result was that when specifying wind speed in mile_per_hour windrun was > left as the km value rath

[weewx-user] Re: Wind Run in RTGD with SteelSeries Gauges

2024-01-01 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Gary, that's great, thanks for the update. I replaced rtgd.py with version 0.6.5 and the wind run odometer is now working and updating. One issue remains, the wind run displayed on the odometer is different to that displayed on my current conditions page, could this be due to the way it is c

Re: [weewx-user] Wind Run in RTGD with SteelSeries Gauges

2023-12-30 Thread &#x27;Rory Gillies&#x27; via weewx-user
#x27;Rory Gillies' via weewx-user < > weewx...@googlegroups.com> wrote: > > > > I also noticed that after a while (around 10 minutes but sometimes more) > the interface stops updating. > > The default is to timeout after 20m unless you have passed the correct >

[weewx-user] Re: Neowx Rain radar and webcam

2023-12-13 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Mazufa, My station uses a fork of NeoWX Material (www.360shetland/weather), I've added in loads of extras, and there's a couple of very good and reasonably active forks on Github: https://github.com/seehase/neowx-material. To add in radar / webcam you can create inc files with iFrames then a

Re: [weewx-user] A howto for rsync in weewx.

2023-11-23 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Tomás, Many thanks for your reply, it turns out the config was all correct but there was a typo in the remote server IP address in weewx.conf! A very cryptic error for the wrong server address. All working now. Rory > On 23 Nov 2023, at 12:43, Tomás wrote: > > Hello! Maybe because weewx

[weewx-user] Re: A howto for rsync in weewx.

2023-11-23 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks for this, I can't FTP at the moment so turning to rsync. I have everything set up (instead of using www-data I am using the same user I use for FTP which has full access to /var/www/html/. I have set up the keys and can do a passwordless login from root on the local machine to the web use

Re: [weewx-user] Cheetah Syntax Error

2023-05-29 Thread &#x27;Rory Gillies&#x27; via weewx-user
> You need another equal sign: > > #if $counter == 1 and $tide.hilo == 'L' <-- error generated here > > > On Mon, May 29, 2023 at 1:43 AM 'Rory Gillies' via weewx-user < > weewx...@googlegroups.com> wrote: > >> I am trying to do a simple bit of lo

[weewx-user] Cheetah Syntax Error

2023-05-29 Thread &#x27;Rory Gillies&#x27; via weewx-user
I am trying to do a simple bit of logic to add an empty table row if two conditions are met but the Cheetah generator is throwing up a syntax error and I can't work out why. This loop generates a table of high tides, but if the first tidal event is low tide I don't want the high tide displayed i

[weewx-user] Re: WeeWX Forecast - Tides Another Question!

2023-05-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Jon, this is what I did: Convert the tide offset from feet to metres: #set $height=$tide.offset.raw / 3.281 Then display the height with two decimal places: #echo '%.2f' % $height Works good for me! On Friday, May 26, 2023 at 12:21:45 PM UTC+1 Jon Fear wrote: > I have finally got XTides w

[weewx-user] WeeWX Forecast - Tides Question

2023-05-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, I have the forecasting extension set up and working, and now have tides for my local port working on my ephemeris page: https://www.360shetland.co.uk/weather/almanac.html The code I am using to display the tides is: #if len($tides) > 0 High Tide DateTim

[weewx-user] Re: Issue with WeeWX Forecast - XTide Thread

2023-05-22 Thread &#x27;Rory Gillies&#x27; via weewx-user
Not an elegant solution but I just converted the feet to metres: #set $tides = $forecast.xtides #if len($tides) > 0 #for $tide in $tides #set $height=$tide.offset.raw / 3.281 $tide.event_ts.format("%a %d %H:%M") $tide.hilo #echo '%.2f' % $height m #end for Produces: Mon 2

[weewx-user] Re: Issue with WeeWX Forecast - XTide Thread

2023-05-22 Thread &#x27;Rory Gillies&#x27; via weewx-user
OK, I sussed it out by adding duration = 1209600 to the XTide section. I thought this was the default value as it is commented out in forecast.py but it needs to be there for it to work. Now I have the tides the heights are showing up in feet, not metres, any idea how to change this? Thanks,

[weewx-user] Issue with WeeWX Forecast - XTide Thread

2023-05-22 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, I am trying to add tides to my ephemeris page on my website but having difficulty getting it to work. I'm not at the stage of adding he code to my page template yet as I can't seem to get valid tide data. I am running forecast version 3.4.0b12. I have the nonfree data installed and XTide is

[weewx-user] Re: Day and Time Format

2023-05-17 Thread &#x27;Rory Gillies&#x27; via weewx-user
You're a star Vince, that worked perfectly. [image: Screenshot 2023-05-17 at 08.38.52.png] Thanks all for the help and suggestions. I know it may seem insignificant formatting but it's the proper way to display this type of observation. Rory On Tuesday, May 16, 2023 at 9:00:11 PM UTC+1 vince w

[weewx-user] Re: Day and Time Format

2023-05-16 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Vince, but that's the problem, it doesn't seem to adhere to the normal formatting options. If I change the code to this: Issued at $forecast.zambretti.issued_ts.format($Extras.Formatting.datetime.format("%H:%M %d-%b")) Then the card displays th

[weewx-user] Day and Time Format

2023-05-15 Thread &#x27;Rory Gillies&#x27; via weewx-user
I know there must be an easy answer to this but it's eluding me at the moment! I use the Neowx-Material skin and have created a custom Zambretti forecast card using the Weewx Forecast extension on the index.html page which looks like this: [image: Screenshot 2023-05-15 at 10.13.50.png] The cod

Re: [weewx-user] WeeWX-Forecast 3.4.0b12 - Zambretti Update Issue

2023-02-10 Thread &#x27;Rory Gillies&#x27; via weewx-user
t; # before 09:00 will return the previous day forecast. If the forecast has > # already been generated, it will not be re-generated. > >> On Feb 10, 2023, at 6:36 AM, 'Rory Gillies' via weewx-user >> wrote: >> >> Hi, >> >> I'm running

[weewx-user] WeeWX-Forecast 3.4.0b12 - Zambretti Update Issue

2023-02-10 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, I'm running WeeWX 4.8 on a RPi with Debian Bullseye (WeeWX installed via DEB package). I am using the chaunceygardiner version of weewx-forecast 3.4.0b12 with a SQLite forecast database. The forecast extension works fine with the exception of the Zambr

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-01-30 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Again Karen K! It needed a little bit of tweaking but now it’s working great. Here’s the working code extract from week.html.tmpl: #from weewx.units import ValueTuple, ValueHelper #attr $dayradiationacc=0 #attr $n=0 #for $dd in $year.days

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-01-28 Thread &#x27;Rory Gillies&#x27; via weewx-user
I'm still struggling with this. Here's the updated code: #errorCatcher Echo #from weewx.units import ValueTuple, ValueHelper #set $dayradiationacc=0 #for $dd in $week.days #set $light=$daylight(timestamp=$dd) #set $dayradiation=$light.radiation.sum.raw #set $dayradiationacc=$dayradiationacc+$dayra

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-01-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks again. I have removed the .raw, but as you say $dayradiationacc is not initialised: Jan 26 19:30:32 weather weewx[625144] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/neowx-material/week.html.tmpl failed. Jan 26 19:30:32 weather weewx[625144] ERROR weewx.cheetahge

Re: [weewx-user] New Timespan $daylight for the time while sun is up

2023-01-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks! That’s moved the error down a line so I’m moving in the right direction. I can’t seem to iterate through the for loop to add each day’s average radiation. > On 26 Jan 2023, at 12:59, Karen K wrote: > > rory.g...@googlemail.com schrieb am Mittwoch, 25. Januar 2023 um 14:22:27 > UTC+1:

[weewx-user] Re: New Timespan $daylight for the time while sun is up

2023-01-25 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, I originally sent this to the author but posting here as well. I am trying to use the $daylight tag to display the daylight average of UV and Radiation values. It works fine in the current day and yesterday templates, but generates an error when I try to use accumulator code for the week,

Re: [weewx-user] FTP Upload Failed - 0kb File on Remote Server

2023-01-03 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, both servers are running vsftpd. On Monday, January 2, 2023 at 7:59:51 PM UTC tke...@gmail.com wrote: > Do you know what kind of FTP server they are? > > On Mon, Jan 2, 2023 at 9:38 AM 'Rory Gillies' via weewx-user < > weewx...@googlegroups.com> wrote: > >

Re: [weewx-user] FTP Upload Failed - 0kb File on Remote Server

2023-01-02 Thread &#x27;Rory Gillies&#x27; via weewx-user
t; it will also give more detail about what's happening. > > > > On Mon, Jan 2, 2023 at 1:53 AM 'Rory Gillies' via weewx-user < > weewx...@googlegroups.com> wrote: > >> Hi, and Happy New Year. I am experiencing an issue with FTP upload to my >> s

[weewx-user] FTP Upload Failed - 0kb File on Remote Server

2023-01-02 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, and Happy New Year. I am experiencing an issue with FTP upload to my servers, occasionally (say around once a week) WeeWX fails to upload and there is a single HTML file on the remote server with 0kb file size (it's not a specific file, however it is usually one of the year or month reports

[weewx-user] FTP Upload Failed - 0kb html file on server

2023-01-02 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, and Happy New Year. I am experiencing an issue with FTP upload to my servers, occasionally (say around once a week) WeeWX fails to upload and there is a single HTML file on the remote server with 0kb file size (it's not a specific file, however it is usually one of the year or month reports

[weewx-user] Re: WeatherlinkliveUDP and WU Rapidfire

2022-12-04 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi Brent, Yes I did, I changed the driver to this one: https://github.com/Drealine/weatherlinklive-driver-weewx It sorts out the disappearing pressure readings and has more configuration options than WeatherLinkLive UDP. Hope this helps, Rory On Sunday, December 4, 2022 at 7:31:24 AM UTC bre

Re: [weewx-user] Neowx skin sample site [3]

2022-11-18 Thread &#x27;Rory Gillies&#x27; via weewx-user
? > While I managed to do this in the Seasons skin, I was never successful > with neowx-material. > > cheers > > Rainer > On 15.11.2022 12:51, 'Rory Gillies' via weewx-user wrote: > > > I've been using it for a while now, there's a fe

Re: [weewx-user] Re: Neowx skin sample site

2022-11-18 Thread &#x27;Rory Gillies&#x27; via weewx-user
Head over to this GitHub repository: https://github.com/seehase/neowx-material you'll find many of the enhancements there including the history page and the wind direction graph. Some of the additions are my own, such as the Windy forecast and satellite cards, I'll attach them here once I chang

Re: [weewx-user] Re: Neowx skin sample site [2]

2022-11-15 Thread &#x27;Rory Gillies&#x27; via weewx-user
I've been using it for a while now, there's a few of us working on enhancements, some of them you can see on my site: https//www.360shetland.co.uk/weather On Monday, November 14, 2022 at 9:52:45 PM UTC lang@googlemail.com wrote: > Vielleicht ist Englisch zu kompliziert - also, man kann ei

[weewx-user] Re: Exclude UV from WU wee_import

2022-11-06 Thread &#x27;Rory Gillies&#x27; via weewx-user
Thanks Gary, I used a combination of both methods, using the QC to exclude UV values greater than 7 on import, then using the SQLite commands to change the values to be more representative. The command below clips all values above 1.8 between 01/102021 and 31/102021 as 1.8 is the typical maximu

[weewx-user] Re: Exclude UV from WU wee_import

2022-10-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Here's an example of the spikes, it's like this for every month. The highest UV we get up here is no more than 7. [image: Screenshot 2022-10-26 at 11.09.28.png] On Wednesday, October 26, 2022 at 11:07:20 AM UTC+1 Rory Gillies wrote: > I am importing historic data from Weather Underground using

[weewx-user] Exclude UV from WU wee_import

2022-10-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
I am importing historic data from Weather Underground using wee_import and it is largely working fine, however the data I am importing has erroneous UV spikes in the data (but still valid values so not picked up by the --ignore_invalid-data_switch) . Is there any way I can exclude the UV data d

[weewx-user] AWEKAS Staionweb Style Skin

2022-09-08 Thread &#x27;Rory Gillies&#x27; via weewx-user
I recently started uploading to AWEKAS and have a month free of the Staionweb display. I really like this but not keen to pay 50 eur a year for it. Is there any similar compact skins for Weewx? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

[weewx-user] Re: Add missing data to records

2022-03-30 Thread &#x27;Rory Gillies&#x27; via weewx-user
Problem solved, I copied the DB to my Mac then deleted the records with the missing data using DB Browser, copied it back in then used wee_import to restore the data and calculate the derived values. Although only an hour of data I like to have a complete set of observations for each day. I use

[weewx-user] Add missing data to records

2022-03-28 Thread &#x27;Rory Gillies&#x27; via weewx-user
I use WeatherLink Live to collect data from my Davis Vantage 2 Pro Plus and pull it in to Weewx using the WeatherlinkliveUDP driver. For some reason my WLL lost connection to the weather station for an hour this afternoon. The WLL provides pressure and indoor temp / humidity data, so weewx creat

[weewx-user] Re: WeatherlinkliveUDP and WU Rapidfire

2022-02-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
I meant to say, WeatherLinkLiveUDP is set to 10s interval, it makes no difference at 30s, so I assume the UDP packets from WLL only send the pressure every 30 seconds or so. On Saturday, February 26, 2022 at 12:42:05 PM UTC Rory Gillies wrote: > Hi, > > I am using the WeatherLinkLiveUDP driver

[weewx-user] WeatherlinkliveUDP and WU Rapidfire

2022-02-26 Thread &#x27;Rory Gillies&#x27; via weewx-user
Hi, I am using the WeatherLinkLiveUDP driver with Weewx to access my David Vantage Pro2 Plus station. Everything works a treat (you can see my weather page here using the excellent Neowx-Material skin: https://www.360shetland.co.uk/weather/index.html I upload to PWS Weather, Windy, and Weather