Author Topic: Steel Gauges  (Read 287884 times)

Michel

  • Gentle Breeze
  • **
  • Posts: 46
    • MichelsWunderland
  • Station Details: WH3080 - See website for details
Re: Steel Gauges
« Reply #315 on: September 19, 2015, 10:28:55 PM »
Blick,

thanks for your quick response.

Yes, I put two tags "somegraph$1$" and "somegraph$2$" into one of the files to be processed.
The related JPEGs are created - but they aren't FTPed to my webserver.
It looks like the HTML file is being processed, but the output is not uploaded.
As opposed to the output of REALTIMEGAUGESWC.TXT which *is* being uploaded.

Any idea ?

  Regards !

    Michel

Michel

  • Gentle Breeze
  • **
  • Posts: 46
    • MichelsWunderland
  • Station Details: WH3080 - See website for details
Re: Steel Gauges
« Reply #316 on: September 19, 2015, 10:55:40 PM »
...

Hmmm... having had a look at WeatherCats logging it seems WeatherCat doesn't process
any HTML files for upload as long as the external sensors aren't available ??

See attachement...


xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: Steel Gauges
« Reply #317 on: September 20, 2015, 03:42:26 AM »
I highly recommend re-reading the list of tags in the WC manual (pages 198 thru 212), as well as the pages covering how to use them and how WC does its 'magic' with them. ;) It's as simple as writing a plain text file, with nothing more than the WC tag, saving the plain text file as ".html" (or even ".htm") and adding it to the list in Preferences->On-Line->Custom Web->Additional Files. Of course, you have to set up the FTP info, but you don't even have to upload the file yourself. WC will see 'read' that list, open the file, look for WC tags and convert it to whatever it does (GRHUMI$ tells WC you want a graph of the indoor humidity). Then, WC will even upload the edited file for you. All you have to do is type in the correct url (and you can even test it on your own computer). I've over simplified the description for my simple mind.

Of course, as a IT guy, you already know all the web/FTP/javascript/PHP/coding details. I think of WC tags as a 'markup language' that uses the app to convert that language into specifically formatted numbers, graphs, gauges, and charts. Since you're using a 'template', it may be more difficult to figure out where to place the tag, just depends on how flexible the 'template' is. Hopefully, it's as simple as adding "GRHUMI$" in a 'settings' file.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system

Blicj11

  • Storm
  • *****
  • Posts: 4061
    • 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 Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Steel Gauges
« Reply #318 on: September 20, 2015, 06:33:03 AM »
Looks like you have it figured out now. Both internal graphs are displaying. What did you tweak?
Blick


Michel

  • Gentle Breeze
  • **
  • Posts: 46
    • MichelsWunderland
  • Station Details: WH3080 - See website for details
Re: Steel Gauges
« Reply #319 on: September 20, 2015, 07:32:11 AM »
xairbusdriver,

thanks for your hints. I will need to remember looking into the manual rather
than reinventing the wheel ;-)

As you can see from the above attachment (log and directory) there are two files
in the directory for files to be processed by WC.

Both are processed by WC (see screenshot of output directy below), but only
realtimegaugesWC.txt gets FTPed to the webserver. The other files don't ! - WHY ?
See 2nd/3rd screenshot for related settings...

Blick,

As for what I have tweaked to get the indoor graphs...
I set up two custom graphs and put the corresponding tags into the html file to be processed
by WC and then FTPed the result (.JPG) over manually.


So the question is:
Does WC not FTP those files (except realtimegaugeswc.txt) to the webserver
as long as the external sensors are offline and the station does not deliver
all of the data it is expected to ?

   Regards !

    Michel


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2956
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Steel Gauges
« Reply #320 on: September 20, 2015, 11:08:43 AM »
Hello Michel,
Open the 'Status' window from WeatherCat's 'Tools' menu - it'll show you the current status of the custom web processing (and other systems). In this case it's going to be saying 'Waiting to start' - it won't actually start until it's happy with the data.

Michel

  • Gentle Breeze
  • **
  • Posts: 46
    • MichelsWunderland
  • Station Details: WH3080 - See website for details
Re: Steel Gauges
« Reply #321 on: September 20, 2015, 11:34:04 AM »
Hello WCDev !

Thanks for your insights - I'm glad to see my suspicion regarding the lack of data was correct.
And you are right, of course, the status display does say 'Waiting to start'.

So your hint was very useful since I don't need to wonder any longer whether there might be
something wrong and in need of attention.

The only thing being corrupt is the darn parcel service which was expected to deliver a spare
part for the outdoor sensors yesterday - but didn't fulfil its task. So hopefully tomorrow then...

  Regards !

    Michel

xairbusdriver

  • Storm
  • *****
  • Posts: 3131
Re: Steel Gauges
« Reply #322 on: September 20, 2015, 06:39:29 PM »
Quote
Does WC not FTP those files to the webserver as long as the external sensors are offline?
I hate to argue with the Dev, but I think WC was creating and uploading exactly what you gave it from the missing data; nothing! Fortunately, WC is a very 'smart' app and it saved some bits by compressing the non-existant data into only a single "mirco" bit and sent it via the same parcel service that only delivers on odd number days to even numbered addresses. I tell you, I doubt you came across a better bit builded than Stu! [cheer]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system

Michel

  • Gentle Breeze
  • **
  • Posts: 46
    • MichelsWunderland
  • Station Details: WH3080 - See website for details
