Hi Bastian, Sorry this has taken longer than I planned, a few issues I had to solve plus I wanted to have some basic documentation done before release.
You will find my XML file parse driver on GitHub here <https://github.com/gjr80/weewx-xmlparse>. The readme has basic install instructions, there is more detail in the wiki <https://github.com/gjr80/weewx-xmlparse/wiki>. Key in getting the driver to work are properly defining the sensor maps that define what XML elements are mapped to what WeeWX fields. There are also maps required to define what units are used in the various XML elements. The sensor maps basically use an XPath specification, this is a little more complex than I would have liked but unfortunately necessary to keep the driver generic enough to handle almost and XML structure. I have tried to explain XPath specs (well all you need to know to use the driver) in the wiki User's Guide <https://github.com/gjr80/weewx-xmlparse/wiki/User's-Guide>. If you do use the driver and have any questions/issues please do not hesitate to email me or post her. Gary On Friday, 28 September 2018 05:32:26 UTC+10, wett...@gmail.com wrote: > > Hello Gary, > the XML file are supplied from a Hardware controller. The Controller and > the Weewx Server are in the same local Network. > > Best Regards > Bastian > > > On Thursday, September 27, 2018 at 3:22:11 PM UTC+2, gjr80 wrote: >> >> Bastian, >> >> Just out of interest how will the machine running WeeWX access the xml >> file? Will it be as via the normal filesystem or share or over a >> network/internet to a web server or similar? >> >> Gary >> >> On Thursday, 27 September 2018 03:21:28 UTC+10, wett...@gmail.com wrote: >>> >>> Dear Gary, >>> o yes i still looking for a XML driver. >>> This are very good news! >>> >>> Many Thanks! >>> Bastian >>> >>> >>> >>> On Monday, September 24, 2018 at 4:54:25 AM UTC+2, gjr80 wrote: >>>> >>>> Hi, >>>> >>>> If you are still looking for an XML driver let me know. I have put >>>> together a WeeWX driver that should do what you want. Still testing it but >>>> it is almost ready for someone else to test it further. >>>> >>>> Gary >>>> >>>> On Tuesday, 4 September 2018 02:52:23 UTC+10, wett...@gmail.com wrote: >>>>> >>>>> Dear Liz, >>>>> the current issue is the import of the "realtime" XML data to Weewx. >>>>> The Hardware Controller from Weatherstation does provide all Sensor >>>>> data as XML File via Ethernet. >>>>> >>>>> This means i "need" a driver for data import. Function: Weewx does >>>>> read the XML File 1/min. >>>>> "That's all" >>>>> I do not have found any solution about this. >>>>> >>>>> For better imagination i have attached the Controller XML File >>>>> >>>>> Can anybody send me a sample how can i do that? >>>>> >>>>> Many Thanks! >>>>> >>>>> On Sunday, September 2, 2018 at 6:14:15 AM UTC+2, Liz wrote: >>>>>> >>>>>> On Wed, 29 Aug 2018 10:59:22 -0700 (PDT) >>>>>> wett...@gmail.com wrote: >>>>>> >>>>>> > Hello Thomas, >>>>>> > many thanks for your message. >>>>>> > >>>>>> > Yes, i will import the XML file of a piece of Hardware but >>>>>> "watch"is >>>>>> > not required . The import in a fix intervall (1x per Min) is >>>>>> perfect. >>>>>> > I am not a Py Guy and a litte bit helpless how can i sove the XML >>>>>> > import. >>>>>> > >>>>>> > Can anybody help me? >>>>>> > >>>>>> > Thanks! >>>>>> >>>>>> >>>>>> I am not able to understand what you are trying to do, and so cannot >>>>>> even think about what you want to do, and how to help. >>>>>> >>>>>> Can you write out a more complete explanation of your situation, and >>>>>> where you are stuck? >>>>>> >>>>>> Liz >>>>>> >>>>> -- 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. For more options, visit https://groups.google.com/d/optout.