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

0 Members and 1 Guest are viewing this topic.

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #475 on: September 04, 2018, 09:20:23 AM »
Hi all, this question may have been answered but I canīt find it: is this logger compatible with weathercloud network?

No, but It won't be hard to make. Little problem is, there is not enought resources for all weather services.
I need confirmation that https://weathercloud.net/ is most common for all WiFiLogger users.

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #476 on: September 04, 2018, 09:47:37 AM »
Hi Wojtek,
Quote
No, but It won't be hard to make. Little problem is, there is not enought resources for all weather services.
I need confirmation that https://weathercloud.net/ is most common for all WiFiLogger users.
I do upload to Weathercloud through Cumulus https://app.weathercloud.net/d0280022074#profile
 but it doesn't rank any higher for me than the other uploads you currently have.

Enjoy,
Paul

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #477 on: September 04, 2018, 09:59:50 AM »
Quote
Good morning Paul

I gotta say that your webpage setup is excellent........would love to do something similar myself!

Cheers Paul @flyingdutchwx (London Northeast)
Brian's Home Weather Station thread on Cumulus http://sandaysoft.com/forum/viewtopic.php?f=29&t=17090#p131542 which uses the Cumulus realtime.txt as current data source.
However, as my test page shows, the WiFiLogger new realtime.txt FTP does the same thing.
The Home Weather Station template download is here https://weather34.com/homeweatherstation/

I will gladly help you get started...

Enjoy,
Paul

Offline Negu

  • Member
  • *
  • Posts: 10
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #478 on: September 04, 2018, 10:11:21 AM »
Hi Wojtek,
Quote
No, but It won't be hard to make. Little problem is, there is not enought resources for all weather services.
I need confirmation that https://weathercloud.net/ is most common for all WiFiLogger users.
I do upload to Weathercloud through Cumulus https://app.weathercloud.net/d0280022074#profile
 but it doesn't rank any higher for me than the other uploads you currently have.

Enjoy,
Paul

So I assume that you need to have a computer switched on to upload to weathercloud...
« Last Edit: September 04, 2018, 10:13:43 AM by Negu »

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #479 on: September 04, 2018, 10:16:44 AM »
Quote
So I assume that you need to have a computer switched on to upload to weathercloud...
I do for my Cumulus upload, but if it were uploaded by WiFiLogger I presume that would suffice but Wojtek is better to answer that.

Enjoy,
Paul

Offline Negu

  • Member
  • *
  • Posts: 10
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #480 on: September 04, 2018, 10:21:58 AM »
Ok, thanks for your help 👍

Offline gbothwell

  • Member
  • *
  • Posts: 13
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #481 on: September 05, 2018, 08:21:19 AM »
Thank you, when i look back at my station history I see this happening once or twice daily.  Is there some setting I can make in wifilogger to adjust this?

Navigate to SETUP|WiFi SETUP and change NTP interval to 0. Save.
This will disable NTP. I think there is a problem.
Please let us know if it's ok.

Ok, I’ll make this change and watch for a few days and report back.

After making this change the issue has gone away.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #482 on: September 05, 2018, 08:42:09 AM »
Quote
Good morning Paul

I gotta say that your webpage setup is excellent........would love to do something similar myself!

Cheers Paul @flyingdutchwx (London Northeast)
Brian's Home Weather Station thread on Cumulus http://sandaysoft.com/forum/viewtopic.php?f=29&t=17090#p131542 which uses the Cumulus realtime.txt as current data source.
However, as my test page shows, the WiFiLogger new realtime.txt FTP does the same thing.
The Home Weather Station template download is here https://weather34.com/homeweatherstation/

I will gladly help you get started...

Enjoy,
Paul

hello Paul

so am i right in thinking(correct me if I am totally wrong)  the standard cumulus version of the template supports the wifi logger if cumulus realtime.txt is used as the option in wifi logger.forgive me but I have no background or experience of wifi logger . i did look at the json output but thats pretty confusing probably needs some documentation to highlight what some of the fields are, i understood some of them but got lost half way down and thought thats a complete rewrite to make the template that structure. I'm happy to include a note that the cumulus supports wifi logger but im not the expert to ask questions if any issues arise. brian


Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #483 on: September 05, 2018, 08:57:33 AM »
Got the wifilogger and it is sending to wunderground, but the new thing logging to ftp, can't get it to work.
No file what so ever is written to my ftp....?

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #484 on: September 05, 2018, 10:32:13 AM »
Quote
Good morning Paul

I gotta say that your webpage setup is excellent........would love to do something similar myself!

