Exactly, you need to implement genStartupRecords() in your driver. Writing a
service will add no benefits; rather it will add unnecessary complexity (there
is already an established mechanism for catchup) and by stepping outside the
established mechanism you risk your driver/service not working
Thanks Tom. I appreciate you trying this out.
Another tester reported this and I’ve subsequently updated the extension to
check for Python 3.7. And updated the README accordingly.
I’d rather not give up the type annotations and I do understand this limits
potential users. I’m also not
Using Python v3.7.3 I get
Jul 5 11:47:29 nuc weewx[158105] INFO weewx.engine: Using archive interval
of 60 seconds (specified by hardware)
Jul 5 11:47:29 nuc weewx[158105] INFO weewx.restx: StationRegistry:
Registration not requested.
Jul 5 11:47:29 nuc weewx[158105] INFO weewx.restx:
If I want to request lost data when not data in loop packet, how can I
implement it ?
I would like to create the request lost data from Weatherlink.com in service,
and no in driver for more improvement.
--
You received this message because you are subscribed to the Google Groups
Hi. Yes of course. I would like to request lost data when weewx restart.
For WLLArchive.py, I created while a service.
And I've WLLDriver.py on github which is the driver.
So if I understand, I need to implement genStartupRecords in my driver and not
as a service ?
--
You received this
If I understand correctly you are trying to write a WLL driver that not
only emits loop packets/archive records but also catchup archive records.
if that is the case I think you are making this way more complex than it
need be. A driver should only be concerned with emitting loop packets and
Sorry for that.
There was a misunderstandings . Let's forget this conversation;)
-fp
Le samedi 4 juillet 2020 à 13:36:23 UTC+2, hoev...@gmail.com a écrit :
> Yes, agree. I like the weather, I like programming, I like to cooperate.
> It's my current lack of python-knowledge that I want to
Hi,
When I use HTTP request with lib : requests or create an UDP socket, Weewx
attempt serveral minutes before stop it when the user want to restart or
stop weewx.
I don't know why it do this.
My driver :
https://github.com/Drealine/WLLDriver/blob/master/bin/user/WLLDriver.py
--
You
My service that I created to see the code :
https://github.com/Drealine/WLLDriver/blob/master/bin/user/WLLArchive.py
Le dimanche 5 juillet 2020 à 12:03:36 UTC+2, flor...@pre-vost.fr a écrit :
> Hi,
>
> How can I pass values from a new service
>
Hi,
Yes I see. I put speed 2min on current_conditions, and UDP packet, it's
speed 10min.
I fix it.
Thank's a lot.
Le dimanche 5 juillet 2020 à 01:17:44 UTC+2, hoev...@gmail.com a écrit :
> Updated the driver, thanks for that. Windspeed/-gust is much better now.
> However, I see some
Hi,
How can I pass values from a new service
http://www.weewx.com/docs/customizing.htm#Adding_a_service ?
I would like to pass packet to Weewx Engine and not by using this method
that I use at the moment : self.db_manager.addRecord(_packet_wl)
At the moment, I need to convert sensors values
11 matches
Mail list logo