Hi,
is it possible to filter the input of the data via MQTT within the
bootstrap skin for the live weather data?
There are multiple MQTT sources being queried, some of the data is being
queried under the same name (outTemp, outHumidity, etc).
I have entered the following under /home/weewx/skins/Bootstrap/skin.conf:
[JSONGenerator]
enabled = true
timespan = 27
[[MQTT]]
[[[connections]]]
[[[[public_mqtt]]]]
broker_connection = ws://192.168.xx.xx:9001
[[[[[topics]]]]]
[[[[[[weather-stat1/loop]]]]]]
type = JSON
[[[[[[weather-stat2/loop]]]]]]
type = JSON
both stations provide partial data for the same fields via MQTT.
I would like to exclude the input for outTemp for stat1, or define data
field for data field what should be processed for the bootstrap live data.
In the file: /home/weewx/skins/Bootstrap/skin.conf I found the following.
Could be exactly what I am looking for. Unfortunately I can't get along
with the implementation....
#Example
#[[[[hiveMQ_public]]]]
# broker_connection = ws://broker.hivemq.com:8000/mqtt #
unencrypted websocket connection without credentials
# [[[[[topics]]]]]
# # topic with type plain has just the value as
payload, you have to specify a payload_key to match a gauge/chart dataset
# [[[[[[example/sensor/temp]]]]]]
# type = plain
# payload_key = outTemp_C # matches gauge outTemp
and outTemp dataset in outTemp chart
# [[[[[[example/sensor/humi]]]]]]
# type = plain
# payload_key = outHumidity # matches gauge
outHumidity and outHumidity dataset in outHumidity chart
Is filtering of the data possible?
Michael
--
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/8576fd36-de19-48e2-84d9-7f2a9fd6062an%40googlegroups.com.