Cheers Paul @flyingdutchwx (London Northeast)
Brian's Home Weather Station thread on Cumulus http://sandaysoft.com/forum/viewtopic.php?f=29&t=17090#p131542 which uses the Cumulus realtime.txt as current data source.
However, as my test page shows, the WiFiLogger new realtime.txt FTP does the same thing.
The Home Weather Station template download is here https://weather34.com/homeweatherstation/

I will gladly help you get started...

Enjoy,
Paul

hello Paul

so am i right in thinking(correct me if I am totally wrong)  the standard cumulus version of the template supports the wifi logger if cumulus realtime.txt is used as the option in wifi logger.forgive me but I have no background or experience of wifi logger . i did look at the json output but thats pretty confusing probably needs some documentation to highlight what some of the fields are, i understood some of them but got lost half way down and thought thats a complete rewrite to make the template that structure. I'm happy to include a note that the cumulus supports wifi logger but im not the expert to ask questions if any issues arise. brian


Hi Brian,
Yes the WiFiLogger realtime.txt file is the same format as the Cumulus.  I have WiFiLogger FTP this realtime.txt at 1 min interval.  Then the realtime path in your (Cumulus) template set to that WiFiLogger upload site.  In a quick comparison to my Cumulus realtime.txt site and the WiFiLogger realtime.txt site all the current data seems the same.  Not sure what else may be different in your template between the Cumulus and the other versions.


Regards,

Paul

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #485 on: September 05, 2018, 10:34:11 AM »
Got the wifilogger and it is sending to wunderground, but the new thing logging to ftp, can't get it to work.
No file what so ever is written to my ftp....?

download this version http://wifilogger.net/files/WiFiLogger121.zip
download update guide http://wifilogger.net/files/WiFiLoggerUpdate.pdf

Check what WiFiLogger firmware version you have.
If you have versiob lower than 1.19 then please upload all HTML files.
If you have version 1.19 please upload only ftpexport.html file.

Navigate to SETUP| Archive Export Setup

go to bottom of this page.
There you can setup your FTP. Please not that you have put name of the server. IP number is not yet served.
Please check my settings
 [ You are not allowed to view attachments ]


Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #486 on: September 05, 2018, 10:36:33 AM »
Quote
Good morning Paul

I gotta say that your webpage setup is excellent........would love to do something similar myself!

Cheers Paul @flyingdutchwx (London Northeast)
Brian's Home Weather Station thread on Cumulus http://sandaysoft.com/forum/viewtopic.php?f=29&t=17090#p131542 which uses the Cumulus realtime.txt as current data source.
However, as my test page shows, the WiFiLogger new realtime.txt FTP does the same thing.
The Home Weather Station template download is here https://weather34.com/homeweatherstation/

I will gladly help you get started...

Enjoy,
Paul

hello Paul

so am i right in thinking(correct me if I am totally wrong)  the standard cumulus version of the template supports the wifi logger if cumulus realtime.txt is used as the option in wifi logger.forgive me but I have no background or experience of wifi logger . i did look at the json output but thats pretty confusing probably needs some documentation to highlight what some of the fields are, i understood some of them but got lost half way down and thought thats a complete rewrite to make the template that structure. I'm happy to include a note that the cumulus supports wifi logger but im not the expert to ask questions if any issues arise. brian


Hi Brian,
Yes the WiFiLogger realtime.txt file is the same format as the Cumulus.  I have WiFiLogger FTP this realtime.txt at 1 min interval.  Then the realtime path in your (Cumulus) template set to that WiFiLogger upload site.  In a quick comparison to my Cumulus realtime.txt site and the WiFiLogger realtime.txt site all the current data seems the same.  Not sure what else may be different in your template between the Cumulus and the other versions.


Regards,

Paul

hello paul awesome news so if using cumulus realtime.txt option in wifi logger then its good to go...fantastic no rewriting ..awesome .. will update download info page to acknowledge support for wifi logger using cumulus version and option ..if you have any doubts let me know ..brian

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #487 on: September 05, 2018, 10:37:23 AM »
Hi Brian,
Yes the WiFiLogger realtime.txt file is the same format as the Cumulus.  I have WiFiLogger FTP this realtime.txt at 1 min interval.  Then the realtime path in your (Cumulus) template set to that WiFiLogger upload site.  In a quick comparison to my Cumulus realtime.txt site and the WiFiLogger realtime.txt site all the current data seems the same.  Not sure what else may be different in your template between the Cumulus and the other versions.
Regards,
Paul

