Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Rain Gauge quit, WLL and Pi

Discussion specific to Davis weather stations
Post Reply
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Rain Gauge quit, WLL and Pi

Post by rpsmith »

I'm running CMX on a Pi and my Davis Vantage Vue/WeatherLink Live quit recording rain but everything else was OK. I contacted Davis and they said it looks like you need to send in your unit for repair. So I decided to purchase a new Davis Vantage Pro2 instead. Turns out it has the same problem. I then noticed that Rain was registering on the WeatherLink website but not on CMX running on my Pi so I completely reloaded my Pi and configured CMX from scratch and I still have the exact same problem.

Any help would be greatly appreciated.

RPSmith...
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by HansR »

I think it would be good to run with debug and data logging on, run for some time and then post the resulting logfile so Mark or other competent can analyse the situation. Otherwise it would be blind guessing which apparently both Davis and you have already done without great result.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by PaulMy »

Hi,
If your station data, including rain, is correctly uploading to WL.com, and also in CMX except rain, then presumably your WL.com settings are ok and possibly a settings issue in CMX.
WL.com: Settings(wrench) > Device Configuration > your Weather Station ISS > Edit > Advnce Settings
CMX: Station Settings > Davis Weatherlink Live > Primary Sensors > Rain Sensor TX Id

Do you get any valid response by entering in browser: http://localhost:8998/api/tags/process.json?LastRainTip
Can you share your WL.com bulletin URL and do you have a CMX website link?

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Re: Rain Gauge quit, WLL and Pi

Post by rpsmith »

PaulMy wrote: Mon 06 Jun 2022 2:24 pm Hi,
If your station data, including rain, is correctly uploading to WL.com, and also in CMX except rain, then presumably your WL.com settings are ok and possibly a settings issue in CMX.
WL.com: Settings(wrench) > Device Configuration > your Weather Station ISS > Edit > Advnce Settings
CMX: Station Settings > Davis Weatherlink Live > Primary Sensors > Rain Sensor TX Id

Do you get any valid response by entering in browser: http://localhost:8998/api/tags/process.json?LastRainTip
Can you share your WL.com bulletin URL and do you have a CMX website link?

Enjoy,
Paul
First off thanks fore everyone's reply!

"192.168.32.11:8998/api/tags/process.json?LastRainTip" gives me this: {"LastRainTip":"---"}

Also, my WS is set to ID-3 and so are all my primary sensors in CMX.

"WL.com bulletin URL and do you have a CMX website link?" I'm not sure what WL.com URL and CMX link you are asking about but I would be happy to provide links if you could please expand on those.

RPSmith...
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by PaulMy »

rpsmith wrote:
"WL.com bulletin URL and do you have a CMX website link?" I'm not sure what WL.com URL and CMX link you are asking about but I would be happy to provide links if you could please expand on those.
I take it you have a weatherlink.com account where your Weatherlink Live uploads the data. Can you provide the link to that - i.e. https://www.weatherlink.com/bulletin/9e ... e63b9d35ec but will have your station ID code.
Also if you have a website being updated by CumulusMX, the link to that.

rpsmith wrote:
"192.168.32.11:8998/api/tags/process.json?LastRainTip" gives me this: {"LastRainTip":"---"}
I think the --- dashes indicate there is no rain data in CumulusMX. The MXdiags file as mentioned by Hans will be helpful in debugging
HansR wrote:
I think it would be good to run with debug and data logging on, run for some time and then post the resulting logfile so Mark or other competent can analyse the situation.
Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Re: Rain Gauge quit, WLL and Pi

Post by rpsmith »

Log file attached.

Thanks!

RPSmith...
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by PaulMy »

Hi,
The MXdiags does seem to receive rain data from the ISS in the ongoing data grab

Code: Select all

