• Cevennes

Vignettes

Vignette Météoales.fr (IFrame, actualisation 5min):

Vignette Infoclimat (IFrame, actualisation 10min) :

Types d'autocollants disponibles:
sticker800_150 - autocollant 800 x 150 px
sticker200_250 - autocollant 200 x 250 px
sticker200_120 - autocollant 200 x 120 px avec du texte
sticker200_120icon - autocollant 200 x 120 px avec l'icône
sticker150_30 - autocollant 150 x 30 px

Autocollants texte :
color1 - première couleur de la combinaison de deux couleurs, correspond aux thèmes de couleur
color2 - première couleur de la combinaison de deux couleurs, correspond aux thèmes de couleur

parameter - ces autocollants qui ne montrent que l'un des paramètres, options:
T - température
H - Humidité
P - la pression
W - vitesse du vent
G - rafales
A - température apparente
D - point de rosée

Pour tout autre demande, partenariat ou échange de données, contactez nous.


L'adresse de l'image doit etre de la forme
http://www.meteoales.fr/plugins/stickers/sticker800_170.php?text=Meteotemplate&color1=grey&color2=dark_red

Examples


Sticker 800 x 170



Sticker 800 x 150



Sticker 200 x 250



Stickers 200 x 120




Stickers 200 x 120




Stickers 150 x 30








Interactive Sticker

The interactive sticker offer much more possibilities for setting it up.

The only required parameter is "text" - this is what will show up in the sticker heading.

Now let's look at the optional parameters for the default version of the sticker.
In this plugin directory is a directory 'bgs'. Inside it are backgrounds numbered 1,2,3,.... which you can choose from. Likewise, there is a folder 'fonts', where you can specify the font type. If you only pass the parameter text, a default background and font will be used. However, you can customize the look and feel of the sticker much more by specifying additional paramters, let's have a look at them:

Variable

It is also possible to set a variable sticker. One option is use simply a random background, in such case, you simply specify "type=random". You do not give a background number and color. However, in such case a shadow will be used because since the background is random, it can be both dark and light, so we need to make sure the text is visible. In addition to "text" you can specify the "border" and "font".
Probably a more interesting option however, is the option "type=interactive". This is how this option works:
  1. Sun rise and sun set is calcualted for your location
  2. The script determines what time of the day it is. There are several options - day, night, sun rise and sun set. Sun rise is a one-hour interval in the middle of which is the sun rise. In other words 30 minutes before and 30 minutes after sun rise. Likewise, sun set is 30 minutes before and 30 minutes after sun set. Everything that is between those two intervals is "day" and everything before sun rise or after sun set interval, is night.
  3. Based on the time of the day, the script chooses a random background corresponding to that time period
  4. Then, it looks at current rain rate and if it determines that it is more than 0, i.e. it is just raining, it will choose a background with rain drops.
  5. Finally, if you have a solar sensor and if the solar radiation is currently above 800 W/m2, an image with a sun and sunny weather is chosen as a background.
In the interactive option, you can still specify the border and the font type, font color is chosen automatically based on background type. And of course you choose the text, which is always required.

Best thing to do is just play around with it. But just to give you some examples:
the beginning for the interactive sticker is always like this:
mysite.com/plugins/stickers/stickerInteractive.php?....


There are endless examples I could use, just play around trying different settings to find the one that suits you best. You can upload as many images as you want in the 'imgs' directory.

Style

Choisir un style...

Unités

Langue



Icônes


Température

Humidité

Pression

Vitesse du vent

Rafale de vent

Précipitations

Rayonnement solaire

Neige

Température ressentie

Point de rosée

INDICE UV

Visibilité

Base des nuages

Evapotraspiration

Température intérieure

Humidité intérieure


Lever du soleil

Coucher du soleil

Lever de lune

Coucher de lune

Time

Menu

De

à

Plein écran

Exporter comme image

Réglages

Page d'accueil

Caméra Web

Table

Graphique

Carte

Stable

En hausse

En baisse

Vigilance

Latitude

Longitude

Historique

éclipse solaire

éclipse de lune

GPS

Élévation

Jour

Mois

Année

Haut température

Basse température

Jour

Nuit

Printemps

Été

Automne

Hiver