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

2020-07-04 Thread Bastiaan Meelberg
I just program what I need, because I like programming. Use my program (you all-ready did I see in you're driver ;-), or don't use it. That is the good think of open source. Your importer is doing the calculation e.g. Fahrenheit to Celsius I don't like that, weewx is way better in making the

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

2020-07-04 Thread Maarten van der Hoeven
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 contribute the best I can do right now, and that is testing both of your drivers. I dont see it as competition, and may the best win. Far from that. In the end, it's

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Windspeed/windgust (UDP) seems not okay. radiation, uv, et, extratemp are NULL (but I think thats because you still need to implement that, right)? With WLLDriver, I got: mysql> select datetime,from_unixtime(datetime),outtemp,windspeed,windgust,radiation,uv,et,rain,extratemp1 from archive

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Florentin Prevost
Hm it's strange because you show that the packet including value for Wind and Rain On syslog, can you share packet where all sensor are display. Thank you -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this

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

2020-07-04 Thread Maarten van der Hoeven
Good to hear about the import! Just finished the import of old archived data into my weatherlink-account this week, going back to August 2012. So have a nice set of testdata :) Op zaterdag 4 juli 2020 om 12:27:28 UTC+2 schreef Bastiaan Meelberg: > Good to hear! I all-ready had some rain and it

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

2020-07-04 Thread Florentin Prevost
Why do you copy idea ? I'm glad to work together for the wll driver but it seems that you work to same fonctions... -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Florentin Prevost
Hi, Like in Readme on Github, you've to set device id like this 1:iss. Or if you have iss on id 2, set this : 2:iss. I make this to implement extra sensor in future. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from

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

2020-07-04 Thread Bastiaan Meelberg
What do you mean? On Saturday, July 4, 2020 at 12:30:23 PM UTC+2, Florentin Prevost wrote: > > Why do you copy idea ? > I'm glad to work together for the wll driver but it seems that you work to > same fonctions... -- You received this message because you are subscribed to the Google Groups

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Yes, apologies. Working now. I had the 'old' config of WLL still in place. Did only change WLLArchive according to the readme... It is getting archive records, will test it today! Op zaterdag 4 juli 2020 om 12:35:04 UTC+2 schreef flor...@pre-vost.fr: > Hi, > > Like in Readme on Github,

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Some findings I cannot stop the weewx process by ' /etc/init.d/weewx stop', it keeps running for several minutes (and keeps on going). I need to find the process ID, and kill it by root@ubuntu:/etc/weewx# ps -ef | grep weewx root 17394 1 17 13:27 ?00:01:59 python3

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Hi, not sure it the driver is ready to go. But I saw a commit on github 12 hours ago, so I thought, lets give it a try :) weewx.conf: [WLLDriver] driver = user.WLLDriver max_tries = 5 retry_wait = 5 poll_interval = 5 udp_enable = 1 hostname = 192.168.2.33 wl_apikey =

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

2020-07-04 Thread Maarten van der Hoeven
I did run the driver for a couple of days now, all data seems okay to me. Today it is said it's going to rain, so going to test that data as well today. Op donderdag 2 juli 2020 om 19:38:42 UTC+2 schreef Maarten van der Hoeven: > Yes, okay now (two top records). It gave me also the opportunity

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

2020-07-04 Thread Bastiaan Meelberg
Good to hear! I all-ready had some rain and it looks good. Thank you for testing. The WeatherLink v2 API weewx-import will go live tonight or tomorrow, so you can import large periods from WeatherLink to weewx. On Saturday, July 4, 2020 at 11:56:25 AM

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

2020-07-04 Thread Florentin Prevost
Like we work on the same functions for Wll driver. Why not to work together to developp the driver ? Each one developp the same code and it would a shame to work 2 times for the same code ... -- You received this message because you are subscribed to the Google Groups "weewx-development"

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

2020-07-04 Thread Florentin Prevost
It just a proposition. Also, I mentionned you in credits. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com.

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Florentin Prevost
On /syslog, can you share the log when the driver received udp data and when it request from /current_conditions. Thank you :) -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Florentin Prevost
Thank you for you report ! Yes, I also the same problem. Maybe the driver not check if Weew raise a stop service. For StdArchive, you've totaly reason. I will implement it this week end. But, I don't know if it possible to yield packet in service and not use a _addrecord function that not

[weewx-development] Reloading of weewx driver

2020-07-04 Thread Bastiaan Meelberg
A question about the loading of drivers. I noticed that the weewx is reloading the driver every hour, is that correct? That is fine for the driver I am working on for the Weatherlink Live, but I could miss some rain because of this reload. At this moment I store the daily_ran and current date

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Jul 4 17:39:37 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received from WLL module {'dateTime': 1593877175, 'usUnits': 17, 'windSpeed': 5.36, 'windDir': 210, 'windGust': 8.05, 'windGustDir': 211, 'rain': 0.0, 'rainRate': 0.0}: Jul 4 17:39:37 ubuntu weewx[20924] INFO weewx.restx: MQTT:

[weewx-development] Reloading of weewx driver

2020-07-04 Thread gjr80
Hi, Ideally a driver should not be reloaded, though WeeWX will reload a driver under certain error conditions. This (reload) should be logged and I would expect some sort of error would also be logged. I would suggest posting a log extract covering the period a few minutes before the reload

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread flor...@pre-vost.fr
Thank you ! I'm very stupid ahah, this is an error that I put on code ! I push to my git a fix to windSpeed and windGust. For others sensors, I make this change this we. Le samedi 4 juillet 2020 à 17:41:33 UTC+2, hoev...@gmail.com a écrit : > Jul 4 17:39:37 ubuntu weewx[20924] DEBUG

[weewx-development] Re: Reloading of weewx driver

2020-07-04 Thread Bastiaan Meelberg
Hi Gary, That is very interesting! I looked at the log's and the reload happens when weewx.restx is doing a Shut down. I think my driver is creating the shut down due to a time out of the comsocket. Jul 4 18:42:20 celsius weewx[900] INFO weewx.restx: MQTT: Published record 2020-07-04

[weewx-development] Re: Reloading of weewx driver

2020-07-04 Thread Bastiaan Meelberg
Thanks a lot! I know what to do now. On Saturday, July 4, 2020 at 11:41:38 PM UTC+2, gjr80 wrote: > > The line you highlighted is a consequence of the error rather than the > cause. When WeeWX reloads the driver WeeWX essentially does a soft restart, > it shuts everything down beforehand. > >

[weewx-development] Re: Reloading of weewx driver

2020-07-04 Thread gjr80
The line you highlighted is a consequence of the error rather than the cause. When WeeWX reloads the driver WeeWX essentially does a soft restart, it shuts everything down beforehand. Here is you error: Jul 4 18:42:50 celsius weewx[900] CRITICAL __main__: Caught OSError: timed out Jul 4

[weewx-development] Re: Weatherlink Live driver developpment

2020-07-04 Thread Maarten van der Hoeven
Updated the driver, thanks for that. Windspeed/-gust is much better now. However, I see some differences in the windgust, when it is within a UDP-packet and when it's within a current-condition-packet. Some piece of syslog, where I highlighted the difference in values. For what I understand,

[weewx-development] Help testing an extension.

2020-07-04 Thread John Kline
Hi all, I have an extension, LoopData, that can be used to update weewx report web pages on each loop packet (of course, JavaScript is needed in the web pages). I’ve tested it with US, METRIC and METRICWX databases targeting US and metric reports. Alas, I have only tested it with the the