On Tuesday, October 31, 2017 at 7:50:01 AM UTC-4, Abdellah El Hassani El
Alaoui wrote:
>
> Hello all,
>
>
> I am trying to send loop data over MQTT to a broker (ThingsBoard) to
> display on a dashboard.
>
> The broker takes telemetry data from the topic 'v1/devices/me/telemetry'.
> It will only take telemetry from this topic and not any child topic.
>
> The weewx MQTT extension seems to publish under different subtopics to the
> topic I set (/loop, /OutTemp_C, etc....)
>
> Since I cannot get ThingsBoard to read from subtopics, is it possible to
> set the MQTT extension to send aggregate JSON data over the specified topic
> without appending /loop to it?
>
as a quick hack, you can modify line 413 of mqtt.py
change this:
tpc = self.topic + '/loop'
to this:
tpc = self.topic
--
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.