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

0 Members and 2 Guests are viewing this topic.

Offline dendrite

  • Forecaster
  • *****
  • Posts: 367
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #425 on: August 16, 2018, 01:58:01 PM »
Only strange thing I see now is CWOP Findu page. Chart for solar radiation will not show above 999 W/m2. As soon as my station reports >or=1000 W/m2 it graphs as a zero or 1. It never did this before... but looking at the raw data being received by CWOP, it clearly shows Example "L1005" for 1005 W/m2 but graphs as though the decimal place is off Example 1.005 or .1005. This seems like a problem with FINDU, but it happened the day I switched to WFL and has been this way ever since... Maybe just a coincidence. Strange though.

I don't have UV and Solar sensors. I can't test it properly. I will try to cheat ISS to send this data. I will test it again with WL60 and Cumulus.
Unfortunately it will not be the next day.
I'm still not certain it's a WFL issue.
These are the raw data packets at 7 Min intervals received by CWOP/APRS. The last set of numbers after the "L" is the Watts/meter2. Notice the 4 entries at 1826, 1833, 1847 and 1950  zulu. These are graphed below as "0" or almost "0" its hard to tell exactly.

DW5212>APRS,TCPXX*,qAX,CWOP:@021813z3135.15N/09236.10W_092/001g005t088r000p000P000h52b10159L977.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021819z3135.15N/09236.10W_005/001g005t088r000p000P000h52b10159L983.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021826z3135.15N/09236.10W_140/001g004t089r000p000P000h50b10158L1004.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021833z3135.15N/09236.10W_010/002g005t088r000p000P000h50b10156L1011.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021840z3135.15N/09236.10W_080/000g005t089r000p000P000h51b10155L990.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021847z3135.15N/09236.10W_082/002g007t088r000p000P000h49b10153L1035.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021854z3135.15N/09236.10W_005/002g007t088r000p000P000h48b10154L997.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021901z3135.15N/09236.10W_039/002g004t089r000p000P000h47b10150L983.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021908z3135.15N/09236.10W_249/001g004t089r000p000P000h48b10150L990.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021915z3135.15N/09236.10W_268/002g004t088r000p000P000h52b10149L993.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021922z3135.15N/09236.10W_033/001g004t089r000p000P000h50b10148L944.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021929z3135.15N/09236.10W_015/002g004t088r000p000P000h50b10148L967.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021936z3135.15N/09236.10W_027/001g005t090r000p000P000h48b10146L965.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021943z3135.15N/09236.10W_173/001g005t089r000p000P000h49b10148L940.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021950z3135.15N/09236.10W_030/002g005t090r000p000P000h49b10147L1018.WFL
DW5212>APRS,TCPXX*,qAX,CWOP:@021957z3135.15N/09236.10W_031/001g005t088r000p000P000h49b10146L990.WFL

The dips after 2000 and 2200 zulu were actual clouds. Notice it only dropped to ~200 W/m2.
 [ You are not allowed to view attachments ]

This is the actual Solar Radiation recorded today at 15 minute intervals. Only one entry here showing >1000 due to the longer and offset record interval.
 [ You are not allowed to view attachments ]
Found this APRS protocol for solar radiation. Maybe this will help?

Quote
Other parameters that are available on some weather station units include:
L = luminosity (in watts per square meter) 999 and below.
l (lower-case letter “L”) = luminosity (in watts per square meter)
1000 and above.
(L is inserted in place of one of the rain values).

You can see in my APRS data that values above 999 get coded with "l" instead of "L".

