Author Topic: WiFiLogger - Connect your Davis console directly to the Internet via WiFi  (Read 25694 times)

WheatonRon and 1 Guest are viewing this topic.

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #600 on: October 27, 2018, 07:55:28 AM »
However I thought I should upgrade my VP2 firmware from 3.15 to 3.80, it fails to complete the firmware upgrade.
It reads the console to tell it that it's on the 3.15 firmware, and let's me go ahead with it.
Comes up with the error :-
Problem entering boot section, check fuse bits!
Console is still working or it is not?
"Problem entering boot section, check fuse bits!" this is from Davis update tool? Or from console?
You should go to SETUP|SYSTEM and change TCP port mode to AUTO PAUSE. I need to change AUTO PAUSE to be default.
1. Set Auto Pause
2. power off, then power on console with logger
3. run Davis update tool again.
I have tried this many times with success and with interference. All work perfectly. After fail you are able to make it again and again.
Let us know if everything is alright.
Console did initially lock up, but power cycle brought it back.
Step 2, remove battery and power from console then reconnect.... done.
I Find local id okay, then start it.
sometimes comes up can't find, then other times it finds it okay.
still getting that initial error.
My VP2 has Bootware 1.2

I have 2x VP2 with Boot version 1.1 and 1x Vue with Boot 1.3 all is working fine.
Please go to SETUP|INFO and check Uptime parameter. Check if it's not rebooting during update.

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #601 on: October 27, 2018, 08:01:35 AM »
In Davis update tool option Local Device ID doesn't work.
You have to rewrite WFL IP address to Remote IP Address

Offline Lars_Olsson

  • Member
  • *
  • Posts: 39
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #602 on: October 27, 2018, 05:58:19 PM »
Finally got some rain here.
Console reporting 114mm/h, logger 0mm.
Console reporting 3mm last hour, logger 1mm.
logger, Stormrain, 3mm.
Cumulus reporting 3mm last hour.

Daily high wind at 00:12 1,3m/s
Cumulus 04:35 1,3m/s

I could have made some mistake, but I checked and checked.....

What is the latest version of SW?

1.23 I don't have newer, but will be.
Using which export method do you use?
Please note that JSON export is in console native units. You have F, mph, inch.
Jason, the other file doesn't upload.
Recalculating to mm.

Lars probably you are the only user of this JSON file up to date.
Do you use Cumulus and WFL exports in same time?
Yes, using both untill I know everything is reliable.
Json is very easy to use uploading all the data into a db all by it self with a cronjob.

Offline weatheroz

  • Senior Contributor
  • ****
  • Posts: 170
    • http://www.jimboombaweather.com
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #603 on: October 29, 2018, 03:23:03 AM »
Plodded along, and eventually it flashed the new firmware on to it.

Just not sure why it didn't work initially, but eventually did.

Thanks for your help.


Nice to be able to retrieve data from my newer VP2 again..... never got a real answer in the 7+ months of asking Davis about the problem I has with TWO WLIP's I've got here.
Brendan,
vk4blp
IRLP 6857 Echolink 672767


Online PaulMy

  • Forecaster
  • *****
  • Posts: 4147
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #604 on: October 29, 2018, 09:55:07 AM »
Quote
Yes, using both untill I know everything is reliable.
Json is very easy to use uploading all the data into a db all by it self with a cronjob.

Could you share in a step-by-step how to import to db?  I have a db with several tables which are imported regularly for Meteotemplate and also a Cumulus once a minute by cron job.  Both of these with scripts and instruction by others and I have no knowledge how I would add a new one.


Thanks,
Paul
Davis Vantage Pro 2 Plus 24-FARS Wireless
Envoy/USB DataLogger/Cumulus v.1.9.4   -   Vue Console/WiFiLogger
Komoka, ON  Canada
www.komokaweather.ca   www.komokaweather.com   www.komokaweather.com/weather28/   www.komokaweather.com/pws/index.php
Blitzortung Station #1076 www.lightningmaps.org/blitzortung7/america/index.php?bo_page=statistics&bo_show=network&lang=en&bo_station_id=969

