Page 1 of 1
Weathetlink live
Posted: Sun Apr 24, 2022 4:50 am
by Gerrit
Hello,
I am working with the plugin WLIP to upload data sent via weatherlink live to the weatherlink site to meteotemplate.
Now it is not quite clear to me if this was possible at the moment as there were problems with the api V2 in the past, are these already solved? I can't find anything about this in other posts in the forum
Gerrit
Re: Weathetlink live
Posted: Tue Apr 26, 2022 1:49 pm
by mchd17
I am curious about this too. Does this api update work correctly? All extra sensors work? I can share my weatherlink api.
Re: Weathetlink live
Posted: Tue Apr 26, 2022 8:52 pm
by davidefa
I think the plugin can be converted to api v2.
Need the 'API Key' and 'API Secret' to test it
Re: Weathetlink live
Posted: Tue Apr 26, 2022 9:06 pm
by mchd17
Pm sent
Re: Weathetlink live
Posted: Wed Apr 27, 2022 10:16 am
by Gerrit
If my api is needed I like to hear it
Gerrit
Re: Weathetlink live
Posted: Thu May 05, 2022 1:14 am
by mchd17
i'm curious, any success on this

Re: Weathetlink live
Posted: Thu May 05, 2022 8:46 pm
by davidefa
Yes, I can get the values of your sensors ( very long list of sensors and various control values ) divided in 10 groups.
I think the setup of of the plugin could be similar to the extra sensor setup.
Each line define a sensor and contains the davis naming, the meteotemplate naming, the unit of measure/conversion, and a flag to enable/disable sensor
ex:
Code: Select all
Sensor 2 ( 480481 ) leaf/soil
moist_soil2 SM1 -- enabled
...
Sensor 4 ( 480479 ) vantage pro2 24h fan asp.
hum H -- enabled
wind_speed last W mi/h enabled
...
In this way there's maximum freedom in selecting/defining sensors ( at the cost of a little bit longer setup phase )

- davis01.png (29.03 KiB) Viewed 56373 times
Re: Weathetlink live
Posted: Thu May 05, 2022 8:55 pm
by mchd17

yeah, it's a long list of sensors
i see alot of nulls in your image when there should be totals
Re: Weathetlink live
Posted: Thu May 05, 2022 9:01 pm
by davidefa
Sensor n. 3 contains only a wind sensor, sensor 4 contains the most part of sensors.
Re: Weathetlink live
Posted: Thu May 05, 2022 9:08 pm
by mchd17
i understand how the listing works now
Re: Weathetlink live
Posted: Sun Jun 05, 2022 8:12 am
by Gerrit
I'm curious to see if the connection will work out.
Re: Weathetlink live
Posted: Tue Jun 07, 2022 11:39 am
by johnathan
Custom software’s most significant benefit is providing features that off-the-shelf software doesn’t. After the custom-designed solution is implemented, the problems it solves can be well worth the costs
https://mlsdev.com.
Re: Weathetlink live
Posted: Wed Jun 08, 2022 6:15 pm
by davidefa
Found 'a little time' to dedicate to this plugin ( still a preliminary release ).
Installation:
- extract the compressed archive in the plugin folder
- copy the updateWLL.php script in the load/crons folder ( and set a cron job, if not already set, to execute the load/cron.php script as described in the wiki )
- execute the plugin setup via the meteotemplate control panel ( it could be quite long if you have many sensors )
Setup:
1) first time you execute the setup insert your api_key, secret_key, click the 'save' button and reload the page
2) you have now access to all your 'stations' and relative 'sensors'
3) now you have to set the 3 parameters:
- MT Field ( field name as used by meteotemplate T,H,P,W,G,B... see
meteotemplate wiki, you can use also other field names, all will be imported in the meteotemplatreLive.txt file )
- Conversion ( unit of measure conversion from the davis format to the format used in the meteotemplate database, the alldata table has user definable unit of measure of each fields via the main setup, the alldataExtra table fields all have fixed unit of measure, for example extra temperature sensors are always saved in °C, even if main outdoor temperature is saved in °F )
- Enabled ( enable all sensor you want to pass to meteotemplate )
NOTE
Davis provides
an incredible number of fields ( see for example, wind, rain and particulate sensors ) so you need to carefully choose which to import
The file cache/updateDavisWLLLog.txt contains a log of the import process.

- davisWLL02.png (112.23 KiB) Viewed 55977 times

- davisWLL01.png (104.1 KiB) Viewed 55977 times
Re: Weathetlink live
Posted: Wed Jun 08, 2022 6:49 pm
by alexvanuxem
thank you, will test it asap.
my apologies to my previous pm i sent you. my airlink 1 is saved.
now to set up the ecowitt lightning....(see pm)
one step at a time.
thank you for you outmost dedication
i
Re: Weathetlink live
Posted: Wed Jun 08, 2022 8:49 pm
by davidefa
Did not receive any pm ( I think )
Re: Weathetlink live
Posted: Sat Jun 11, 2022 10:46 am
by alexvanuxem
thank you!
works like a charm!
not only do I have lightning, I have my second airlink reporting to meteotemplate!!!
this a good day.
Alex
Re: Weathetlink live
Posted: Sat Jun 11, 2022 1:40 pm
by Gerrit
Good day,
I'm not quite getting there unfortunately, I just set the basic sensors first to test, I'll do the additional sensors later.
I get an error message with the cron job.
I have set this rule.
https://www.waskolkweer.nl/meteotemplat ... ord=xxxxxx
and should in the database upload just leave it on API?
Gerrit
Re: Weathetlink live
Posted: Sat Jun 11, 2022 4:04 pm
by alexvanuxem
Re: Weathetlink live
Posted: Sat Jun 11, 2022 4:24 pm
by Gerrit
Thanks, I will try it tomorrow, today unfortunately no time,
Re: Weathetlink live
Posted: Wed Jun 22, 2022 12:25 pm
by MeteoElMasnou
Tell you that I have also managed to pair my Airlink in my MT.
Thank you for your selfless work, you make everything easier.
Health.
Re: Weathetlink live
Posted: Sun Jun 26, 2022 5:37 am
by Gerrit
Dear Davide,
I have been running the plugin for 2 weeks now, without any problems, I am very happy with it.
Everything can now be done via WLL
Gerrit
Re: Weathetlink live
Posted: Wed Oct 19, 2022 5:49 pm
by Gerrit
Good Day,
I've been having problems and had to adjust a few things, now I can't get the connection between Meteeotemplate and the cronjob to work, always get the message,
https://waskolkweer.nl/meteotemplate/indexDesktop.php
500 Internal Server Error
Gerrit