Re: [weewx-development] Weatherlink Live driver developpment

2020-06-21 Thread Florentin Prevost
Hi, Thank you. I stuck just into passed config_dict. How can I pass this value into my driver ? In documentation, he say that create class like this : class MyAlarm(StdService): """Service that sends email if an arbitrary expression evaluates true""" def __init__(self, engine, config

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-21 Thread Tom Keffer
Yes, it's possible to access anything in the dictionary. For example, the name of the database used by the binding wx_binding would be given by config_dict['Databases']['wx_binding']['database'] However, it is rarely necessary to do this. Better to use the functions in manager.py to simply open

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-21 Thread Florentin Prevost
Thank you very well for your answer :) For the first question, sorry, I wanted to say that if it possible to pass argument that is not in stanza [myWlink] for example. Because I've set the same parameter for sql database if you know what i mean. Le dimanche 21 juin 2020 20:58:58 UTC+2, Tom K

[weewx-development] Re: Weatherlink Live driver developpment

2020-06-21 Thread Maarten van der Hoeven
I am happy to test your driver in development. I have a Weather Link Live running for test purposes, so I can play with it. Op zondag 21 juni 2020 19:18:41 UTC+2 schreef Florentin Prevost: > > Hi, > > I worked with the fork of > https://github.com/vinceskahan/weewx-weatherlinklive-json and I wou

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-21 Thread Tom Keffer
Make sure you read the section *Porting to new hardware * in the Customizing Guide. It answers some of your questions. 1. The full configuration information is available as the first argument to your driver loader() function as a dictionary. Howev

[weewx-development] Weatherlink Live driver developpment

2020-06-21 Thread Florentin Prevost
Hi, I worked with the fork of https://github.com/vinceskahan/weewx-weatherlinklive-json and I would like to ask some questions about driver developpment. - How can I passed argument of weewx.conf to my driver ? I work to request lost data from Weewx on Weatherlink.com because WeatherLink Live