Re: [weewx-user] Re: Solar Radiation > Theoretical Max

2020-12-21 Thread moth...@gmail.com
These are the mine measurements in the Netherlands today 21-12-2020.
Ton

Op maandag 21 december 2020 om 20:24:13 UTC+1 schreef kk44...@gmail.com:

> http://www.michler-fischer.privat.t-online.de/Bulletin68_83_94.pdf
> (from Switzerland, unfortunately in german)
>
> tke...@gmail.com schrieb am Montag, 21. Dezember 2020 um 19:53:14 UTC+1:
>
>> Selection of the algorithm is in there --- just not documented. (I often 
>> do that with configurations that are not quite settled.)
>>
>> Here's the default. It will be documented in V4.3.
>>
>> [StdWXCalculate]
>>   [[WXXTypes]]
>> [[[maxSolarRad]]]
>>   algorithm = rs
>>   atc = 0.8
>>   nfac = 2
>>
>> Adjust as you please.
>>
>> -tk
>>
>> On Mon, Dec 21, 2020 at 10:47 AM Karen K  wrote:
>>
>>> First, I see 2 different formulas in WeeWX. Additionally there is a 
>>> factor that can be between 0.7 and 0.91. It may be an idea to adjust those 
>>> values. (But in the moment I found no place to put "atc" and 
>>> "maxSolarRad_algo" into weewx.conf.
>>>
>>> tke...@gmail.com schrieb am Montag, 21. Dezember 2020 um 19:38:30 UTC+1:
>>>
 Well, if someone has a better source for calculating maximum solar 
 radiation, that matches the radiation spectrum of popular sensors, I'm all 
 ears.

 On Mon, Dec 21, 2020 at 8:19 AM t...@tom.org  wrote:

> kk, glad you corroborated my observations. I am no expert in this for 
> sure. I am just tired of all of the comments I get from visitors to the 
> website about how my readings exceed theoretical max. I could remove the 
> max, but that doesn't seem fun.
>
> I do not have the expertise to validate the way weewx calculates it 
> nor am I even competent in Python, but for those who may, here is a link 
> to 
> the code:
>
>
> https://github.com/weewx/weewx/blob/d91635f3bc429f906d1f084c6a6bc8ee09fa1a27/bin/weewx/wxformulas.py#L332
>
>
>
> On Sunday, December 20, 2020 at 1:26:31 PM UTC-5 kk44...@gmail.com 
> wrote:
>
>> I found that thread interesting, so I added the column "maxSolarRad", 
>> too. 
>>
>> [image: dayradiation.png]
>> Readings of the console and the WeatherLinkLive device are quite the 
>> same. And the readings of "radiation" are higher than "maxSolarRad". The 
>> values I upload to the local weather network are well in the range of 
>> other 
>> stations nearby.
>>
>>
>> Greg Troxel schrieb am Sonntag, 20. Dezember 2020 um 17:58:01 UTC+1:
>>
>>>
>>> Greg Troxel  writes: 
>>>
>>> > Can someone share how to add maxSolarRad (when it is in the db) to 
>>> the 
>>> > graphs for the traditional skin? Can I graph radiation, max 
>>> (observed), 
>>> > and theory all at once, having three? 
>>>
>>> The answer is to just add it and label it; it comes out in green 
>>> after 
>>> radiation in blue and max in red. Pro Tip: add it after 
>>> radiation_max, 
>>> which is the max of local observations, and don't stick the line 
>>> after 
>>> the radiation_max header and the 4 lines defining how max should be. 
>>>
>>>
>>> [[[dayradiation]]] 
>>> radiation 
>>> radiation_max 
>>> data_type = radiation 
>>> aggregate_type = max 
>>> aggregate_interval = 3600 
>>> label = max 
>>> maxSolarRad 
>>> label = theory 
>>>
>> -- 
> 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/8b44e185-9f77-4cfd-b024-a7df7f79b617n%40googlegroups.com
>  
> 
> .
>
 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx-user+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/bddae2eb-83d0-48f6-a4ae-7b996a49fe45n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1b50e5cc-db3b-4352-8707-1436508561b8n%40googlegroups.com.


[weewx-user] Re: Belchertown: earthquake miles vs km's

2020-12-25 Thread moth...@gmail.com
yes, it works, thanks for the adjustment.
Ton
http://weerstationnibbixwoud.nl/

Op woensdag 28 oktober 2020 om 18:45:37 UTC+1 schreef blee...@xs4all.nl:

> Hallo Arend,
>
> Yes, it's working!
>
> Just aligning the new line after #25-10.4 solved the problem, manymany 
> thanks! 
>
> Best regards, Keimpe
>
> Op woensdag 28 oktober 2020 om 15:31:29 UTC+1 schreef Arend:
>
>> Hi Keimpe,
>>
>> I have a suspicion why it didn't work out for you. Copying your code from 
>> your previous post into a text editor revealed that the changes you made 
>> were not properly alligned. The Python language is sensitive to 
>> indentation. The screenshot below shows a green and red line. The second 
>> eqmag (#25-10.4) should have been lined up to the green line like the first 
>> eqmag (#25-10.3). But instead it was lined up to the red line, probably 
>> causing an exception (error) which would result in displaying that there 
>> was no earthquake data available.
>>
>> [image: Toelichting uitlijning code.png]
>>
>> I have included a new version of belchertown.py that has already been 
>> modified with the correct changes. Could you be so kind to download this 
>> file and use it to replace the existing belchertown.py. If this works then 
>> I will use this file for a pull request.
>>
>>
>> Mvg, Arend
>>
>>
>> Op woensdag 28 oktober 2020 om 11:38:34 UTC+1 schreef blee...@xs4all.nl:
>>
>>> Hoi Arend,
>>>
>>> Thanks for your efforts.
>>>
>>> Now changed back to the original file and (of cours) the EQ data is 
>>> back, as expected in 'mijl'.
>>> In the log there is no related error, the only recursive error is a 
>>> Failed to publish record  to WOW.
>>> Undermentioned you may find the earthquake section of belchertown.py 
>>> with the recommended changes. Between empty lines the original lines ar 
>>> commented out with #25-10.1 (#date and 1 is the line-number as suggested in 
>>> your GitHub post), following the line copied from GitHub.
>>>
>>> Regards, Keimpe
>>>
>>>  
>>> """
>>> Earthquake Data
>>> """
>>> # Only process if Earthquake data is enabled
>>> if self.generator.skin_dict['Extras']['earthquake_enabled'] == 
>>> "1":
>>> earthquake_file = html_root + "/json/earthquake.json"
>>> earthquake_stale_timer = 
>>> self.generator.skin_dict['Extras']['earthquake_stale']
>>> latitude = self.generator.config_dict['Station']['latitude']
>>> longitude = 
>>> self.generator.config_dict['Station']['longitude']
>>>
>>> #25-10.1distance_unit = converter.group_unit_dict["group_distance"]
>>> distance_unit = 
>>> self.generator.converter.group_unit_dict["group_distance"]
>>>
>>> eq_distance_label = 
>>> self.generator.skin_dict['Units']['Labels'].get(distance_unit, "")
>>> eq_distance_round = 
>>> self.generator.skin_dict['Units']['StringFormats'].get(distance_unit, 
>>> "%.1f")
>>> earthquake_maxradiuskm = 
>>> self.generator.skin_dict['Extras']['earthquake_maxradiuskm']
>>> #Sample URL from Belchertown Weather: 
>>> http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=42.223&lon=-72.374&maxradiuskm=1000&format=geojson&nodata=204&minmag=2
>>> if self.generator.skin_dict['Extras']['earthquake_server'] 
>>> == "USGS":
>>> earthquake_url = "
>>> http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=%s&lon=%s&maxradiuskm=%s&format=geojson&nodata=204&minmag=2";
>>>  
>>> % ( latitude, longitude, earthquake_maxradiuskm )
>>> elif self.generator.skin_dict['Extras']['earthquake_server'] 
>>> == "GeoNet":
>>> earthquake_url = "https://api.geonet.org.nz/quake?MMI=4";
>>> earthquake_is_stale = False
>>> 
>>> # Determine if the file exists and get it's modified time
>>> if os.path.isfile( earthquake_file ):
>>> if ( int( time.time() ) - int( os.path.getmtime( 
>>> earthquake_file ) ) ) > int( earthquake_stale_timer ):
>>> earthquake_is_stale = True
>>> else:
>>> # File doesn't exist, download a new copy
>>> earthquake_is_stale = True
>>> 
>>> # File is stale, download a new copy
>>> if earthquake_is_stale:
>>> # Download new earthquake data
>>> try:
>>> try:
>>> # Python 3
>>> from urllib.request import Request, urlopen
>>> except ImportError:
>>> # Python 2
>>> from urllib2 import Request, urlopen
>>> user_agent = 'Mozilla/5.0 (Macintosh; U; Intel Mac 
>>> OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 
>>> Safari/534.3'
>>> headers = { 'User-Agent' : user_agent }
>>> req = Request( earthquake_url, None, heade

Re: [weewx-user] Bootstrap skin update preview

2021-02-21 Thread moth...@gmail.com
Have also done an installation. Got these error messages. Use the latest 
version of Weewx and Pyhthon. The original script does not work.
Can't get it working on my system.
This is a copy of the system log.
pi@raspberrypi:~ $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:~ $ sudo wee_extension 
--install=/home/pi/Downloads/fuzzy-archer-2.26.tar.gz   
   
Request to install '/home/pi/Downloads/fuzzy-archer-2.26.tar.gz'
Extracting from tar archive /home/pi/Downloads/fuzzy-archer-2.26.tar.gz
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 88, in 
main()
  File "/usr/share/weewx/wee_extension", line 80, in main
ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 125, in 
install_extension
self.install_from_dir(extension_dir)
  File "/usr/share/weewx/weecfg/extension.py", line 147, in install_from_dir
extension_dir)
  File "/usr/share/weewx/weecfg/__init__.py", line 1866, in 
get_extension_installer
__import__('install')
  File "/var/tmp/fuzzy-archer-2.26/install.py", line 84
print ""
   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
pi@raspberrypi:~ $ sudo wee_extension 
--install=/home/pi/Downloads/fuzzy-archer-liveCharts.zip
Request to install '/home/pi/Downloads/fuzzy-archer-liveCharts.zip'
Extracting from zip archive /home/pi/Downloads/fuzzy-archer-liveCharts.zip

The following alternative languages are available:
   catala
   dutch
   espanol
   finnish
   francais
   german
   italian
   korean
   norwegian

Language changes can be made in skins/Bootstrap/skin.conf

Default location for HTML and image files is public_html/Bootstrap
*** POINT YOUR BROWSER TO: public_html/Bootstrap/index.html ***

Saving installer file to /usr/share/weewx/user/installer/bootstrap
Saved configuration dictionary. Backup copy at 
/etc/weewx/weewx.conf.20210221194236
Finished installing extension 
'/home/pi/Downloads/fuzzy-archer-liveCharts.zip'
pi@raspberrypi:~ $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
Feb 21 19:43:27 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Feb 21 19:43:27 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Retrieving 1 page(s); starting index= 3
Feb 21 19:43:27 raspberrypi weewx[23186] INFO weewx.manager: Added record 
2021-02-21 19:40:00 CET (1613932800)   to database 
'weewx.sdb'
Feb 21 19:43:27 raspberrypi weewx[23186] INFO weewx.manager: Added record 
2021-02-21 19:40:00 CET (1613932800)   to daily 
summary in 'weewx.sdb'
Feb 21 19:43:28 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
DMPAFT complete: page timestamp 2021-02-1  2 
22:20:00 CET (1613164800) less than final timestamp 2021-02-21 19:40:00 CET 
(1613932800)
Feb 21 19:43:28 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: Catch 
up complete.
Feb 21 19:43:28 raspberrypi weewx[23186] INFO weewx.engine: Starting main 
packet loop.
Feb 21 19:43:28 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Feb 21 19:43:28 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Feb 21 19:43:28 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Feb 21 19:44:28 raspberrypi dhcpcd[425]: wlan0: part of Router 
Advertisement expired
Feb 21 19:44:46 raspberrypi dhcpcd[425]: wlan0: part of Router 
Advertisement expired
Feb 21 19:45:15 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Getting archive packets since 2021-02-21 19:40:00 CET (1613932800)
Feb 21 19:45:15 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Feb 21 19:45:15 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Retrieving 1 page(s); starting index= 4
Feb 21 19:45:16 raspberrypi weewx[23186] INFO weewx.manager: Added record 
2021-02-21 19:45:00 CET (1613933100) to database 'weewx.sdb'
Feb 21 19:45:16 raspberrypi weewx[23186] INFO weewx.manager: Added record 
2021-02-21 19:45:00 CET (1613933100) to daily summary in 'weewx.sdb'
Feb 21 19:45:17 raspberrypi weewx[23186] DEBUG weewx.reportengine: Running 
reports for latest time in the database.
Feb 21 19:45:17 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Feb 21 19:45:17 raspberrypi weewx[23186] DEBUG weewx.reportengine: Running 
report 'SeasonsReport'
Feb 21 19:45:17 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
Gentle wake up of console successful
Feb 21 19:45:17 raspberrypi weewx[23186] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 
'SeasonsReport'
Feb 21 19:45:18 raspberrypi weewx[23186] DEBUG weewx.cheetahgenerator: 
Using search list ['weewx

Re: [weewx-user] Bootstrap skin update preview

2021-02-22 Thread moth...@gmail.com
Then I just wait until the latest version of python 3.7
Ton

Op zondag 21 februari 2021 om 22:26:20 UTC+1 schreef gjr80:

> The following error strongly suggests a python 2 only extension being run 
> under python 3:
>
> File "/var/tmp/fuzzy-archer-2.26/install.py", line 84
> print ""
>^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean 
> print("")?
>
> You have two options; install/run WeeWX under python 2 and install the 
> extension or approach the author to upgrade the extension to python 3. 
> There is a third option, don’t install the extension, but that does not 
> really help.
>
> Gary
>
> On Monday, 22 February 2021 at 05:58:56 UTC+10 michael.k...@gmx.at wrote:
>
>>
>> Hi,
>> did you download a "Release"? This seems to be broken. If you want to 
>> download the latest "liveCharts" version, please got to 
>> https://github.com/brewster76/fuzzy-archer/tree/liveCharts and choose 
>> "Download Zip" after clicking the green "Code" button ind install this 
>> version.
>>
>> If you want wo download the latest non-live chart version, go to 
>> https://github.com/brewster76/fuzzy-archer and do the same. 
>>
>> The latest release doesn't seem to work with python3.
>> moth...@gmail.com schrieb am Sonntag, 21. Februar 2021 um 19:54:27 UTC+1:
>>
>>> Have also done an installation. Got these error messages. Use the latest 
>>> version of Weewx and Pyhthon. The original script does not work.
>>> Can't get it working on my system.
>>> This is a copy of the system log.
>>> pi@raspberrypi:~ $ sudo /etc/init.d/weewx stop
>>> [ ok ] Stopping weewx (via systemctl): weewx.service.
>>> pi@raspberrypi:~ $ sudo wee_extension 
>>> --install=/home/pi/Downloads/fuzzy-archer-2.26.tar.gz   
>>>
>>> Request to install '/home/pi/Downloads/fuzzy-archer-2.26.tar.gz'
>>> Extracting from tar archive /home/pi/Downloads/fuzzy-archer-2.26.tar.gz
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/wee_extension", line 88, in 
>>> main()
>>>   File "/usr/share/weewx/wee_extension", line 80, in main
>>> ext.install_extension(options.install)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 125, in 
>>> install_extension
>>> self.install_from_dir(extension_dir)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 147, in 
>>> install_from_dir
>>> extension_dir)
>>>   File "/usr/share/weewx/weecfg/__init__.py", line 1866, in 
>>> get_extension_installer
>>> __import__('install')
>>>   File "/var/tmp/fuzzy-archer-2.26/install.py", line 84
>>> print ""
>>>^
>>> SyntaxError: Missing parentheses in call to 'print'. Did you mean 
>>> print("")?
>>> pi@raspberrypi:~ $ sudo wee_extension 
>>> --install=/home/pi/Downloads/fuzzy-archer-liveCharts.zip
>>> Request to install '/home/pi/Downloads/fuzzy-archer-liveCharts.zip'
>>> Extracting from zip archive 
>>> /home/pi/Downloads/fuzzy-archer-liveCharts.zip
>>>
>>> The following alternative languages are available:
>>>catala
>>>dutch
>>>espanol
>>>finnish
>>>francais
>>>german
>>>italian
>>>korean
>>>norwegian
>>>
>>> Language changes can be made in skins/Bootstrap/skin.conf
>>>
>>> Default location for HTML and image files is public_html/Bootstrap
>>> *** POINT YOUR BROWSER TO: public_html/Bootstrap/index.html ***
>>>
>>> Saving installer file to /usr/share/weewx/user/installer/bootstrap
>>> Saved configuration dictionary. Backup copy at 
>>> /etc/weewx/weewx.conf.20210221194236
>>> Finished installing extension 
>>> '/home/pi/Downloads/fuzzy-archer-liveCharts.zip'
>>> pi@raspberrypi:~ $ sudo /etc/init.d/weewx start
>>> [ ok ] Starting weewx (via systemctl): weewx.service.
>>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
>>> Feb 21 19:43:27 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
>>> Gentle wake up of console successful
>>> Feb 21 19:43:27 raspberrypi weewx[23186] DEBUG weewx.drivers.vantage: 
>>> Retrieving 1 page(s); starting index= 3
>>> Feb 21 19:43:27 raspberrypi weewx[23186]

[weewx-user] Belchertown Reports

2021-03-15 Thread moth...@gmail.com
My station works fine with the Belchertown skin. The reports function also 
works well, only it generates reports for the date of commissioning of the 
station.
The station measurements start on the date from May 2015. Now I also have 
reports from 1970 to my station measurements start date with no content 
because there are none.
How do I delete the non-existent reports with no content?
The link for my weather station:
https://weerstationnibbixwoud.nl/reports/

-- 
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/8ba2ed54-58d6-40d6-a668-0243cf6fc60bn%40googlegroups.com.


Re: [weewx-user] Skin with webcam?

2021-04-02 Thread moth...@gmail.com
I am also interested in how you did this. Thanks.

Op donderdag 1 april 2021 om 14:02:24 UTC+2 schreef Mitchell Tuckness:

> I don't suppose you would be interested in sharing the code you used to 
> modify the Belchertown to look so nice. I am horrible on HTML, but I am 
> pretty good at modifying, or write a guide on how you modified it. Looks 
> great, would like to get mine like that!
>
> On Thursday, March 25, 2021 at 7:47:31 AM UTC-6 DaveStLou wrote:
>
>> Like In77, I use Belchertown skin. I added my webcam in 
>> "index_hook_after_station_info" section so it appears below the station 
>> information: OakvilleWx.com
>>
>> On Thursday, March 25, 2021 at 1:39:44 AM UTC-5 ln77 wrote:
>>
>>> Belchertown isn’t exactly pre-loaded, but it is well integrated and the 
>>> install is straightforward.  It has a radar feed. It doesn’t have the 
>>> webcam built in, but It has several places to insert user-defined content 
>>> and it would be easy to put a webcam in one of them.  I hacked it a little 
>>> to put the webcam in place of the current-conditions icon: 
>>> http://www.2pi.org/wx/
>>>
>>>   -Les
>>>
>>>
>>> On 24 Mar 2021, at 20:53, 'super zee' via weewx-user <
>>> weewx...@googlegroups.com> wrote:
>>>
>>> Brand new here and still learning.  Got Weewx loaded and it's uploading 
>>> to CWOP and my web page.  Is there a skin preloaded with WeeWX that can 
>>> accommodate a web cam and live radar feed?  
>>>
>>> Thanks for the help!
>>> Chris 
>>> KAZTEMPE47
>>>
>>> -- 
>>> 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/58b570f6-ba28-4b46-bbdf-dcc9447d36a5n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8a5b9066-48cd-48cb-b21c-71504a11bff2n%40googlegroups.com.


Re: [weewx-user] Re: Version 4.5.0 released

2021-04-06 Thread moth...@gmail.com
No problems here. Everything works as it should.
Thanks for the update.

Op dinsdag 6 april 2021 om 03:14:50 UTC+2 schreef Cameron D:

> Yes - I think the issue is only with the update process and there are just 
> too many potential situations for the update script to be comprehensive.
> I would suggest you replace the old file before the next update.  I have 
> previously shot myself in the foot by "cleaning up" after an installation - 
> things I learned to do with rpm installs don't work with .debs.
>
> On Tuesday, 6 April 2021 at 10:56:43 am UTC+10 PJO wrote:
>
>> Well, in principle one *should *be able to delete an old init.d file; my 
>> understanding is that your original advice was correct. The problem appears 
>> to have been an assumption that the init.d file would still be in place and 
>> available for use by the update procedure. I can restore it if necessary 
>> before the next update.
>> On Tuesday, April 6, 2021 at 1:31:49 AM UTC+1 Cameron D wrote:
>>
>>> Hi PJO,
>>> I have changed the "advice" in the wiki relating to custom systemd unit 
>>> files and init.d files. Sorry.  I can't recall the situation that led to 
>>> that advice, but once the custom unit file is working properly then the 
>>> init.d file is simply ignored.
>>>
>>> On Sunday, 4 April 2021 at 10:57:35 pm UTC+10 PJO wrote:
>>>
 Yes, you're right I removed /etc/init.d/weewx -- when I switched to 
 using systemd ; I didn't realize this would still be needed. In fact, I 
 followed advice here  that 
 leaving this in place was not a good idea.
  
 Attached are copies of the original and bad weewx.conf files and a file 
 listing (from which I've deleted git related things to do with the skin 
 I've been working on).

 I didn't mention it earlier because I hadn't realized it yet, but fyi 
 other problems I encountered were

 1. issues with my copy of sensors.inc from the Seasons skin (see issue 
 )
 2. as result of my not checking things properly before restarting I 
 ended up with some bad records until I reverted to the original weewx.conf 
 file because of a changed schema

 Lessons learned: switch to Seasons before running the update if using 
 sensors.inc; verify weewx.conf changes properly (first time I've had an 
 issue).

 On Sunday, April 4, 2021 at 1:25:50 PM UTC+1 t...@tom.org wrote:

> Interesting that Belchertown 1.2 is working for you. Everything works 
> great on 4.4.0 but reporting (downloading the Aeris forecast) fails on 
> 4.5.1. I filed a bug in the Belchertown GitHub repo.
>
> On Saturday, April 3, 2021 at 11:44:31 PM UTC-4 nevilled...@gmail.com 
> wrote:
>
>> Hi
>> Just updated my system to 4.5.1 without problems.
>> For information also running Belchertown skin v 1.2 python 3 with 
>> OWFS rain bucket.. all good
>>
>> Neville
>>
>> On Sunday, April 4, 2021 at 12:19:58 PM UTC+10 mksm...@gmail.com 
>> wrote:
>>
>>> I am sure about this finding 
>>> when using "sudo nano /etc/weewx/weewx.conf" the file shows 4.4.0
>>> syslog shows "INFO __main__: Starting up weewx version 4.5.1"
>>> web page also shows 4.5.1
>>>
>>> On Sunday, April 4, 2021 at 4:53:54 AM UTC+3 tke...@gmail.com wrote:
>>>
 Hmmm, the upgrade process should have upgraded the version number 
 in weewx.conf. Are you sure you're looking at the right one? If you 
 did a 
 Debian install it should be at /etc/weewx/weewx.conf.

 There were no changes to weewx.conf, so, if it comes to it, you can 
 just change the version number. But, it would be useful to know what 
 happened.

 On Sat, Apr 3, 2021 at 6:44 PM Mks Mk  wrote:

> the update to 4.5.1 worked for me this time but have one issue 
> that weewx.conf shows  version  4.4.0 but the generated web page 
> shows WeeWX version 4.5.1
> can I change weewx.conf line to 4.5.1 or keep it as is?
>
> On Friday, April 2, 2021 at 11:32:40 PM UTC+3 tke...@gmail.com 
> wrote:
>
>> Version 4.5.1 out.
>>
>> My apologies.
>>
>> On Fri, Apr 2, 2021 at 1:12 PM Tom Keffer  
>> wrote:
>>
>>> My mistake. I knew there was a reason why we didn't transition 
>>> the old wview schema to the new V4 style!
>>>
>>> I should have a dot-dot release out later today. 
>>>
>>> -tk
>>>
>>> On Fri, Apr 2, 2021 at 12:14 PM Mks Mk  
>>> wrote:
>>>
 the upgrade to 4.5 from 4.4 failed and weewx is broken please 
 advice
 used these commands for upgrade
 sudo apt update
 apt list --upgradable  (4.5 was showing)
>

Re: [weewx-user] Belchertown Reports

2021-04-11 Thread moth...@gmail.com
Tom thanks for the link.
Almost everything went according to the tutorial.
It turned out that I did not have sufficient rights to modify the database. 
Had to grant the 777 rights to the database to remove the unnecessary 
entries.
In the end, this also worked and removed all unnecessary entries.
Ton Karsten
https://weerstationnibbixwoud.nl/

Op maandag 15 maart 2021 om 18:13:32 UTC+1 schreef tke...@gmail.com:

> Most likely, the clock on your computer was not synchronized before weewx 
> started. Unsynchronized clocks can sometimes start at unix epoch "time 
> zero," which is in 1970. You will have to delete all the "old" data, then 
> rebuild the daily summaries. 
>
> See the wiki section *Deleting unwanted records 
> <https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data#deleting-unwanted-records>*
> .
>
> On Mon, Mar 15, 2021 at 9:39 AM moth...@gmail.com  
> wrote:
>
>> My station works fine with the Belchertown skin. The reports function 
>> also works well, only it generates reports for the date of commissioning of 
>> the station.
>> The station measurements start on the date from May 2015. Now I also have 
>> reports from 1970 to my station measurements start date with no content 
>> because there are none.
>> How do I delete the non-existent reports with no content?
>> The link for my weather station:
>> https://weerstationnibbixwoud.nl/reports/
>>
>> -- 
>> 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/8ba2ed54-58d6-40d6-a668-0243cf6fc60bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/8ba2ed54-58d6-40d6-a668-0243cf6fc60bn%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/d168d36f-91d5-4885-af39-2dec6500f7acn%40googlegroups.com.


[weewx-user] High/Low standard report

2020-11-17 Thread moth...@gmail.com

Would like to change the standard report in the high / low part. The last 
column contains the rainy year overview, would you like to change this in 
the station highest readings overview.
How do I do that and is that possible?

Kind regards,
Ton

-- 
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/d981f2cb-c68c-4926-a282-74582726926fn%40googlegroups.com.