Page 1 of 1

A conundrum

Posted: Tue 01 Aug 2023 9:43 am
by Vegit8
Apart from my own weather station I also manage another persons weather station, via remote access.
To all intents and purposes the installations are the same - except he uses a WLL device and I have a VP2.
We both run CMX on dedicated laptops.

In order to fix an issue that occurred on his system a week or so ago, I needed to upgrade his CMX version - this involved going through the 3.10.0 Cumulus.ini upgrade as well as the new .htm files etc.
This all seemed to go OK - I thought!

All the new pages were displayed on his site - including a minor modification to the menu.js file (to my_menu.js).

There are now 2 new problems.

1. Looking at the index.htm pages mine (www.geoffwebber.co.uk/weather) has solar data at the bottom, his (www.charlesdowding.co.uk/weather) does not.
A similar issue occurs with gauges.htm pages - I have the solar gauge - his page does not.
Oddly Solar data is visible in both the Charts and the Annual summary pages.

I have compared the following files side by side in notepad++ (cumulus.ini, index.htm, gauges.htm), there are no significant changes - except for the ones that you might expect where the sites are different.

Looking at his local pages the solar data is being displayed.
local solar.png
2. When viewing the dashboard on his laptop the "Internet settings" page has no values visible on screen.
internet settings.png
As mentioned above I have compared cumulus.ini files in notepad++ and they are identical, there are no missing sections, nor (as far as I can see) any corrupted data.
Cumulus_linecount.png
station type.png
All suggestions welcome!!!

Re: A conundrum

Posted: Tue 01 Aug 2023 11:28 am
by flort
Looking at the websitedata.json file for www.charlesdowding.co.uk/weather it shows -

"options":{
"useApparent":"0",
"showSolar":"0",
"showUV":"0"

The same file for http://www.geoffwebber.co.uk/weather/ shows -

"options":{
"useApparent":"0",
"showSolar":"1",
"showUV":"0"

showSolar needs to have a value of 1 for solar to be displayed on the website. This is selectable in the Dashboard under Settings > Display Options > General Options.

Regards,
Trevor

Re: A conundrum

Posted: Tue 01 Aug 2023 12:01 pm
by freddie
Vegit8 wrote: Tue 01 Aug 2023 9:43 am 2. When viewing the dashboard on his laptop the "Internet settings" page has no values visible on screen.
internet settings.png
This may well be browser cache related. Have you tried clearing the cache or viewing the dashboard in an incognito tab/window?

Re: A conundrum

Posted: Tue 01 Aug 2023 12:10 pm
by Vegit8
Thanks to both of you..

.json file has been edited and now that all is good there.

Odd about the settings as some options were visible and others not.
I changed browser to Bing and all were visible - so thank you both for prompt replies.

Happy Bunny!

Re: A conundrum

Posted: Tue 01 Aug 2023 12:44 pm
by mcrossley
Vegit8 wrote: Tue 01 Aug 2023 12:10 pm .json file has been edited and now that all is good there.
Do not do that, the file is created by CMX and will be overwritten the next day with the original values. You need to change the setting in CMX (as above) that controls the value in the JSON file.

Re: A conundrum

Posted: Tue 01 Aug 2023 2:20 pm
by Vegit8
Mark
Ah OK
Thanks for the tip