-------------------------- ----- MBell v1.5c --------- ----- Damien BELLIARD----- ----- www.meteobell.com--- -------------------------- ____________________________ I. What is Mbell? Mbell is a series of PHP scripts for Davis Weatherlink (with IP datalogger or USB) station users, allowing you to display your own weather data in place of the default Weatherlink interface. All you need is an internet hosting (with FTP) that accepts PHP, to enter your Weatherlink login in the MBell interface and the scripts are following. MBell has been optimized for fast mobile viewing and allows any user viewing your weather data, to change any settings: - 4 design styles (white, black, light blue and dark blue) + 2 alternating Day (white, light blue) / Night (black, dark blue) - 3 types of text colors (neutral, colored or dynamic) - 2 languages: French and English - 4 units: Temperature (°C or °F), Wind (kph or mph), Rain (mm or in), Pressure (hPa or inHg) ____________________________ II. Installation procedure : 1. Unzip the Mbell.7z file 2. Then Install the "mbell" folder on your FTP. 3. The "mbell" folder can be at the root or not of your site, however the set of files contained in the "mbell" folder shouldn't be at the root of your site, but in a folder named "mbell". 4. Only the .htaccess file should be placed at the root of your site. If you already have a .htaccess file, then copy and paste its contents into your own. 5. To access Mbell scripts, go to www.your-site.com/mbell/login.php 6. When you first login, the key (KEY) to write in is: admin 7a. If you are using Weatherlink version 1.0: Then fill in the DID and KEY fields of your Davis Weatherlink Station 7b. If you are using Weatherlink version 2.0: Then fill in the DID, PASS and TokenID fields of your Davis Weatherlink Station 8. After the XML file is loaded, you can view your weather data at these addresses: - www.your-site.com/mbell/ - www.your-site.com/mbell/index.php - www.your-site.com/mbell/fr-index.html (French) - www.your-site.com/mbell/en-index.html (English) Note: The folder "src" is not essential and can be safely deleted, it contains only images of presentations not necessary for the execution of Mbell. Note: The ID (also called DID) / KEY of your station, are written on the cord of your datalogger connected to your console. You can also find this information by logging on to weatherlink.com: https://www.weatherlink.com/account . You will also find on weatherlink.com your password (also known as PASS) and the API Token number (also called TokenID) needed for a connection in version 2.0. ____________________________ III. Weatherlink 1.0 / 2.0 : Since Weatherlink migrated to version 2.0 in 2018, Mbell login information has changed as well. When connecting to Mbell for the first time, always write "admin". But then if you have registered your station in version 1.0, you will have to register only the "KEY" to connect to Mbell. If you saved it in version 2.0, you will have to enter only the "PASS". At present, Weatherlink in version 1.0 works perfectly if you have an IP datalogger and no date has been given for its shutdown, so you can very well stay in version 1.0 without you see any change. Since 2018 version 2.0 also works in parallel and allows those who don't have an IP datalogger to be able to use Mbell. On the other hand, the mandatory use of TokenID has not been activated yet and no date has yet been given for its activation by Weatherlink. If you have an IP datalogger, there is no obligation to upgrade to version 2.0, even if your station has been migrated to accept it on weatherlink.com. Since version 1.3c, Mbell is however ready and fully functional to accept Weatherlink 1.0 and Weatherlink 2.0 with or without TokenID. You will not have anything to do the day when Weatherlink decides to activate or deactivate one or the other version, you will only have to change in the parameters of Mbell your identifiers according to the chosen version. ____________________________ IV. Installation Issues: Mac users can sometimes have a problem during installation. The .htaccess file is indeed sometimes invisible because considered as a file hidden by Mac. It is therefore necessary to activate the hidden files to see it and then to install it. There are different methods, look on the net how to display a hidden file on Mac. If you can not connect to your station, it may be a problem of right of access (CHMOD) with your FTP (on FileZilla, right click, then "Access rights to the file ... "). As Mbell does not use a database (mysql), it must be able to modify some files directly on your ftp when necessary (including security information). All files must have as CHMOD: 755, as well as the folder "mbell". For more security put the "config" folder in CHMOD: 744 (but not the contents of the folder). Be careful, if you write bad identification information (DID + KEY for V1.0 or DID + PASS + TokenID for v2.0), that you save and then disconnect without remembering the wrong key previously registered you will not be able to reconnect to your Mbell files. It's a security. In this case, you must redownload all the Mbell scripts and install it again on your FTP (or at least the "var.enc" file in the "config" folder). Then repeat the procedure from the beginning (KEY = admin). If you install a new version of mbell, you must delete and completely replace the previous mbell folder, do not just copy and paste by replacing the existing files. You must delete the old version before installing the new one and start the installation process again from the beginning. If you encounter encoding problems (especially on the accents of the French language), it is probably because the site on which you have MBell installed is on another type of encoding. MBell is encoded in Unicode UTF-8: - You can in this case force your site to use UTF-8 for MBell by adding the following line of code in the htaccess: AddDefaultCharset utf-8 - If this does not work, some hosts recommend creating a file named php.ini or .php.ini (to put in the folder mbell) with the following line of code: default_charset = "UTF-8" ____________________________ V. Necessary configuration: - First you need a Davis station connected to Weatherlink. Since 2018 it is no longer necessary to have an IP datalogger. You can use MBell even with a Weatherlink USB connection. - You will need your Weatherlink Account (DID + KEY) or (DID + PASS + TokenID) credentials for the chosen Weatherlink version: https://www.weatherlink.com/account - To make Mbell work, you need an FTP, therefore a web hosting with an Internet domain name. - Mbell works at least with PHP 5.6 (if you encounter PHP problems, it is possible to force your host to use PHP 5.6 via htaccess. Search on the Internet) - Your users do not need javascript to consult Mbell, but some settings will not work anymore (chrono counter, access to the menu, change of language and units etc ...). On the other hand, for you as administrator, it is essential that you activate javascript to access the parameters. - The user must accept cookies to allow to remember some of his choices (styles, languages, units, color), but it's not obligatory. - The site has been tested on different PC and mobile browsers (android 2+). Please inform me if you encounter any bugs by informing me of the browser used and its version. NOTE on the notion of FTP and host: You need an FTP that supports PHP. Ask your internet provider, they sometimes offer free hosting, unfortunately these are often simplistic offers that do not necessarily support the PHP. Here are some free hosting solutions: https://php.developpez.com/comparatifs/hebergeurs/ https://www.hebergementweb.org/hosting/gratuit/view There are probably others. (If you want a paid solution, I recommend OVH if not) Then you need an FTP software, it's easier, just download FTP software (some hosts also offer the FTP interface in their settings). I personally recommend Filezilla which is powerful and very easy to use: https://filezilla-project.org/ but there are also many others. ____________________________ VI. Information about the data: The data table has 44 boxes, updated every minute automatically: -1- Average Wind: Speed ​​+ Mean Wind Direction: Average over the last 10 minutes -2- Temperature: Current temperature under shelter + minimum and maximum temperature of the day/month/year -3- Rainfall Intensity: Rate (in mm / h) of precipitation over the last 10 minutes. This box also tells you if it is rain, snow or a risk of mixed rain and snow. If there is no precipitation in progress, then it indicates a risk of fog, freezing fog or ice. Otherwise, it says "Nought". Since v1.1, if you have a solar sensor, it tells you during the day if the weather is sunny or cloudy. -4- Wind Gust: Speed of the highest gust of the last 10 minutes only if Gust Max has been selected in the configuration table. Otherwise Wind Gust of the last 10 minutes + Gust Max of the day/month/year (Switch system, see part VIII) -5- Feeling Temperature: If T°C <15°C = Windchill. If T°C>15°C = Heat Index. Otherwise, actual temperature. (Also calculated with °F) -6- Cumulative Precipitation / Daily Rain: Daily Rainfall (+ monthly and yearly) if Monthly and Annual Rainfall has not been selected in the configuration table. Otherwise only Rain of the day/month/year (Switch System, see Part VIII) -7- Gust Max: Speed ​​and time of the strongest gust of the day -8- Solar Radiation: If you have a sunshine probe, light intensity of the last 10 minutes. If you have a UV probe, UV index. Otherwise only sunrise and sunset time and current status of the day: Day / Night [See in the settings, to select a solar probe and/or UV probe or none]. Since v1.2, this box also tells you the lunar phases, all the time if you don't have solar-uv probes. Otherwise only at night. This box also uses the switch system according to whether or not the Solar Probe alone and the UV Probe alone (see Part VIII) are displayed. -9- Evapotranspiration: Cumul of evapotranspiration of the day (+ monthly and yearly). Since v1.3, if you have a solar probe, Potential Evapotranspiration (PET). Otherwise Actual Evapotranspiration (ETA). -10- Pressure: Indicates the pressure trend of the last 10 minutes (decrease - increase - stable) and the minimum and maximum pressure of the day/month/year -11- Dew Point: Current dew point + minimum and maximum dew point of the day/month/year -12- Relative Humidity: Current humidity + minimum and maximum humidity of the day/month/year -13- Monthly Precipitation: cumulative rain of the month [v1.1] -14- Annual Precipitation: Cumulative rain of the year [v1.1] -15- Solar probe alone: current solar radiation of the last 10 minutes + max value (and time) of the day. Maximum value of the month and the year [v1.2] -16- UV probe only: Current UV index of the last 10 minutes. Maximum value of the month and the year [v1.2] -17- Extra Temperature 1: if you have 1 universal air-water-ground temperature probe or 1 air-water-ground auxiliary temperature station or 1 auxiliary air temperature / humidity station (+ minimum-maximum of the day/month/year) [v1.1] -18- Extra Temperature 2: if you have 2 universal air-water-ground temperature probes or 2 air-water-ground auxiliary temperature stations or 2 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.1] -19- Extra Temperature 3: if you have 3 universal air-water-ground temperature probes or 3 air-water-ground auxiliary temperature stations or 3 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.1] -20- Extra Temperature 4: if you have 4 universal air-water-ground temperature probes or 4 air-water-ground auxiliary temperature stations or 4 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.4] -21- Extra Temperature 5: if you have 5 universal air-water-ground temperature probes or 5 air-water-ground auxiliary temperature stations or 5 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.4] -22- Extra Temperature 6: if you have 6 universal air-water-ground temperature probes or 6 air-water-ground auxiliary temperature stations or 6 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.4] -23- Extra Temperature 7: if you have 7 universal air-water-ground temperature probes or 7 air-water-ground auxiliary temperature stations or 7 auxiliary air temperature / humidity stations (+ minimum-maximum of the day/month/year) [v1.4] -24- Humidity 1: if you have 1 auxiliary air temperature / humidity station (with minimum-maximum of the day/month/year) [v1.4] -25- Humidity 2: if you have 2 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -26- Humidity 3: if you have 3 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -27- Humidity 4: if you have 4 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -28- Humidity 5: If you have 5 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -29- Humidity 6: If you have 6 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -30- Humidity 7: if you have 7 auxiliary air temperature / humidity stations (with minimum-maximum of the day/month/year) [v1.4] -31- Leaf Wetness 1: if you have 1 sensor or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -32- Leaf Wetness 2: if you have 2 sensors or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -33- Soil Moisture 1: if you have 1 probe or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of day/month/year) [v1.4] -34- Soil Moisture 2: if you have 2 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -35- Soil Moisture 3: if you have 3 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -36- Soil Moisture 4: if you have 4 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -37- Soil Temperature 1: if you have 1 probe or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -38- Soil Temperature 2: if you have 2 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -39- Soil Temperature 3: if you have 3 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -40- Soil Temperature 4: if you have 4 probes or 1 auxiliary station leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -41- Leaf Temperature 1: air-water-soil temperature data in case of combination of 2 stations auxiliary leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -42- Leaf Temperature 2: air-water-soil temperature data in case of combination of 2 stations auxiliary leaf moisture / humidity & soil temperature (with minimum-maximum of the day/month/year) [v1.4] -43- Indoor Temperature: Indoor temperature data of your Weatherlink console (with minimum-maximum of the day/month/year) [v1.4] -44- Indoor Humidity: indoor relative humidity data from your Weatherlink console (with minimum-maximum of the day/month/year) [v1.4] NOTE on evapotranspiration (v1.3): the PET formula used by Davis is the CIMIS Penman formula and performs well in hourly rates, but slightly underestimates the value on monthly and annual totals. For the ETA, it's the opposite. There are actually 2 ETA formulas used by MBell. The Coutagne formula is used in priority, but is significant only between certain values of temperature and precipitation, the formula of Turc then takes over. These two formulas on the other hand overestimate the values in hourly rates and therefore become interesting especially in annual balance sheet (therefore at the end of the year). There is in fact no perfect evapotranspiration formula. These are estimates. ____________________________ VII. Information about Default Settings: The priority will always be given to the choice of the user himself via the contextual menu on the left. However, when he logs into Mbell the first time or when he clears his cookies, a default choice can be chosen for him via the Settings menu for units, style and language. The choice of the language is however a little particular because it does not use cookies. It is indeed possible to recover the language directly via the URL: - www.your-site.com/mbell/fr-index.html - www.your-site.com/mbell/en-index.html When a language is chosen, it is thus all the links of the site which will point towards this one. If you put a default address (www.your-site.com/mbell/ or www.your-site.com/mbell/index.php), then the default setting takes over. Note, however, that priority will be given to the browser language, so you may not see a change if your browser uses one of the languages ​​translated by Mbell. For example if you connect via Turkey, your browser is written in Turkish, Mbell is not translated into Turkish, so it is the default choice that will be used. On the other hand if you connect via France, your browser is written in French, it is thus this choice there which will be priority compared to the choice by default (even if the choice by default is English). But in both cases, the user can force another language via the contextual menu if he wishes. At the very first login of an administrator (so just after the installation of Mbell scripts on your FTP and even before using the Default Settings), the default settings are fixed on: - Temperature: Celsius (°C) - Wind: Kilometers/hour (kph) - Rain: Millimeters (mm) - Pressure: Hectopascal (hPa) - Language: English [Note that if the language of your browser is contained in the list of Mbell translations, it will be priority. Therefore, if your browser is in French for example, it will be French, even if you put English default. But the parameter will be well taken into account, a user from another foreign country will see the difference.] - Color: Colorful - Day-Night: Disabled - Weatherlink : 1.0 version - Minimum / Maximum: Daily (v1.5) - Icons : Yes (v1.6) ____________________________ VIII. Information about the Data Configuration: You can display the data in any order within 30 boxes (3 columns and 10 rows). By default, Mbell is configured on 4 lines as follows: 1 = Average Wind / 2 = Temperature / 3 = Rainy Intensity 4 = Gust Wind / 5 = Feels Like / 6 = Cumul of Rain 7 = Gust Max / 8 = Sun - UV - Moon - Hour Day/Night / 9 = Evapotranspiration 10 = Pressure / 11 = Dew Point / 12 = Relative Humidity New v1.1: You can now choose to display from 1 to 10 lines. ____________________________ IX. Automatic Switch System (Novelty v1.1) In order to allow more flexibility of display, some data boxes have an automatic switch system according to the preliminary configuration choices that the administrator will make. To date, 2 boxes have this switch system: - the box "Rain Cumulative" which switches in box "Rain of the Day" if the box "Monthly Precipitation" or "Annual Precipitation" was also chosen in the data configuration zone. Note that by default, Monthly Rain and Yearly are not selected. By default the switch is on "Cumulative Precipitation". - the box "Gust Wind" which switches in box "Gust Wind of the last 10 minutes" if the box "Max Gust" was also chosen in the zone of configuration of the data. Note that by default, "Max Gust" is selected. By default the switch is on "Wind in Rafale last 10 minutes". - the box grouping the "Hours of Sunset-Sunrise + Lunar Phases + Solar Radiations + UV Index" switch to "Moon + Sunset-Sunrise" if the "Solar Radiation alone" box and/or "UV index alone" was chosen in the data configuration zone. Note that by default, no probe is selected, so this box only displays lunar phases with sunrise and sunset times. This switch system only works if you have solar and/or UV probes [addition of v1.2]. This switch system was created with the idea of ​​making more different display possibilities (do I want a box "Rain Cumulative" which groups the 3 boxes "Rain of the Day", "Monthly Rain", "Annual Rain", or not?) To allow especially those with 1 probe or 2 Extra Temperature to have a display that remain on 3 columns. Indeed, if you have an additional probe measuring for example the temperature of the ground, you need only one additional box, but Mbell can not display anything other than 3 columns. So you have to find 2 other boxes to fill in or delete 1 somewhere. The switch system allows you to easily fix that. Other boxes will complement this switch system in the future allowing infinity of different display. ____________________________ X. Multiple Stations If you have several Davis stations and want to have your own mbell script for each of your stations, simply create at the root of your site a folder for each station, then include in each the folder mbell with the identifiers of each of your stations: www.your-site.com/Station 1/mbell/ www.your-site.com/Station 2/mbell/ Do not put the .htaccess in this case at the root of your site, but put a .htaccess in each folder of your station. ____________________________ XI. Probes and Auxiliary Stations [news v1.4] You can find more information on the Davis site at this address on the set of auxiliary sensors and possible combinations: https://www.davisinstruments.com/solution/enviromonitor-affordable-field-monitoring-system/ - Extra Temperatures 1 to 7 will be displayed if you have an Air-Water-Soil Temperature Auxiliary Weather Station No. 6372 or a Wireless Weather Station for Temperature and Humidity Measurement No. 6382. - Relative Humidity Data 1 to 7 will be displayed if you have a Wireless Weather Station for Temperature and Humidity Measurement No. 6382. - Leaf Humidity 1 to 2 will be displayed if you have a Leaf Moisture / Soil Humidity & Temperature Auxiliary Weather Stations No. 6345. - Soil Temperature 1 to 4 data will be displayed if you have a Leaf Moisture / Soil Humidity & Temperature Auxiliary Weather Stations No. 6345. - Soil Moisture data 1 to 4 will be displayed if you have a Leaf Moisture / Soil Humidity & Temperature Auxiliary Weather Stations No. 6345. - Leaf Temperature Data 1 to 2 will be displayed only if you have 2 Leaf Moisture / Soil Humidity & Temperature Auxiliary Weather Stations No. 6345 to be used in combination with each other. It is actually an air-water-soil temperature sensor (see Davis website for more information). ____________________________ XII Security [new v1.5b / 1.5d] Since version 1.5b (and even more so since version 1.5d), Mbell's security level has been considerably strengthened and is in line with the latest developments in this area. Indeed your sensitive data (KEY, PASS and API TOKEN) are encrypted since the beginning of Mbell, but the method of encryption used before version 1.5b, in MCRYPT had become obsolete since PHP 7.2 and some hosts automatically evolve their PHP version did not recognize it anymore, which caused bugs on MBell, unless it forced its site to use a PHP version lower than 7.2. In addition, the encryption-decryption key was hard-coded in PHP code, which is normally the best method for not having access to it, provided you do not offer the source code for download, and that is precisely what does MBell. It also meant that you all have the same key. It was therefore imperative to change the method for more security. From now on, the MCRYPT encryption system has been replaced by the much more advanced and efficient OPENSSL system. For OPENSSL encryption to work, the minimum necessary configuration is now PHP 5.6 (PHP 5.5 previously) on your hosting and should normally be compatible with the latest PHP version (7.3 in December 2018). It is impossible today for an attacker to decode encrypted information in OPENSSL without having the key (unlike MCRYPT). Your data encrypted and written in the file "var.enc" are also read-only (addition of v1.5c) so that only in case of hacking or if you have a security problem inherent to your hosting, we can access this data. But they will remain encrypted. Without the key, it is data that remains illegible, even if a hacker has managed to access it. Remained a problem of size to solve: the storage of the key which makes it possible to decode the encrypted data. For those who have followed the evolution of the updates and discussions on the forum Infoclimat, you will understand that it is a complicated subject, because of the lack of use of database (MYSQL) and the fact same open source project, since the PHP code is visible when you download it. These are two things that greatly complicate the storage of this key and therefore security. So I tried several different methods, some unpublished (storage in a security cookie, asymmetric encryption in OPENSSL, file_get_contents in https from a remote server), others yes (v1.5b: double key system, the a random and unique public stored in the file "var.enc" and private key common hidden by obfuscation in the source code), without being able to find the ideal solution until version 1.5d. Since version 1.5d, there is now only one encryption key and it is written hard in the PHP code (and not in the file "var.enc" as in 1.5b) for it can only be read by the server and never downloaded by the client. This is the best method to store an encryption key. Finally, so that this key is unique to each user (and not common to all as was the case before version 1.5b and for the so-called private key in versions 1.5b and 1.5c), it will be generated completely Random when downloading MBell from www.meteobell.com and automatically written to the compressed file before downloading MBell files. This new method introduced by version 1.5d guarantees that the encryption key is written in a protected file that can not be read from outside. This key creation before the download of Mbell, also allows this key is unique and independent, without a person also downloading the source code of Mbell can not know the key on your hosting. We can only know his own key, never that of someone else. There is therefore no more use in obfuscating the source code (the obfuscation had been implemented in v1.5b). NOTE: If you are using a server that uses Nginx instead of .htaccess, you must in your nginx.conf configuration file, add the following lines to read-only the "var.enc" file: #nginx configuration location /mbell/config/var.enc { deny all; } ____________________________ XIII. Report a BUG Before reporting a bug, make sure that it comes from MBell and not from Weatherlink. For that nothing more simple, provide you with your identifiers and go on one of the 2 links: - For Weatherlink_V1: http://api.weatherlink.com/v1/NoaaExt.xml?DID="your_did"&key="your_key " - For Weatherlink_V2: http://api.weatherlink.com/v1/NoaaExt.xml?user="your_did"&pass="your_pass"&apiToken="your_token" Replace in the link: - "your_did" by your DID - "your_key" by your KEY - "your_pass" by your PASS - "your_token" by your IP Token This link will load all your data as an XML file. This is the link that MBell uses to display all the data of your weather station. So if the error (or lack of data) is also present in this file, then it is that the problem does not come from MBell, but from Weatherlink. It is therefore useless to point out this bug, I could not do anything about it, I'm for nothing in your problems. Contact in this case Davis and Weatherlink services. On the other hand if the data are indeed present in the link XML, but there is bugs or are missing data in MBell, it is that the problem comes from MBell. Contact me in this case. ____________________________ XIV. Copyright Mbell is a script develloped by Damien BELLIARD, www.meteobell.com The set of Mbell scripts are under Creative Commons License BY-NC-SA: The rights holder authorizes the exploitation of the original work for non-commercial purposes, as well as the creation of derivative works, provided that they distributed under a license identical to that governing the original work. ____________________________ XV. Acknowledgments I thank G-Davis as an initial source of inspiration for this project, which was a mail alert service with a Cron system. I did not take up this concept and finally realized something totally different, but I wanted to thank anyway this person, now missing from the web, for giving me the idea to launch into a open-source project to replace the very old Weatherlink interface (in 1.0). I also thank Erik Flowers and Lukas Bischoff for their Weather Icons icons http://weathericons.io and the entire Bootstrap team https://getbootstrap.com/ for their html-css-jquery builds. Thanks finally to the persons of Infoclimat and in particular to bianconero to allow me to test MBell on his station with all available probes. ____________________________ XVI. Version 1.0 - 25/12/2017: - Initial release 1.0a - 26/12/2017: - Fixed a major bug preventing the identification of his station 1.0b - 30/12/2017: - Fixed a bug preventing the proper execution of "Default Choices" - Minor text correction: "Day / Night" was marked instead of "Light Blue" - Various corrections of the readme file - The security of MBell download site http: //www.meteobell.php/mbell.php has been strengthened to prevent direct download 1.1 - 18/01/2018: - New feature for sun probe owners: Shows you if the weather is sunny or cloudy during the day, instead of "Nil" (thanks to ChristianP and jackT for their precious help on the complex formula of sunshine) - When the relative humidity is between 96 and 97%, Mist will now be displayed in place of Fog - The threshold of the Heat Index goes from 20 to 15°C. The Windchill's threshold goes from 10 to 15°C - New feature in Configuration: you can now choose the number of lines displayed from 1 to 5 (instead of 4 before). - 5 new data boxes were created: Monthly Precipitation, Annual Precipitation, Extra Temperature 1, Extra Temperature 2, Extra Temperature 3 - Automatic switch system on the [Cumul Rain / Rain of the Day] box for the display or not of the monthly and annual precipitation and on the box [Gust Wind] for the display or not of the maximum gust wind of the day [see detail in part VIII). - A crossed circle (international sign of the empty set) is now displayed when there is a PHP error related to the lack of Weatherlink data. - Minor display correction related to a misinterpretation of empty spaces - Some minor text modifications (footer, pressure box etc.) 1.2 - 01/02/2018: - Integration of a system of scripts calculating lunar phases + creation of images of moons - Added subtitle-links on sunset and sunrise - The time and maximum solar radiation value of the day is now displayed as a subtitle-link on the current solar radiation value - Complete overhaul of the solar-uv-day/night probe box to add the lunar phase system. The moon only appears at night, except for those with no probe. - New solar probe box alone (visible only for those with a solar probe) giving in addition the maximum solar radiation value of the month and the year - New UV probe box alone (visible only for those with a UV probe) giving in addition the maximum UV index value of the month and the year - creation of a switch system on the box relating to solar / UV / day-night / moon sensors depending on the presence or absence of solar and/or UV probes and depending on the display or not of the new box solar probe alone and the new UV probe box alone (see Chapter VIII for more details). - You can now display up to 6 lines (18 boxes). 1.3 - 16/02/2018: - Evapotranspiration becomes Potential Evapotranspiration (PET) - The PET now only appears if you have a solar sensor - New formula, calculating the actual evapotranspiration (ETA) - The ETA is only displayed if you do not have a solar sensor - Integration of Weatherlink 2.0 at MBell - You can now switch between Weatherlink 1.0 and Weatherlink 2.0 in your station's identification settings - Creation on www.météobell.com links to MBell (menus + page of the station) - Creation of a real MBell presentation page on www.météobell.com 1.3a - 09/03/2018 : - Bug fix: bad color for the feel like temperature between 10 and 20°C, when the dynamic display was chosen - Bug fix: "Windchill" and "Heat Index" did not display correctly between 10 and 20°C when the unit "Celsius" was chosen 1.3b - 25/03/2018 : - Some spelling corrections in French (mensuel-le / annuel-le / ressenti-e) - The "Pressure" heading is now displayed instead of the textual variation of pressure (subtitling link of the textual variation of pressure) 1.3c - 03/11/2018: - Modification for the purpose of integration of Weatherlink 2.0 to Mbell (TokenID addition) - Change in the connection to Mbell based on the chosen Weatherlink version (the KEY disappearing in version 2.0) 1.4 - 04/12/2018: - 25 New Data Boxes: Indoor Temperature, Indoor Relative Humidity, Extra Temperature 4, 5, 6, 7, Leaf Temperature 1, 2, Soil Temperature 1, 2, 3, 4, Relative Humidity 1, 2, 3, 4, 5, 6, 7, Leaf Moisture 1, 2, Soil Moisture 1, 2, 3, 4. - You can now display up to 10 lines (ie 4 more, so 30 boxes in total). - 3 new Options to display or not in the parameters the data related to the new boxes according to your sensor-probes: Auxiliary Weather Station Air-Water-Soil Temperature n°6372, Weather Station Auxiliary Temperature & Humidity of the Air n°6382, Auxiliary Weather Station Leaf Humidity / Humidity & Soil Temperature n°6345. See the Davis website for more information: https://www.davisinstruments.com/solution/enviromonitor-affordable-field-monitoring-system/ - New dynamic color gradients for leaf wetness (index from 0 to 15) and soil moisture (from 200 cB to 0 cB) - Code simplifications and optimizations (dynamic variables) - Some small bug fixes of displays (some texts too long in mobile version) and minor adjustments (dynamic changes in the order of the boxes) - Dynamic gradient color correction for UV Index only - Fixed a breach on the MBell download page 1.5 - 24/12/2018 - In the subtitle links, adding schedules on all the minimum and maximum of the day - Add in PHP all monthly and annual minimum-maximums available on the Weatherlink XML file - Creation of an ergonomic system in Jquery to easily swap daily, monthly and yearly data - Some more explicit changes and minor adjustments (ex: pressure) in subtitle links (especially in mobile version) - Bug fix: the switch system no longer worked beyond 6 lines following the change to 10 lines in version 1.4 - Bug fix: on the UV Index only box, it was written "Maximum Monthly Solar Radiation" instead of "Maximum Monthly UV Index" in the subtitle link. - Some additions and tips in the "Installation Problems" part of the Readme, following the various returns since the creation of MBell - Optimizations and code simplifications (conditional repetitions) 1.5a - 27/12/2018 - Bug fix: PHP errors on monthly/annual leaf wetness data 1 to 2, soil moisture 1 to 4 and relative humidity 1 to 7 - Bug fix: on the box UV Index only, colors were missing in color and neutral display - Addition of the "barred circle" for all monthly and annual minimum-maximum added in v1.5, in case of implausible values - Color change in color display and white or light blue design for negative values (blue instead of black) 1.5b - 12/01/2019 - Encrypted data are now to Openssl instead of Mcrypt become obsolete since PHP 7.1 (from now on Mbell requires PHP 5.6 minimum instead of 5.5 previously). - New system of encryption key unique to each user and randomly assigned each time you enter your station ID = public key - The public key is now stored in the file "var.enc" with your encrypted credentials - The final encryption key consists of the public key and a common private key, all chopped with a complex algorithm to make it impossible to deduce one key from another. - Obfuscation system to hide the private key in PHP source code and make it impossible to read even if MBell source code is downloaded - Addition of the maximum UV index of the day in subtitle link. - Bug Fix: On the Moon-Sun-UV, Solar Radiation Only and UV Index Only boxes, day-night timer inversion for color change (orange-blue) in color display - Bug fix: the default settings for Auxiliary Stations / Sensors will not be displayed if they are not checked in the options. The box will remain empty. - Minor Bug Fix: The time format in the moon phases could sometimes seem wrong if the weatherlink XML file was badly loaded - Minor bug fix: Missing the symbol of the barred circle in case of loading error on the minimum / maximum windchill and heat index - Minor Bug Fix: The KEY default choice appeared encrypted instead of empty space if the KEY was left empty - Bug Fix: On the Property page, hidden KEY and PASS data when typing instead of being visible (as it is already on the Login page) - Minor Bug Fix: Signed Creative Commons image did not display in HTTPS protocol - Some small corrections and updates of the readme (new chapters "XII: Security" and "XIII: Report a BUG") 1.5c - 13/01/2019 - Var.enc file protection: read-only - Update the readme 1.5d - 16/01/2019 - Suppression of the public / private key system and the obfuscation introduced in 1.5b. Back to a single encryption key system encrypted in hard and clear in MBell PHP code - System for generating a random and unique encryption key by definitively entering it into PHP code from the download page www.meteobell.com - Creation of a system to integrate this new key in the compressed archive of Mbell before downloading - Change the type of compressed file to download. We go from .7z to .Zip, this new system can not work in .7z - Setting up a Captcha at registration before downloading. - Reset the database. You must all re-register at www.meteobell.com to download Mbell. - Update the readme, Security part. 1.6 - 06/03/2019 - Addition of the open source Weather Icons http://weathericons.io from Erik Flowers and Lukas Bischoff to MBell - Added, modified and readjusted icons (Weathericons + Bootstrap) on the titles according to my needs on the 44 boxes of MBell in 3 modes of displays (mobile, tablet, big screen) - Addition of the system of choice with or without icons by the left menu working with cookies - Addition of the system of "choice by default" with or without icons by the configuration menu of the zone Parameters of MBell (without cookies) - Modifications of the 44 boxes of Mbell to allow to display them with or without icons - Fixed bug: the switch system no longer worked on the Sun-UV-Moon box, remaining blocked in the default configuration - Bug fix: in the temperature felt when "Max:" only appears, small comment code error displayed, then it should not.