Re: [weewx-user] Re: gw1000 - wh41 wh57 battery values

2021-04-21 Thread gjr80
I can see what is going on now. To understand you need a little GW1000 API background. To obtain the sensor observation data there is a particular API call that is made that returns the sensor observation data. This data previously included a block of sensor battery state/signal level data but

Re: [weewx-user] Retrieve weather station location from a GPS

2021-04-21 Thread Garry A Lockyer
A VERY quick look at the Airmar driver and docs on Airmar website suggests the weather station communicates via NMEA sentences. If yes, they probably use the standard sentences for GPS position - can’t remember their names but they are well documented. Anyway, you might be able modify the

Re: [weewx-user] Retrieve weather station location from a GPS

2021-04-21 Thread Tom Keffer
The latitude and longitude are first read from weewx.conf, but then they are held in an instance of weewx.station.StationInfo. Normally, this object is treated as readonly but, off hand, I don't see why you couldn't change the values. You could write a custom service that reads the GPS, then

[weewx-user] Re: Retrieve weather station location from a GPS

2021-04-21 Thread vince
Read the lat/lon programmatically from the GPS, write a quick sed script to hack on weewx.conf accordingly, then reset weewx. On Wednesday, April 21, 2021 at 5:32:15 PM UTC-7 jose...@gmail.com wrote: > > I'm using weewx in a custom mobile weather station (based on a Airmar > device) which has a

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Tom Apologies, it's 0140 in the morning here and it's been a long day! Completed the upgrade but this time removed the plug and then re-inserted it post the reboot, all is now well. pi@raspberrypi:~ $ service weewx status ● weewx.service - LSB: weewx weather system Loaded: loaded

[weewx-user] Retrieve weather station location from a GPS

2021-04-21 Thread José Miguel Gonçalves
I'm using weewx in a custom mobile weather station (based on a Airmar device) which has a GPS device builtin. I would like to set dynamically the weather station's Latitude/Longitude/Altitude in the weewx web page from the GPS device instead of the setting it statically from the configuration

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Tom Keffer
Well, geez, we're not trying to fix the working system. Try it on the broken system. On Wed, Apr 21, 2021 at 5:21 PM Dave McCreath wrote: > Tom > > Please be aware that my answer is for the current working system, not the > one that was broken. > > I can try the RPi upgrade again and see if the

RE: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Wait 15 minutes and I’ll do the upgrade again. From: weewx-user@googlegroups.com On Behalf Of Dave McCreath Sent: 22 April 2021 01:21 To: weewx-user Subject: Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue Tom Please be aware that my answer is for the current working system, not the

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Tom Please be aware that my answer is for the current working system, not the one that was broken. I can try the RPi upgrade again and see if the file is located within the devices directory? Dave On Thursday, 22 April 2021 at 01:14:53 UTC+1 Dave McCreath wrote: > Tom > > > > Hi. > > >

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread p q
Unplug it and plug it back in :b On Wed, Apr 21, 2021 at 5:19 PM Tom Keffer wrote: > And it still doesn't work? Ok, you've got me stumped. > > 1. Show more of the log, not just what a service 'status' command shows. > It may show clues farther upstream. > > 2. What happens if you try the

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Tom Keffer
And it still doesn't work? Ok, you've got me stumped. 1. Show more of the log, not just what a service 'status' command shows. It may show clues farther upstream. 2. What happens if you try the *Establishing connectivity

RE: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Tom Hi. Yep, mine is the same as yours: [ 4689.183852] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [ 4689.183939] cp210x 1-1.4:1.0: device disconnected [ 4689.633565] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd [ 4692.803586] usb 1-1.4: new

Re: [weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Tom Keffer
Do you have a device /dev/ttyUSB0? That's normally where a Vantage shows up in the device directory, but not always. The most reliable way to find out where the Vantage ended up is to unplug it, plug it in again, then type 'dmesg'. This will look something like: *dmesg* [14818.699217] usb 2-2.1:

[weewx-user] Re: RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Forgot to add. Now running 4.5.1 from a backup SD card and all is currently well but does not look like I'll be able to update/upgrade the RPi until I figure out what's wrong. Regards Dave On Thursday, 22 April 2021 at 00:08:18 UTC+1 Dave McCreath wrote: > Good Evening Venerable Experts > >

[weewx-user] RPi WeeWx Python 3.7 Issue

2021-04-21 Thread Dave McCreath
Good Evening Venerable Experts Earlier on today I updated my RPi (sudu apt-get update && sudo apt-get upgrade). On rebooting WeeWx failed to start, this was post an upgrade from 4.2 to 4.5.1. (I have WeeWx added to the sources list) So, being savvy, rebooted from a backup sd card to bring the

[weewx-user] Re: Forecast in the Database

2021-04-21 Thread gjr80
Or just do what Tom says :) Gary On Thursday, 22 April 2021 at 07:51:46 UTC+10 gjr80 wrote: > If your aim is to store the Davis forecastIcon value in your database for > use in reports etc then you need to do one of two things. Either add a > forecastIcon field/column to your database schema

[weewx-user] Re: Forecast in the Database

2021-04-21 Thread gjr80
If your aim is to store the Davis forecastIcon value in your database for use in reports etc then you need to do one of two things. Either add a forecastIcon field/column to your database schema and WeeWX will automatically save forecastIcon to database. Or, if you are using the wview_extended

Re: [weewx-user] Re: Forecast in the Database

