Author Topic: Steel Gauges  (Read 222269 times)

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #450 on: August 19, 2016, 08:20:07 PM »
Hi Blick,

relative path to a file in the same directory:
example.file
./example.file

relative path to a file above the actual directory:
../example.file

relative path to a file above the actual directory above the next directory:
../../example.file

and so on.

So if you reference a file in the same directory you can use both
example.file
./example file

Cheers,
Reinhard


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: Steel Gauges
« Reply #451 on: August 19, 2016, 08:42:17 PM »
Thanks for the correction Reinhard. Would you mind looking at the revision?

http://wiki.trixology.com/index.php/Steel_Series_Gauges
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #452 on: August 19, 2016, 09:04:07 PM »
Looks good.
Lets wait what Mark is saying - html and javascript are two different pairs of shoes.
 :)
Reinhard


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: Steel Gauges
« Reply #453 on: August 19, 2016, 09:06:26 PM »
OK. Thanks for your help. I am now staring to work on implementing Mark's "Position of the Sun" script.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #454 on: August 19, 2016, 09:18:06 PM »
Step by step (as I done it):
Download the script and make the changes in there (LAT, LONG, etc.)
Put it on your website directory.
Call it (http://your.website.xy/sunplot.php). - You will see a blank site with only the sun plot on it.
Refer to this site just like Mark told me to do on the place you want to have the sunplot being visible on your site:
Code: [Select]
<img src="sunplot.php" alt="Sun Plot" width="X" height="Y">Have fun!
Reinhard


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: Steel Gauges
« Reply #455 on: August 20, 2016, 01:50:26 AM »
Got it. Thanks. It's working nicely now. Still playing around with the colours but I'm just about there. Giving it a rest overnight and see how I like it in the morning. Nice little script, and I like it better than what I was using from der-mond.org for the sun.

Thanks Mark and Reinhard.
Blick


mcrossley

  • Gale
  • ****
  • Posts: 273
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: Davis VP2 + home brew
Re: Steel Gauges
« Reply #456 on: August 20, 2016, 04:16:27 PM »
I almost did not dare to ask, but:

What about adding a time-line from 0 to 24 to the png?

 :-X

I've started a new thread for the Sun Plot script... http://athena.trixology.com/index.php?topic=2250.0
Mark

ha-rob

  • Gentle Breeze
  • **
  • Posts: 23
    • IBUSKERU54
    • UranusWeather
  • Station Details: Davis Vantage Vue on MAC OS X 10.11.6
Re: Steel Gauges
« Reply #457 on: August 20, 2016, 11:08:05 PM »
Hi,

I have recently changed weather station from LaCrosse WS-2350 to Davis Vantage Vue. My weather site www.uranusweather.com with the Leuven-Template, is still running. But I have discovered a problem with the steel series gauges. On my weather site, if you click on livedata and then steelseries you will see that the arrows on all the gauges are pointing on zero. And a message is saying - Text file download corrupted! Retrying...

I need some help to fix that...   [tup]

Best regards
Rob

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #458 on: August 21, 2016, 07:36:34 AM »
Do you upload the realtimegaugesWC.txt file properly onto your webspace?
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #459 on: August 21, 2016, 03:11:35 PM »
And yes, put whatever you want in the ticker - so long as you have tags for it. Mine for instance has the date/time, sun hours, and min/max temps for the day.
http://weather.wilmslowastro.com/gauges-ss.php

Today I played around another time with the ticker and I removed the forecast because it's not precise enough and tells the same strings as always... I replaced them with the date/time, current conditions, temp min/max and windgust max and the time it happened.

Lucky now.  [biggrin]
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Steel Gauges
« Reply #460 on: August 22, 2016, 07:01:39 PM »
Mark,

can you tell me what font is used by the gauges and the ticker if I set digitalFont and digitalForecast to <false> and where I can find this preference?

Thanks in advance,
Reinhard


mcrossley

  • Gale
  • ****
  • Posts: 273
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: Davis VP2 + home brew
Re: Steel Gauges
« Reply #461 on: August 22, 2016, 08:44:06 PM »
They use the LCDMono2-Ultra font. The font file is in the gauges .zip file.

The font specification is hard coded into the SteelSeries library, which will use 'digital' fonts in the following fail-over order as it finds them... 'LCDMono2Ultra, Arial, Verdana, sans-serif'
Mark

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: Steel Gauges
« Reply #462 on: August 22, 2016, 09:40:19 PM »
Mark:

I just added a small section to the wiki to explain relative paths, since that is the single biggest challenge WeatherCatters have in implementing the gauges. I would appreciate you taking a look at section 3.1.3 and making sure I explained it correctly.

http://wiki.trixology.com/index.php/Steel_Series_Gauges

Thanks.
Blick


mcrossley

  • Gale
  • ****
  • Posts: 273
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: Davis VP2 + home brew
Re: Steel Gauges
« Reply #463 on: August 23, 2016, 01:42:24 PM »
Hi Blic, that looks fine to me. The syntax is the same as the good old DOS command (with the slashes the opposite way round), and Bash shell etc.

Actually you should also be able to use absolute paths, but the root "/" is the web server root as seen by the clients browser (which is not necessarily the same as the root you see in FTP client).

Relative paths are simpler to put in a distributed script, as if the folders are uploaded per the .zip, then the images folder will always be "images/" relative to the supplied HTML page no matter where it actually resides in the web server folder structure. I probably making this less clear the more I type!  [lol2]
Mark

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: Steel Gauges
« Reply #464 on: August 23, 2016, 03:04:39 PM »
Ha ha ha. Thanks for taking the time to review that piece, and for your support of WeatherCatters using the gauges.
Blick