See if https://github.com/vinceskahan/wfudpbroadcast/blob/main/bin/user/broadcastWeatherFlowUDP.py helps you any. It has some examples in there.
On Sunday, September 22, 2024 at 11:48:58 AM UTC-7 Jan Hoogendoorn wrote: > Well, until now I am only able to import REC events, but I would also like > to import LOOP packets. > > On Sunday, September 22, 2024 at 8:01:54 PM UTC+2 vince wrote: > >> What readings exactly are you trying to read into your python program ? >> LOOP packets ? archive REC events ? Something else ? >> >> >> On Sunday, September 22, 2024 at 8:30:35 AM UTC-7 Jan Hoogendoorn wrote: >> >>> I have now found out that adjusting the archive table is done with data >>> binding. That is going well, but there are still some questions left. I >>> will come back to it later, I am running out of time now. >>> >>> On Sunday, September 22, 2024 at 2:32:13 PM UTC+2 Jan Hoogendoorn wrote: >>> >>>> Ok, that works Peter, thanks. However, there is a difference in what I >>>> see when running weewxd and what I get from the database, see attached >>>> file. Is the a way to match the data in REC and the database? >>>> >>>> On Sunday, September 22, 2024 at 2:24:19 PM UTC+2 Jan Hoogendoorn wrote: >>>> >>>>> Thanks for your response vince, I will try this later. First I will >>>>> follow the method of Peter Quin. >>>>> >>>>> On Saturday, September 21, 2024 at 11:42:15 PM UTC+2 vince wrote: >>>>> >>>>>> Create a cheetah .tmpl template and write an intermediate file in >>>>>> whatever format you want. with whatever data you want. Really depends on >>>>>> which data you want to process. >>>>>> >>>>>> On Saturday, September 21, 2024 at 12:50:09 PM UTC-7 Jan Hoogendoorn >>>>>> wrote: >>>>>> >>>>>>> I have successfully weewx running with a Davis Ventage Pro2 on a >>>>>>> Raspberry Pi 3. I want to the weewx readings in a Python script. I >>>>>>> scrolled >>>>>>> through the documentation, however, it is not clear to me how to get de >>>>>>> weather station readings imported in my own Python program. As far as I >>>>>>> could find relevant information in the documentation, it is not clear >>>>>>> to me >>>>>>> how to use it. Is is possible to give some examples of how to get weewx >>>>>>> readings from a weather station imported into a Python program? >>>>>>> >>>>>>> Kind regards, >>>>>>> Jan. >>>>>>> >>>>>>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/af0affd4-4927-4508-a891-fde57a6906b4n%40googlegroups.com.
