Page 1 of 5
					
				WL CLoud network support in Version 4.2
				Posted: Mon Oct 07, 2019 10:25 pm
				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 (36.81 KiB) Viewed 7554 times
 
		
		
		
			 
 
Perl code needed on server side: 
https://admin.meteobridge.com/files/wlcloud.pl 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sat Oct 12, 2019 10:57 am
				by lightmaster
				So, looks like with this you can actually upload directly to 
Weatherlink's website and use their service from your Meteobridge now.  
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.
- First register on Weatherlink (must own a Davis station to register).
 
- Then on your Meteobridge go to Weather Nets => "Add more Weather Networks" and select "WL Cloud"
 
- 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).
 
- Hit save.
 
Baxley, GA - Weatherlink
			
		
				
			
 
						- weatherlink.PNG (147.52 KiB) Viewed 7512 times
 
		
		
		
			  
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sat Oct 12, 2019 1:44 pm
				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
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sat Oct 12, 2019 2:32 pm
				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.
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sat Oct 12, 2019 5:00 pm
				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.
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sat Oct 12, 2019 5:02 pm
				by admin
				gus wrote: Sat Oct 12, 2019 2:32 pmDo 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.
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Sun Oct 20, 2019 4:12 pm
				by admin
				Did anybody else gave upload to weatherlink a try as lightmaster did?
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Mon Oct 21, 2019 9:44 am
				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.
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Mon Oct 21, 2019 10:38 am
				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
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Tue Oct 22, 2019 9:08 am
				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
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Tue Oct 22, 2019 11:21 pm
				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.
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Wed Oct 23, 2019 8:47 am
				by Breno
				Working now for me too.  I'm just using the basic account.
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Wed Oct 23, 2019 9:56 am
				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
 
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Thu Oct 24, 2019 9:24 am
				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
			 
			
					
				Re: WL CLoud network support in Version 4.2
				Posted: Thu Oct 24, 2019 10:54 am
				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