Re: Steel Gauges
« Reply #323 on: September 21, 2015, 11:15:09 AM »
Quote
I hate to argue with the Dev,

That's comprehensible since Stu seems to know what he's doing.
WC's internals seem to be well thought according to what I've seen so far.
Unfortunately, this is a race on the verge of extinction given what one
usually is presented with these days...

Quote
but I think WC was creating and uploading exactly what you gave it
from the missing data; nothing!

Hook, line and sinker ...

Quote
Fortunately, WC is a very 'smart' app and it saved some bits by
compressing the non-existant data into only a single "mirco" bit
and sent it via the same parcel service that only delivers on odd
number days to even numbered addresses.

:-) Sounds like you know my address and the calendar...

But seriously, in the first place it was a bit confusing to see the realtime data
being FTPed while the customized HTML file and graphs weren't. A related
hint in the log - like perhaps "Sensor data not available,  FTP transmission
postponed until change" - would have been helpful (for a newbie ;-).

Quote
I tell you, I doubt you came across a better bit builded than Stu!

I think I won't dare to contradict :-)

 Regards !

   Michel




mcrossley

  • Gale
  • ****
  • Posts: 277
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: Davis VP2 + home brew
Re: Steel Gauges
« Reply #324 on: September 21, 2015, 05:06:08 PM »
Hi Mark,
how about to add an additional temp sensor to the Temp-gauge?

*out*
*in*
*additional* (if turned on, user can give it a unique name in the script)

Possible?

Cheers,
Reinhard

Hi Reinhard

Sorry I've not visited the forum for a while - been busy at work and enjoying my new motor - so, to answer the question, yes anything is possible, it just depends how much effort you want to put in.

It's not something I want to add to the standard scripts, but I can give you some help and guidance if you want to add to your site?

Cheers
Mark
Mark

wurzelmac

  • Storm
  • *****
  • Posts: 1434
    • 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 1100D | macOS Sonoma 15.0.1 | WC v330b300
Re: Steel Gauges
« Reply #325 on: September 21, 2015, 07:31:54 PM »
Hi Mark,
how about to add an additional temp sensor to the Temp-gauge?

*out*
*in*
*additional* (if turned on, user can give it a unique name in the script)

Possible?

Cheers,
Reinhard

Hi Reinhard

Sorry I've not visited the forum for a while - been busy at work and enjoying my new motor - so, to answer the question, yes anything is possible, it just depends how much effort you want to put in.

It's not something I want to add to the standard scripts, but I can give you some help and guidance if you want to add to your site?

Cheers
Mark

Hello Mark,

I am not sure if I can do it but it will be worth a try - so if you can tell me where I shall begin, that would be cool.
What I have to feed the realtimegaugesWC.txt-file is:

? tag for temp2 actual
? tag for temp2 day high
? tag for temp2 day low
? graph for temp2

What I need is a third option at the temperature-gauge: * Out * In * Webcam *
So my very simple thinking of it is to duplicate the indoor temp gauge and rename it to e.g. Webcam and feed it with data of temp2...  ::)  ???

Thanks in advance,
and no need to hurry anything.

Cheers,
Reinhard
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 4061
    • 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 Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Steel Gauges
« Reply #326 on: October 01, 2015, 10:43:57 AM »
Mark:

In the popup graph for rainfall, there is a line of text that states the Last Rain date. This text field does not seem to recognize rainfall in the minimum amount of .01 inches. For example, yesterday in rained .01 inches here, but the popup graph shows a date of 17 Sept as the last rain date. See attached screenshot. Is there someplace in the script where I can edit a setting to allow the text field in this graph to recognize any rainfall > .00 inches as the last rainfall date?

Thanks.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1434
    • 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 1100D | macOS Sonoma 15.0.1 | WC v330b300
Re: Steel Gauges
« Reply #327 on: October 17, 2015, 11:37:20 AM »
Hi John,

the Last Rain Date does not come from the script, it comes from a tag from WeatherCat that is "translated" within the realtimegaugesWC.txt file: Open this file and search for "LastRainTipISO", herein you will find the corresponding tag "RLDi$", and this one is explained by Stu in its "Latest Weatherat Tags" -section here.

Hope this helps,
Reinhard
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 4061
    • 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 Sonoma 14.8.3 | WeatherCat 3.3 | Supportive Wife
Re: Steel Gauges
« Reply #328 on: November 30, 2015, 04:19:16 PM »
Users of El Capitan:

Popup graphs in the SteelSeries Gauges do not seem to be working properly in El Capitan. Hovering your mouse over the gauge does not always pull up the graph for the gauge over which you are hovering. Clicking on the gauge sometimes pulls up the graph, sometimes it does not. The pop up graphs are there, they just don't pull up properly. I have seen this on my site, as well as on Reinhard's.

Anyone have any insight?
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1434
    • 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 1100D | macOS Sonoma 15.0.1 | WC v330b300
Re: Steel Gauges
« Reply #329 on: November 30, 2015, 05:31:22 PM »
Hi Blick,

I can not see any issues on my site as well as on your site. Maybe something to do with Safari? I am using the latest Firefox. The graphs pop up as they should only by hovering the mouse over a gauge.

Shot in the blue: Have you installed a pop-up-blocker?

Cheers,
Reinhard
Reinhard