On Friday, 19 January 2018 14:33:18 UTC-4, Vince Skahan wrote: > > There are really zero docs currently, but I'm uncertain what architecture > you're assuming we have for an installation of weewx using this, so > apologies if I read the code wrong..... >
Not so! Read earlier in this thread and its predecessor! :) Seriously, yes, I have not written up much to support this. The most useful is at the top of the wxMesh.py file. > > - port number seems hard-coded to 1883, if the broker is in the cloud > someplace that is unwise. Probably should be configurable. > > Could do that, sure. > > - it seems to expect a user+pass for the broker, what if you're > running mosquitto in the clear on localhost without accounts needed > > I'm not really interested in supporting this, unless many ask for it. > > - you use 'station type' which I already have set to Vantage of > course. Can you have multiple station types in a weewx installation ? > Can > this be added to a vanilla weewx system that is connected to a weather > station already ? > > There are some discussions along those lines in other threads. My weather station is a number of home brew sensors scatted around my environ, which get consolidated in the MQTT broker. So I'm designing with the expectation of only getting data from MQTT subscriptions. As a bulky workaround, you could have a daughter weewx instance which gets data from your Vantage, publishes it to MQTT, and read it in to the mothership. There's an MQTT publish driver available. > > - ultimately, would it be better to do this as an extension that the > extension installer could install ? > > Will investigate, after I get the current hardware construction done. (wind speed and direction). > Lastly it would also be helpful to have unique keys for the key=value > pairs in your [whatever] blocks so that we can script configuring our boxes > with stuff like ansible for testing, something like: > > # [wxMesh] > # wxMesh_host = localhost # MQTT broker hostname > # wxMesh_topic = weather/+ # topic > # wxMesh_driver = user.wxMesh > Beyond my pay grade. Sounds interesting, though. > Really cool stuff - more and more of us are interested in integrating MQTT > sensors into our weewx setups, so keep going !!!! > >