2021-04-21 Thread Tom Keffer
The weewx_extended schema includes an observation type 'forecast'. However, you want 'forecastRule'. To add 'forecastRule' (using WeeWX V4.5): *wee_database --add-column=forecastRule* On Wed, Apr 21, 2021 at 12:08 PM P C wrote: > > Thank you, but that's not exactly what I'm looking for. I

[weewx-user] Re: Forecast in the Database

2021-04-21 Thread P C
Thank you, but that's not exactly what I'm looking for. I wish store the number of the rule so that it can be evaluated 6 hours later. In the end, I would have a percentage of reliable on the total of all the rules and on almost each in particular. So there is an unused "forecast" column in

[weewx-user] Re: Accessing WeeWx through the IP Address

2021-04-21 Thread vince
You need your weewx configuration to put the html pages in the location your nginx webserver expects.For a guide for how to set up a webserver, there are thousands of nginx how-to type pages out there if you google a little Just guessing here, but try http://x.x.x.x/weewx and see if you

[weewx-user] Re: Forecast in the Database

2021-04-21 Thread storm...@gmail.com
Is this what you are looking for : https://groups.google.com/g/weewx-user/c/pZnD5llxKzA/m/I2kiod2wBwAJ or https://github.com/hes19073/hesweewx/blob/master/bin/user/vanfortex.py On Wednesday, April 21, 2021 at 12:47:41 PM UTC-4 blaise@gmail.com wrote: > > Hello, > > The Vantage Pro has a

[weewx-user] Re: Belchertown Skin Beaufort Category Missing

2021-04-21 Thread Alan Bryant
I forgot to mention that I am running the master branch of Belchertown from today (04/21/2021) & weewx 4.5.1 installed via apt on Ubuntu 20.10. On Wednesday, April 21, 2021 at 12:30:27 PM UTC-5 Alan Bryant wrote: > > I just did a fresh installation of the Belchertown skin, which I love, >

[weewx-user] Belchertown Skin Beaufort Category Missing

2021-04-21 Thread Alan Bryant
I just did a fresh installation of the Belchertown skin, which I love, thank you Pat, and everything is working so far except for the beaufort_category. I had this working earlier today, but I was having other intermittent issues, so I did a fresh installation. This time, the intermittent

[weewx-user] Forecast in the Database

2021-04-21 Thread P C
Hello, The Vantage Pro has a Forecast variable that I wanted to add in the database. To my surprise, the location is there, with a "null" as values. My question is simple, how to feed it? Well to you, Blaise -- You received this message because you are subscribed to the Google Groups

[weewx-user] Accessing WeeWx through the IP Address

2021-04-21 Thread Ron Short
Hello, I have WeeWx posting weather data. I also have Nginx installed. These are on a RPi 4B. When I enter the IP address, I get the Nginx Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online

Re: [weewx-user] Belchertown Forecast Interval

2021-04-21 Thread Pete Geenhuizen
Well that explains a lot.  I thought I had the latest version. Thanks On 4/21/21 8:50 AM, 'Steve Woodford' via weewx-user wrote: On 21 Apr 2021, at 13:23, Pete Geenhuizen > wrote: I've just recently started looking into changing my weewx skin to Belchertown. I've

Re: [weewx-user] Belchertown Forecast Interval

2021-04-21 Thread 'Steve Woodford' via weewx-user
> On 21 Apr 2021, at 13:23, Pete Geenhuizen wrote: > > I've just recently started looking into changing my weewx skin to Belchertown. > I've been able to figure out most of what I want, however no matter how much > tinkering I do the one thing that totally escapes me is the Forecast interval >

[weewx-user] Belchertown Forecast Interval

2021-04-21 Thread Pete Geenhuizen
I've just recently started looking into changing my weewx skin to Belchertown. I've been able to figure out most of what I want, however no matter how much tinkering I do the one thing that totally escapes me is the Forecast interval option.  No matter what I've tried I can't get the option to

Re: [weewx-user] Crash on startup following 4.3.0 -> 4.5.1 update

2021-04-21 Thread 'Steve Woodford' via weewx-user
> On 21 Apr 2021, at 11:08, 'Steve Woodford' via weewx-user > wrote: > > I attempted a WeeWX update this morning, from 4.3.0 to 4.5.1. It did not go > well. Bad form replying to myself, but ... After further investigation, it turned out to be due to an errant record in the DB. The record’s

Re: [weewx-user] Re: gw1000 - wh41 wh57 battery values

2021-04-21 Thread Graham Eddy
an extract from test system - RPi with gw1000 as driver > On 21 Apr 2021, at 6:30 pm, gjr80 wrote: > > Either way post the logged data here and I can decode what the driver was > receiving. —logged config— Apr 21 21:33:09 stringybark weewx-gw1000[341] DEBUG __main__:

[weewx-user] Crash on startup following 4.3.0 -> 4.5.1 update

2021-04-21 Thread 'Steve Woodford' via weewx-user
I attempted a WeeWX update this morning, from 4.3.0 to 4.5.1. It did not go well. When the daemon is started, I see the following in the log file after about 10 seconds: weewx[97779] CRITICAL __main__: Caught unrecoverable exception: weewx[97779] CRITICAL __main__: could not convert

[weewx-user] Re: gw1000 - wh41 wh57 battery values

2021-04-21 Thread gjr80
Can’t say why you are seeing what you are seeing but if you are running the GW1000 API driver we can look at the raw bytes coming from the GW1000 and see if the issue is the GW1000/sensors or the driver. You can do one of two things. You can set debug = 3 and restart WeeWX to have the driver