Quote
CW7324>APRS,TCPXX*,qAX,CWOP-7:@161605z4326.05N/07137.20W_322/003g015t079r000p000P000h76b10153L886.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-2:@161610z4326.05N/07137.20W_250/003g010t079r000p000P000h75b10154L898.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-6:@161615z4326.05N/07137.20W_005/004g013t079r000p000P000h68b10154L909.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-2:@161620z4326.05N/07137.20W_315/002g010t079r000p000P000h66b10154L911.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-5:@161625z4326.05N/07137.20W_360/003g013t079r000p000P000h74b10155L926.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-2:@161630z4326.05N/07137.20W_225/002g013t079r000p000P000h71b10155L940.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-3:@161635z4326.05N/07137.20W_005/002g009t079r000p000P000h63b10157l046.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-5:@161640z4326.05N/07137.20W_076/000g008t080r000p000P000h66b10155l032.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-1:@161645z4326.05N/07137.20W_294/004g010t080r000p000P000h59b10156L993.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-6:@161650z4326.05N/07137.20W_345/004g012t080r000p000P000h65b10156l025.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-1:@161655z4326.05N/07137.20W_288/004g013t080r000p000P000h64b10156L990.DsVP
CW7324>APRS,TCPXX*,qAX,CWOP-7:@161700z4326.05N/07137.20W_348/005g014t080r000p000P000h54b10156L937.DsVP
« Last Edit: August 16, 2018, 02:03:09 PM by dendrite »

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #426 on: August 16, 2018, 05:22:40 PM »
You can see in my APRS data that values above 999 get coded with "l" instead of "L".

Thanx, I will fix that.

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #427 on: August 16, 2018, 05:41:57 PM »
I have an FTP server and noticed there is an FTP facility in WFL. Does this data arrive in some standard format easily read by say CumulusMX or is it raw for processing thro Excel or whatever? A polite finger in the right direction or some existing thread much appreciated. Don't want to be reinventing a square wheel :)

Cheers ... Keith

FTP in WFL is the only option to export archive data. It send CSV file in WFL format, but .....
WeatherLink files are txt in two formats. Local and FTP export file. One has tabs, second space. Both have same headers, but in two rows.
I don't know who was inventor of those two rows headers, but for any programming language that is a pain ....

I have made this straight. WFL format is Davis headers in single row in CSV format where you can choose separator. I have add units columns. This is important. There is no units information in original one.
I believe my CSV format is very close to Davis standard. I wanted to repair same things, not to change entire system.
So WFL export file is CSV format with Davis headers + units columns + you can choose separator, or date format. It will stay that way. I don't know better idea.

You have to know one thing. WFL is reading console data and export it to FTP. Whole memory reading takes 2 min 15 sec. There is a problem with 1 min interval.
When WFL is making export then console is busy and there will be no new entry in arch. data. Also no other export function will be executed when FTP file is being exported. RapidFire will be postpone.
For 1 min export only WL.COM account is an answer for now.

Offline G4EQZ

  • Member
  • *
  • Posts: 6
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #428 on: August 17, 2018, 10:37:37 AM »
I have an FTP server and noticed there is an FTP facility in WFL. Does this data arrive in some standard format easily read by say CumulusMX or is it raw for processing thro Excel or whatever? A polite finger in the right direction or some existing thread much appreciated. Don't want to be reinventing a square wheel :)

Cheers ... Keith

FTP in WFL is the only option to export archive data. It send CSV file in WFL format, but .....
WeatherLink files are txt in two formats. Local and FTP export file. One has tabs, second space. Both have same headers, but in two rows.
I don't know who was inventor of those two rows headers, but for any programming language that is a pain ....

I have made this straight. WFL format is Davis headers in single row in CSV format where you can choose separator. I have add units columns. This is important. There is no units information in original one.
I believe my CSV format is very close to Davis standard. I wanted to repair same things, not to change entire system.
So WFL export file is CSV format with Davis headers + units columns + you can choose separator, or date format. It will stay that way. I don't know better idea.

You have to know one thing. WFL is reading console data and export it to FTP. Whole memory reading takes 2 min 15 sec. There is a problem with 1 min interval.
When WFL is making export then console is busy and there will be no new entry in arch. data. Also no other export function will be executed when FTP file is being exported. RapidFire will be postpone.
For 1 min export only WL.COM account is an answer for now.

