Stop displaying UV on FreshWDL page

I don’t have a UV sensor so would like to remove the gauge on the FreshWDL screen labelled “UV”. I’ve tried to change the config.js file under gauge settings from
UV: {
enabled: true
},

to
UV: {
enabled: false
},

but it’s still there and I can’t see anything in the FreshWDLmaster.html file to change it either. Any help appreciated

Strange. . . I have UV but no solar, and it works the other way around:

solar: {
   enabled: false
},
UV: {
   enabled: true
},

Changed config.js as above but both still shown… www.theoldschool.info

I noticed from another post that you say your config.js and FreshWDLmaster.html had been changed to more recent versions. The only way this could have happened is if you uploaded new versions to your server: the problem described in the other thread needed no action by the user at all (except maybe Ctrl-F5).

Do you have two different versions of FreshWDLmaster.html and config.js somewhere on your server?

My server is on the same PC as Weather Display (I use Abyss Web Server) and the config.js and FreshWDLmaster just sit in C:\wdisplay\HTML which is the path that Abyss uses. The index.html file that Abyss loads justs redirects traffic to FreshWDLmaster.html. I really don’t know don’t know how the unmodified config.js and FreshWDLmaster.html original files overwrote the files I modified but I’m just happy that all is working fine & I have a better understanding of how the files work except I’d still like to hide the UV gauge! I’ve found this site https://novawx.dscloud.me/freshwdl.phpwhich has neither UV nor solar gauges so it is possible.

I have tested my page (url as left, go to Menu and choose Fresh Weather Display Live) and I can turn UV and solar on and off independently or together with the simple changes to config.js that we have been discussing, so I regret I am at a loss to explain why it doesn’t work for you :frowning:

I realise that my UV gauge appears in a different place to yours (and so would solar if I turned it on) because I show extra temp sensors, but I could turn solar off before that: see here . . .

Don’t know what I didn’t do correctly yesterday but I approached the situation freshly this morning, changed UV in config.js file to ‘false’, hit Cntrl-f5 on my “test” PC (which I hadn’t done before) and bingo - it works! Thanks for your help :smiley:

The Ctrl-F5 probably fixed it. Until you did that you would have had the old config.js file cached on the PC.

:smiley:

I am sorry I only mentioned Ctrl-F5 in passing, it’s second nature to me now if a change doesn’t work as expected :wink:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.