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

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

WL CLoud network support in Version 4.2

Post by admin »

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 2254 times

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

User avatar
lightmaster
Junior Boarder
Junior Boarder
Posts: 21
Joined: Fri Oct 19, 2018 1:03 am

Re: WL CLoud network support in Version 4.2

Post by lightmaster »

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 2212 times

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

Re: WL CLoud network support in Version 4.2

Post by wvdkuil »

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 2202 times
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

User avatar
galfert
Gold Boarder
Gold Boarder
Posts: 222
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: WL CLoud network support in Version 4.2

Post by galfert »

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: 6468
Joined: Mon Oct 01, 2007 10:51 pm

Re: WL CLoud network support in Version 4.2

Post by admin »

@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: 6468
Joined: Mon Oct 01, 2007 10:51 pm

Re: WL CLoud network support in Version 4.2

Post by admin »

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.

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

Re: WL CLoud network support in Version 4.2

Post by admin »

Did anybody else gave upload to weatherlink a try as lightmaster did?

Breno
Junior Boarder
Junior Boarder
Posts: 22
Joined: Sat Nov 12, 2016 8:05 am

Re: WL CLoud network support in Version 4.2

Post by Breno »

admin wrote:
Sun Oct 20, 2019 4:12 pm
Did anybody else gave upload to weatherlink a try as lightmaster did?
I did as per the instructions above, it uploaded non stop for 24 hours and all I got was some wind data. I gave up after it locked up, power cycled the MR3020 and turned it back off again.

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

Re: WL CLoud network support in Version 4.2

Post by wvdkuil »

Breno wrote:
Mon Oct 21, 2019 9:44 am
admin wrote:
Sun Oct 20, 2019 4:12 pm
Did anybody else gave upload to weatherlink a try as lightmaster did?
I did as per the instructions above, it uploaded non stop for 24 hours and all I got was some wind data. I gave up after it locked up, power cycled the MR3020 and turned it back off again.
Same here, infinite uploads, no data to show at wl.com
It was a new WU-id station I used.

Wim
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

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

Re: WL CLoud network support in Version 4.2

Post by wvdkuil »

wvdkuil wrote:
Mon Oct 21, 2019 10:38 am
Breno wrote:
Mon Oct 21, 2019 9:44 am
admin wrote:
Sun Oct 20, 2019 4:12 pm
Did anybody else gave upload to weatherlink a try as lightmaster did?
I did as per the instructions above, it uploaded non stop for 24 hours and all I got was some wind data. I gave up after it locked up, power cycled the MR3020 and turned it back off again.
Same here, infinite uploads, no data to show at wl.com
It was a new WU-id station I used.
Wim
And now it works as it should rebooting to the latest version
Meteobridge 4.2 (Oct 22 2019, build 2612), FW 1.3

After a few minutes all data is shown correctly on the weatherlink com website.
admin wrote:
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 is indeed now uploading only 3 records /minute

Code: Select all

2019-10-22 09:01:59 Success: 2019-10-22 09:01:54
2019-10-22 09:01:58 Success: 2019-10-22 09:01:54
2019-10-22 09:01:56 Success: 2019-10-22 09:01:54
2019-10-22 09:00:57 Success: 2019-10-22 09:00:48
2019-10-22 09:00:55 Success: 2019-10-22 09:00:48
2019-10-22 09:00:54 Success: 2019-10-22 09:00:48
Thanks for all the work,

Wim
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

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

Re: WL CLoud network support in Version 4.2

Post by admin »

Great to hear that current version does fit your needs.
Do you have a paid "Weatherlink PRO" account? Looks like I will not expand mine through trial period.

Breno
Junior Boarder
Junior Boarder
Posts: 22
Joined: Sat Nov 12, 2016 8:05 am

Re: WL CLoud network support in Version 4.2

Post by Breno »

Working now for me too. I'm just using the basic account.

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

Re: WL CLoud network support in Version 4.2

Post by wvdkuil »

admin wrote:
Tue Oct 22, 2019 11:21 pm
Great to hear that current version does fit your needs.
Do you have a paid "Weatherlink PRO" account? Looks like I will not expand mine through trial period.
I just need a basic account to get the data from the wl.com API to test my scripts.
My ip-logger failed some months ago and I replaced that with a nano.
Now I can test the scripts with wl.com API and compare that with the real data from the Meteobridge(s).

Wim
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

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

Re: WL CLoud network support in Version 4.2

Post by wvdkuil »

My IP-logger failed a few months ago and I replaced it with a Meteobridge-Nano. The Nano is 80 euro's less expensive compared to a new Davis IP-logger and it includes all Metebridghe functionality. I can now continue to upload to WeatherLink.com by using the DID and KEY from the sticker on the broken IP-logger. Far more functionality for less money.

Wim
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

gand
Junior Boarder
Junior Boarder
Posts: 33
Joined: Thu Apr 23, 2015 5:40 pm

Re: WL CLoud network support in Version 4.2

Post by gand »

Hi

It means I don't have to have the IP-logger installed. I have an IP-logger with DID and Key. Can use this information together with the URL from Lightmaster. Currently, there is a USB logger installed in my Davis Vantage Pro2

Rgds
Gert

Post Reply