Author Topic: Firmware 2.25 is ready to download  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

Online WiFiLogger

  • Forecaster
  • *****
  • Posts: 497
Firmware 2.25 is ready to download
« on: September 28, 2019, 12:53:24 PM »
Firmware 2.25 is ready to download.

What is new:
- Function "Stay Alive" - PING gateway and Google server (8.8.8.8). Ping gateway every 3 minutes, Google every 60 minutes. If there is a problem with connection to the Internet then
  WiFiLogger will be rebooted.
- TCP connection has no more manual pause.
   - Pause - WiFiLogger internal software will be paused and console is free to use by connected PC software like WeatherLink PC, or Cumulus.
   - Pause with disconnection - WiFiLogger will close connection with PC software every 60 sec.. WFL will make all own exports in a queue and connection by PC software will be possible
     again. This option is proper to work with WeatherLink PC, because WL PC even if don't download any data from console, it can keep connection established, blocking WFL exports.
     Cumulus has own function for similar mechanism.

New custom export options PHP&MySQL. It is a full set of JSON files made to export all data from the console.
Set of files can be exported by:
- FTP
- MQTT
- HTTP PUT - HTTP PUT will work with PHP script and MySQL database, this is still in preparation.

Local access to JSON files:
http://WFL_IP/wflreg.json
http://WFL_IP/wflrtd.json
http://WFL_IP/wflhilow.json
http://WFL_IP/wflhilowex.json
http://WFL_IP/wfllastlog.json



Offline MatteoPV

  • Senior Member
  • **
  • Posts: 81
Re: Firmware 2.25 is ready to download
« Reply #1 on: September 29, 2019, 03:56:16 AM »
I updated, it seems great. For the 'Stay alive' function I have selected only Google and not the gateway. Also selecting the gateway I fear that if you need to restart the modem, in the moment of lack of connection, the wifi logger will be uselessly restarted.

Online WiFiLogger

  • Forecaster
  • *****
  • Posts: 497
Re: Firmware 2.25 is ready to download
« Reply #2 on: September 29, 2019, 04:16:03 AM »
I updated, it seems great. For the 'Stay alive' function I have selected only Google and not the gateway. Also selecting the gateway I fear that if you need to restart the modem, in the moment of lack of connection, the wifi logger will be uselessly restarted.

Some users wanted send ping every 1 minute to Google. I don't want to spread to many useless packets.
It is working like this:
Every 3 minutes ping is being send to router. If there will be no success, then Google counter will reduce to 1 minutes. Then after 1 minute from failed router ping there will be ping to Google.
This was to easy. WiFiLogger will reboot after 3 failed pings to Google. This means it will take 4 minutes to reboot WiFiLogger. It will contains one failed ping to router and 3 failed ping to Google with 1 min. interval. Ping to router is woking when WiFiLogger is running minimum 15 minutes from power on. This is for setup reason.

Offline MatteoPV

  • Senior Member
  • **
  • Posts: 81
Re: Firmware 2.25 is ready to download
« Reply #3 on: September 29, 2019, 04:36:24 AM »
Fantastic!!!! Then I put google + gateway !!!

thanks a lot

Offline MatteoPV

  • Senior Member
  • **
  • Posts: 81
Re: Firmware 2.25 is ready to download
« Reply #4 on: October 03, 2019, 03:45:49 AM »
I have a question. With 2.25, the output power of the wifi is the same ??? I seem to notice that the wifi is weaker. In my case I have no problems, as the modem is unlocked and works at full power. Are there any feedback or is it just my feeling?

Offline R_o_B

  • WxElement panel
  • Senior Member
  • *****
  • Posts: 82
    • Tzouhalem-Maple Bay Weather
Re: Firmware 2.25 is ready to download
« Reply #5 on: October 05, 2019, 05:49:56 AM »
Wojciech, I have installed version 2.25 without any issue.

Unfortunatey, there are a few (ie: many) questions that are remaining unanswered - I am somewhat a bit (a lot!) confused with the new options and their purpose/usefulness.

When I start the WiFiLogger GUI interface, it displays 'Pause: auto' in large black characters on a pinkish background. What does that really mean? Can the pause (and the 'space taking' message) not be deactivated anymore? Does the 'Pause: auto' message needs to be continuously display (I find it annoying and taking too much space)?

What would happen if I set the 'TCP Port' setting (on the 'System' setup screen) to the 'Disable' option? Does that mean that data will not be available to the software accessing the assigned TCP Port (such as, for example, prevent Weather Display from accessing the data from TCP Port 22222)?