Offline Lars_Olsson

  • Member
  • *
  • Posts: 39
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #605 on: October 29, 2018, 02:30:39 PM »
Quote
Yes, using both untill I know everything is reliable.
Json is very easy to use uploading all the data into a db all by it self with a cronjob.

Could you share in a step-by-step how to import to db?  I have a db with several tables which are imported regularly for Meteotemplate and also a Cumulus once a minute by cron job.  Both of these with scripts and instruction by others and I have no knowledge how I would add a new one.


Thanks,
Paul
I've written a php-script that is run by cron. The script parses the json file and upload to db.

Offline Lars_Olsson

  • Member
  • *
  • Posts: 39
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #606 on: November 01, 2018, 07:49:42 PM »
Wojtek.

When the month changed, all data from hlrainr except year disappeared!????

/Lars

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #607 on: November 03, 2018, 08:34:23 AM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #608 on: November 03, 2018, 08:44:06 AM »
Finally got some rain here.
Console reporting 114mm/h, logger 0mm.
Console reporting 3mm last hour, logger 1mm.
logger, Stormrain, 3mm.
Cumulus reporting 3mm last hour.

Daily high wind at 00:12 1,3m/s
Cumulus 04:35 1,3m/s

I have checked rain data in json file, all are  correct and same like in console and WeatherLink.
Probably because of Cumulus, WFL didn't renew data. I need to repair that. I need to make WFL more stubborn when it is trying to connect to console.
You could have old data.

Daily high wind at 00:12 1,3m/s
Cumulus 04:35 1,3m/s
I have checked that. Data are ok in json file.
WFL takes only data from console. Cumulus is accumulating data every 2s from console and makes own statistics. Those can be little different.

Offline Lars_Olsson

  • Member
  • *
  • Posts: 39
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #609 on: November 03, 2018, 07:06:56 PM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?

Hi.

Have set the rainperiod start to january.

Data last month,
0.00;0.11;---;6:26;0.92;---;4.49;---

Data this month,
0.00;0.00;---;---;0.00;---;4.49;---

/L

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #610 on: November 04, 2018, 03:43:00 AM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?
Hi.
Have set the rainperiod start to january.
Data last month,
0.00;0.11;---;6:26;0.92;---;4.49;---
Data this month,
0.00;0.00;---;---;0.00;---;4.49;---
/L

HiLow data have schema:
Outside Temp Section
Day Low Out Temp
Day Hi Out Temp
Time Day Low Out Temp
Time Day Hi Out Temp
Month Hi Out Temp
Month Low Out Temp
Year Hi Out Temp
Year Low Out Temp

When day is starting (0:00) first 4 data are zero or dash, when month is starting data 4 and 5 (month hi/low) will be cleared. On 01.01.2019 you will have all zero or dashed.
Those data are from console. Davis works like this.
All I need to make is better interface for arch records and send them via MQTT as JSON. Console data  + arch. records makes weather data complete.
e.g. in arch data you will have rain in arch period (30 min). In console loop data you will have data like RAIN: last 15 min, RAIN: last hour, RAIN: day, RAIN: last 24h, RAIN: month, RAIN: year.
Only when you combine those two (loop + arch.) weather data are complete

Offline Lars_Olsson

  • Member
  • *
  • Posts: 39
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #611 on: November 04, 2018, 11:03:17 AM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?
Hi.
Have set the rainperiod start to january.
Data last month,
0.00;0.11;---;6:26;0.92;---;4.49;---
Data this month,
0.00;0.00;---;---;0.00;---;4.49;---
/L

HiLow data have schema:
Outside Temp Section
Day Low Out Temp
Day Hi Out Temp
Time Day Low Out Temp
Time Day Hi Out Temp
Month Hi Out Temp
Month Low Out Temp
Year Hi Out Temp
Year Low Out Temp

