[weewx-user] Re: TE923 Nexus: daily max. wind gust on WU and weewx website

2020-05-27 Thread Andrew Milner
try and set loop_hilo = true in [StdArchive] which will then store loop values as highs and lows. The default is to use only the archive records. This should give you the mmissing values. On Wednesday, 27 May 2020 19:46:51 UTC+3, Felix Maltzahn wrote: > > Hello, > > I have a little problem

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-27 Thread Glenn McKechnie
Really good to hear of another success! I've just bumped mine to weewx v4.1.0 and that's also working like a charm. I know the feeling with the heavy rain. Thankfully it's only ever been phantom downfalls and therefore easily fixed. On 28/05/2020, Neville Davis wrote: > Glenn > > Success my

Re: [weewx-user] Database Problem

2020-05-27 Thread Tom Keffer
There are now two ways of specifying a database schema. In the old way, the presence of 'wind' was detected by setting the database manager to WXDaySummaryManager. In the new way, it is explicitly mentioned in the schema. Unfortunately, you're mixing the two ways. If you wish to use the old way,

[weewx-user] Re: Database Problem

2020-05-27 Thread vince
If you switch to the extended schema, you don't need to add the lightning elements a second time in weewx.conf, as they're already in the v4 extended schema, but you'd need to line up the names you picked so that they match the database schema. The element names are "lightning_strike_count"

[weewx-user] Re: WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Marius Schamschula
Success! Thanks! On Wednesday, May 27, 2020 at 9:06:27 AM UTC-5, Marius Schamschula wrote: > > After some debugging, my FreeBSD server is finally running WeeWX 4.1.0 > using Python 3.8 (instead of Python 2.7). Two things > > 1) The server uptime is no longer correct. I, getting > > Weewx

Re: [weewx-user] Re: Ubuntu 16 installation issues

2020-05-27 Thread Tom Keffer
Thanks, but I need to see farther up the log. You posted just the very end of the error. On Wed, May 27, 2020 at 4:39 PM Francisco Puig wrote: > Hi Tom, > > I'm using Python 2, that I think its the correct for Ubuntu 16? > > I replaced the ultimeter.py and below are the log entries; > > May 27

Re: [weewx-user] Re: WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Tom Keffer
Oops. Typo in the file. Try this one. -tk On Wed, May 27, 2020 at 4:06 PM Marius Schamschula wrote: > Tom, > > That didn't help: > > I manually installed the station.py file, ran > > python3 -m compileall ./station.py > > > to get the .pyc file and restarted the weewx service. > > On

[weewx-user] Re: Ubuntu 16 installation issues

2020-05-27 Thread Francisco Puig
Hi Tom, I'm using Python 2, that I think its the correct for Ubuntu 16? I replaced the ultimeter.py and below are the log entries; May 27 19:38:02 alpharetta weewx[23054] CRITICAL __main__: File "/usr/share/weewx/weewx/engine.py", line 188, in run May 27 19:38:02 alpharetta

[weewx-user] Database Problem

2020-05-27 Thread Phil Owers
Have just tried to add avg_distance and lightning_strikes to the weewx.sdb. schema by adding import schemas.wview schema_extended = schemas.wview.schema + [('avg_distance', 'REAL'),('lightning_strikes', 'REAL')] in the extension.py file and in the weewx.conf changed schema =

[weewx-user] Re: WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Marius Schamschula
Tom, That didn't help: I manually installed the station.py file, ran python3 -m compileall ./station.py to get the .pyc file and restarted the weewx service. On Wednesday, May 27, 2020 at 9:06:27 AM UTC-5, Marius Schamschula wrote: > > After some debugging, my FreeBSD server is finally

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-27 Thread Neville Davis
Glenn Success my system is fully operational with python 3.7 weewx v4.0.0 with 1Wire rain, and my i2C sensor system, with ow-server and pyownet. For your information Glenn I am using your OWFS-dallas.py downloaded yesterday.after my silly mistake we are lo longer under several meters of

Re: [weewx-user] Re: Ubuntu 16 installation issues

2020-05-27 Thread Tom Keffer
Hello, Francisco 1. Are you using Python 2 or Python 3? 2. Can you replace your copy of /usr/share/weewx/weewx/drivers/ultimeter.py with the attached? It will tell us what is causing the TypeError. -tk On Wed, May 27, 2020 at 12:30 PM Francisco Puig wrote: > I used the apt-get installation

