Hi mwall, I'm using your attached script but with a new mqtt broker. The broker is using Let's Encrypt for SSL. I can use external program mqtt-spy with TLS authentication and I can subscribe to topics. Using your script attached, it's not able to publish topics (even though the syslog says it's publishing it without error). I have weewx debug on 2.
Anything I can check on? Do TLS hosts use mqtt:// or maybe mqtts:// ? Thanks On Wednesday, March 28, 2018 at 12:12:10 PM UTC-4, mwall wrote: > > > > On Wednesday, March 28, 2018 at 11:51:58 AM UTC-4, Pat wrote: >> >> Using loop is working as mentioned, but I'm missing the archive packet >> (which contains dewpoint, humidex, windrun, etc.). >> >> Is it possible to have the binding for both loop and archive? >> >>> >>> > pat, > > please try the attached mqtt-0.18rc1.py > > it defaults to archive, but you can specify either archive, loop, or both. > for example: > > [MQTT] > binding = archive, loop > aggregation = individual, aggregate > > use the aggregation parameter to control how observations are grouped. > possible values are 'individual' or 'aggregate' > > apologies in advance - i have not tested 0.18 yet, so thanks for doing the > testing! > > m > -- 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]. For more options, visit https://groups.google.com/d/optout.