Please note that WiFiLoggers realtime.txt has Cumulus format and plenty of data, but not all, because Cumulus is making own staticstics.
I will make document to describe this.
I think we will work on realtime.txt and these JSON files for some time here to make them usable.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #488 on: September 05, 2018, 10:41:57 AM »
i looked at the json file to see if i could implement that but got lost on some of the fields .. anyway realtime.txt is a good simple solution to get it of the ground..brian

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #489 on: September 05, 2018, 10:53:03 AM »
i looked at the json file to see if i could implement that but got lost on some of the fields .. anyway realtime.txt is a good simple solution to get it of the ground..brian

Yes Brian
RealTime.txt is very good, but not transfer all console data.
JSON was made to transfer all data.
1. Some settings
2. Loop data
3. HiLow data including high/low month and year.

I will write schematic of this file, but it is not finished yet.

Data is transfered as a string, because NULL is transfered as "---"(Davis standard).
That can be change to raw console readings, but then you will have to check all data by yourself if it is in range, or sensor is not connected.

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #490 on: September 05, 2018, 10:56:22 AM »
Files will also have MQTT transfer option.
 [ You are not allowed to view attachments ]
« Last Edit: September 05, 2018, 10:59:47 AM by WiFiLogger »

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #491 on: September 05, 2018, 11:51:23 AM »
Got the wifilogger and it is sending to wunderground, but the new thing logging to ftp, can't get it to work.
No file what so ever is written to my ftp....?

download this version http://wifilogger.net/files/WiFiLogger121.zip
download update guide http://wifilogger.net/files/WiFiLoggerUpdate.pdf

Check what WiFiLogger firmware version you have.
If you have versiob lower than 1.19 then please upload all HTML files.
If you have version 1.19 please upload only ftpexport.html file.

Navigate to SETUP| Archive Export Setup

go to bottom of this page.
There you can setup your FTP. Please not that you have put name of the server. IP number is not yet served.
Please check my settings
 [ You are not allowed to view attachments ]
Thanks. Updated to 1.21 and sorry to say, took all html. I Hope this would not effect something else?
Made the setup and nothing.....? 😲🙄

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #492 on: September 05, 2018, 11:52:28 AM »
I have made a comparison between the Cumulus realtime.txt and WiFiLogger realtime.txt.  And as Wojtek said there are differences. 

In my case the Cumulus is Envoy and WiFiLogger a Vue console so that accounts for hardware differences.
Field Example Description CumulusWiFiCompare
1 18/10/08 date (always dd/mm/yy) 05/09/2018 09/05/18?
2 16:03:45 time(always hh:mm:ss) 11:01:04 11:01:03OK
3 8.4 outside temperature 29.329.3OK
4 84 relative humidity 7070OK
5 5.8 dewpoint 23.323.3OK
6 24.2 wind speed (average) 4.33.2
7 33.0 latest wind speed reading 10.68
8 261 wind bearing (degrees) 170169
9 0.0 current rain rate 00OK
10 1.0 rain today 00OK
11 999.7 barometer 1018.91021.6Vue
12 W wind direction S SOK
13 6 wind speed (beaufort) 10
14 mph wind units km/h km/hOK
15 C temperature units C COK
16 mb pressure units hPa hPaOK
17 mm rain units mm mmOK
18 146.6 wind run (today) 13 ---
19 +0.1 pressure trend value -0.27 ---
20 85.2 monthly rainfall 77OK
21 588.4 yearly rainfall 561554.4
22 11.6 yesterday's rainfall 0 ---
23 20.3 inside temperature 30.127.2Vue
24 57 inside humidity 4651Vue
25 3.6 wind chill 29.329.4
26 -0.7 temperature trend value 2.2 ---
27 10.9 today's high temp 29.629.6OK
28 12:00 time of today's high temp (hh:mm) 10:58 10:58OK
29 7.8 today's low temp 21.221.2OK
30 14:41 time of today's low temp (hh:mm) 5:44 5:44OK
31 37.4 today's high wind speed (average) 8.514.5
32 14:38 time of today's high wind speed (average) (hh:mm) 10:52 10:49
33 44.0 today's high wind gust 21.414.5
34 14:28 time of today's high wind gust (hh:mm) 10:49 10:49OK
35 999.8 today's high pressure 1020.631023.2Vue
36 16:01 time of today's high pressure (hh:mm) 0:00 0:07Vue
37 998.4 today's low pressure 1018.91021.5Vue
38 12:06 time of today's low pressure (hh:mm) 10:56 4:47Vue
39 1.8.2 Cumulus version 1.9.41.21Vue
40 448 Cumulus build number 10991.21Vue
41 36.0 10-minute high gust 12.99.7
42 10.3 heat index 33.433.9
43 10.5 humidex 39.6 ---
44 13 UV Index 3.43.4OK
45 0.2 Evapotranspiration today 0.630.03
46 14 Solar Radiation W/m2 596596OK
47 260 10-minute average wind bearing (degrees) 206 ---
48 2.3 rainfall last hour  00OK
49 13 current forecast number (see samplestrings.ini). Negative means 'exceptional' 210
50 1 Is it daylight? 1 if currently within daylight hours (between dawn and dusk), 0 if not 10
51 0 Sensor contact lost (1 = yes) (Fine Offset only) 00
52 NNW wind direction (average) SSW0
53 2040 Cloudbase 7480
54 ft Cloudbase units mm0
55 12.3 Apparent Temperature 33.90
56 11.1 Sunshine hours so far today 2.80
57 420.1 Current theoretical max solar radiation 6500
58 1 Is it sunny? 1 if the sun is shining, otherwise 0. Requires your station to have a solar sensor. 10


