Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
This may be a problem? After changing to python3 .. May 3 16:28:06 raspberrypi weewx[5437] CRITICAL __main__: Caught unrecoverable exception: May 3 16:28:06 raspberrypi weewx[5437] CRITICAL __main__: invalid syntax (mqtt.py, line 196) May 3 16:28:06 raspberrypi weewx[5437]

[weewx-user] Re: Belchertown highcharts : from a specific day to now & cumulative temp

2020-05-02 Thread Eric 972
Ah OK, thank you, I hadn't thought of that ! -- 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

Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
Ah .. that will be the missing piece of the puzzle! Off to sort that now, will report back. Thanks! On Sun, 3 May 2020 at 15:30, mwall wrote: > On Saturday, May 2, 2020 at 9:11:51 PM UTC-4, Colin Larsen wrote: >> >> I found this /etc/default >> >> WEEWX_PYTHON=python2 >> >>

Re: [weewx-user] Python versions

2020-05-02 Thread mwall
On Saturday, May 2, 2020 at 9:11:51 PM UTC-4, Colin Larsen wrote: > > I found this /etc/default > > WEEWX_PYTHON=python2 > > WEEWX_BINDIR=/usr/share/weewx > > WEEWX_BIN=/usr/bin/weewxd > > WEEWX_CFG=/etc/weewx/weewx.conf > > > Changing it to python3 breaks weewx so I'll just leave well enough

Re: [weewx-user] Python versions

