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 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Problem with website barometer text b3183
Moderator: mcrossley
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Problem with website barometer text b3183
Hi,
I upgraded yesterday from 3160 to 3183, and got a very small but visible problem to my website index page. On the barometer it shows current pressure and pressure change values properly, but instead of ”falling, steady, rising etc” it just shows ”Pressure trend”.
My system is Rpi4 with bullseye with finnish locale, station is fine offset.
If it makes any difference, I have localised the barometer texts via strings.ini and it has worked properly on previous builds. Standard logging does not show any errors or other clues about any problem. Any tips how to proceed from here? Anyone else noticed same behaviour?
I upgraded yesterday from 3160 to 3183, and got a very small but visible problem to my website index page. On the barometer it shows current pressure and pressure change values properly, but instead of ”falling, steady, rising etc” it just shows ”Pressure trend”.
My system is Rpi4 with bullseye with finnish locale, station is fine offset.
If it makes any difference, I have localised the barometer texts via strings.ini and it has worked properly on previous builds. Standard logging does not show any errors or other clues about any problem. Any tips how to proceed from here? Anyone else noticed same behaviour?
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
I just checked my "live" install and the <#presstrend> tag seems to be working OK...
http://<CMX_IP>:8998/api/tags/process.json?presstrend
http://<CMX_IP>:8998/api/tags/process.json?presstrend
- PaulMy
- Posts: 3849
- 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: Problem with website barometer text b3183
Hi,
Mine seems to be showing correctly - i.e. http://komokaweather.com/cumulusmx/
Paul
Mine seems to be showing correctly - i.e. http://komokaweather.com/cumulusmx/
Enjoy,Pressure (sea level)
Barometer 1022.9 hPa Falling slowly -0.3 hPa/hr
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
This api call works for me too, responds properly with
{"presstrend":"Putoaa"}
So why it is not getting to website anymore?
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
OK, that shows that the web tag is working as expected.
So now you need to check the file that is being used to send the data to your web site.
Are you using the Cumulus supplied web site or some other template?
So now you need to check the file that is being used to send the data to your web site.
Are you using the Cumulus supplied web site or some other template?
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
I use the default website, except that I have made a big work with localizing major parts of it to finnish. @mark I can pm you my website url, but rather not put it public in here because of my hosting transfer limits.
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
You can PM your link, but the first thing to check is the websitedata.json file in your <cmx>/web folder. Does that have any obvious errors? Probably not as that would stop all your data updating!
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
OK, so your websitedata.json file contains...
presstrend: "Pressure trend"
You need to check the websitedataT.json file, at line 79 that should have...
presstrend: "<#presstrend>"
presstrend: "Pressure trend"
You need to check the websitedataT.json file, at line 79 that should have...
presstrend: "<#presstrend>"
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
Well this was interesting. I compared the file on my running CMX with the 3183 distribution zip, and no difference encountered. For a moment I was very puzzled. But then I noticed it...
My running instance websitedataT.json had windows-formatted CR-LF instead of unix LF. This does not show itself when running powershell compare-object (gc file1) (gc file2). Instead it needed Notepad++.
The problem with the website was sorted after replacing the file with correct one. Anyway I find it quite strange, that this difference broke processing of just that one webtag and not the others like wind description which also comes from strings.ini.
Of course this is all my fault, since I have been implementing your version updates to my localized website files by comparing differences between builds. Somehow I have managed to screw the linefeeds while retaining proper utf8-encoding.
Thank you and sorry.
Sami
My running instance websitedataT.json had windows-formatted CR-LF instead of unix LF. This does not show itself when running powershell compare-object (gc file1) (gc file2). Instead it needed Notepad++.
The problem with the website was sorted after replacing the file with correct one. Anyway I find it quite strange, that this difference broke processing of just that one webtag and not the others like wind description which also comes from strings.ini.
Of course this is all my fault, since I have been implementing your version updates to my localized website files by comparing differences between builds. Somehow I have managed to screw the linefeeds while retaining proper utf8-encoding.
Thank you and sorry.
Sami
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
Well, it seems I spoke too soon. If I click "FTP Now" the websitedata.json is updated properly. But when CMX runs normal interval update, then the "Pressure trend" makes a reappearance. Now this really goes over my head. I even restarted CMX to rule out possible caching of the template file, but no luck. What to check next?
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
You don't have another copy of websitedata being uploaded by extra files do you?
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
Nope, extra web files setting pages are empty except that ftp is ticked on every row on all 7 pages.
- mcrossley
- Posts: 12765
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problem with website barometer text b3183
Please switch on debug logging and post the latest log file after it has run for say an hour.
You seem to have a rogue copy of the file somewhere!
You seem to have a rogue copy of the file somewhere!
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
Last logfile attaced, however nothing to see there I'm afraid.
Debug logging started 10.5. around 20.00 and switched off around 21.20. I also ran the Ftp now at around 21.03 to see if it would produce anything interesting, but no. The strangest thing is, that today also triggering website update with ftp now does not update the website with proper information. Strange...
Debug logging started 10.5. around 20.00 and switched off around 21.20. I also ran the Ftp now at around 21.03 to see if it would produce anything interesting, but no. The strangest thing is, that today also triggering website update with ftp now does not update the website with proper information. Strange...
You do not have the required permissions to view the files attached to this post.
-
- Posts: 374
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problem with website barometer text b3183
Any ideas how to resolve this?