Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
I'd love to do that, need littile help. How do I retrieve my station_id? I can use the V2 api tho retrieve it, but I need a api-signature to get that information. And to calculate the api-signuature, I need my station-id. Chicken and egg This is the string (example) to calculate the

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
Thank you ! I fix the issue for extra sensor when you request directly on your wll module. Can you share right now the answer of API v2 of Weatherlink.com like this : https://weatherlink.github.io/v2-api/authentication#walkthrough-examples It help me full because I think that the structure

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Current: {"data":{"did":"001D0A71154A","ts":1593501864,"conditions":[{"lsid":325304,"data_structure_type":1,"txid":2,"temp": 58.1,"hum":82.8,"dew_point": 52.9,"wet_bulb": 54.8,"heat_index": 58.1,"wind_chill": 54.8,"thw_index": 54.8,"thsw_index":

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Florentin Prevost
No data available. Please stop weewx and wait more thant 10min before restart -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Found the problem. Turned out my device ID was not correct. URL:https://api.weatherlink.com/v2/historic/92818?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs=1593508965=1593505500=1593508800=8b0021b0956d2c00ff93057028e2e82e03ccf02c1e9c0b9fae3849d8e46ee158 JSON output of historic, see attachment

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
Can you provid me your config of my driver in weewx.conf please ? Thank you, Le mardi 30 juin 2020 à 10:54:23 UTC+2, hoev...@gmail.com a écrit : > Latest data in the database: > > mysql> select from_unixtime(datetime),datetime from archive; > +-++ > |

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
I've stopped WeeWX for 30 minutes, and restarted. Same response: {} I checked the Weatherlink website: data is archived every 5 minutes. Running a Pro-subscription Op dinsdag 30 juni 2020 om 10:07:39 UTC+2 schreef flor...@pre-vost.fr: > No data available. Please stop weewx and wait more

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
Thank's a lot ! Seem to be the same structure that the Wll module, just ajust somethings like data_structure_type and code will be adapted to extra sensor and deported sensor Keep an eyes to this thread, I will update code soon :) Le mardi 30 juin 2020 à 11:28:15 UTC+2, hoev...@gmail.com a

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Latest data in the database: mysql> select from_unixtime(datetime),datetime from archive; +-++ | from_unixtime(datetime) | datetime | +-++ | 2020-06-30 10:25:00 | 1593505500 | | 2020-06-30 10:26:00 | 1593505560 | |

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Florentin Prevost
Thank you ! Can you do it with archive on weatherlink. Start my driver on Github and take the url on syslog of API v2 when the driver search lost data and put it on your favorite Web browser and share me the result. -- You received this message because you are subscribed to the Google Groups

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Done. This is the URL I grabbed from syslog: https://api.weatherlink.com/v2/historic/22514?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs=1593503708=1593502800=1593503400=100545991c40d123e4d4a29724a24176fa33407e585be3b211f91b1fa2589c38 JSON-result is: {} Error in the syslog (sensors): Jun 30

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
[WLLDriver] driver = user.WLLDriver max_tries = 5 retry_wait = 10 poll_interval = 5 url = http://192.168.2.33:80/v1/current_conditions wl_apikey = nivwsekqwfbkhqtqwo8nximhl7zgxpcs wl_apisecret = [thats a secret] wl_stationid = 92818 (this one is the correct one!)

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Thx, cant wait :) Meanwhile, I am importing all history data from my weatherstation into the new Weatherlink-account (created when I started to use WLL). Data range starting from August 2012. A lot of data to use for testing :) Op dinsdag 30 juni 2020 om 11:39:53 UTC+2 schreef

[weewx-development] Re: Davis Weather Link Live driver with UDP

2020-06-30 Thread Bastiaan Meelberg
Made a lot of changes the last few days to make this driver more solid. For those who is interested please check out the latest development branch: https://github.com/grebleem/weewx-weatherlinkliveudp/tree/development Make shure the stanza in weewx.conf look something like this:

[weewx-development] Re: Weatherlink Live driver developpment

2020-06-30 Thread Bastiaan Meelberg
Ik like the idea of getting missing data from Weatherlink to weewx. But isn't it better to make it a separate program (say like a 'reverse' wunderfixer)? This way the driver is the most clean, getting and filling de database with old data can be very time consuming and slow the current

[weewx-development] Re: Davis Weather Link Live driver with UDP

2020-06-30 Thread Maarten van der Hoeven
Yes, running nice! I have an external temp sensor; willing to test also! Op dinsdag 30 juni 2020 19:11:01 UTC+2 schreef Bastiaan Meelberg: > > Made a lot of changes the last few days to make this driver more solid. > For those who is interested please check out the latest development branch: >

[weewx-development] Re: Weatherlink Live driver developpment

2020-06-30 Thread Maarten van der Hoeven
Yes, I like the idea. A seperate program that pulls data from Weatherlink and stores the data in sqlite or mysql (whatever is configured in weewx.conf). And let weewx do the aggreate and daily summaries Op dinsdag 30 juni 2020 19:05:43 UTC+2 schreef Bastiaan Meelberg: > > Ik like the idea of

[weewx-development] Re: Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
Hi, Yes is on the way, I finished to implement lost data as a service on Weewx Also, added extra sensor will come. I check just if it's not fail when check a key in json that not exist. I will implement also the udp for real time like MQTT with the berlchertown skin, is more stable thant