When day is starting (0:00) first 4 data are zero or dash, when month is starting data 4 and 5 (month hi/low) will be cleared. On 01.01.2019 you will have all zero or dashed.
Those data are from console. Davis works like this.
All I need to make is better interface for arch records and send them via MQTT as JSON. Console data  + arch. records makes weather data complete.
e.g. in arch data you will have rain in arch period (30 min). In console loop data you will have data like RAIN: last 15 min, RAIN: last hour, RAIN: day, RAIN: last 24h, RAIN: month, RAIN: year.
Only when you combine those two (loop + arch.) weather data are complete
Actually I don't get it. What's the point of having rainmon if that is the same as month in hlrainr. If it is connected to calendar month in both, it should show the same. Otherwise the hlrainr should not be zeroed until the Rain period starts, setting in console. The function would then be the same as the year doesn't zero until 1/1. If the high low zeroes each month, what does rainmon do?
Sorry for my perhaps strange questions.

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #612 on: November 04, 2018, 11:22:20 AM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?
Hi.
Have set the rainperiod start to january.
Data last month,
0.00;0.11;---;6:26;0.92;---;4.49;---
Data this month,
0.00;0.00;---;---;0.00;---;4.49;---
/L

HiLow data have schema:
Outside Temp Section
Day Low Out Temp
Day Hi Out Temp
Time Day Low Out Temp
Time Day Hi Out Temp
Month Hi Out Temp
Month Low Out Temp
Year Hi Out Temp
Year Low Out Temp

When day is starting (0:00) first 4 data are zero or dash, when month is starting data 4 and 5 (month hi/low) will be cleared. On 01.01.2019 you will have all zero or dashed.
Those data are from console. Davis works like this.
All I need to make is better interface for arch records and send them via MQTT as JSON. Console data  + arch. records makes weather data complete.
e.g. in arch data you will have rain in arch period (30 min). In console loop data you will have data like RAIN: last 15 min, RAIN: last hour, RAIN: day, RAIN: last 24h, RAIN: month, RAIN: year.
Only when you combine those two (loop + arch.) weather data are complete
Actually I don't get it. What's the point of having rainmon if that is the same as month in hlrainr. If it is connected to calendar month in both, it should show the same. Otherwise the hlrainr should not be zeroed until the Rain period starts, setting in console. The function would then be the same as the year doesn't zero until 1/1. If the high low zeroes each month, what does rainmon do?
Sorry for my perhaps strange questions.

Davis console has 3 different sets of data.
LOOP - current data
HiLow - statistic data
Archive records - flash memory built-in data logger

Rain data is from LOOP, but rain rate is in HiLow as well. Rain rate is how fast rain was falling. Other rain data is about amount of rain.

HiLow normally is treated as day hilow. Like highest outside temp 29.4C at 15:45. There is also month and year hi low. As you can see month data are not last 31 days, but callendar month like november.
WeatherLink and other software are omiting month and year data from hilows.
Why I have made export of this data?
WFL is a general purpose device, maybe somebody will need it.

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7071
    • Eagle Bay Weather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #613 on: November 04, 2018, 11:57:01 AM »
Wojtek.
When the month changed, all data from hlrainr except year disappeared!????
/Lars

Lars could you paste example?
Hi.
Have set the rainperiod start to january.
Data last month,
0.00;0.11;---;6:26;0.92;---;4.49;---
Data this month,
0.00;0.00;---;---;0.00;---;4.49;---
/L

HiLow data have schema:
Outside Temp Section
Day Low Out Temp
Day Hi Out Temp
Time Day Low Out Temp
Time Day Hi Out Temp
Month Hi Out Temp
Month Low Out Temp
Year Hi Out Temp
Year Low Out Temp