2020-05-02 Thread mwall
On Saturday, May 2, 2020 at 9:12:41 PM UTC-4, Colin Larsen wrote: > > Whoops sorry /etc/default/weewx that should have been > colin has it right. one of the things we did in the weewx4 packaging for debian, redhat (and soon suse and *bsd) is to put the parameters into /etc/default/weewx (it

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread mwall
On Saturday, May 2, 2020 at 2:27:49 PM UTC-4, mwall wrote: > > On Saturday, May 2, 2020 at 10:01:39 AM UTC-4, Tom Keffer wrote: >> >> The weewx usage map shows 26 >> installations (out of 1471 registered stations), or less than 2%. That's >> not enough usage to

Re: [weewx-user] Re: Rasbian 10 - Update failed

2020-05-02 Thread John Kline
> TypeError: a bytes-like object is required, not 'str' I do not use this extension, but the error is an indication that the extension was not ported to work with Python 3 (bytes and str are different types in Python 3). I don’t know if it the author claims WeeWX 4 comparability, but if he

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread gjr80
Interesting, there is a 'Number of wind samples' field in the archive record emitted by the console/logger but my reading of the vantage driver is that it is used to calculate rxCheckPercent but otherwise ignored. I thought the vantage driver passed on almost everything and let the user/WeeWX

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
Thanks for the clarification Gary. This seems to be exactly what was happening here. Everything seems to be in order for now thanks. Now my only question left is : is it possible to get the number of Wind Samples sent by the weather station or do I have to calculate it from the rxCheckPercent

[weewx-user] Re: Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread Michael Sanphillipo
I was able to recover the weewx.sdb file and copied it over so I'm only missing May 1st and 2nd. Much better than a whole year. Is there a way to edit weewx.sdb? On Saturday, May 2, 2020 at 7:55:42 PM UTC-4, Michael Sanphillipo wrote: > > My Pi SD card was corrupted and I had to reload Debian

Re: [weewx-user] Re: 4.x logging format

2020-05-02 Thread Graham Eddy
simplified logging stanza doesn’t work and shows type conversion fix needed. details follow... using that simplified stanza in weewx.conf gives runtime error: File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/config.py", line 381, in resolve name =

Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
Whoops sorry /etc/default/weewx that should have been On Sun, 3 May 2020 at 13:11, Colin Larsen wrote: > I found this /etc/default > > WEEWX_PYTHON=python2 > > WEEWX_BINDIR=/usr/share/weewx > > WEEWX_BIN=/usr/bin/weewxd > > WEEWX_CFG=/etc/weewx/weewx.conf > > > Changing it to python3 breaks

Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
I found this /etc/default WEEWX_PYTHON=python2 WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf Changing it to python3 breaks weewx so I'll just leave well enough alone Colin On Sun, 3 May 2020 at 12:54, Colin Larsen wrote: > Hi Graham > > Thanks

Re: [weewx-user] need to modify daily rain in weewx.sdb

2020-05-02 Thread Graham Eddy
wview was brilliant in its time but it was brittle. weewx is a lot more forgiving and flexible so “having a bit of a fiddle” is fine (as long as you save the master data beforehand :-) the biggest rigidity removed was wview’s reliance on invariant archiveInterval - weewx is happy to intermix

Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
Hi Graham Thanks for that and I understand all of what you are saying - except I have no idea whereabouts in /etc/init.d/weewx to change to make it use Python3. I thought I might find the line command line containing weewxd in there somewhere but alas no (or I've done a "boy look"). And I know

[weewx-user] Re: Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 4:55:42 PM UTC-7, Michael Sanphillipo wrote: > > My Pi SD card was corrupted and I had to reload Debian along with WeeWx. I > lost a years' worth of data. Is there a way to recover the files and where > should I look on my old SD card? > If you reimaged your corrupt

Re: [weewx-user] Python versions

2020-05-02 Thread Graham Eddy
as others have already mentioned you can instruct use of python3 either (a) system-widee.g. /etc/default or defaults (b) startupe.g. /etc/init.d/weewx or /Library/LaunchDaemons/com .weewx.weewxd (c) embedded e.g. shebang (insert

Re: [weewx-user] Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread gjr80
Hi, If you do manage to access your old SD card and if you were using SQLite (the default) to store your data, the file you are after is weewx.sdb (again assuming you used the default) which is in /home/weewx/archive or /var/lib/weewx depending on how you installed WeeWX. Refer to Where to

Re: [weewx-user] Python versions

2020-05-02 Thread Colin Larsen
Thanks Tom Well /etc/init.d/weewx is there and the other one isn't so I'll go with that but to be honest the innards of that file is out of my depth. On Sun, 3 May 2020 at 12:20, Tom Keffer wrote: > You will have to edit whatever script you use to start weewx as a daemon. > > Look in

Re: [weewx-user] Python versions

2020-05-02 Thread Tom Keffer
You will have to edit whatever script you use to start weewx as a daemon. Look in /etc/init.d/weewx. If not there, then /etc/systemd/system/weewx.service. -tk On Sat, May 2, 2020 at 5:13 PM Colin Larsen wrote: > Hi all > > I know that this is buried somewhere in the threads of information,

Re: [weewx-user] Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread Tom Keffer
That sounds like a systems ops question. Try googling for "recovering lost files from sd card" or something like that. As a last resort, if you posted to the Weather Underground, you can use wee_import to import the data back in. Next

[weewx-user] Python versions

2020-05-02 Thread Colin Larsen
Hi all I know that this is buried somewhere in the threads of information, sorry apologies for not being able to find it. I've just upgraded my Pi based station to Weewx 4.0 using the apt-get method. Ihas Python3 installed but is still using Python2 as can be seen here. I thought I had read that

Re: [weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread gjr80
Nigel, A comma can certainly cause a problem, the config file parser will treat the comma in the setting as a delimiter and return two settings. If you want your comma back you should be able to put it back if you enclose the entire setting in quotes, eg: [[Text]] text = "Real

[weewx-user] Raspberry Pi crashed so I had to reinstall WeeWx

2020-05-02 Thread Michael Sanphillipo
My Pi SD card was corrupted and I had to reload Debian along with WeeWx. I lost a years' worth of data. Is there a way to recover the files and where should I look on my old SD card? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

[weewx-user] Instructions for Install Of Python 3.8 on Raspberry Pi3

2020-05-02 Thread Burt Wizeman
I have seen a couple of issues regarding the install of Python 3. I found this site that worked without flaw for my install onto my Pi3+. I like to do things step by step. So if you have had some issues with the Python portion of your upgrade, check this site out. Ia Pi3. Following this

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread gjr80
Quite possibly you had corrupt station memory , a symptom of which is that loop packets are received from the console/logger but (hardware) archive records are not. If you happen to be

[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread Xant
Tom Just to report, that is "nothing" to report (and that's a good thing) WeeWx 4.0 working fine on my setup: - rPi 4 - Python 3 - WeatherFlow - QNAP NAS (as webserver) - Belchertown skin 1.1 Update was smooth. I still keeps the original path (instead 'home'), but just

Re: [weewx-user] Re: Ultimeter 2100 WeeWx Behind Actual Rain Rain Rate is Actual Rain Total

2020-05-02 Thread Tom Keffer
You could put the following in the [StdCalibrate] section of weewx.conf: [StdCalibrate] [[Corrections]] dayRain = daily_rain This will set type dayRain to what is being emitted by your hardware. It will then be passed on to CWOP, instead of looked up in the database. Unfortunately,

Re: [weewx-user] Re: Ultimeter 2100 WeeWx Behind Actual Rain Rain Rate is Actual Rain Total

2020-05-02 Thread Burt Wizeman
You are correct - From weewxd after dumping some water into the bucket, the display reports .14 and in the output of weewxd 'daily_rain: 0.14' and 'rain_total 5.84' which was at 5.7 until I added the water for today's test. I have attached the output. So, is there a way for the hardware

[weewx-user] Re: Belchertown highcharts : from a specific day to now & cumulative temp

2020-05-02 Thread Manfred Maier
Hi Eric, concerning your first question: What version of weewx are you using? I've been on 3.9.2 and the timespan_specific also didn't work for me. After upgrading to version 4.0 (Python 3) the specific timespan now works. Manfred Am Freitag, 1. Mai 2020 10:43:03 UTC+2 schrieb Eric 972: > >

[weewx-user] Re: weewx.wxservices: Unknown extensible type 'UV'

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 12:38:34 PM UTC-7, dshanske wrote: > > I thought UV was already there, but this keeps coming up in the logs. Is > there something I'm not understanding? > I think you're missing the 'how to report a bug' frequently asked question and guidance. We can do little

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote: > > 1) Is there somewhere a list of packages that should be updated to Python > 3? > http://www.weewx.com/docs/setup.htm has a nice list -- You received this message because you are subscribed to the Google Groups

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
User 'Dale' nailed it! After installing ephem for Python3 I have maxSolarRad back in my database :). Thanks so much! The support here is absolutely fantastic! Three related questions: 1) Is there somewhere a list of packages that should be updated to Python 3? 2) Is there a way to calculate

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
Manfred, user 'Dale' suggested to me offline that the problem could be that you have not installed the package 'ephem' for Python 3. *sudo apt install python3-ephem* -tk On Sat, May 2, 2020 at 1:20 PM Tom Keffer wrote: > That looks normal. > > When you run weewxd directly from the command

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
That looks normal. When you run weewxd directly from the command line, what do you see for maxSolarRad values? Check both LOOP packets (marked with LOOP:) and archive records (marked with REC:) -tk On Sat, May 2, 2020 at 1:12 PM Manfred Maier wrote: > Here you go. > syslog since the restart

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Here you go. syslog since the restart of weewx -- 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

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
ok we have a winner ! I used wee_device to set the interval to 1 minutes and settings the interval of archive in weewx.conf as I like it and bam ! Record coming in and rxCheckPercent populated ! Thanks for your help and time Tom. Keep up the good work. On Saturday, May 2, 2020 at 3:53:11 PM

RE: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread hyrules
Never had any problem with the logger itself . I just reinstalled a fresh version of weewx 4.0 and remove every addons I had as well and skin and I still don’t get a REC when I run weewxd. Plenty of loops coming in but the logger does not seems to be pushing any records or weewx grabbing a

Re: [weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread Devonian
OK, I figured it for the scroller text - it doesn't like a comma (,) in the text. I now have it running and picking up local time, by adding this to the [RealtimegaugeData] in weewx.conf [[Text]] text = Real Time Gauges - Local Time is %H:%M - Next gauge update in... Nigel. On

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Tom Keffer
The Vantage loggers work very well, with one flaw: they don't get it right over daylight savings time transitions. Other than that, there's no reason not to use them. -tk On Sat, May 2, 2020 at 12:20 PM Hyrules wrote: > I don’t understand why I was on software generation I don’t remember why I

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
I suspect that you're missing something to do the calculation. Let's check by using the attached instrumented version of wxservices.py. If you used a package installer, it goes in /usr/share/weewx/weewx/wxservices.py If you used the setup.py install method, it goes in

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
1) In the archive table in the database it's since I've switched to the Python 3 version. I've just noticed, that appTemp and windrun were also affected for a couple of hours (also ). But both meanwhile get calculated and have valid values in the database 2) This is what I find in the log:

Re: [weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread Bill M
Finally got a few minutes to upgrade, still using Python 2.7 and Debian 9 but it went smoothly almost. Must have missed comments that maxSolrRad is now maxSolarRad Would have only taken 5 minutes if I'd seen that first No biggie -- You received this message because you are subscribed to the

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
I don’t understand why I was on software generation I don’t remember why I would prefer software over hardware. I still haven’t seen a archive packet that’s really odd. On Saturday, May 2, 2020 at 2:22:01 PM UTC-4, Tom Keffer wrote: > > There must have been some reason you were using

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
1. When you say "maxSolarRadiation isn't calculated" do you mean it does not appear in LOOP or archive records at all? Or, that it has value None? 2. Look in the system log for something like May 2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following values will be calculated:

Re: [weewx-user] Re: 4.x logging format

2020-05-02 Thread Tom Keffer
Great ideas! Thanks for your thoughts. Try this version of weeutil/logger.py. It includes a shim that does the proper type conversion before passing on arguments to logging.handlers.RotatingFileHandler. To use should be as simple as adding this to weewx.conf (alas, NOT TESTED): [Logging]

[weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Hi, I've just detected that maxSolarRadiation isn't calculated since I've switched to the Python 3 version of Weewx. Before switching to Python 3, I already had the Python 2 version of 4.0.0 installed for a couple of hours. maxSolarRad got calculated during that time. Any idea what the issue

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Pete Geenhuizen
OK I guess I'll have to give it a shot and hope like hell that it works. Thanks On 2020-05-02 13:36, Tom Keffer wrote: It should. I'm not sure how thoroughly it as been tested under Python 3. On Sat, May 2, 2020 at 9:17 AM Pete Geenhuizen > wrote: Oops my bad

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread mwall
On Saturday, May 2, 2020 at 10:01:39 AM UTC-4, Tom Keffer wrote: > > The weewx usage map shows 26 > installations (out of 1471 registered stations), or less than 2%. That's > not enough usage to justify the work. Get your friends to use it! > > Still, I'll see

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Tom Keffer
There must have been some reason you were using software record generation. You may "fix" this, but break something else! On Sat, May 2, 2020 at 11:00 AM Hyrules wrote: > That must be it. The setting record_generation was software changed it to > hardware in weewx.conf. Waiting for a archive

Re: [weewx-user] Re: Installing weewx on Centos 8

2020-05-02 Thread Tom Keffer
OK. HTML pages look as expected for me when using Firefox. Can you post an HTML file that does this? Or, give an URL to one? -tk On Sat, May 2, 2020 at 11:17 AM Mike Doneske wrote: > This was a new install on an OS that never had WeeWx installed. Only files > copied from old machine was

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
That seems reasonable. Try this version On Sat, May 2, 2020 at 9:10 AM Praveen Chandrasekaran < praveen.c...@gmail.com> wrote: > Shouldnt it be taking in api_key in test mode too? Is that intentional? > > On Sat, 2 May 2020 at 20:52, Tom Keffer wrote: > >> Thanks for catching the problem with

Re: [weewx-user] Re: Installing weewx on Centos 8

2020-05-02 Thread Mike Doneske
This was a new install on an OS that never had WeeWx installed. Only files copied from old machine was weewx.sdb and weewx.conf On Friday, May 1, 2020 at 5:03:57 PM UTC-5, Tom Keffer wrote: > > Skins are not touched by an upgrade, so what you're looking at is your old > skin. > > On Fri, May 1,

[weewx-user] Re: Weewx will only work for a week then stops

2020-05-02 Thread Luc Theoret
Hi, I have removed cmon. It seeems to be working. As far is outTemp is that is the main temperature and it is populated in the database and graphed in weewx. I get an error for the min max outTemp. Luc On Saturday, May 2, 2020 at 11:44:42 AM UTC-6, Luc Theoret wrote: > > Hi Luc, > > I have

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
That must be it. The setting record_generation was software changed it to hardware in weewx.conf. Waiting for a archive packet. On Saturday, May 2, 2020 at 1:35:43 PM UTC-4, Tom Keffer wrote: > > Are you using software record generation? > > If so, weewx will not retrieve the archive record from

Re: [weewx-user] weewx 4.0 fails connecting to Vantage Vue

2020-05-02 Thread Andre C
I first tried wee_device --dump in order to salvage the logger data. This failed due to a CRC16 error. So as a last resort I cleared the memory. As a net result i'm missing archive record fot about a day and a half. The goood news is that the console output is monitored again!!! thanks a lot for

Re: [weewx-user] Re: Weewx will only work for a week then stops

2020-05-02 Thread Tom Keffer
I would guess that cmon is using an undocumented prerequisite: future. Under Python 2, try *pip install future* -tk On Sat, May 2, 2020 at 10:44 AM Luc Theoret wrote: > Hi Luc, > > I have updated to the version of cmon provide in your link. > > I did a wee_extension weewx-cmon-master.zip >

Re: [weewx-user] weewx 4.0 fails connecting to Vantage Vue

2020-05-02 Thread Tom Keffer
I've seen this a few times. Try clearing the logger memory: wee_device --clear-memory -tk On Sat, May 2, 2020 at 10:03 AM Andre C wrote: > After shutting down power, re-install the WeatherLink-IP and re-powering, > the Vantage Vue console is now detected again! > However, another error

[weewx-user] Re: Weewx will only work for a week then stops

2020-05-02 Thread Luc Theoret
Hi Luc, I have updated to the version of cmon provide in your link. I did a wee_extension weewx-cmon-master.zip everthing i think went OK, but now weewx wont start I get this error: May 2 11:37:21 weewx-pi systemd[1]: Started Session c3 of user pi. May 2 11:37:24 weewx-pi weewx[556]: sdr:

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Tom Keffer
It should. I'm not sure how thoroughly it as been tested under Python 3. On Sat, May 2, 2020 at 9:17 AM Pete Geenhuizen wrote: > Oops my bad i got confused by the similar driver name, I'm using the > wx23xx driver which is working just fine under V3 so will it work in V4? > > On 5/2/20 11:47

Re: [weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Tom Keffer
Are you using software record generation? If so, weewx will not retrieve the archive record from the logger and, instead, calculates the archive record in software. The logger is what supplies the number of wind samples, so it is only available if you download an archive record. -tk On Sat, May

[weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
Well that's not it. I ahve reflashed with the wireless version and still not seeing the rxCheckPercent and Wind Samples On Saturday, May 2, 2020 at 12:18:08 PM UTC-4, Hyrules wrote: > > Crap I think I have and Idea what is happening I might have flashed the > cabled version firmware. Will try

Re: [weewx-user] weewx 4.0 fails connecting to Vantage Vue

2020-05-02 Thread Andre C
After shutting down power, re-install the WeatherLink-IP and re-powering, the Vantage Vue console is now detected again! However, another error message arises: May 2 18:50:14 Domo weewx[12892] DEBUG weewx.drivers.vantage: Getting archive packets since 2020-05-01 11:35:00 CEST (1588325700) May

[weewx-user] Re: need to modify daily rain in weewx.sdb

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 8:50:45 AM UTC-7, Bob Grattan wrote: > > 1. An easy way to modify weewx.sdb when I need to modify the rain amount. > I have used DB Browser (SQLite) in the past but am not certain this is the > easiest. If possible, I want to avoid the SQL search/modify mode as my >

[weewx-user] Re: rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
Crap I think I have and Idea what is happening I might have flashed the cabled version firmware. Will try to reflash the wireless version because my station is wireless. On Saturday, May 2, 2020 at 11:11:31 AM UTC-4, Hyrules wrote: > > Hi everyone, > > I have a vantage pro 2 and was wondering

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Pete Geenhuizen
Oops my bad i got confused by the similar driver name, I'm using the wx23xx driver which is working just fine under V3 so will it work in V4? On 5/2/20 11:47 AM, Tom Keffer wrote: wh23xx is not a supported weather station under WeeWX V3 or V4. No plans to change that. However, I will see

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
Shouldnt it be taking in api_key in test mode too? Is that intentional? On Sat, 2 May 2020 at 20:52, Tom Keffer wrote: > Thanks for catching the problem with json.load(). Fixed in commit c05f76b > > > As you

Re: [weewx-user] rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
Hi Tom, 1) yes sorry exactly. 2) yes with heidi sql I have explored the database. made a select on the archive_day_rxCheckPercent table. 3) Here is the output of a loop and a record. REC:2020-05-02 11:58:00 EDT (1588435080) altimeter: 29.9361792613, appTemp: 56.9873572311,

Re: [weewx-user] weewx 4.0 fails connecting to Vantage Vue

2020-05-02 Thread Andre Abepol
I have a WeatherLink IP connected to theVantage Vue console. Since about 6 weeks a Vantage Pro2 ISS is installed. At the same time I moved from the old wview softwareto weewx, which worked like a charm. Until last week. First I was getting error messages like 'received unexpected 0xDD". I found

[weewx-user] need to modify daily rain in weewx.sdb

2020-05-02 Thread Bob Grattan
Hello, I have a constant battle with my VP2 tipping bucket rain gauge as it often gets clogged with trash. I check it against an accurate manual gauge to make sure it's reasonable since I know tipping buckets have problems. I would like suggestions for the following: 1. An easy way to modify

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Tom Keffer
wh23xx is not a supported weather station under WeeWX V3 or V4. No plans to change that. However, I will see what I can do about getting the wh23xx 3rd party extension updated. -tk On Sat, May 2, 2020 at 8:42 AM Pete Geenhuizen wrote: > OK so now I'm a little confused, is/will V4 support

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Pete Geenhuizen
OK so now I'm a little confused, is/will V4 support WH23xx?  I'm using it now and if it won't work under V4 then I should forgo my planned upgrade to V4 right? On 2020-05-02 11:30, Tom Keffer wrote: Believe me, I'm mighty tempted to trim the list of supported weather stations! On Sat, May

Re: [weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread p q
I upgraded from 3.5. Remarkably painless. Took maybe 15 minutes. Thanks! I had previously set up a duplicate site on a VM and migrated that to 3.9 and then to 4.0. Doing all the prep work and testing took way longer than doing the actual upgrade. Next job - upgrade Raspian from Stretch to

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Tom Keffer
Believe me, I'm mighty tempted to trim the list of supported weather stations! On Sat, May 2, 2020 at 7:29 AM Jever Hägen wrote: > Thanks for thinking about of doing that work. > > yes, there are not very much wh23xx stations registered beside mine. > But overall they are on rank 9 ;-) > 1

Re: [weewx-user] rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Tom Keffer
A few more details, please 1. By "rc_CheckPercent" I assume you mean "rxCheckPercent"? 2. You said you have "a point in my sql data" where you got some value. Does this mean you checked the database (using some sort of SELECT) statement? 3. If you run weewxd from the command line, what values

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
Thanks for catching the problem with json.load(). Fixed in commit c05f76b As you discovered, I think the api_key code is working properly. On Sat, May 2, 2020 at 8:04 AM Praveen Chandrasekaran <

[weewx-user] rxCheckPercent always zero and number of wind samples

2020-05-02 Thread Hyrules
Hi everyone, I have a vantage pro 2 and was wondering what might be the issue of the following my rc_CheckPercent is always at zero. I have a point in my sql data when I temporarily got some value but at the moment it's zero. This is happening in Weewx 4.0 but was also happening in Weewx 3.9.x

Re: [weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread vince
On Friday, May 1, 2020 at 10:26:31 PM UTC-7, Gert Andersen wrote: > > E: Unable to correct problems, you have held broken packages. > > > Please google that exact message and you will find dozens of hits with methods for how to clean this up. Unfortunately, that particular mesage can be a bit

Re: [weewx-user] Re: 4.x logging format

2020-05-02 Thread Graham Eddy
i think we all agree that syslog on macos is a lost cause. the corollary is that pointing python logging at syslog (via logging.handlers.SysLogHandler) is doomed i accept that syslog works fine on most platforms, but it is not feasible for macos but there is the simple alternative for macos

[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread Gert Andersen
Hi Jaap Did and this message: ubuntu@Kamatera:~$ sudo pip3 install cheetah3 The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with

[weewx-user] Re: Version 4.0 is (finally) here!

2020-05-02 Thread Gert Andersen
Hi Greg from Oz No my file looks like this: deb [arch=all] http://weewx.com/apt/python3 buster main Gert On Saturday, May 2, 2020 at 7:40:00 AM UTC+2, Greg from Oz wrote: > > Does /etc/apt/sources.list.d/weewx.list > look like this? > deb [arch=all] http://weewx.com/apt/ squeeze main > > That

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Jever Hägen
Thanks for thinking about of doing that work. yes, there are not very much wh23xx stations registered beside mine. But overall they are on rank 9 ;-) 1 Vantage 537 2 FineOffsetUSB 274 3 AcuRite 147 4 Interceptor 87 5 TE923 67 6 WMR100 40 7 SDR 33 8 WMR200 29 *9* *WH23xx* *26* 10 WS23xx

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
I didnt attached console output because i just ran wunderfixer at shell. I was getting HTTP 401 error. printed api_key from within wunderfixer it was "None". Then edited wunderfixer with the api key locally and that fixed that issue On Sat, 2 May 2020 at 19:32, Tom Keffer wrote: > Log? Console

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
Fixed it locally at my end. api_key not getting passed is a mystery yet. Need to decode the response to utf-8 to get it working properly. Attached modified wunderfixer file (search for v4) On Sat, 2 May 2020 at 19:32, Tom Keffer wrote: > Log? Console output? > > On Sat, May 2, 2020 at 6:18 AM

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
Log? Console output? On Sat, May 2, 2020 at 6:18 AM Praveen Chandrasekaran < praveen.c...@gmail.com> wrote: > 2 issues: > > 1) API key not getting passed. Hacked wunderfixer with local api key > instead of passing > 2) After 1 I get error that JSON object must be str not bytes. > > On

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Tom Keffer
The weewx usage map shows 26 installations (out of 1471 registered stations), or less than 2%. That's not enough usage to justify the work. Get your friends to use it! Still, I'll see what I can do... -tk On Sat, May 2, 2020 at 5:30 AM Jever Hägen wrote: > Hi

[weewx-user] Re: Weewx will only work for a week then stops

2020-05-02 Thread Luc Heijst
Hi Luc, The error: ValueError: accum: ScalarStats.addHiLo expected float or int, got type '' ('4552332') is caused by an old version of weewx_cmon. The latest version (0.20) solves this, See: https://github.com/matthewwall/weewx-cmon Also your syslog show several errors with outTemp, like:

[weewx-user] Re: wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-02 Thread Clint Parrish
Gary, I think wee_import is working as it should. I was able to get the records to import successfully this morning. WU must have some kind of daily restriction on API or access to the data somehow. For now I am doing monthly imports as suggested in the guide. I think annual imports are too

[weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
2 issues: 1) API key not getting passed. Hacked wunderfixer with local api key instead of passing 2) After 1 I get error that JSON object must be str not bytes. On Saturday, 2 May 2020 17:56:50 UTC+5:30, Praveen Chandrasekaran wrote: > > Hi, > > My wunderfixer was working till yesterday (I

Re: [weewx-user] Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
For some reason, api_key not getting passed from conf to wunderfixer. On Sat, 2 May 2020 at 17:56, Praveen Chandrasekaran wrote: > Hi, > > My wunderfixer was working till yesterday (I know for sure because I have > used it to fill missing data often recently) > > After updating to v4, the

Re: [weewx-user] Re: 4.x logging format

2020-05-02 Thread Tom Keffer
Logging from Python under MacOS High Sierra and later is a complete mystery. I have been unable to get it to work and, it seems, neither have other users

Re: [weewx-user] Re: weewx-wh23xx - Weewx breaks starting/running after upgrade from 3.9.2 to 4.0

2020-05-02 Thread Jever Hägen
Hi Tom, yes I know, but wouldn't it be possible for you or some of the guys out there to integrate the driver into weewx v4? Am Freitag, 1. Mai 2020 23:54:16 UTC+2 schrieb Tom Keffer: > > It looks like the wh23xx driver has not been ported to Python 3 and weewx > V4 (it's not actually part of

Re: [weewx-user] Weewx will only work for a week then stops

2020-05-02 Thread Tom Keffer
Either the sdr or, more likely, cmon, is emitting a type 'long', which the accumulators are not prepared to accept. Which version of cmon are you using? I believe latest versions avoid this by explicitly converting to type 'int'. -tk On Fri, May 1, 2020 at 10:33 PM Luc Theoret wrote: > Hi, >

[weewx-user] Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
Hi, My wunderfixer was working till yesterday (I know for sure because I have used it to fill missing data often recently) After updating to v4, the wunderfixer stopped working. The API key looks fine but I am getting HTTP 401 FORBIDDEN ERROR. Regards, Praveen -- You received this message

[weewx-user] Re: 4.x logging format

2020-05-02 Thread Graham Eddy
i reported this incorrectly. instead of giveing me an unchanged logger format, it gives me no lines at all (from the point the weewx.conf log format is parsed). even the following does the same (no logger output). commenting out the “format” line reverts to lines being produced, in original

Re: [weewx-user] weewx 4.0 fails connecting to Vantage Vue

2020-05-02 Thread Tom Keffer
Thanks. Can you give us some details about your hardware setup? From your description that "the console has a serial to IP link" I had assumed that your Vantage Vue had a normal WeatherLink serial logger , which you were

[weewx-user] 4.x logging format

2020-05-02 Thread Graham Eddy
i am trying to change the weewx log format. i have added the following to my weewx.conf, but it has no effect. how should i do it? (weewx 4.0.0 on macos 10.13.6 high sierra). and can i use { style? [Logging] [[formatters]] [[[verbose]]] format = '%(asctime)s %(levelname)s

Re: [weewx-user] Re: How to force weeex to run on python 3

2020-05-02 Thread Praveen Chandrasekaran
Ok, Had to change in /etc/default/weewx. That did the trick. On Sat, 2 May 2020 at 16:43, Praveen Chandrasekaran wrote: > However I run it as daemon > > /etc/init.d/weewx. How to change the python version when pi starts up? > Without having to setup a cron job. > > > > On Sat, 2 May 2020 at

Re: [weewx-user] Re: How to force weeex to run on python 3

2020-05-02 Thread Praveen Chandrasekaran
However I run it as daemon /etc/init.d/weewx. How to change the python version when pi starts up? Without having to setup a cron job. On Sat, 2 May 2020 at 16:16, gjr80 wrote: > Already asked and answered. Have a look at this post >

[weewx-user] Re: How to force weeex to run on python 3

2020-05-02 Thread gjr80
Already asked and answered. Have a look at this post https://groups.google.com/d/msg/weewx-user/v-WEKHOIRiI/YZl28Kj-BQAJ Gary On Saturday, 2 May 2020 20:41:40 UTC+10, Praveen Chandrasekaran wrote: > This maybe a dumb question. How to force weewx to use python 3. The default > python on my pi

  1   2   >