Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Pressure Trend

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Pressure Trend

Post by Mapantz »

Not sure if I have missed something, but <#presstrend> is returning "Pressure Trend"
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Pressure Trend

Post by HansR »

See the Wiki, search on <#presstrend>.

Pressure (Tags)
<#press>: The sea level pressure
<#presstrendval>: The average rate of pressure change over the last three hours. Trend = (pressure_now - pressure_3hrs_ago) / 3 (Fixed from version 1.7.7 5th March 2008)
<#presstrend>: The pressure trend in words - values can be set in the 'strings.ini' file
<#presstrendenglish>: a singe word description for the pressure trend - Rising/Falling/Steady (for use by HTML, javascript etc, values can't be changed). From version 1.8.8 1st December 2009
<#PressChangeLast3Hours>: Badge vMx.png Available from version 3.11.1, Total Pressure Change since 3 hours ago
<#altimeterpressure>: Altimeter pressure. Pressure corrected to sea level using the station's altitude only. Same as sea-level pressure for non-Davis stations.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

I followed the Wiki years back, that's why I am here.. :roll:

<#presstrend> has always worked; ie "Falling Quickly"

But it doesn't work anymore, it just returns "Pressure Trend"
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Pressure Trend

Post by HansR »

Mapantz wrote: Sat 02 Oct 2021 12:31 pm I followed the Wiki years back, that's why I am here.. :roll:
It is not that bad... lazyness? and you might turn your irritation into creativity :?
Mapantz wrote: Sat 02 Oct 2021 12:31 pm <#presstrend> has always worked; ie "Falling Quickly"

But it doesn't work anymore, it just returns "Pressure Trend"
The rest if for Mark to comment
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Pressure Trend

Post by mcrossley »

? still working OK for me.

What does this give you (this calls the tag processor)...

http:// <ipaddress>:8998/api/tags/process.json?presstrend
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Pressure Trend

Post by mcrossley »

My only thought is you have overridden the default strings in a copy of strings.ini?
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

mcrossley wrote: Sat 02 Oct 2021 12:37 pm My only thought is you have overridden the default strings in a copy of strings.ini?

Code: Select all

{"presstrend":"Pressure trend"}
I don't use a strings.ini
Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

delete.
Last edited by Mapantz on Sat 02 Oct 2021 12:42 pm, edited 1 time in total.
Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

HansR wrote: Sat 02 Oct 2021 12:34 pm
It is not that bad... lazyness? and you might turn your irritation into creativity :?
Lazyness? I'm here to report something that was working fine, but now it isn't. Spare me the lecture.
Image
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Pressure Trend

Post by water01 »

Code: Select all

$pressTL                    = "991.3";  //  today's low pressure
$presstrend                 = "Falling quickly";  //  pressure trend in words - values can be set in the 'strings.ini' file (for use by JavaScript gauges, values cannot be changed)
$presstrendenglish          = "Falling";  //  simple pressure trend - Rising/Falling/Steady
I downloaded my php webtags at 14:15 on 3.13.3 and as you can see it is returning the correct data.
David
Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

No idea what is going on, but the api call still returns:

Code: Select all

{"presstrend":"Pressure trend"}
Even after updating to the latest version.

I don't use a strings.ini either, so i have no idea.
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Pressure Trend

Post by mcrossley »

OK, with that capitalisation I have found it.

Do you have "Cumulus pressure names" enabled in Station Settings => Common Options

The Davis does not provide pressure trend strings. But if your station type is set to Davis VP2, that should automatically use the Cumulus pressure names no matter what that setting value.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

mcrossley wrote: Sat 02 Oct 2021 2:07 pm OK, with that capitalisation I have found it.

Do you have "Cumulus pressure names" enabled in Station Settings => Common Options

The Davis does not provide pressure trend strings. But if your station type is set to Davis VP2, that should automatically use the Cumulus pressure names no matter what that setting value.
No, I don't have that setting enabled.

That's something I have never enabled, as I haven't needed to.
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Pressure Trend

Post by mcrossley »

If you are using the VP2 or WLL station then you should not have to, that will override it.

I'll have to setup my test rig as a VP2 and look at this (the WLL is working OK), that bit code hasn't been changed afaik since Steve stopped developing it...
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Pressure Trend

Post by Mapantz »

I've enabled that setting, and I have the correct text in there now.
Image
Post Reply