WL CLoud network support in Version 4.2

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

WL CLoud network support in Version 4.2

Post by admin » Mon Oct 07, 2019 10:25 pm

Just released version 4.2 supports uploading of data from a Davis data logger to a web side of your choice. It mainly transports LOOP, HILOWS and DMPAFT packages (as described in the Davis serial protocol specification) to your web server. To have your web server accepting this data you just need to install a simple perl script you find attached below. The beauty of this is that you get all the data from the data logger to your server as Davis has stored it, so it is 100% compatible to what you see on the console. The whole procedure is very similar to what Davis does to feed their Weatherlink network. So it is up to you to build your own ;-)

Beside the URL to upload data to it needs a MAC like User ID and a numerical key. ID and Key is not checked by the perl script, I intended to show the principle as easy as possible.

wlcloud.png
wlcloud.png (36.81 KiB) Viewed 131 times

Perl code needed on server side: https://admin.meteobridge.com/files/wlcloud.pl

lightmaster
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 19, 2018 1:03 am

Re: WL CLoud network support in Version 4.2

Post by lightmaster » Sat Oct 12, 2019 10:57 am

So, looks like with this you can actually upload directly to Weatherlink's website and use their service from your Meteobridge now. :D

Found the URL that the WeatherLink computer software uploads to with Wireshark, and entering my Device ID and Key from Weatherlink, and sure enough, it shows up on both their website and mobile app.
  1. First register on Weatherlink (must own a Davis station to register).
  2. Then on your Meteobridge go to Weather Nets => "Add more Weather Networks" and select "WL Cloud"
  3. Enter "wl6.weatherlink.com/bin.php" for your Server URL, and then the Device ID and Key that Weatherlink provided you (You can find these by clicking the wrench icon under your name on the right side of their site).
  4. Hit save.
Baxley, GA - Weatherlink
weatherlink.PNG
weatherlink.PNG (147.52 KiB) Viewed 89 times

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 411
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: WL CLoud network support in Version 4.2

Post by wvdkuil » Sat Oct 12, 2019 1:44 pm

Some problems:
missing data
No data appears at the Bulletin and the Meteobridge Live Data tab displays strange date/time
See attached screenshot and rebooting the MB-Nano did not help either
uploads nearly every second although I set the upload from every minute to evry two minutes
This is a very small part of the list of last executed uploads, only 3 lines show a correct timestamp.

Code: Select all

2019-10-12 13:42:06 Success: 1923-05-21 20:23:17
2019-10-12 13:42:04 Success: 1923-05-21 20:23:17
2019-10-12 13:42:03 Success: 1923-05-21 20:23:17
2019-10-12 13:42:01 Success: 1923-05-21 20:23:17
2019-10-12 13:42:00 Success: 1923-05-21 20:23:17
2019-10-12 13:41:51 Success: 1923-05-21 20:23:17
2019-10-12 13:41:50 Success: 1923-05-21 20:23:17
2019-10-12 13:41:47 Success: 1923-05-21 20:23:17
2019-10-12 13:41:46 Success: 1923-05-21 20:23:17
2019-10-12 13:41:43 Success: 2019-10-12 13:41:38
2019-10-12 13:41:41 Success: 2019-10-12 13:41:38
2019-10-12 13:41:40 Success: 2019-10-12 13:41:38
2019-10-12 13:41:37 Success: 1923-05-21 20:23:17
2019-10-12 13:41:36 Success: 1923-05-21 20:23:17
2019-10-12 13:41:34 Success: 1923-05-21 20:23:17
2019-10-12 13:41:32 Success: 1923-05-21 20:23:17
2019-10-12 13:41:31 Success: 1923-05-21 20:23:17
I will wait an hour and reboot again.
Wim
Attachments
wl cloud.jpeg
wl cloud.jpeg (39.94 KiB) Viewed 79 times
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) http://pwsdashboard.weather-template.com/

User avatar
gus
Senior Boarder
Senior Boarder
Posts: 68
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: WL CLoud network support in Version 4.2

Post by gus » Sat Oct 12, 2019 2:32 pm

Do you have to have a Davis logger for this to work? What if I have an ID and key from a logger that is not being used? Will that work? Essentially what I'm trying to determine is if I can have a non-Davis station upload to Weatherlink.com by just physically owning a Davis logger but not actually using it.
MR3020 v1
GW1000

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

Re: WL CLoud network support in Version 4.2

Post by admin » Sat Oct 12, 2019 5:00 pm

@wvdkull: the fast sequence of uploads is just in the beginning, when the Cloud network asks for all data sets stored in the logger. Once uploaded, things will chime in to the defined interval, where 3 data sets will be uploaded each time the interval has passed plus new data sets stored in the logger about every 15 minutes. It will also take some time until the Cloud network has updated on all the transferred historical data sets. I don't think it will need reboots of your NANO.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5881
Joined: Mon Oct 01, 2007 10:51 pm

Re: WL CLoud network support in Version 4.2

Post by admin » Sat Oct 12, 2019 5:02 pm

gus wrote:
Sat Oct 12, 2019 2:32 pm
Do you have to have a Davis logger for this to work?
As Meteobridge does only pass-through data from the logger it needs the Davis logger. Meteobridge is not simulating Davis data structures for alien weather stations.

Post Reply