Re: [weewx-development] Conversion unit in second data source

2020-10-02 Thread flor...@pre-vost.fr
alue into the record: > event.record['windSpeedNetatmo'] = wind_speed_converted_vt.value > > > > On Sun, Sep 27, 2020 at 9:33 AM flor...@pre-vost.fr > wrote: > >> Hi, >> >> I work to implement a second data source with Netatmo Station and le

[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 weew

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

2020-08-26 Thread flor...@pre-vost.fr
'wl_apisecret' : 'change_me', > 'wl_stationid' : 'change_me', > 'wl_archive_interval' : 5, > }, > 'Accumulator' : { > 'rainRate' : { > 'extractor' : 'max' > } > } > } >

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, 'de

[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 testi

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-14 Thread flor...@pre-vost.fr
0004 | 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
gt;> >>> 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 betwee

[weewx-development] Re: Weatherlink Live driver developpment

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

[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
; Jul 14 10:17:55 weewximport weewx[881] DEBUG user.WLLDriver: rainRate > rightnow is : 0.007874015748031498 > Jul 14 10:17:55 weewximport weewx[881] DEBUG user.WLLDriver: Packet > received from WLL module {'dateTime': 1594714673, 'usUnits': 1, > 'windSpeed&#x

[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
t having ID=1, but ID=2. An my external temp sensor >>>>> running on ID=3 >>>>> >>>>> Find attached the resulting csv file >>>>> >>>>> baro_data = weather_data['sensors'][2]['data'] #2 >

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-08 Thread flor...@pre-vost.fr
r.WLLDriver: iss > Jul 8 21:34:17 ubuntu weewx[19395] DEBUG user.WLLDriver: extraTemp2 > Jul 8 21:34:17 ubuntu weewx[19395] DEBUG user.WLLDriver: extraTemp1 > Jul 8 21:34:17 ubuntu weewx[19395] message repeated 2 times: [ DEBUG > user.WLLDriver: extraTemp1] > Jul 8 21:34:17 u

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-08 Thread flor...@pre-vost.fr
not production), and Weatherlink.com is queried to get the >>>>>> missing records. >>>>>> >>>>>> I see in mysql there's a mismatch in rounding, or perhaps typecasting >>>>>> between float and double. The first co

[weewx-development] Re: Weatherlink Live driver developpment

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

[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 receive

[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
58, 'windDir': 227, *'windGust': 6.71*, > 'windGustDir': 224, 'barometer': 1009.89, 'pressure': 1009.49, 'rain': 0.0, > 'rainRate': 0.0, 'inTemp': 21.5, 'inHumidity': 71.1, 'inDewpoint': 16.06}

[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 r

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread flor...@pre-vost.fr
0857142857143 | > 4.514193548387096 | 15 | NULL | NULL | NULL |0 | NULL | > | 1593877080 | 2020-07-04 17:38:00 | 17.33 | > 6.0581251 | 15 | NULL | NULL | NULL |0 | NULL | > | 1593877020 | 2020-07-04 17:37:00 |

[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 requ

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-30 Thread flor...@pre-vost.fr
; 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
tes. >> 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 thant 10min before >>> restart >> >> -- You received this

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-29 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
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 object to read the daily rain to the database and make a comparison > with the rainfall daily by the WLL but I need the

[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 MQ

[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 Live

[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 "weewx-development

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 object

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
s not a >> good idea. If weewx is reloading the diver (and it does) it will add the >> 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

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
pisecret = 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.

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
Op vrijdag 26 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

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
;Invalid API Signature." > > > > https://api.weatherlink.com/v2/historic/91978?api-key=nivwsekqwfbkhqtqwo8nximhl7zgxpcs&t=1593205153&start-timestamp=1593118500&end-timestamp=1593204900&api-signature=ae52423cb4b1756a678979aeffe0817d424a26cb5b1b416d0bb40b0838c179da >

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-26 Thread flor...@pre-vost.fr
ion >> 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 >> sock

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
x27;s 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("u

Re: [weewx-development] Weatherlink Live driver developpment

2020-06-25 Thread flor...@pre-vost.fr
rror. You're showing no > code, and you're not showing the error. "weewx confuse to internal get". I > don't know what that means. > > > > > > On Mon, Jun 22, 2020 at 11:35 AM flor...@pre-vost.fr > wrote: > >> Ok I found the problem,

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
l over the dictionary. Best >>>>> practice >>>>> is to have your driver depend on information in its private stanza. For >>>>> example, if your driver is named mywlnk.py, it should have a stanza >>>>> >>>>> [MyWlink] >>>&g