Re: [weewx-development] Weatherlink Live driver developpment

2020-06-22 Thread flor...@pre-vost.fr
Ok I found the problem, I use request to get json from URL but weewx confuse to internal get. How can I pass this error ? Le lundi 22 juin 2020 à 19:26:46 UTC+2, flor...@pre-vost.fr a écrit : > Hi, > > Yeahh :) It work ahah ^^ Thank you for your answer. > > I try to implement

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-22 Thread flor...@pre-vost.fr
Hi, Yeahh :) It work ahah ^^ Thank you for your answer. I try to implement genArchiveRecords(self,since_ts): but I've this error : 1. INFO weewx.engine: Main loop exiting. Shutting engine down. 2. Jun 22 19:19:32 debian weewx[1344] CRITICAL __main__: Caught unrecoverable exception:

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-22 Thread Tom Keffer
A driver is different from a service. The documentation you quoted is for a *service*. You want the section *Porting to new hardware *. Take a look at Vince's driver that you linked to in the first post of this thread. On line 106

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-22 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,