You wrote that if the 'Pause' option (for the 'TCP Port' setting) is selected, the "WiFiLogger internal software will be paused and console is free to use by connected PC software like WeatherLink PC, or Cumulus" - what exactly in the WiFiLogger is paused? Does that mean that the WiFiLogger stops sending its data to whatever services have been setup in the 'Data Export Setup' screen? I guess the 'Pause' option (for the 'TCP Port' setting) is the setting needed for the Weather Display software as Weather Display can fetch the data directly from the logger (be it the Davis Instruments WeatherLink IP/Serial/USB Data Logger or the WiFiLogger or any other data loggers)?

What kind of data is being saved in the JSON files, such as 'wflreg.json', 'wflrtd.json', 'wflhilow.json', 'wflhilowex.json', and 'wfllastlog.json' - the abbreviated names do not mean/say very much about their contents?

In the 'Custom Export Setup' screen, what information is needed for the 'HTTP -> PHP -> MySQL export settings', what should be entered for the 'Your Server' option?

It seems that this setting might/will be used to save the data to a database - then, other than the host server IP address, the port number as well as the name of the database as well as the user name and password are needed to write any data to a database.

I know, I know, I am asking a lot of questions ... but my 72 year old brain needs clear answers in order to make sense of all this new information...  :oops:
R_o_B
---
eMail: weather@tzweather.org

Offline R_o_B

  • WxElement panel
  • Senior Member
  • *****
  • Posts: 82
    • Tzouhalem-Maple Bay Weather
Re: Firmware 2.25 is ready to download
« Reply #6 on: October 07, 2019, 11:37:26 AM »
Wojciech, could you please, PLEASE, make firmware version 2.24 available on the WiFiLogger web site - I really really do not like the behavior of firmware version 2.25.

As I wrote in the previous message, I do not like to have the 'Pause: auto' overly large message displayed on the 'Real Time Data' screen. I prefer to have the data (and only the weather data) on the 'Real Time Data' screen (as well as the clock) to be continuously updated - I have the 'Real Time Data' permanently displayed on one of my computer screen.
R_o_B
---
eMail: weather@tzweather.org

Online WiFiLogger

  • Forecaster
  • *****
  • Posts: 497
Re: Firmware 2.25 is ready to download
« Reply #7 on: October 07, 2019, 11:44:26 AM »
Wojciech, could you please, PLEASE, make firmware version 2.24 available on the WiFiLogger web site - I really really do not like the behavior of firmware version 2.25.

As I wrote in the previous message, I do not like to have the 'Pause: auto' overly large message displayed on the 'Real Time Data' screen. I prefer to have the data (and only the weather data) on the 'Real Time Data' screen (as well as the clock) to be continuously updated - I have the 'Real Time Data' permanently displayed on one of my computer screen.

I would prefer not to publish firmware 2.24, because it can damage WiFiLoggers with version 1.xx. I will just send you 2.24 on priv. I will have answers for your questions from yesterday in short while.

Online WiFiLogger

  • Forecaster
  • *****
  • Posts: 497
Re: Firmware 2.25 is ready to download
« Reply #8 on: October 07, 2019, 12:14:59 PM »
When I start the WiFiLogger GUI interface, it displays 'Pause: auto' in large black characters on a pinkish background. What does that really mean? Can the pause (and the 'space taking' message) not be deactivated anymore? Does the 'Pause: auto' message needs to be continuously display (I find it annoying and taking too much space)?

Auto Pause means that WiFiLogger access to the console is freezed. Some PC software takes control over console. You know that there can be only on connection to the console. WiFiLogger is one connection, Cumulus/Weather Display/Weatherlink is second. WiFiLogger exports, or even data on Real Time Data page are paused/freezed/not working.

What would happen if I set the 'TCP Port' setting (on the 'System' setup screen) to the 'Disable' option? Does that mean that data will not be available to the software accessing the assigned TCP Port (such as, for example, prevent Weather Display from accessing the data from TCP Port 22222)?

Yes. You will disable connection by TCP port 22222. There will be no access by Weather Display.

You wrote that if the 'Pause' option (for the 'TCP Port' setting) is selected, the "WiFiLogger internal software will be paused and console is free to use by connected PC software like WeatherLink PC, or Cumulus" - what exactly in the WiFiLogger is paused? Does that mean that the WiFiLogger stops sending its data to whatever services have been setup in the 'Data Export Setup' screen? I guess the 'Pause' option (for the 'TCP Port' setting) is the setting needed for the Weather Display software as Weather Display can fetch the data directly from the logger (be it the Davis Instruments WeatherLink IP/Serial/USB Data Logger or the WiFiLogger or any other data loggers)?

Yes. WiFiLogger export functions are stopped to make clear path for access to the console by PC software.