When day is starting (0:00) first 4 data are zero or dash, when month is starting data 4 and 5 (month hi/low) will be cleared. On 01.01.2019 you will have all zero or dashed.
Those data are from console. Davis works like this.
All I need to make is better interface for arch records and send them via MQTT as JSON. Console data  + arch. records makes weather data complete.
e.g. in arch data you will have rain in arch period (30 min). In console loop data you will have data like RAIN: last 15 min, RAIN: last hour, RAIN: day, RAIN: last 24h, RAIN: month, RAIN: year.
Only when you combine those two (loop + arch.) weather data are complete
Actually I don't get it. What's the point of having rainmon if that is the same as month in hlrainr. If it is connected to calendar month in both, it should show the same. Otherwise the hlrainr should not be zeroed until the Rain period starts, setting in console. The function would then be the same as the year doesn't zero until 1/1. If the high low zeroes each month, what does rainmon do?
Sorry for my perhaps strange questions.

You are stuck (mostly) with what Davis outputs.  https://www.davisinstruments.com/support/vantage-pro-pro2-and-vue-communications-reference/

Online PaulMy

  • Forecaster
  • *****
  • Posts: 4147
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #614 on: November 04, 2018, 12:20:23 PM »
Daylight savings time change this morning:
My Envoy/USB/Cumulus and my standalone VP2 console made the time change ok,

however my Vue console and WiFiLogger did not change back the one hour.  The Vue was set as Daylight Savings Auto, Eastern Standard Time UTC -5.  WiFiLogger was set at GMT: -05:00 Eastern Time, Daylight Savings - Auto ticked.

I manually changed the time in the Vue console, and also in WiFiLogger station set up so all is fine now.

Enjoy,
Paul
Davis Vantage Pro 2 Plus 24-FARS Wireless
Envoy/USB DataLogger/Cumulus v.1.9.4   -   Vue Console/WiFiLogger
Komoka, ON  Canada
www.komokaweather.ca   www.komokaweather.com   www.komokaweather.com/weather28/   www.komokaweather.com/pws/index.php
Blitzortung Station #1076 www.lightningmaps.org/blitzortung7/america/index.php?bo_page=statistics&bo_show=network&lang=en&bo_station_id=969

Offline ocala

  • Forecaster
  • *****
  • Posts: 3486
    • http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KFLBELLE2
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #615 on: November 04, 2018, 12:44:34 PM »
Daylight savings time change this morning:
My Envoy/USB/Cumulus and my standalone VP2 console made the time change ok,

however my Vue console and WiFiLogger did not change back the one hour.  The Vue was set as Daylight Savings Auto, Eastern Standard Time UTC -5.  WiFiLogger was set at GMT: -05:00 Eastern Time, Daylight Savings - Auto ticked.

I manually changed the time in the Vue console, and also in WiFiLogger station set up so all is fine now.

Enjoy,
Paul
Same thing here. Everything had to be done manually.

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #616 on: November 04, 2018, 02:13:53 PM »
Daylight savings time change this morning:
My Envoy/USB/Cumulus and my standalone VP2 console made the time change ok,

however my Vue console and WiFiLogger did not change back the one hour.  The Vue was set as Daylight Savings Auto, Eastern Standard Time UTC -5.  WiFiLogger was set at GMT: -05:00 Eastern Time, Daylight Savings - Auto ticked.

I manually changed the time in the Vue console, and also in WiFiLogger station set up so all is fine now.

Enjoy,
Paul
Same thing here. Everything had to be done manually.

Yes I have forgotten to repair that problem. WFL is reading settings on startup, also daylight saving. When console has right time and WFL don't just REBOOT WFL (white button, or SETUP|SYSTEM).
I will change some things in NTP and time.
WFL will connect to console one time per day to read time and time settings. Obligatory synchronization. 5 am ?
Now time is checked when NTP is on and/or on startup.

