Christian,
MQTTSubscribe should be able to meet your needs. I know the documentation is a bit sparse, but I can help get you up and running. The first question you need to answer is whether to run as a service or driver? From what I am understanding. If you ran as a driver it would essentially be a replacement for wxmesh. Meaning it would the database configured for that WeeWX instance. If you ran MQTTSubscribe as a service, you could augment the data in your other WeeWX instance. The next question is the format of the incoming data. Is it json, keyword (name=value), or individual (single observation per topic)? Lastly, what name mapping do you need to? -rich On Wednesday, 24 June 2020 08:59:25 UTC-4, Christian Peters wrote: > > Hi, > > I ran a weewx 3.9. station with Python 2 and a seperate weewx instance > with the wxMesh.py driver. > This works very nice (as far as the broker isn't down or the connection > breaks - then a restart of the weewx instance which holds the wxMesh driver > is needed...!). > As I now switch to Python 3 and weewx 4.x I figured out that the wxMesh.py > driver isn't Python 3 ready? :-( > > How can I catch MQTT data into the weewx database from an external broker > ilocated n my home lan? > > Is this the right extension to use: > > https://github.com/bellrichm/WeeWX-MQTTSubscribe > ....? > > What I don't understand: if I will use it as a sevice, in which database > will it put my values? > Is there a mapping needed!? Can I use a seperate database? > Is there a configuration example available or does anybody set up such a > station and could provide the config or give me some advice > howto get the data form the MQTT broker into weewx and the database to > show the values and graphs!? > That would be great! > > Thanks in advance! > > Regards, > > Christian > -- 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/b002c36d-72b8-4713-80af-70de78690d9co%40googlegroups.com.