2022-06-06 14:30:27.997 WLL current: found ISS data on TxId 3
2022-06-06 14:30:27.997 WLL current: using temp/hum data from TxId 3
2022-06-06 14:30:27.997 WLL current: using wind data from TxId 3
2022-06-06 14:30:28.002 WLL current: using rain data from TxId 3
2022-06-06 14:30:28.002 WLL current: found Indoor temp/hum data
2022-06-06 14:30:28.003 WLL current: found Baro data
2022-06-06 14:30:38.798 GetWllCurrent: Sending GET current conditions request 1 to WLL: http://192.168.33.9/v1/current_conditions ...
2022-06-06 14:30:38.832 GetWllCurrent: response - {"data":{"did":"001D0A7114AB","ts":1654543838,"conditions":
[{"lsid":288262,"data_structure_type":1,"txid":3,"temp": 80.3,"hum":70.4,"dew_point": 69.8,"wet_bulb": 72.1,"heat_index": 83.7,"wind_chill": 80.3,
"thw_index": 83.7,"thsw_index":null,"wind_speed_last":3.00,"wind_dir_last":63,"wind_speed_avg_last_1_min":2.37,"wind_dir_scalar_avg_last_1_min":51,
"wind_speed_avg_last_2_min":2.25,"wind_dir_scalar_avg_last_2_min":52,"wind_speed_hi_last_2_min":5.00,"wind_dir_at_hi_speed_last_2_min":54,
"wind_speed_avg_last_10_min":2.56,"wind_dir_scalar_avg_last_10_min":45,"wind_speed_hi_last_10_min":5.00,"wind_dir_at_hi_speed_last_10_min":29,
"rain_size":1,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rainfall_last_60_min":0,"rainfall_last_24_hr":73,
"rain_storm":203,"rain_storm_start_at":1654323240,"solar_rad":null,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":1,
"rainfall_monthly":207,"rainfall_year":711,"rain_storm_last":4,"rain_storm_last_start_at":1654103761,"rain_storm_last_end_at":1654192861},
{"lsid":288261,"data_structure_type":4,"temp_in": 78.7,"hum_in":42.6,"dew_point_in": 54.1,"heat_index_in": 78.0},{"lsid":288260,"data_structure_type":3,
"bar_sea_level":29.775,"bar_trend":-0.032,"bar_absolute":27.732}]},"error":null}
I am not familiar enough but thought the WLL used the API Key v2.
From the WL.com Account Information page
API Token v1 Use for WeatherLink data loggers (WeatherLinkIP, WeatherLinkUSB, and WeatherLinkSER), and Vantage Connect.
API Token v1: mykeyxxxxxxxxxxxxxx
API V1 DocumentationGenerate New v1 Token

API Key v2 Use for AirLink, EnviroMonitor, WeatherLink Live, WLIP, WLNAS, and VC.
API Key v2: mykeyxxxxxxxxxxxxxx
API Secret: mykeyxxxxxxxxxxxxxx
Your MXDiags shows v1
2022-06-06 14:30:38.798 GetWllCurrent: Sending GET current conditions request 1 to WLL: http://192.168.33.9/v1/current_conditions ...
Maybe someone else is more familiar with this.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Re: Rain Gauge quit, WLL and Pi

Post by rpsmith »

So this is my station on WL.com: https://www.weatherlink.com/bulletin/0a ... 235d6dad2d

Also, I forgot the exact command I used to pull this data from my WLL, but it looks to me like it is registering rain but the rain gauge always shows zero!

