Thank you for your availability and support. I have modified the .conf file and it works seamlessly.
I think I will modify the station's archiving interval to 1 or 5 minutes, and bind to archive data instead of loop data, to solve the data frequency issue. Best Regards, Abdellah. On Thursday, November 2, 2017 at 11:29:33 AM UTC, mwall wrote: > > On Thursday, November 2, 2017 at 6:33:39 AM UTC-4, Abdellah El Hassani El > Alaoui wrote: >> >> >> Is there any way to customize the MQTT extension so that it only runs >> every 30 seconds, instead of when receiving a packet? >> > > it is possible, but you would have to write your own caching mechanism. > > weewx is designed to send data based on when it gets it from the sensors, > not based on arbitrary clock time. (this statement gets muddled a bit in > the cases where weewx is polling the sensors, but the design principles > still apply, and a vantage is not one of those cases) > > > >> And is it also possible to skip values that I don't use ? >> > > use the obs_to_upload parameter and the [inputs] stanza in the MQTT > section of weewx.conf. for example, this would send only wind speed and > direction. > > [StdRestful] > [[MQTT]] > ... > obs_to_upload = none > [[[inputs]]] > [[[[windSpeed]]]] > [[[[windDir]]]] > > > > -- 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.