Re: [weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Thanks Tom! I've put suggestion 1 and 2 in place. About 3, yeah, you are right. Picking up and using some working code doesnt mean it should remain called AddElectricity. CalcDrought should be more in place. Again, thank you both! Op woensdag 27 mei 2020 22:27:33 UTC+2 schreef Tom Keffer: > >

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Yes, the simulator doesnt provide ET, whereas the Vantage driver does provide ET. But, bingo, your suggestion did the trick. Now I've placed my service just after StdWxCalculate, and now there is an ET popping up Thanks! Op woensdag 27 mei 2020 22:26:49 UTC+2 schreef gjr80: > > As you say the

Re: [weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Tom Keffer
1. The ordering of your services is still not quite right. The group "data_services" is run before "process_services." You want data_services = , process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate,

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread gjr80
As you say the use of simulator/VP2 explains it, the simulator driver does not emit ET so it must rely on StdWXCalculate when using the vantage driver it does (in your case) emit ET so it is there for your service. Regards the order I apologise, I mislead you, you do indeed need to change the

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Hmmm, maybe adding ET to Simulator is not such a bad idea... Just adding the ET-observation to this code: self.observations = { 'outTemp': Observation(magnitude=20.0, average= 50.0, period=24.0, phase_lag=14.0, start=start_ts), 'inTemp' :

[weewx-user] Re: event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread Maarten van der Hoeven
Hi, thanks for the pointer. While coding and testing, I use the Simulator to generate loops and archive records. When I connect my real Vantage Pro to WeeWX, the error disappears. The station is now providing all the value, including ET. Simulator is not providing ET, thats for sure now. When

Re: [weewx-user] Re: WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Tom Keffer
Marius, try this version of station.py. -tk On Wed, May 27, 2020 at 8:21 AM Marius Schamschula wrote: > # python3.8 test.py > > 1590592851.7261915 > > c_int(0) > > # python2.7 test.py > > 1567100.76301 > > c_int(1589025758) > > > On Wednesday, May 27, 2020 at 9:06:27 AM UTC-5, Marius

[weewx-user] Re: Ubuntu 16 installation issues

2020-05-27 Thread Francisco Puig
I used the apt-get installation method. On Wednesday, May 27, 2020 at 3:28:25 PM UTC-4, Francisco Puig wrote: > > Hi all, > > I'm trying to migrate my WeeWX RPi server to a Ubuntu 16 server and I'm > getting these errors. I have no idea where to start troubleshooting. > > Traceback (most

[weewx-user] Ubuntu 16 installation issues

2020-05-27 Thread Francisco Puig
Hi all, I'm trying to migrate my WeeWX RPi server to a Ubuntu 16 server and I'm getting these errors. I have no idea where to start troubleshooting. Traceback (most recent call last): File "/usr/share/weewx/weewxd", line 261, in main() File "/usr/share/weewx/weewxd", line 154, in

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Two things to try: 1. Make sure the FTP username has write permissions on the server. 2. Try different variations on the FTP path. For example, path = public_html/weewx/# What you have path = public_html/weewx path = /public_html/weewx/ path = /public_html/weewx path = weewx path = /weewx

[weewx-user] Re: wee_extension inigo-data.txt is not generated

2020-05-27 Thread Ronald Berghammer
I test it and it works fine. Thank you very much  -- 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

[weewx-user] Installattion of tfrec on Raspberry PI with Raspbian Buster

2020-05-27 Thread Luc Heijst
See readme file of https://github.com/matthewwall/weewx-tfrc For Raspbian Stretch and Raspbian Buster these are the steps: sudo apt-get install clang cmake git pkg-config librtlsdr-dev -y b) install rtl-sdr: cd /home/weewx git clone https://github.com/steve-m/librtlsdr.git cd librtlsdr

Re: [weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Thanks Tom Yes all the files are in /var/www/html/weewx If I understand you correctly, this has more to do with the file path of the remote host server. I am at a loss to understand what is going on at that end. I can at least connect but I either get a message as you have seen or a 'broken

[weewx-user] TE923 Nexus: daily max. wind gust on WU and weewx website

2020-05-27 Thread Felix Maltzahn
Hello, I have a little problem with my RPI and TE923 TFA Nexus... The daily max wind gust (shown on the weather stations display) is all time much higher than the value uploaded on WU, PWS, Awekas or on the weewx generated website. The archive interval is set to 60 seconds. The update intval

Re: [weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Thanks Tom Yes all the files are in /var/www/html/weewx If I understand you correctly, this has more to do with the file path of the remote host server. I am at a loss to understand what is going on at that end. I upload my webcam pic every five minutes using curl but if I use the same

[weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2020-05-27 Thread Rob Cranfill
Dear Mr or Ms Potamia, ;-) I have code that I hacked into the standard Weewx base that implements proper sftp. If you would like a copy I can send it to you. (And anyone else who’d like a copy.) Just one modified file. /rob -- You received this message because you are subscribed to the

[weewx-user] Re: WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Marius Schamschula
# python3.8 test.py 1590592851.7261915 c_int(0) # python2.7 test.py 1567100.76301 c_int(1589025758) On Wednesday, May 27, 2020 at 9:06:27 AM UTC-5, Marius Schamschula wrote: > > After some debugging, my FreeBSD server is finally running WeeWX 4.1.0 > using Python 3.8 (instead of Python

[weewx-user] Confusion on installing Weewx 4.1

2020-05-27 Thread michael form
Hello: I am confused about what is necessary to install Weewx 4.1 using Python 3. I have seen many problems with people trying to do this using a *1-Wire interface* like I am using on a Raspberry Pi, running Buster. Others seemed to have better luck installing Weewx using Python 2. I am a

Re: [weewx-user] WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Tom Keffer
Could you try running the following under Python 3.8 and Python 2.7? Thanks! import ctypes from ctypes.util import find_library libc = ctypes.CDLL(find_library('c')) size = ctypes.c_size_t() buf = ctypes.c_int() size.value = ctypes.sizeof(buf) libc.sysctlbyname("kern.boottime",

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Fixed in commit 7ac6eaf . On Wed, May 27, 2020 at 7:17 AM Tom Keffer wrote: > Hello, Richard > > Unfortunately, the error message is misleading (and should be changed). > When it says > > Failed uploading

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Hello, Richard Unfortunately, the error message is misleading (and should be changed). When it says Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory what it means is it could not upload to the *target*

[weewx-user] WeeWX 4.1.0: Server uptime, extra data and plots

2020-05-27 Thread Marius Schamschula
After some debugging, my FreeBSD server is finally running WeeWX 4.1.0 using Python 3.8 (instead of Python 2.7). Two things 1) The server uptime is no longer correct. I, getting Weewx uptime: 0 days, 21 hours, 5 minutes Server uptime: 18409 days, 14 hours, 0 minutes weewx v4.1.0 That's longer

[weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Hi Having secured a connection, I still don't seem to be able to upload files I get the following error message on the log May 27 13:30:36 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't

[weewx-user] event.record['ET'] throws me a KeyError. Why?

2020-05-27 Thread gjr80
Hi, Where does your service sit in the service order in relation to StdWXCalculate in weewx.conf under [Engine] [[Services]]? One possible reason is that if your station does not provide field ET (not many (any?) provide a numeric value in every archive record) and the StdWXCalculate service

[weewx-user] Re: wee_extension inigo-data.txt is not generated

2020-05-27 Thread John Smith
On Wednesday, 27 May 2020 03:13:04 UTC+10, Ronald Berghammer wrote: > > Thanks a lot, no Stress it is not urgent I just posted new versions of the inigo plugin: https://github.com/evilbunny2008/weeWXWeatherApp/releases/tag/0.8.26 -- You received this message because you are subscribed to

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-27 Thread Neville Davis
Thanks very much Glen I will do the mods in the morning. I had specified a sensor type in my old system...but just forgot.. Neville On Wednesday, May 27, 2020 at 5:31:30 PM UTC+10, Glenn McKechnie wrote: > > Hi Neville, > > Within the [OWFS] section of weewx you need to specify a

[weewx-user] Re: Belchertown MQTT update time is chaotic

2020-05-27 Thread Keimpe Bleeker
How simple it can be sometimes ... I was thinking in a stove-pipe and was looking much too deep. Thanks for all assistance, as far as I am concerned, item closed. Op dinsdag 26 mei 2020 20:24:59 UTC+2 schreef Jacques Terrettaz: > > In the original skin.conf of Belchertown v 1.1 , i see : > >

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-27 Thread Glenn McKechnie
Hi Neville, Within the [OWFS] section of weewx you need to specify a [[sensor_type]] Firstly, you are correct with the count incrementing when the bucket tips but you need to turn that into a time based value A rain value is evaluated as the difference between the current count and the last

Re: [weewx-user] V4 with python2 OWFS errors

2020-05-27 Thread Neville Davis
Glen My solution is proving to be beyond my capabilities to get to be correct, while I can get the data I have run into several issues that just makes it too messy. After reading this and looking at your far more elegant solutions I have installed and it is has several problems. First I run