Thanks for the info Wojiech, I take it that when the ftp runs, rapid fire etc is just held until its finished, which for me is fine. I am used to csv, delimiter option issues which can be a pain at times as you say :(

I have been looking at the archive ftp setup screen in WFL and cant see what triggers the FTP. My thought was to have it run say once a day then write a program on my server to grab the file automatically and process it into a SQL database. I can't understand when the FTP happens. Please see the screenshot below.  I want the file to save to folder /WeatherData on the ftp. Can you see anything obviously wrong? what am I missing?

Best regards ... Keith

 [ You are not allowed to view attachments ]

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #429 on: August 17, 2018, 11:21:47 AM »
Trigger is auto. Arch. interval (from console settings) + 15 sec.

Full path is:
/WeatherData/file.csv

Folder has to be there. WFL don't creat folders.
+ I didn't program IP address as a name. You have to use name of the server.
« Last Edit: August 17, 2018, 11:24:06 AM by WiFiLogger »

Offline G4EQZ

  • Member
  • *
  • Posts: 6
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #430 on: August 17, 2018, 11:37:24 AM »
Thanks for the quick reply Wojiech, will give it a go later.

Cheers ... Keith

Offline G4EQZ

  • Member
  • *
  • Posts: 6
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #431 on: August 17, 2018, 04:58:17 PM »
Trigger is auto. Arch. interval (from console settings) + 15 sec.

Full path is:
/WeatherData/file.csv

Folder has to be there. WFL don't creat folders.
+ I didn't program IP address as a name. You have to use name of the server.

That's working fine now thanks Wojiech. I am just writing the code in C# to read the csv and populate SQL table with the data. I see what you mean about the double column stuff :( Really weird, can't think why anyone would make it that unnecessarily complicated - I am sure they had a good reason to do it that way but can't think of one :)

Cheers ... Keith

Offline schwab

  • Senior Member
  • **
  • Posts: 94
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #432 on: August 20, 2018, 12:55:20 PM »
Are there any forum members who know whether the WiFiLogger Davis console interface functions with WeatherCat 3, Apple Mac OSX Software?

https://trixology.com/weathercat/

Thanks.

Offline optical_man

  • Member
  • *
  • Posts: 28
    • WeatherUnderground
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #433 on: August 20, 2018, 01:29:25 PM »
While I haven't tried that particular software myself, I am confident it should work.  This is because all of the commands that the Davis consoles accept are relayed by WFL.  The device will respond like WLIP as far as the communication goes.  Just make sure your WiFi is strong enough where you locate it.

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #434 on: August 21, 2018, 01:19:21 PM »
A bit pricy with 149£ plus shipping outside the UK.
Should be more countries to buy from so the prices after demand could go down.
I know the market in Sweden may be small, but still.
So sad I have to choose a USBconnected.
« Last Edit: August 21, 2018, 01:21:57 PM by Lars_Olsson »

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #435 on: August 21, 2018, 04:58:36 PM »
Uhhh... have you priced the wired, far less functional Davis logger??
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #436 on: August 21, 2018, 06:29:44 PM »
Wish to write my own program to my purpose. Belfryboys is 59£. Or has he changed it?

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #437 on: August 21, 2018, 06:48:05 PM »
If you mean Bellfryboy's  standard logger, it is not wireless.
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline stefano90

  • Member
  • *
  • Posts: 5
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #438 on: August 22, 2018, 09:52:25 AM »
Hi All! 

I have a question for the developer of WifiLogger.

Is it possible to add a function to send current data to a personal server (through FTP or HTTP)?

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #439 on: August 22, 2018, 03:10:12 PM »
Hi All! 

I have a question for the developer of WifiLogger.

Is it possible to add a function to send current data to a personal server (through FTP or HTTP)?

Not now. It is planed.

My ideas for real time exports are:
- MQTT JSON format data (JohnD idea)
- Same JSON file exported as a FTP file.
- PHP driver which I will provide and client will be able to install on own host. This driver bin.php will feed MySQL database, because that is (cheapest) standard on any hosting. 
bin.php will allow to access of settings, current data and arch. records data = same export data what WL IP is providing.
bin.php won't be optimized. So there is no way that with bin.php you will be able to establish WL.COM service with 25k clients, but up to 30-50 units that should be ok.

Those are ideas. Time to make it. What should be first?
« Last Edit: August 22, 2018, 04:47:26 PM by WiFiLogger »

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #440 on: August 22, 2018, 04:34:02 PM »
PHP.

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #441 on: August 22, 2018, 05:59:15 PM »
Apply Occam's Razor:  FTP or HTTP
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline stefano90

  • Member
  • *
  • Posts: 5
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #442 on: August 23, 2018, 04:14:54 AM »
Hi All! 

I have a question for the developer of WifiLogger.

Is it possible to add a function to send current data to a personal server (through FTP or HTTP)?

Not now. It is planed.

My ideas for real time exports are:
- MQTT JSON format data (JohnD idea)
- Same JSON file exported as a FTP file.
- PHP driver which I will provide and client will be able to install on own host. This driver bin.php will feed MySQL database, because that is (cheapest) standard on any hosting. 
bin.php will allow to access of settings, current data and arch. records data = same export data what WL IP is providing.
bin.php won't be optimized. So there is no way that with bin.php you will be able to establish WL.COM service with 25k clients, but up to 30-50 units that should be ok.

Those are ideas. Time to make it. What should be first?

Ok, thank you very much

For me the important thing is the possibility to upload data to a personal web site, doesn't matter the method :)

Offline redlynr

  • Senior Member
  • **
  • Posts: 52
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #443 on: August 23, 2018, 07:35:47 AM »
Quote from: stefano90
For me the important thing is the possibility to upload data to a personal web site, doesn't matter the method :)

I agree!

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #444 on: August 26, 2018, 07:13:24 AM »
How are the plans after Brexit?
This means vat and customs fee to other countries in Europe.

Offline mcrossley

  • Forecaster
  • *****
  • Posts: 1132
    • Wilmslow Astro
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #445 on: August 26, 2018, 07:37:05 AM »
How are the plans after Brexit?

Nobody knows!  #-o
Mark

Online johnd

  • Forecaster
  • *****
  • Posts: 4827
    • www.weatherstations.co.uk
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #446 on: August 26, 2018, 07:53:48 AM »
How are the plans after Brexit?
This means vat and customs fee to other countries in Europe.

As Mark says, this is still to be decided. But there are two likely possibilities:

1. No change from present arrangements, at least for eg 2 years or more post March 2019. Beyond that is difficult to predict.

OR

2. EU countries will effectively be treated the same as exports to non-EU countries and so no UK VAT will be payable on despatch.
« Last Edit: August 26, 2018, 07:58:52 AM by johnd »
Prodata Weather Systems
Prodata's FAQ/support site for Davis stations
Includes many details on 6313 Weatherlink console.
UK Davis Premier Dealer - All Davis stations, accessories and spares
Cambridge UK

Sorry, but I don't usually have time to help with individual issues by email unless you are a Prodata customer. Please post your issue in the relevant forum section here & I will comment there if I have anything useful to add.

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #447 on: August 26, 2018, 08:28:48 AM »
Nbr2 as before. But that means vat and customs fee in the countries buying from UK.
Therefor it would be of interest perhaps of finding more resellers in other countries.

Online johnd

  • Forecaster
  • *****
  • Posts: 4827
    • www.weatherstations.co.uk
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #448 on: August 26, 2018, 09:58:02 AM »
Nbr2 as before.

No, #1 is as before (for EU countries). But very likely any change is at least 2-3 years in the future. Let's see what happens.
Prodata Weather Systems
Prodata's FAQ/support site for Davis stations
Includes many details on 6313 Weatherlink console.
UK Davis Premier Dealer - All Davis stations, accessories and spares
Cambridge UK

Sorry, but I don't usually have time to help with individual issues by email unless you are a Prodata customer. Please post your issue in the relevant forum section here & I will comment there if I have anything useful to add.

Offline blacklistedcard

  • Member
  • *
  • Posts: 44
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #449 on: August 26, 2018, 12:52:16 PM »
I tried the wireless console firmware update and it worked great.  The Davis direct firmware update software was able to find the console by tcpip and the IP address.  The whole upgrade process took about 15 minutes. 


 

anything