[weewx-development] Conversion unit in second data source

2020-09-27 Thread flor...@pre-vost.fr
Hi, I work to implement a second data source with Netatmo Station and let the driver to the Davis Vantage Pro 2. But the new StdService can't convert US unit to my database unit (Database is set to Metric). I've set this on the top of my py file but the conversion doesn't work : import

Re: [weewx-development] High rainRate each archive interval

2020-08-26 Thread flor...@pre-vost.fr
> 'rainRate' : { > 'extractor' : 'max' > } > } > } > > > On Fri, Aug 14, 2020 at 3:21 PM flor...@pre-vost.fr > wrote: > >> Hi ! >> >> Thank you very much ! >> >> To push my driver, how can I set this with install.py when install the

Re: [weewx-development] High rainRate each archive interval

2020-08-14 Thread flor...@pre-vost.fr
Hi ! Thank you very much ! To push my driver, how can I set this with install.py when install the driver like this ? config={ 'WLLDriver': { 'driver' : 'user.WLLDriver', 'max_tries' : 10, 'retry_wait' : 5, 'poll_interval' : 10, 'udp_enable' : 0, 'hostname' : 'change_me', 'time_out' : 10,

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
Updated my git for rainfall at midnight and added UV, radiation. Can you try ? For ET, it is evapotranspiration ? I not found value like ET in API :) Le mardi 14 juillet 2020 à 19:08:26 UTC+2, flor...@pre-vost.fr a écrit : > Yeah of course ! Thank a lot for your support ! > &

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
-+ >> | 2020-07-14 17:22:00 |0 |0 | NULL | NULL | NULL >> | 17.5 | >> | 2020-07-14 17:21:00 |0 |0 | NULL | NULL | NULL | >> 17.4791664 | >> | 2020-07-14 17:20:00 |0 |0 | NULL | NULL | N

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
Stupid that i am, the problem is an if loop that not check value in dict ... I fix it. Can you try ? :) Le mardi 14 juillet 2020 à 15:25:40 UTC+2, flor...@pre-vost.fr a écrit : > Thank's a lot ! > > Can you remove extraTemp1 in setting WLLDriver in weewx.conf for testing.

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
04 | 3.475 | > | 2020-07-14 13:32:00 | 0 | 3.3505 | > | 2020-07-14 13:31:00 | 2.6 | 2.8571428571428577 | > +-----+---------++ > 65 rows in set (0.001 sec) > > >

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
t;>> Le mardi 14 juillet 2020 à 11:17:31 UTC+2, hoev...@gmail.com a écrit : >>> >>>> Find attached >>>> >>>> Op dinsdag 14 juli 2020 om 11:09:03 UTC+2 schreef flor...@pre-vost.fr: >>>> >>>>> Can you share syslog between 09:44 an

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
t from the factory. It's still wet. Running > it now. Deleted all archived records, and dropped the daily archives. More > rain coming up this way this afternoon > > Op dinsdag 14 juli 2020 om 12:18:04 UTC+2 schreef flor...@pre-vost.fr: > >> Yes, it's this problem. I try to fix it.

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
Yes, it's this problem. I try to fix it. Can you try my lastest fix on Github and enable udp ? Thank you :) Le mardi 14 juillet 2020 à 11:17:31 UTC+2, hoev...@gmail.com a écrit : > Find attached > > Op dinsdag 14 juli 2020 om 11:09:03 UTC+2 schreef flor...@pre-vost.fr: > >

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
wximport weewx[881] DEBUG user.WLLDriver: Rain rightnow > is :-0.02 > Jul 14 10:17:55 weewximport weewx[881] DEBUG user.WLLDriver: Set previous > period rain to: 0 > Jul 14 10:17:55 weewximport weewx[881] DEBUG user.WLLDriver: Packet > received from WLL module {'dateTime': 15947146

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-12 Thread flor...@pre-vost.fr
Hi, See new git for more visibility : https://github.com/Drealine/weatherlinklive-driver-weewx Le mercredi 8 juillet 2020 à 22:12:44 UTC+2, flor...@pre-vost.fr a écrit : > Hi :) > > Can you try my fix on the repo ? > > Seems that I calculate 0 / 25.4 or 2.54. I fixed it. &g

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

2020-07-08 Thread flor...@pre-vost.fr
>>>>> >>>>> Find attached the resulting csv file >>>>> >>>>> baro_data = weather_data['sensors'][2]['data'] #2 >>>>> iss_data = weather_data['sensors'][1]['data'] #0 >>>>> indoor_

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-08 Thread flor...@pre-vost.fr
s > period rain to: 0 > Jul 8 21:34:17 ubuntu weewx[19395] DEBUG user.WLLDriver: Packet received > from WLL module {'dateTime': 1594236856, 'usUnits': 1, 'outTemp': 58.2, > 'outHumidity': 97.2, 'dewpoint': 57.4, 'heatindex': 58.9, 'windchill': > 58.2, 'windSpeed': 4.0, 'windD

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-08 Thread flor...@pre-vost.fr
6] INFO weewx.restx: MQTT: Published >> record 2020-07-08 15:49:30 CEST (1594216170) >> Jul 8 15:49:33 ubuntu weewx[3696] DEBUG user.WLLDriver: Rain rightnow is >> :0.0 >> Jul 8 15:49:33 ubuntu weewx[3696] DEBUG user.WLLDriver: Set previous >> period rain to:

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-08 Thread flor...@pre-vost.fr
> | 1.34112 | 1.62 | >>> | 2020-07-07 00:20:00 | 11.334 | 11.28 >>> | 1.34112 | 1.26 | >>> | 2020-07-07 00:25:00 | 11.277 | 11.22 >>> | 0.89408 | 0.92 | >>> | 202

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

2020-07-05 Thread flor...@pre-vost.fr
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

[weewx-development] Weewx not stopping immediately when using HTTP request or UDP socket

2020-07-05 Thread flor...@pre-vost.fr
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

[weewx-development] Re: Adding values from StdService trought StdConvert

2020-07-05 Thread flor...@pre-vost.fr
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 > http://www.weewx.com/docs/cus

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-05 Thread flor...@pre-vost.fr
DEBUG user.WLLDriver: Rain this period: > 0.0 > Jul 5 01:10:43 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous > period rain to: 3 > Jul 5 01:10:43 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received > from WLL module {'dateTime': 1593904243, 'usUnits': 17, 'windSpeed':

[weewx-development] Adding values from StdService trought StdConvert

2020-07-05 Thread flor...@pre-vost.fr
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

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread flor...@pre-vost.fr
NULL | NULL | NULL |0 | NULL | > > ++-+---+---+--+---+--+--+--++ > > 5 rows in set (0.00 sec) > > > > Op zaterdag 4 juli 2020 om 15:40:52 UTC+2 schreef f

[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

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
t; wl_stationid = 92818 (this one is the correct one!) > wl_archive_interval = 5 > > > Op dinsdag 30 juni 2020 om 11:25:10 UTC+2 schreef flor...@pre-vost.fr: > >> Can you provid me your config of my driver in weewx.conf please ? >> >> Thank you, >> &g

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
nsdag 30 juni 2020 om 10:47:59 UTC+2 schreef 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 >> >> >> &

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
d_dir_scalar_avg_last_10_min":null,"wind_speed_hi_last_10_min":null,"wind_dir_at_hi_speed_last_10_min":null,"rain_size":1,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rain

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-28 Thread flor...@pre-vost.fr
samedi 27 juin 2020 à 10:53:21 UTC+2, flor...@pre-vost.fr a écrit : > Hi, > > Baastian, yes of course, I think it a good idea to make a request using > weewx object to read the daily rain to the database and make a comparison > with the rainfall daily by the WLL but I need the help

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

2020-06-28 Thread flor...@pre-vost.fr
Bastiaan, How can I find lsid without make a request to know in json format ? I don't know if the best practice is to check via lsid or data_structure_type ? Thank's, Le dimanche 28 juin 2020 à 11:51:02 UTC+2, hoev...@gmail.com a écrit : > Driver updated, data is okay now! > > Also running

[weewx-development] Re: Get dailyrain value in custom driver

2020-06-28 Thread flor...@pre-vost.fr
So simple ^^ Le samedi 27 juin 2020 à 23:47:59 UTC+2, Bastiaan Meelberg a écrit : > Hi, > > Just use the rainfall_daily from the WLL and set that as the start value. > > > > On Saturday, June 27, 2020 at 11:45:12 PM UTC+2, flor...@pre-vost.fr > wrote: >> >>

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

2020-06-28 Thread flor...@pre-vost.fr
Hi ! Nice to have a driver for udp request ! I'm very glad to work with you to develop the driver to have in futur a single driver :) Le dimanche 28 juin 2020 à 11:28:58 UTC+2, Bastiaan Meelberg a écrit : > The last few weeks I have been working on a weewx driver for Davis Weather > Link

[weewx-development] Get dailyrain value in custom driver

2020-06-27 Thread flor...@pre-vost.fr
Hi, How it is possible to have the daily rain in custom driver ? I would like to check this value to compare with the Weatherlink live module. It for attempt to fail result when you restart weewx -- You received this message because you are subscribed to the Google Groups

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-27 Thread flor...@pre-vost.fr
Hi, Please keep one repo... how user can choose the right repo ? I think it will be good to split code to one git. Le samedi 27 juin 2020 à 10:53:21 UTC+2, flor...@pre-vost.fr a écrit : > Hi, > > Baastian, yes of course, I think it a good idea to make a request using > weewx ob

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-27 Thread flor...@pre-vost.fr
Please keep a one repo on github. If we are some repo, how the user can choose the right driver ? It will be good to split Le samedi 27 juin 2020 à 10:53:21 UTC+2, flor...@pre-vost.fr a écrit : > Hi, > > Baastian, yes of course, I think it a good idea to make a request using

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-27 Thread flor...@pre-vost.fr
>> daily rain as a whole new rainfall. I will update my repo during the day. >> >> Also at midnight WLL will reset the rain_daily, so at that moment the >> rain_previous must be reset. >> >> I also don't think you need to do all the METRIC and METRICWX >>

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
x6omxelabcdefgbn1ef1msbqfdmiwgys > wl_stationid = 91978 > wl_archive_interval = 5 > > Op vrijdag 26 juni 2020 om 23:12:17 UTC+2 schreef flor...@pre-vost.fr: > >> Do you've set the api secret ? >> >> Le vendredi 26 juin 2020 à 23:09:59 UTC+2, hoev...@gmail.com a écrit :

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
juni 2020 om 23:07:24 UTC+2 schreef flor...@pre-vost.fr: > >> Check your time server. It appear that is not correctly set and the API >> return a wrong time when you request API >> >> Le vendredi 26 juin 2020 à 23:04:35 UTC+2, hoev...@gmail.com a écrit : >> >>

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
l7zgxpcs=1593205153=1593118500=1593204900=ae52423cb4b1756a678979aeffe0817d424a26cb5b1b416d0bb40b0838c179da > > code > "401" > message > "Invalid API Signature." > > Op vrijdag 26 juni 2020 om 22:58:12 UTC+2 schreef flor...@pre-vost.fr: > >> No

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
gt;> WEEWX_ROOT = / >> >> # Whether to log successful operations >> log_success = True >> >> # Whether to log unsuccessful operations >> log_failure = True >> >> # How long to wait before timing out a socket (FTP, HTTP) connection >> socket_ti

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
Hi everyone and thank you for your support ! I'm very glade to know that people want to make this driver because there are not a lot. This is my repo : https://github.com/Drealine/WLLDriver @Bastiaan it's very nice ! Just, why you use update packet or not simply do a for _packet in blabla():

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-25 Thread flor...@pre-vost.fr
a simple uploader. >> >> -tk >> >> On Thu, Jun 25, 2020 at 6:21 AM flor...@pre-vost.fr >> wrote: >> >>> Hi Tom, >>> >>> Sorry, at the moment, I fix this issue. >>> When you want to make a request by using : requests.get("url&qu

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 t

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-22 Thread flor...@pre-vost.fr
ivate stanza. For >>>>> example, if your driver is named mywlnk.py, it should have a stanza >>>>> >>>>> [MyWlink] >>>>> >>>>> and look there for all its information. But, there are many exceptions >>>>> to this bes