Author Topic: No UV, Solar and Cloudbase pop up graphs Steel Gauges  (Read 1668 times)

wx-watch

  • Strong Breeze
  • ***
  • Posts: 124
    • ISPALDIN8
    • Wx Watch
  • Station Details: Vantage Pro 2 Plus and a Mac Mini M2
No UV, Solar and Cloudbase pop up graphs Steel Gauges
« on: December 26, 2020, 01:50:22 PM »
I have just set up Steel Gauges on my Website and it is mostly working ok!

My site is https://www.wx-watch.co.uk and the gauges can be accessed directly at https://wx-watch.co.uk/weathercat/custom/steel/gauges-ss-basic.htm

All seems fine apart from the pop graphs from the bottom three dials, namely UV, Solar and Cloudbase.

I think to get these working I have to edit lines 280 onwards in the gauges.js file but I am not sure what to edit them to!!

Many thanks..

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #1 on: December 27, 2020, 12:36:52 AM »
Looking good wx-watch.

What do you currently have in your gauges.js file on lines 291 through 294?

Do they look like this?
Code: [Select]
(config.showUvGauge ? 'uv1.jpg' : null),             // UV graph if UV sensor is present | =null if no UV sensor
(config.showSolarGauge ? 'solarrad1.jpg' : null),    // Solar rad graph if Solar sensor is present | Solar =null if no Solar sensor
(config.showRoseGauge ? 'winddirection1.jpg' : null),// Wind direction if Rose is enabled | =null if Rose is disabled
(config.showCloudGauge ? 'cloudbase1.jpg' : null)     // Pressure for cloud height | =null if Cloud Height is disabled
Blick


wx-watch

  • Strong Breeze
  • ***
  • Posts: 124
    • ISPALDIN8
    • Wx Watch
  • Station Details: Vantage Pro 2 Plus and a Mac Mini M2
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #2 on: December 27, 2020, 06:32:22 AM »
Yes - exactly that

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #3 on: December 27, 2020, 06:34:01 AM »
Are those three graphs (uvi1.jpg, solarrad1.jpg, and cloudbase1.jpg) present in your WeatherCat custom web directory, along with the graphs that are showing up on your other gauges?
Blick


wx-watch

  • Strong Breeze
  • ***
  • Posts: 124
    • ISPALDIN8
    • Wx Watch
  • Station Details: Vantage Pro 2 Plus and a Mac Mini M2
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #4 on: December 27, 2020, 08:00:31 AM »
Yes - all three are there and looking at my website all three are being uploaded to the   /wxwatch/weathercat/custom   directory.

The SteelSeries gauges are installed in   /wxwatch/weathercat/custom/steel

Thus

https://wx-watch.co.uk/weathercat/custom/uv1.jpg
https://wx-watch.co.uk/weathercat/custom/solarrad1.jpg
https://wx-watch.co.uk/weathercat/custom/cloudbase1.jpg

I don't know if it makes any difference but I had to modify my file realtimegaugesWC.txt  by adding the following to the start of the file to get it to work - like this

DOTSEPARATORS${"date":"de$",
"timeUTC":"DUTC$",
"SensorContactLost":"COMMSFAILFLAG$",

And for further information I altered line 71 of gauges.js to read   realTimeUrlWC      : '../realtimegaugesWC.txt',
and line 38 to read     imgPathURL         : '../../', to make the other popup graphs work


Looking at my website directory structure it seems the .jpg files related to all the other gauges are in /wxwatch/weathercat/  but the bottom three (the ones that will not display) are in /wxwatch/weathercat/custom/

I must have messed something up (obviously!!) but I know not what!

wx-watch

  • Strong Breeze
  • ***
  • Posts: 124
    • ISPALDIN8
    • Wx Watch
  • Station Details: Vantage Pro 2 Plus and a Mac Mini M2
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #5 on: December 28, 2020, 12:51:07 PM »
Final post on this matter - got it sorted (to my satisfaction) by adding  config.showPopupGraphs = false;  in the WeatherCat config section. Now no popup graphs at all, just popup info !!!

https://wx-watch.co.uk/weathercat/custom/steel/

Steve

  • Global Moderator
  • Storm
  • *****
  • Posts: 1555
    • DW8454
    • KOHAVON11
    • Avon Weather
  • Station Details: Davis Wireless VP2 Plus w/24 hr FARS, Leaf & Soil Station, 2023 Mac mini M2 Pro, 32GB RAM, Mac OS 14, WeatherCat 3.2
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #6 on: December 28, 2020, 04:56:37 PM »
Now no popup graphs at all, just popup info !!!


Oh! I like that! I never look at the graphs, anyway. Who knows what my (very few) viewers like, but I might make this switch on mine.
Steve - Avon, Ohio, USA


CWOP: DW8454 - WU: KOHAVON11 - AWEKAS - CoCoRaHS
PWSweather - WeatherCloud - Twitter - Facebook

Blicj11

  • Storm
  • *****
  • Posts: 3941
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: No UV, Solar and Cloudbase pop up graphs Steel Gauges
« Reply #7 on: December 28, 2020, 05:17:01 PM »
Glad you found an acceptable solution, but I'm still puzzled as to why three of your graphs were in a different directory.

And like Steve, I didn't realize data without the graph was an option. Thanks for sharing that with us.
Blick