Raspberry Pi as server

Setup & config options

Apache 2.4+ LAMP server

»Windward« server

The game & not the islands
 Setup & config options

Some off-topics
Free weather app. Weather widget

Lat. 52.27, Long. 8.01

 

Meteorological service

Front desk clerk

🚫  No ads & tracking

Tag cloud
QRC bookmark

QR quick response code



Github social media VSCO social media Vimeo social media | Madeira | Madeirense Twitter | X Youtube social media

Caution ! Proprietary and untested third-party software sources (Linuxes) can threaten the system.


The prologue


Most of the articles, descriptions and instructions written here are applicable to the most common Debian-based Linux derivatives. Depending on the respective operating system, there may be minor or major discrepancies.
This website is for educational purposes only. Please do not deploy anything in manufacturing plants.
No warranty or compensation is given for loss of data or hardware.

It should be also mentioned that this modest web server is hosted on a Raspberry Pi type 4B at home.


Weather widget, code snippet provided by tititudorancea.com


Live demonstration | Current local weather condition and 6-days weather forecast

Excellent weather fittings for your website, forum and blog provided by »The Titi Tudorancea Bulletin«.


Plan your website with the help of your own weather forecasts and weekend weather predictions. Local hour-by-hour weather forecast for your city or town over the next six days or even more. This live demonstration beneath displays to my home location.   Lat. 52.27, Long. 8.01



Plan your week with the help of your own weather forecasts and weekend weather predictions. Local hour-by-hour weather forecast for your city or town over the next seven days and even longer.


Live demonstration | Current conditions for Western Europe


The HTML snippet



If you use two or more widgets on the same page you have to remove from the code of each widget the lines <div id="wf_div"> and </div>.


Cascading style sheet (CSS) | Customized




You can skip the font-family: CSS tag if in one global cascading style sheet used.


22-Jun 2017
Updated 05-Feb 2021


HTML snippet | Horizontally for 7 days aligned



Setup parameters


place (required)
This is the most important parameter: its value must be the ID (as a string) of the place you want to show the forecast for. To get the ID of a place, go to the page with the forecast for that place, and then click the "GetTheCode" button on the right column. When you click that button, all the widgets on this page are updated to use the ID of that place, and you may copy the code from any example.
If you did not visit the forecast page for a place before coming here, type the name of a place in the search box on the right, and once you find it click the "GetTheCode" button on the right column of the page.

days (required)
This is another important parameter. It controls the number of days (valid range is 1 to 7) of the forecast.

lang (optional)
This parameter controls the language of the forecast. Default value is en. Other accepted values are: de, fr, it, pt, es, ro.

temp (optional)
You can modify this parameter to show Celsius temperatures (temp=c) or Fahrenheit temperatures (temp=f). If you omit this parameter, the default is c.

s (optional, but recommended)
This parameter controls the type of place, and it helps the widget run faster. Its value is filled in automatically (with the place ID) when you click the "GetTheCode" button on the forecast page. Accepted values are in the range 1-3.

utf8 (optional)
The names of some places include special charactes. If your website has the encoding UTF-8, set this parameter to yes to display them as they are. If your website uses another encoding, leave the value of this parameter to no (the default value) to translate special characters to ASCII.
If the source code of your website includes something like meta http-equiv="Content-Type" content="text/html; charset=utf-8" then your site is encode in UTF-8, and you may set the parameter utf8 of the widget to yes. If the names of the place you want to show the forecast for does not include special charactes, the value of this parameter does not matter, and you may delete it.

columns (optional)
If you want to limit the number of columns (forecast days) on each row, set the columns parameter. Accepted values are in the range 1 to 7.

sidebyside (optional)
If this is set to yes, the text of the forecast is shown next to the icons, not below. Please remember that if you set sidebyside to yes, the parameter columns is ignored.


Source : »The Titi Tudorancea Bulletin« Live demonstrations, setup parameters and the FAQ


22-Jun 2017
Updated 05-Feb 2021


The weather widget provided by meteoblue.com (CH)


MeteoblueMeteoblue (stylised as meteoblue) is a meteorological service created at the University of Basel, Switzerland. In 2006, Meteoblue was then founded as a spin-off company in order to serve customers especially in the area of agriculture as well as solar and wind power. After the transition to a privately run meteorological company, Meteoblue was the world's first weather service to offer weather prediction in a graphical synopsis for any arbitrarily chosen location on earth.


dosboot.org/weather/meteo.html


29-Jul 2022

dosboot.org 2024 | Design and layout handmade in Northwest Europe