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.

Reply via email to