Enjoy,
Paul

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #493 on: September 05, 2018, 12:27:17 PM »
Got the wifilogger and it is sending to wunderground, but the new thing logging to ftp, can't get it to work.
No file what so ever is written to my ftp....?

download this version http://wifilogger.net/files/WiFiLogger121.zip
download update guide http://wifilogger.net/files/WiFiLoggerUpdate.pdf

Check what WiFiLogger firmware version you have.
If you have versiob lower than 1.19 then please upload all HTML files.
If you have version 1.19 please upload only ftpexport.html file.

Navigate to SETUP| Archive Export Setup

go to bottom of this page.
There you can setup your FTP. Please not that you have put name of the server. IP number is not yet served.
Please check my settings
 [ You are not allowed to view attachments ]
Thanks. Updated to 1.21 and sorry to say, took all html. I Hope this would not effect something else?
Made the setup and nothing.....? 😲🙄
You can open debug window to check
http://WFL_IP/debug

Please make sure that you have  folder on server WFL don't create folders
path should be
/
/stationFolder/
etc.

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #494 on: September 05, 2018, 12:31:29 PM »
Thanks! I'll check the debug.

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #495 on: September 05, 2018, 12:41:21 PM »
Quote
Please make sure that you have  folder on server WFL don't create folders
path should be
/
/stationFolder/
etc.
I initially had mine getting lost.  I changed the Folder path to /public_html/wifi-console/ and that put realtime.txt and json files in my site's /wifi-console folder

Enjoy,
Paul

Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #496 on: September 05, 2018, 01:08:55 PM »
Found my error now.
Sorry for any inconvenience. I left out the trailing slash.  =D>

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #497 on: September 06, 2018, 12:04:27 PM »
http://wifilogger.net/files/WFLexport.xlsx
Here is a desciption of RealTime.txt and wflexp.json

wflexp.json has 3 sections
1. Settings and time
2. Real time data
3. HiLow data

HiLow data is an array. All hilows sections have array with 8 cells. Day Low   Day Hi   Time Day Low   Time Day Hi   Month Hi   Month Low   Year Hi   Year Low
I don't have all sensors in my VP2 so wasn't tested for all cases, but if there will be any problem I will repair to fix data to this pattern.
Data like wind speed has no low data so "Hi" cells are populated with "---".
Names for HiLow and real time are similar.
ex.
RTD:  "tempout":"70.4"
HiLow: "hltempout":["61.7","79.3","6:36","15:01","87.3","58.1","100.0","50.9"]

In RTD section extra data like extra temp, soil temp, leaf temp etc. are in array
ex. soil temps, leaf wetness
"xst":["79","79","79","79"]
"xlw":["0","0","---","0"]

In settings section data are written as a number
"stnmod":16

but all weather data are written as a string
"tempin":"81.4"
that is because dash values are sent as "---" string.

Units are based console units
F, mph, Inch.



Offline Lars_Olsson

  • Member
  • *
  • Posts: 47
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #498 on: September 06, 2018, 12:16:00 PM »
Cool! Thanks!
Easy to populate my dB with this info given.

Offline WiFiLogger

  • Forecaster
  • *****
  • Posts: 733
Re: WiFiLogger - Connect your Davis console directly to the Internet via WiFi
« Reply #499 on: September 06, 2018, 12:28:10 PM »
Yes It was made to easy transfer to DB.
Please let it have some time. Maybe structural changes will be needed.
Maybe it is better to send raw console data, than those strings.
Maybe it should be generatated with console units.

I am waiting for suggestions.