What kind of data is being saved in the JSON files, such as 'wflreg.json', 'wflrtd.json', 'wflhilow.json', 'wflhilowex.json', and 'wfllastlog.json' - the abbreviated names do not mean/say very much about their contents?

This set of JSONs were made to export full info from the console, but there are different export reasons and different time, so data from console was splitted. JSON format was used, because it is very common and it is "organic" for any modern computer language.
wflreg.json - registration - console settings and WiFiLogger settings. This is exported once when WiFiLogger is rebooted.
wflrtd.json - Real Time Data/LOOP1&LOOP2 current weather it can be exported every 3 sec.
wflhilow.json - basic hilows data from console VP2 and VUE
wflhilowex.json - extended hilows leaf soil extra temp etc VP2 only
wfllastlog.json - last archive entry data. Weather data from data logger. Only the newest record.

In the 'Custom Export Setup' screen, what information is needed for the 'HTTP -> PHP -> MySQL export settings', what should be entered for the 'Your Server' option?

You have to have own server to use it. This is custom export. Export to MySQL is working fine. You need to have PHP script from me, or make own. The same with MySQL database settings. Using this feature you can make WL.COM alternative version with full history and RapidFire speed.
At the moment I have made only first part of this work. Second is to take out data from MySQL and display it in web browser.

It seems that this setting might/will be used to save the data to a database - then, other than the host server IP address, the port number as well as the name of the database as well as the user name and password are needed to write any data to a database.
If you have version 2.25 and you could go to SETUP|Network Info. There is a new item. WID - WiFiLogger ID. Unique identification for each WFL. This is MAC address changed to decimal number. This is the same like DID in WL.COM.

Offline R_o_B

  • WxElement panel
  • Senior Member
  • *****
  • Posts: 82
    • Tzouhalem-Maple Bay Weather
Re: Firmware 2.25 is ready to download
« Reply #9 on: October 07, 2019, 07:08:41 PM »
When I start the WiFiLogger GUI interface, it displays 'Pause: auto' in large black characters on a pinkish background. What does that really mean? Can the pause (and the 'space taking' message) not be deactivated anymore? Does the 'Pause: auto' message needs to be continuously display (I find it annoying and taking too much space)?

Auto Pause means that WiFiLogger access to the console is freezed. Some PC software takes control over console. You know that there can be only on connection to the console. WiFiLogger is one connection, Cumulus/Weather Display/Weatherlink is second. WiFiLogger exports, or even data on Real Time Data page are paused/freezed/not working.
Could you possibly (please) add a setting to completely disabled the 'Pause: auto' so that there is no pause whatsoever - I do not need any pauses. My Weather Display software has been using the 'realtime' data file that  is produced by the WiFiLogger every minutes (so no direct contact between the Weather Display software and the WiFiLogger). My weather34WD web pages and my Meteobridge (both) have been contacting the WiFiLogger through TCP port 22222 for months without any problem.

I do not understand the answer you have provided that "there can be only on connection to the console. WiFiLogger is one connection, Cumulus/Weather Display/Weatherlink is second". None of those software can communicate directly with the console - all those software have to go through a logger. So, when the software (Cumulus/Weather Display/WeatherLink) wants to download the data from the console, it has to make a request from the logger where the data is cache. Again, no software can communicate/talk directly with the Davis consoles (Vantage Pro or Vantage Vue). That is why Davis Instruments sell those over-priced IP/Serial/USB WeatherLink Data Loggers. That is why a console by itself is worthless - it can only display the weather data, it cannot download any weather data.
R_o_B
---
eMail: weather@tzweather.org

Offline CW2274

  • Forecaster
  • *****
  • Posts: 4807
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Firmware 2.25 is ready to download
« Reply #10 on: October 07, 2019, 07:23:53 PM »
When I start the WiFiLogger GUI interface, it displays 'Pause: auto' in large black characters on a pinkish background. What does that really mean? Can the pause (and the 'space taking' message) not be deactivated anymore? Does the 'Pause: auto' message needs to be continuously display (I find it annoying and taking too much space)?

Auto Pause means that WiFiLogger access to the console is freezed. Some PC software takes control over console. You know that there can be only on connection to the console. WiFiLogger is one connection, Cumulus/Weather Display/Weatherlink is second. WiFiLogger exports, or even data on Real Time Data page are paused/freezed/not working.
That is why Davis Instruments sell those over-priced IP/Serial/USB WeatherLink Data Loggers. That is why a console by itself is worthless - it can only display the weather data, it cannot download any weather data.
The console is certainly not worthless to those who don't want their data online. For that matter, I am online and still use three of them.