Hi alpha13,
Could you please update / check the link to your website in your Avatar https://meteodosrius.000webhostapp.com/pwsWD/
That one does not work.
¡Vaya! No se ha podido encontrar esa página.
Translated: Oh! That page could not be found.
Without a link nobody can check why they are not showing in your case.
Wim
Sorry. I have updated the profile.
Hi alpha13,
The notifications are shown at the utmost right of the window. Outside of the dashboard itself.
They are shown for 10 seconds every 5 minutes.
I tested your scriupt and there are no php-errors.
Script seems to be running correct.
There are only notifications if the measured weather-data are greater than minimal trigger values.
$notifyUV = 8;
$notifyWindGust = 22; // knots; 22 knots, which is 40.7 km/h, 35 = 40.2 mph, 40 = 20.5 m/s
$notifyHeatIndex = 30; // degrees C, default is 30 celsius which is 86 degrees F
According to your . . .s.es/pwsWD/history_popup.php?lang=en-us there was an UV-index of 9 on April 18.
→ a notification should have shown for 10 seconds
The windspeed has been higher at April 1.
→ a notification should have shown for 10 seconds
The temperature / heatindex did not reach the minimum of 40 degrees C.
The script has lines 32-37 to insert test-values so that you can see were the notifications are shown.
Remove the # at the first position and adjust the value.
# -----------------for testing
# $weather['uv'] = 'n/a';
# $weather['heat_index'] = 40;
# $weather['wind_speed'] = 50;
# $weather['lightningtimeago'] = 500; $weather['lightningkm']= 10;
# -----------------for testing
Do not forget to add the # at the first position after testing.
Succes,
Wim
Everything perfect
Thank you very much Wim