Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by rpmik on February 17, 2024, 02:05:50 PM »
The last piece, and what I came back to ask, is about rain. Right now I have it just providing a rain year to date value, which is currently 24". WC seems to be interpreting that fine, but it's a little funny looking and seeing that number. Should I flip that to rain today ([rain0total-daysum])? I think this is how WC previously handled it when it was talking directly to my davis rather than through meteobridge.

I don’t know. WC hypothetically could detect a daily rain measurement, but if it’s working now, then I would just leave it alone. That XML seems pretty rigid. Let WC handle the gory details  ;-)
22
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by staze on February 15, 2024, 11:28:42 PM »
The <weathercat> piece is so it would validate as XML. =) without it (no parent element) it wouldn't validate.

Good to know about 0 vs null. I'll see about that. Right now it seems to be interpreting null and 0 as the same, and the errors have gone away and those channels now validate as valid. Meteobridge CAN report that info, but the Vantage Vue (my weather station) doesn't have UV/Solar. =)

The last piece, and what I came back to ask, is about rain. Right now I have it just providing a rain year to date value, which is currently 24". WC seems to be interpreting that fine, but it's a little funny looking and seeing that number. Should I flip that to rain today ([rain0total-daysum])? I think this is how WC previously handled it when it was talking directly to my davis rather than through meteobridge.

Thanks!
23
General Weather Discussion / Re: A year without either an El Niño or La Niña?
« Last post by xairbusdriver on February 13, 2024, 04:39:21 PM »
I think they got the year right, have to wait till 2025 to confirm everything else. cmu:-)
These Niña/o things get so messed up coming across the Rockies! ::)
24
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by rpmik on February 13, 2024, 03:11:17 AM »
Hi Staze,
Sorry I've not been around here too much. Glad you got some headway, though. I have no experience using template files since I had only an original Meteobridge without that feature. So I wouldn't have been able to help there. It'd strange to me that you needed to use perfectly constructed XML though since I did not ned the header or the <weathercat> element. Not sure if any of that may be causing the odd sensor error problem with Weathercat reading the XML. But I guess if it works now, why not? :-)

That said, hopefully I can help now.

Also not sure about your example, it seems to have random 52's in it? It decodes to

I'm not sure how that happened. I've fixed it. But don't think that'll help you at this point. Sorry about that!

Update: Yes, I had to add Soloar and UVIndex fields, and just leave them blank. It now doesn't say they're sensor errors.

----

Related, any idea why it would be showing every query being sensor errors?

Station Comms: Bad - Check Installation (0.00%).
Comms Errors: 0. Good Data: 3161. Sensor Errors: 3161. But it's got data!

Log shows it fetching data.

All the channels that I'm providing show status Valid. Feels like it's either expecting some data that I'm not providing (so it's a sensor error), or...??? My station (Vantage Vue, feeding via Meteobridge) doesn't provide UV, or Solar Radiation, or Aux Temp's, or Synth channels... do I need to just put those in the XML output but blank?

You should use 0 (zero) instead of blank values to avoid sensor errors. Strange meteobridge cannot report solar and UV from Davis.


25
Dear WeatherCat climate watchers,

Another month has passed and we have the latest pronouncements from da' usual suspects.  You can get all the details at the usual spot:

https://www.cpc.ncep.noaa.gov/products/analysis_monitoring/enso_advisory/ensodisc.shtml

The synopsis reads as follows: "A transition from El Niño to ENSO-neutral is likely by April-June 2024 (79% chance), with increasing odds of La Niña developing in June-August 2024 (55% chance)."

The details really don't add much.  Without having much confidence, the expectation is that we will yo-yo from El Niño to La Niña as this year unfolds.

Take it for whatever it is worth (and mostly likely - it isn't much!  ;) )

Edouard

26
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by elagache on February 12, 2024, 11:25:24 PM »
Dear staze and WeatherCat tinkers,

You might try sending a private message to Ryan (rpmik) to get his attention.  Unfortunately, he would be the only person who is likely to be able to help you.

Edouard
27
WeatherCat General Discussion / Re: Generic XML and Meteobridge Success
« Last post by staze on February 12, 2024, 02:39:07 AM »
Update: Yes, I had to add Soloar and UVIndex fields, and just leave them blank. It now doesn't say they're sensor errors.

----

Related, any idea why it would be showing every query being sensor errors?

Station Comms: Bad - Check Installation (0.00%).
Comms Errors: 0. Good Data: 3161. Sensor Errors: 3161. But it's got data!

Log shows it fetching data.

All the channels that I'm providing show status Valid. Feels like it's either expecting some data that I'm not providing (so it's a sensor error), or...??? My station (Vantage Vue, feeding via Meteobridge) doesn't provide UV, or Solar Radiation, or Aux Temp's, or Synth channels... do I need to just put those in the XML output but blank?
28
WeatherCat Integration / Re: Anyone using the XML driver?
« Last post by staze on February 11, 2024, 08:38:02 PM »
Thank you! This helped. Though, I can't seem to get it to work... asking in other thread though!
29
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>
30
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.
Pages: 1 2 [3] 4 5 ... 10