Christian,
MQTTSubscribe should be able to meet your needs. I know the documentation is a bit sparse, but I can help get you up and running.
The first question you need to answer is whether to run as a service or driver? From what I am understanding. If you ran as a driver it would essentially be a replacement for wxmesh. Meaning it would the database configured for that WeeWX instance. If you ran MQTTSubscribe as a service, you could augment the data in your other WeeWX instance.
The next question is the format of the incoming data. Is it json, keyword (name=value), or individual (single observation per topic)? Lastly, what name mapping do you need to?
-rich
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3f984aba-be57-419e-9334-fde2e668a7fdo%40googlegroups.com.
[[topics]] [[[weather]]] # The topic you are subscribing to unit_system = METRICWX # Not sure weather you want METRICWX or METRIC. See http://weewx.com/docs/customizing.htm#units [[[[temp_2m]]]] # Name in the MQTT message name = extraTemp1 # WeeWX name [[[[temp_5cm]]]] name = extraTemp2 [[[[temp_dht22]]]] name = inTemp [[[[hum_dht22]]]] name = inHumidity [[[[rain]]]] name = rain [[[[geiger]]]] name = radiation[[message_callback]] type = keyword keyword_delimiter = "," # The delimiter between the name/value pairs keyword_separator = ":" # The separator between the name and the value[MQTTSubscribeService]
host = xxx.xxx.xxx.xxx # IP of the broker
payload_type = keyword
console = True
[[topics]]
[[[weather]]] # The topic you are subscribing to
unit_system = METRICWX # Not sure weather you want METRICWX or METRIC. See http://weewx.com/docs/customizing.htm#units
[[[[temp_2m]]]] # Name in the MQTT message
name = extraTemp1 # WeeWX name
[[[[temp_5cm]]]]
name = extraTemp2
[[[[temp_dht22]]]]
name = extraTemp3
[[[[hum_dht22]]]]
name = extraHumid3
[[[[rain]]]]
name = hail
[[[[radiation]]]]
name = signal1
[[[[cpm]]]]
name = signal2
[[[[cps]]]]
name = signal3
[[message_callback]]
type = keyword
keyword_delimiter = "," # The delimiter between the name/value pairs
keyword_separator = ":" # The separator between the name and the value
[[Services]]
data_services = user.MQTTSubscribe.MQTTSubscribeService