{"data":{"did":"001D0A7114AB","ts":1654576008,"conditions":[{"lsid":288262,"data_structure_type":1,"txid":3,"temp": 65.9,"hum":88.1,"dew_point": 62.3,"wet_bulb": 63.4,"heat_index": 66.9,"wind_chill": 65.9,"thw_index": 66.9,"thsw_index":null,"wind_speed_last":2.00,"wind_dir_last":5,"wind_speed_avg_last_1_min":2.50,"wind_dir_scalar_avg_last_1_min":180,"wind_speed_avg_last_2_min":3.06,"wind_dir_scalar_avg_last_2_min":176,"wind_speed_hi_last_2_min":5.00,"wind_dir_at_hi_speed_last_2_min":192,"wind_speed_avg_last_10_min":5.25,"wind_dir_scalar_avg_last_10_min":183,"wind_speed_hi_last_10_min":15.00,"wind_dir_at_hi_speed_last_10_min":206,"rain_size":1,"rain_rate_last":69,"rain_rate_hi":99,"rainfall_last_15_min":16,"rain_rate_hi_last_15_min":148,"rainfall_last_60_min":32,"rainfall_last_24_hr":33,"rain_storm":235,"rain_storm_start_at":1654323240,"solar_rad":null,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":33,"rainfall_monthly":239,"rainfall_year":743,"rain_storm_last":4,"rain_storm_last_start_at":1654103761,"rain_storm_last_end_at":1654192861},{"lsid":288261,"data_structure_type":4,"temp_in": 83.6,"hum_in":44.8,"dew_point_in": 59.9,"heat_index_in": 83.6},{"lsid":288260,"data_structure_type":3,"bar_sea_level":29.899,"bar_trend": 0.146,"bar_absolute":27.849}]},"error":null}

RPSmith...
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by HansR »

I think this one is for Mark :?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by mcrossley »

The problem is that CMX is not seeing any broadcast data packets from your WLL. The rain and wind data is primarily picked up from those, with the current data used for temperature and to fill any missed gusts. The rain values other than storm data in the current data packets are not used because they can lag the "live" data in the broadcasts and cause issues.

Does your WeatherLink app on your phone when connected to your local network show "live" data - with 2.5 second wind speed updates?

You are running on Linux, do you have firewall rules blocking in-bound traffic? The multicasts use UDP on port 22222, do you need to add a rule to allow this traffic?

I see your CMX failed to connect to github on start-up to check for the latest version, does your server have internet access?
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Re: Rain Gauge quit, WLL and Pi

Post by rpsmith »

mcrossley wrote: Tue 07 Jun 2022 12:31 pm The problem is that CMX is not seeing any broadcast data packets from your WLL. The rain and wind data is primarily picked up from those, with the current data used for temperature and to fill any missed gusts. The rain values other than storm data in the current data packets are not used because they can lag the "live" data in the broadcasts and cause issues.

Does your WeatherLink app on your phone when connected to your local network show "live" data - with 2.5 second wind speed updates?

You are running on Linux, do you have firewall rules blocking in-bound traffic? The multicasts use UDP on port 22222, do you need to add a rule to allow this traffic?

I see your CMX failed to connect to github on start-up to check for the latest version, does your server have internet access?
So about a month ago I put my WLL on a isolated network setup for IOT devices. My LAN devices (that includes my CMX-Pi) can communicate with the IOT devices but the IOT devices can't initiate connections to any LAN device. I guess this must have been when the problem started but we have only recently started getting any rain so I just now noticed the problem. So I moved my CMX-Pi to the IOT network and the Rain Gauge started working again.

But here is my next problem. I have several other CMX-Pi that are at remote locations that I connect to via a VPN and VPNs generally don't pass broadcasts. So would it be possible to add an option to use current data packets instead of broadcasts?

Thanks for the Help! I really appreciate it!

RPSmith...
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rain Gauge quit, WLL and Pi

Post by mcrossley »

Ah, what are you doing about NTP updates, weatherlink.com uploads (and the very occasional firmware update) from the WLL?

Short term a change to using the current conditions isn't on the schedule, I can't see many people would need it either.
rpsmith
Posts: 6
Joined: Mon 06 Jun 2022 12:59 am
Weather Station: Davis Vantage Pro2
Operating System: Raspberry Pi

Re: Rain Gauge quit, WLL and Pi

Post by rpsmith »

mcrossley wrote: Tue 07 Jun 2022 4:46 pm Ah, what are you doing about NTP updates, weatherlink.com uploads (and the very occasional firmware update) from the WLL?

Short term a change to using the current conditions isn't on the schedule, I can't see many people would need it either.
Thanks Mark,

My home IOT network has access to the Internet it just can't initiate connections to my primary LAN.

RPSmith...
Post Reply