In the process of debugging a non-weewx problem, I realized that weewx is
publishing all observations, even those there's a list to be published
defined in weewx.conf:
[StdRESTful]
[[StationRegistry]]
register_this_station = false
[[MQTT]]
server_url = mqtt://router1.csrhome.home:1883
topic = weather
unit_system = US
qos = 2 # options are 0, 1, 2
retain = true # options are true or false
aggregation = individual
binding = archive
[[[inputs]]]
[[[[dateTime]]]]
name = weewx_time
format = %d
units = unix_epoch
[[[[inTemp]]]]
name = inside_temperature
format = %.2f
units = degree_F
[[[[outTemp]]]]
name = outside_temperature
format = %.2f
units = degree_F
[[[[windchill]]]]
name = outside_wc_temp
format = %.2f
units = degree_F
[[[[windGust]]]]
name = windGust
format = %.1f
units = mile_per_hour
Reading the mqtt,py code (class MQTT), I found the description
for obs_to_upload. To publish just the items in the input list, just add
'obs_to_upload = None' under [[MQTT]],
say after the aggregation = individual?
Thx, Chris
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/e7907c7f-769e-4722-9a8d-18f256dc223fn%40googlegroups.com.