I'm using this one : https://github.com/Drealine/weatherlinklive-driver-weewx
Le dim. 1 nov. 2020 à 11:22, Karen K <kk4468...@gmail.com> a écrit : > Within the last days I did a some testing, and I read the threads > regarding the Davis WeatherLink Live device for Davis Vantage Pro 2, and I > wonder, which driver is best to use. > > Let me summarize, what I found out about the drivers. > > Just to avoid confusion: > > - "WeatherLink IP": a discontinued adaptor to insert into the Davis > console > - "WeatherLink Live": a separate device to receive data from a > wireless Davis Vantage Pro 2 station > > Both of them use a different protocol to communicate with the PC. > > As I bought the station recently, I got the WeatherLink Live device. Then > I looked for the appropriate driver, and I found a lot of them: > > *Vantage (weewx.drivers.vantage)* > > Although it is not mentioned in the documentation, I assume, that that > driver is for the old, discontinued adaptors, only. I had a look at the > code of the driver, and it seems so. > > Could someone confirm or deny? > > *WLL (users.wll)* > > I tried that driver, and it works. There were 2 little problems. > > First, I use a separate anemometer transmitter kit. Unfortunately, the > driver reads the values from the transmitter kit and shows the wind, only. > I changed the code a little bit, and now it reads the values from the > station including the wind. I reported the changes to the author of the > driver. > > Second, if you stop Weewx, the driver reports an exception to the logs, > but does not finish. I have to kill the process by "kill -KILL". > > Nevertheless, this is the driver I still use. > > *WeatherLink Live* (recommended by Weewx) > > That driver seems attractive, because it announces to use both the > broadcast messages and the HTTP requests. > > Remark for setup: Not as he documentation says, I had to set up the wind > for ID 1 instead of 2 to get data. > > Unfortunately, in my case, every now and then the log shows an error > message, and Weewx pauses for 60 seconds. The error message reads: > > Oct 31 18:39:27 LokalWiki weewx[147658] ERROR > user.weatherlink_live.scheduler: Error caught in scheduler tick. Not > rescheduling > Oct 31 18:39:27 LokalWiki weewx[147658] INFO weewx.engine: Main loop > exiting. Shutting engine down. > Oct 31 18:39:27 LokalWiki weewx[147658] INFO weewx.engine: Shutting down > StdReport thread > Oct 31 18:39:27 LokalWiki weewx[147658] CRITICAL __main__: Caught > WeeWxIOError: Error while receiving or processing packets: > HTTPConnectionPool(host='192.168.XX.XX', port=80): Max retries exceeded > with url: /v1/real_time?duration=1500 (Caused by > NewConnectionError('<urllib3.connection.HTTPConnection object at > 0x7f6b45b15340>: Failed to establish a new connection: [Errno 111] > Verbindungsaufbau abgelehnt')) > Oct 31 18:39:27 LokalWiki weewx[147658] CRITICAL __main__: **** Waiting 60 > seconds then retrying... > > As the driver uses 2 different data sources, the author may want to change > the error handling and simply queries the device by HTTP request if the > real time broadcast cannot be activated for some reason. I think that would > make the driver more robust. > > (Remark: I don't think, the error message is really a problem of the > driver but rather one of the network.) > > *WeatherLinkLiveJSON* > > I did not test this one. > > *Weatherlinkliveudp *(recommended by Weewx) > > I did not test this one, because I thought, "WeatherLink Live" will be > more than that, as it uses both ways to communicate with the device. > > I can be wrong but I think I read somewhere the broadcast messages and the > HTML request do not deliver the same set of information. Correct me, if I > am wrong. > > And in one thread I read, someone decoded the V2 API of Davis, but that > thread gave no further information, an I see no driver that implements that. > > What would you recommend a new user to use? > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/2dbac754-84a7-43a4-a080-a99e228d7043n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/2dbac754-84a7-43a4-a080-a99e228d7043n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Quel temps fait-il à Auffargis <https://meteo-auffargis.decoodt.eu> ? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAAvt3%3DQ%3DWDHMfXkNuLzdkRsbWCq6i539tHRM8okN61xHwr9fMA%40mail.gmail.com.