Linear (thermometer) style gauges?

I added couple more things:

  • cloudbase height
  • fire danger index
  • rain gauge can now be switched between daily/monthly/annual

http://www.meteotemplate.com/templateTest/testing/index.php

I think I basically covered all the features that are in WDL.

Let me know if you think there is something else I should add.

If not, I will start rewriting the code in PHP so that it fetches data from clientraw instead of using random values that are just for illustration purposes right now.

I will then also make another version, which will (as I mentioned before) use my more preffered design, which uses less of 3D effects, colors and shadows, but because I know everyone has a different taste, I first created this. Changing icons is trivial, the most important part - ie. the technical part of it and content, will stay the same.

Nice one Jachym. Can it be scaled smaller?

The thing is, unfortunately this cannot be done purely in CSS and uses canvas, which uses fixed dimensions. I tested several resolutions and it should work for most of the ones people currently use. 1280x800 is OK. Lower res. then still works but results in the gauges being shifted downwards.

What I thought however was that there could be some setting in the PHP, where the user could select size, something like “small”, “medium”, “large”, and based on that, php will use some multiplier, which it will use to adjust all the values, which would still be fixed in terms of HTML but it would show smaller.

Do you think the gauges are too big?

Understood.

For me, yes. At that size it would not be a substitute for my WDL

Can you explain this a bit more? I just looked at your WDL and it loads fullscreen, what exactly did you mean it wouldnt fit, do you have some link where I could see how much space you have?

On 1366 x 768

Oh… you mean vertically? I always tend to think about horizontal fit as that is usually a bigger issue. Scrolling down is not such a problem, but people dont like scrolling left-right.

Anyway, this however is similar to what I mentioned above - this is a matter of design, just like Im gonna make a different looking design, I can make one that shows the exact same thing, just smaller.

What I was more interested in was suggestions what to add or whether this is what it should look like. I will then start working on php actually getting real data and pluging it in so that it can be used with the clientraw. In other words I want to sort out content first, then get the technical side of it done and working and then the last thing is playing around with the design, which is relatively easy.

UV is the only other parameter that I can think of.

Oh yes, I knew there was something I wanted to add and I forgot :slight_smile:

Could you just tell me in what way do PWS report UV? Is it just Davis? And is it some number, just like solar radiation for example, or is it just one of a few fixed “indexes”, such as “1”, “2”… what is the range and accuracy and units of this?

Several station types report it (to a greater or lesser degree of accuracy) and there used to be a 1-wire add-on sensor too.

See the graphic at the bottom of this page for the generally accepted reporting scale/color code. In data you may see numbers up to 16 and with one decimal place.

Great, thanks for the info. In that case I guess instead of a “gauge” it will be better to simply have a field for it with the actual number, color-coded based on the actual value.

I guess I would use the graphic with low, moderate, high etc. and the actual value below.

OK, so I added UV, this version shows perfectly on a screen with width >= 1280 and height >1200 (no need to scroll). The width should be ok for most monitors, I will also make a smaller version for smaller screens.

Now the question is whether this really includes everything that is necessary. As mentioned above, individual gauges can be clicked to view more info, records and graphs button triger a dialog box with basically all the info that is available through clientraw.

Once I am certain that nothing needs to be added in terms of content, I will start working on the actual PHP to plug in real values and then finally once that is done, I will work on the design - make smaller versions and also “material design” version with less colors and 3D effects, so that everyone can choose whatever they like, I can even make the colors easily customizable in some sort of setting at the top, which will also include ability to set units etc.

http://www.meteotemplate.com/templateTest/testing/index.php

good stuff :slight_smile:

Thanks Brian.

Now, Im sorry but I guess I need someone

My clientraws are incomplete (very old version of WD) so you don’t use mine.

Sure, no problem, Im sure someone else has the right ones.

Just wondering though, that means you probably wont be able to use this even when it is finished or?

I don’t think the missing data is critical, my wdl is just fine, just didn’t want you to be working with obsolete files.

This is the address of my file:

              [http://kocher.es/clientraw.txt](http://kocher.es/clientraw.txt)

I hope you serve :smiley:

Thanks a lot Javier, but I guess I need the other clientraws as well, as far as I know, WDL uses all the (I think 4) client raws, so that you have data for all the graphs, gauges etc. that you can see in the demo.