Customising PWS Dashboard (early versions)

How about a screen filling, no scroll, 3 rows of 4 next :wink:

Funny you should say that. . .

Just trying to work out how to get 5 small modules across the top of 4 big ones :lol:

Added a new pop-up - UV Index | Cloudbase - which is an attempt to combine the left half of the uvsolarlux pop-up with the left half of an AQ pop-up because I don’t have solar or AQ. . . (You can still see the original pop-ups, now labelled UV Index and Cloudbase.)

Obviously, I haven’t quite mastered the CSS for the cloudbase half. . . work in progress :slight_smile:

I’ve been looking at the latest release and I’m not going to use it. That’s not a criticism - I’ve spent 3 months customising the original release and it does what I need it to do and looks (nearly) how I want it to, so I think I’ll wait until “the basic scripts all work” (as Wim says) before I start tinkering again. . .

Very nice I like it a lot.

:smiley:

Added Norwegian language support. Thanks, Torjan & Wim :slight_smile:

Only minor changes to report: I’ve given up on 3 rows of 4, Wim does it so much better!

Got max-min temp times showing in the small temp window; went back to the earlier sun block theme using a grey segment (and sun) for night; copied latest yellow segment idea for moon luminance, but also changed the text colour in css and went to grey for the rest of the circle; and did a lot of fiddling in metar pop-up, e.g. to get rid of brackets round units and to add a bit more info.

All this on the original January release.

Managed to get a small max-min extratemp block working, but I must be doing something wrong because it always shows °C

Salutory lesson: fiddled with w34_livedata.php last night to sort rain rate units, but I wasn’t working on the latest version of the script so the small extratemp block stopped working overnight :roll:

Recently noticed that my barometer block (original release) doesn’t switch between UK and US units properly: the main pressure reading, the max/min for the day and the trend change OK, but the dial limits and conversion at bottom left do not.

I had made a few changes to barometer_block.php, so I went back to the original (19/01 update) version and it still doesn’t work. AFAIK I haven’t made any changes to pressure values in w34_livedata.php. . .

EDIT: found the reason for that conversion problem was a small routine I added to lines 345-53 of w34_livedata.php to get max/min extratemps from a customtextout file. Now I need to understand why what I did there upset the temp_unit conditionals in barometer_block :frowning:

Can the fact that w34_livedata.php defines $weather[“temp_units”] = “C” while the conditionals are if ($weather[“temp_units”] == ‘C’) have anything to do with it. . .?

Single vs. double quotes should make no difference when used like that with simple strings.

Thanks - I just tried it and came to the same conclusion! Back to square one.

P.S. I’m sure you’ve told me that before. . . I’ll try to remember from now on :wink:

Cracked it :smiley:

Instead of a stand-alone addition to get the extratemp data (with a re-definition of $weather[“temp_units”] = “C”) I integrated it with the main WD clientraw part of w34_livedata.php. So w34_livedata.php now “explodes” clientraw.txt and customtextout.txt into separate arrays before pulling out the individual data strings.

Added max/min indoor temps. Now I know how to use the customtext file I might try to add max/min indoor temp times. . .

UPDATE: added, along with max UV :slight_smile:

Having successfully added “Weather on Mars” to the Menu links back in February, it’s taken me this long to realise that I can add my other weather pages too: WDL, FreshWDL, SS gauges and WU. #-o

Can you add a radar page like GRlevel3?

If you can get it into an iFrame you should be able to. See bottom of page 1, [color=blue]here[/color].

EDIT: re iFrame or not, see [color=blue]here[/color].

You will have realised that I’m no expert. . . :slight_smile:

Re-organised the barometer block conversion and max/min items to give a more intuitive layout. . . I think.

Now using custom tag %rainlasthourmm% to give me “rain last hour”, so I don’t get negative “rain yesterday” just after midnight.

Tag %hourrn% (and presumably tag %hourrnusa%) also works over the midnight reset. It was a “good” day to check the tags: 32.6 mm rain and still going. . .

Added max/min baro times to barometer block, too.