Massignano AP, Italy
lacasettabio@lacasettabio.it

Wheather sticker for PWS Dashboard

Wheather sticker for PWS Dashboard

(1 customer review)

0.00

The responsive wheather sticker for PWS Dashboard template.

 

(Downloads - 332)

Category:

Description


					

If you are using the PWS dashboard template to show and improve your weather station data, here you are a script to create a beatiful .png image of the more important daily data.

A personal meteo sticker to be published as a signature in the forums or to be published as you wish on websites

All the data needing are get are automatically from the PWS Dashboard. All of that you have to do is to be sure that you have the new PWS Dashboard  ‘_data.php’ script into your ‘pwsWD’ folder and that it is working well. Also you must have PWS_livedata.php script running.
After downloading the stickersPWS.zip file you must unzip it and then upload the last full folder (‘stickersPWS’) into the same root where is your PWS Dashboard ‘pwsWD’ folder.
Inside the stickersPWS/setup.php script code you can do some settings, for example you can change the background image or the ref site url.
To see the sticker working, simply you can call this url: yoursite_path/stickersPWS/sticker.php

The sticker.php script creates an image .png every 5 minutes. If you call this script more often than 5 minutes it show a cached .png image
So if you change any settings you have to wait for the cache to expire to see the effects (5 minutes).
If you like to publish it on www.weather-watch.com forum you have go to signature field (your forum profile) and write

[img width=500]https://yoursite/stickersPWS/sticker.php[/img]

where 500 is the dimension of the sticker.

If you want to publish it into a website here you are the code:

<a title="your station name" href="https://yoursite/yourmeteopage" target="_blank" rel="noopener">
<img style="width: 80%;" src="https://yoursite/stickersPWS/sticker.php" />
</a>

Where 80% is the sticker dimension.

There is a topic about the StickerPWS here: Wheather sticker for PWS Dashboard

If you want to use dynamic_sticker you can insert it into your site by this code:

<iframe src=”https://yoursitepath/stickersPWS/dynamic_sticker.php” width=”375″ height=”200″ >
</iframe>

and here the result

The sticker is free to use at your own risk. It is forbidden change the author name.

If you liked it you can donate what you feel even a cup of coffe.

paypal



If you like an Android wiget you can use https://play.google.com/store/apps/details?id=ca.ludg.android.weatherwidget

If your weather station does not create a clientraw.txt file you have a script to create it.

Here the result:

Android widge example

Additional information

Changelog

-8 feb 2021 TEST release
-9 feb 2021 v.1.0 – fixed color settings not working + improved readme.txt file
-10 feb 2021 v.1.1 – fixed issue with min/max humidity and pressure trend data when missing or n/a
-10 feb 2021 v. 2.0 – Now the sticker Have to be installed outside the pwsWD folder
-13 feb 2021 v 2.1 – Now the pressure trend icons work even with weather[barometer_trend_text] data. Rewritten the readme.txt file
-14 feb 2021 v 2.2 – Fixed issue with date format when m-d-Y. Moved trend and station icons in specific folders.
-15 feb 2021 v 2.3 – Now we use the new script '_data.php' to get all data. (please, search into this topic to download it)
If you have not it you must upload it into your 'pwsWD' folder, otherwise your sticker will not work anymore.
Thank to the new script we can have a today weather icon and text. Also, I've avoided all the url settings; now all settings are made within the script code.
-15 feb 2021 v 2.4 – Improved browser cache cleaning. When loading the cache .png image, now automatically select https or http.
Now it works with both humidity_max / min and humidity_high / low.
-16 feb 2021 v 2.5 – Added some debug checks
-17 feb 2021 v 2.6 – Now language translation is supported. Fixed a barometer trend icons issue. Reduced the weather icon text size.
-20 feb 2021 v 2.7 – Fixed some issues when the server has not GD FreeType Support.
Now you can force to don't use GD FreeType Support (usefull if it does not work fine).
Added Davis icon.
Added update auto check. Now, if there is an update you'll be advised by a little icon at the bottom right of the sticker.
-25 feb 2021 v 3.0 – Implemented the new gauges
Added the new setup.php file. The old sticker with digit is always available but now its script is called stickerdigit.php
v3.1 Fixed the problem of the units of measure that were not clearly visible. Now the text is more black.
Guages now also accept data in F, inHg, mph, in.
Centered the pressure trend text
v3.2 Fixed an issue with php tag on gauge edition.
Fixed an issue with title font on digit edition.
Added a new sticker! Compact Sticker
v3.3 In Compact sticker added solar radiation and uv index data. Also, fixed some issues with overlapping texts
v3.4 Php 8.1 ready.
v4.0 Create the new Dynamic Sticker where you can show current or meteo forecast by button
v4.1 Fixed Php8.1 issue on stickerdigit
28 feb 2023 – v5.0 Added script for create a clientraw.txt if you haven't it

Required

PHP 7.0 e over 8.0
GD Graphics Library

1 review for Wheather sticker for PWS Dashboard

  1. Bianconero57

    Complimenti per il sticker appena installato e 100% funzionante egregiamente ! posto nei miei favoriti @ buon proseguimento Un caro saluto dalla Francia CIAO

Add a review

Your email address will not be published. Required fields are marked *

development softwares and web sites