Running the beta, it throws an error instantly: Jun 28 11:37:16 ubuntu weewx[4761] INFO __main__: Starting up weewx version 4.1.1 Jun 28 11:37:16 ubuntu weewx[4761] DEBUG weewx.engine: Station does not support reading the time Jun 28 11:37:16 ubuntu weewx[4761] INFO weewx.engine: Using binding 'wx_binding' to database 'weewxtest' Jun 28 11:37:16 ubuntu weewx[4761] INFO weewx.manager: Starting backfill of daily summaries Jun 28 11:37:16 ubuntu weewx[4761] INFO weewx.engine: Starting main packet loop. Jun 28 11:37:16 ubuntu weewx[4761] DEBUG urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.33:80 Jun 28 11:37:16 ubuntu weewx[4761] DEBUG urllib3.connectionpool: http://192.168.2.33:80 "GET /v1/current_conditions HTTP/1.1" 200 None Jun 28 11:37:16 ubuntu weewx[4761] DEBUG weewx.manager: Daily summary version is 2.0 Jun 28 11:37:16 ubuntu weewx[4761] INFO weewx.engine: Main loop exiting. Shutting engine down. Jun 28 11:37:16 ubuntu weewx[4761] DEBUG weewx.restx: Shut down MQTT thread. Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: Caught unrecoverable exception: Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** 'WeatherLinkLiveUDPDriver' object has no attribute 'PreviousDatestamp' Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** Traceback (most recent call last): Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** File "/usr/share/weewx/weewxd", line 154, in main Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** engine.run() Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 188, in run Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** for packet in self.console.genLoopPackets(): Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** File "/usr/share/weewx/user/weatherlinkliveudp.py", line 182, in genLoopPackets Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** packet = self.DecodeDataWLL(CurrentConditions['data']) Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** File "/usr/share/weewx/user/weatherlinkliveudp.py", line 276, in DecodeDataWLL Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** logdbg(f'Daily rain reset - next reset midnight {str(self.PreviousDatestamp)}') Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** AttributeError: 'WeatherLinkLiveUDPDriver' object has no attribute 'PreviousDatestamp' Jun 28 11:37:16 ubuntu weewx[4761] CRITICAL __main__: **** Exiting.
Op zondag 28 juni 2020 11:28:58 UTC+2 schreef Bastiaan Meelberg: > > The last few weeks I have been working on a weewx driver for Davis Weather > Link Live. This device can give regular intervals of full ISS data and a > 2.5 seconds interval of UDP data containing wind and rain. See this site > for more information > https://weatherlink.github.io/weatherlink-live-local-api/ > > At this moment there is a working beta version: > https://github.com/grebleem/WeatherLinkliveUDP for who is interested. The > driver can be seen in action here https://meteo-otterlo.nl > > However, the JSON data can be a bit odd when using multiple stations. That > is if a second ISS for an anemometer or a separate temperature sensor is > installed. > > So if you have a Davis Weather Link Live (WLL), it would helpful if you > post the JSON response from a http://1.2.3.4:80/v1/current_conditions > request in a web browser (where 1.2.3.4 is the ip address of the WLL). So I > can implement multiple sensors in this driver. > > Also at the davis-udp.py program will write the UDP JSON to a file, these > also would be very helpful! > > Thanks, > Bastiaan > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/05ba1a58-1a3e-4e71-9fd6-2a2b285de49ao%40googlegroups.com.