Some users had problem with year 1969. That is a problem with NTP. There is no verification of NTP time protocol.
I think that was in Windows XP, when system clock was to far to NTP, then WIN XP won't synchronize system clock with NTP time.
I would like to use this schema. Read time from console, read time from NTP (Internet). When difference is more than +/- year, then won't synchronize.
Simple procedure, not perfect, but should work.

Offline wase4711

  • Senior Contributor
  • ****
  • Posts: 154
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #617 on: November 06, 2018, 08:16:11 PM »
"new" to the "newer" Davis Stuff, its been many years since I owned my Vantage Pro, and, of course, new to the wifi logger world...I have a 6153 coming tomorrow, and have bought the wifi logger to use with it; is it easy to  setup the wifi logger so that you can auto send info to weatherlink.com, so it can be forwarded to other weather services? (WU, etc)
thanks!

Online PaulMy

  • Forecaster
  • *****
  • Posts: 4147
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #618 on: November 06, 2018, 10:24:20 PM »
When you have your WiFiLogger connected you will just have to enter your IDs and passwords for WL, WU, and others like PWS, AWEKAS, CWOP in WiFiLogger settings and they will be updated at your set intervals.

You do not need to use WL to send to WU and CWOP.

Of course, you will need to have accounts or sign up first to those services.


Enjoy,
Paul
« Last Edit: November 06, 2018, 10:29:19 PM by PaulMy »
Davis Vantage Pro 2 Plus 24-FARS Wireless
Envoy/USB DataLogger/Cumulus v.1.9.4   -   Vue Console/WiFiLogger
Komoka, ON  Canada
www.komokaweather.ca   www.komokaweather.com   www.komokaweather.com/weather28/   www.komokaweather.com/pws/index.php
Blitzortung Station #1076 www.lightningmaps.org/blitzortung7/america/index.php?bo_page=statistics&bo_show=network&lang=en&bo_station_id=969

Offline wase4711

  • Senior Contributor
  • ****
  • Posts: 154
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #619 on: November 06, 2018, 11:41:41 PM »
Thanks Paul, sounds pretty simple!

Offline CannockChaseWeather

  • Member
  • *
  • Posts: 7
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #620 on: November 07, 2018, 03:53:15 AM »
I have been using the wifi logger since August. It uploads to all sites with no issues never missing a beat. My data is there 24 7. Well done great product.

Offline wase4711

  • Senior Contributor
  • ****
  • Posts: 154
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #621 on: November 13, 2018, 08:14:45 PM »
how do I get a device id and key to enter into the WFL setup screen for Weather link?

thanks
« Last Edit: November 14, 2018, 11:18:36 AM by wase4711 »

Offline johnd

  • Forecaster
  • *****
  • Posts: 2864
    • www.weatherstations.co.uk
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #622 on: November 15, 2018, 09:30:27 AM »
how do I get a device id and key to enter into the WFL setup screen for Weather link?

I've uploaded some instructions to our Davis knowledgebase. Please see:

https://www.manula.com/manuals/pws/davis-kb/1/en/topic/wfl-uploads-to-weatherlink-com
« Last Edit: November 15, 2018, 09:44:43 AM by johnd »
Prodata Weather Systems
Prodata's dedicated Davis EnviroMonitor website
UK Davis Premier Dealer - All Davis stations, accessories and spares
Littleport, Ely, Cambs UK

Offline WiFiLogger

  • Senior Contributor
  • ****
  • Posts: 205
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #623 on: November 15, 2018, 03:52:24 PM »
I am preparing HTML file to allow users to display wflexp.json.
It is very simple INDEX.HTML file which has to be in the same directory on www server where you are uploading wflexp.json by your WiFiLogger.
It will look the same like Real Time Data page on WFL.

You can check current(not finished) version here:
http://wifilogger.net/station/
or
http://wifilogger.net/station/index.html
http://wifilogger.net/station/wflexp.json

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7071
    • Eagle Bay Weather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #624 on: November 15, 2018, 03:58:17 PM »
That is pretty sweet!

 

anything