Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by staze on February 11, 2024, 08:37:21 PM »
Update: Not sure HOW I fixed it, might have been adding contenttype to the url. So it's now: "/cgi-bin/template.cgi?templatefile=weathercat.txt&contenttype=application/xml"

----

Previous post

@rpmik: Thanks for this, elagache linked me from my thread asking about this. What I'm not sure about is I'm trying to use a template file, and WC refuses to say it's valid.

Have you had this issue, and if so, how did you get around it? I can't tell if WC is expecting xml headers, or...?

fwiw, I'm using a template file, which you can put in templates, and call as /cgi-bin/template.cgi?templatefile=weathercat.txt (in my case).

The template is just
Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<weathercat>
<value>
<name>AirTemp_C</name>
<data>[th0temp-act]</data>
</value>
<value>
<name>IntTemp_C</name>
<data>[thb0temp-act]</data>
</value>
<value>
<name>RH</name>
<data>[th0hum-act]</data>
</value>
<value>
<name>IntRH</name>
<data>[thb0hum-act]</data>
</value>
<value>
<name>Barometer_hPa</name>
<data>[thb0press-act]</data>
</value>
<value>
<name>WindSpeed_ms</name>
<data>[wind0wind-act]</data>
</value>
<value>
<name>WindDirect_deg</name>
<data>[wind0dir-act]</data>
</value>
<value>
<name>Rain_mm</name>
<data>[rain0total-act]</data>
</value>
</weathercat>

This validates as valid xml, and the fields populate correctly from MB, but WC just refuses to think it's valid... =(

fwiw, my connection string just looks like

meteobridge:password@10.0.6.22/cgi-bin/template.cgi?templatefile=weathercat.txt

I've tried with and without the http:// at the start, and that doesn't matter. =(

Also not sure about your example, it seems to have random 52's in it? It decodes to
Code: [Select]
user:password@192.168.x.y/cgi-bin/template.cgi?<value><name>AirTemp_C</name><data>52</[th0temp-act]></value><value><name>IntTemp_C</name><data>52</[thb0temp-act]></value><value><name>Solar</name><data>52</[sol0rad-act]></value><value><name>UVIndex</name><data>52</[uv0index-act]></value><value><name>Barometer_hPa</name><data>52</[thb0press-act]></value><value><name>WindSpeed_ms</name><data>52</[wind0wind-act]></value><value><name>WindDirect_deg</name><data>52</[wind0dir-act]></value><value><name>Rain_mm</name><data>52</[rain0total-act]></value><value><name>RH</name><data>52</[th0hum-act]></value><value><name>IntRH</name><data>52</[thb0hum-act]></value>
42
WeatherCat General Discussion / Re: MacOS Sonoma 14.1.2 crash
« Last post by Hap on February 11, 2024, 07:46:33 PM »
Intel 2019 MacPro
- just upgraded to macOS 14.3
- WeatherCat crashes on launch
- Deleted WeatherCat preferences
- Restarted WeatherCat
- Tried to setup station comms - crash
- Actually setup comms, crash
- Crashes on launch again now.

It runs fine until I setup station comms - immediate crash. WeatherLink IP. At that point, it crashes on every launch. Remove settings, restart, it launches fine, enter comms IP address, crash.

EDIT: Worked when I deleted the data folder.
43
Weather Hardware/Measurement / Re: Editing Historical Data
« Last post by dgwilcox on February 11, 2024, 06:26:56 AM »
Thank you Edouard!

I am familiar with BBEdit (from my old HTML days) and may take a stab at it - paying attention to the particulars of editing pref files!

If I'm successful eliminating the bogus data, I may try to use the Daily Rain Editor to "add" in a more reasonable amount of rain for that storm. But I've yet to try that tool. One step at a time.

Thanks again,

- D
44
Dear Dean and WeatherCat station caregivers,

With the recent storm we had here in Northern CA, the rain collector funnel of my (circa 2016) Davis Vantage Pro 2 was damaged by wind debris and completely flew off the station. As a result of the wind, the rain collector was exposed and was toggling back and forth all night - to the total of 46 in of rain being recorded - in one night! Now my monthly and annual totals are completely skewed.

Sorry to hear about your station being damaged by the recent aggressive storms.  The last California atmospheric river event included some very strong winds indeed.

Due to the time that my weather station recorded "rain," WeatherCat's Data View/Editor is just too tedious to completely solve this - tried, but not willing to go through almost a thousand entries manually (over multiple days) - plus the Daily Rain column isn't editable anyway. Also, looking at the forums, it appears some data data is still hardwired in the Vantage Pro console itself.

I was able to reset the console (but lost data) and after hours of trying to go through this process, just decided to restore WeatherCat's data from the time before the storm.

So:
1. Vantage Pro console's data has been reset (lost data)
2. WeatherCat was restored from an earlier backup (lost data)

But how can I edit the historical data that WeatherCat keeps, since when that process finishes after restarting, my monthly and yearly totals return to be off-the-scales.

It is possible to edit the data files themselves, but it isn't something for someone who isn't too comfortable with software-related tinkering.  You will find the data files at this location on your hard drive:

~/Library/WeatherCatData/Location1/2024

The ~ refers to your home directory and the path is in UNIX format.  There you will find files with names like this:

2_WeatherCatData.cat

and

2_WeatherCatData.cat.hrs

The first file actually contains the weather data and the second in an index file.  You can edit manually the 2_WeatherCatData.cat using any plain text editor.  Here is the header from that file for my installation of WeatherCat:

Code: [Select]
WeatherCat data file ***If you modify this file, be sure to delete the relevent .hrs file***.
t and V are not optional, all other fields are.
t is the day, hour and minute (2 digits each), T is outside temperature, Ti is internal temperature,                               T1 to T8 is auxiliary temperatures, D is dew point,                               Pr is barometric pressure, W is wind speed,
Wd is wind direction, Wc is wind chill, Wg is wind gust, Ph is hourly precipitation, P is total precipitation,
                              H is outside humidity, Hi is internal humidity, H1 to H8 are auxiliary humidity sensors, S is solar, CO21 to CO24 is CO2
Sm1 to Sm4 is soil moisture, Lw1 to Lw4 is leaf wetness, St1 to St4 is soil temperature,
                              Lt1 to Lt4 is leaf temperature, U is UV, Pm is monthly precipitation, Py is annual precipitation, Ed is daily ET, Em is monthly ET, Ey is yearly ET, C is current conditions (delimited by double quotes), V is validation.

VERS:3

    0 t:010000 T:11.39 Ti:19.89 D:9.97 Pr:1001.4189 W:1.61 Wd:134 Wc:11.39 Wg:1.61 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:2.29 Sy2:5.77 Sy3:96.91 Sy4:14.33 Sy5:-9.28 C:"N/A" V:4
    1 t:010001 T:11.39 Ti:19.89 D:9.97 Pr:1001.4528 W:1.61 Wd:126 Wc:11.39 Wg:1.61 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:96.96 Sy4:14.28 Sy5:-9.33 C:"N/A" V:4
    5 t:010005 T:11.44 Ti:19.89 D:10.03 Pr:1001.4528 W:1.61 Wd:127 Wc:11.44 Wg:3.22 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.00 Sy4:14.28 Sy5:-9.28 C:"N/A" V:4
    6 t:010006 T:11.39 Ti:19.89 D:9.97 Pr:1001.4189 W:1.61 Wd:128 Wc:11.39 Wg:3.22 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.11 Sy4:14.28 Sy5:-9.28 C:"N/A" V:4
    7 t:010007 T:11.39 Ti:19.89 D:9.97 Pr:1001.4189 W:1.61 Wd:141 Wc:11.39 Wg:6.44 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.12 Sy4:14.33 Sy5:-9.33 C:"N/A" V:4
    8 t:010008 T:11.39 Ti:19.89 D:9.97 Pr:1001.4189 W:1.61 Wd:142 Wc:11.39 Wg:6.44 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.16 Sy4:14.28 Sy5:-9.28 C:"N/A" V:4
    9 t:010009 T:11.44 Ti:19.89 D:10.03 Pr:1001.4189 W:1.61 Wd:134 Wc:11.44 Wg:6.44 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.19 Sy4:14.28 Sy5:-9.28 C:"N/A" V:4
   10 t:010010 T:11.39 Ti:19.94 D:9.97 Pr:1001.4528 W:1.61 Wd:140 Wc:11.39 Wg:3.22 Ph:0.00 P:0.00 H:91 Hi:64 S:0 U:0.0 T1:11.1 H1:96.0 Lw4:0.0 Pm:0.00 Py:146.56 Ed:0.00 Em:0.00 Ey:27.43 Sy1:1.92 Sy2:-0.00 Sy3:97.20 Sy4:14.28 Sy5:-9.22 C:"N/A" V:4


You can edit this as described if you delete the index file before launching WeatherCat once more.  If you are bold enough to try this, I recommend using solid editor like BBEdit.  Make a copy of the file you wish to edit and work on that only.  Do not run WeatherCat while you are making the edits.  Your Davis data logger will have the data while WeatherCat isn't running and WeatherCat will download what is missing after you have completed making the changes.

That is the procedure roughly.  By all means, ask any questions you might have to clarify the situation.

Edouard
45
Weather Hardware/Measurement / Editing Historical Data
« Last post by dgwilcox on February 10, 2024, 07:25:14 PM »
With the recent storm we had here in Northern CA, the rain collector funnel of my (circa 2016) Davis Vantage Pro 2 was damaged by wind debris and completely flew off the station. As a result of the wind, the rain collector was exposed and was toggling back and forth all night - to the total of 46 in of rain being recorded - in one night! Now my monthly and annual totals are completely skewed.

Due to the time that my weather station recorded "rain," WeatherCat's Data View/Editor is just too tedious to completely solve this - tried, but not willing to go through almost a thousand entries manually (over multiple days) - plus the Daily Rain column isn't editable anyway. Also, looking at the forums, it appears some data data is still hardwired in the Vantage Pro console itself.

I was able to reset the console (but lost data) and after hours of trying to go through this process, just decided to restore WeatherCat's data from the time before the storm.

So:
1. Vantage Pro console's data has been reset (lost data)
2. WeatherCat was restored from an earlier backup (lost data)

But how can I edit the historical data that WeatherCat keeps, since when that process finishes after restarting, my monthly and yearly totals return to be off-the-scales.

Any insight is appreciated,

- Dean 
46
There is no doubt it is an excellent business model and very trendy given the obsession towards cloud computing.  However, anyone considering Davis equipment these days should ask themselves some tough questions about how comfortable they are with having to pay to access their own weather data.

Oh well, . . . . . Edouard

Indeed. There is currently a fuss in the UK because Ring doorbells have hiked their subscription prices for the second time in two years. They have gone up 50% in that time. Suck 'em, and hike the price when they are hooked. This quite apart from other issues like Amazon, not you, owning the rights to all video stored on the cloud that the doorbells capture. Then there are other cloud-based systems that go bust leaving you with a useless device and no access to your old data.
47
Perhaps part of my confusion comes from the text I quoted previously and the "Getting Started Guide" pdf which claims the "WeatherLink Data Loggers (Rev. M 1/29/21)
[are]
For Vantage Pro2, Vantage Vue, and Weather Envoy
Products 6510USB and SER

The diagrams in this booklet show the exact same place where the logger goes in the current Console. It is also interesting that the site claims there is only one in stock!
48
Dear Rich, Mark, X-Air, and WeatherCat fans,

The new console has no local data access capabilities, so no software can interface to it.

If you buy the console and want local access, you will also have to buy a WeatherLink Live 6100

Thanks for answering this fundamental question.  When the new console first came out it wasn't clear if there would be any sort of API that would allow software to access the data.  Now we know there isn't.  Davis is clearly attempting to take control of the data that owners of Davis equipment generate.  There is no doubt it is an excellent business model and very trendy given the obsession towards cloud computing.  However, anyone considering Davis equipment these days should ask themselves some tough questions about how comfortable they are with having to pay to access their own weather data.

Oh well, . . . . . Edouard
49
The new console does not accept any data loggers, they only fit the old LCD consoles.

There is currently** no way of getting data out of the new consoles, they can only send it weatherlink.com

** Lots of people are asking them to add the local API as the WeatherLink Live supports, however there is no sign that Davis are currently willing to do that.
50
At 81 I am quickly leaving behind my "market talk" understanding! Davis still sells a USB (and also a Serial version) data logger for the new Console. But the only use stated in the Console manual 'brands' them as "WeatherLink Data Loggers". Actually, the old Console (Rev. K, 1/12/12) uses the same name. The manual describes the "Optional WeatherLink Software" on page 2. There are 8 different loggers listed. The Macintosh[sic] version (6520) is no longer found at the Davis web site.

Of course, with Davis' new software, we are shown only 2 versions and the only software mentioned is:
Quote
The WeatherLink data logger connects your Vantage Pro2 console directly to your computer, providing enhanced weather monitoring capabilities, and a continuous preserved data record. View the data on the WeatherLink Cloud with any connected device or smart phone, or on your computer with free WeatherLink Computer Software.

Whether or not Stu can add code to parse that data for use by WC is unknown. The lack of a sustainable future for basic, raw data from Davis instruments may be part of the cause for a decrease in recent updates to WC. At 81, I have no incentive to go to 'cloud-based' data storage. My use of WeatherCat may end with whatever dies first; me or the hardware! cmu:-)
Pages: 1 ... 3 4 [5] 6 7 ... 10