Patrick,
I don’t think I was clear. The driver that you are using is emitting
packets that say the data is in the units METRICWX. Because a packet has to
have a consistent unit, MQTTSubscribe converts the data to match the units
that the driver is emitting and then updates the packet.
Further in the WeeWX pipeline, if necessary, the complete packet is
converted into the units that are stored in the DB (I’m guessing US, the
default, in your case).
Net, for your setup, it is working as expected.
- Rich

On Fri, Jun 21, 2019 at 4:05 PM Patrick Mendiuk <[email protected]> wrote:

> I don't know where that is coming from.  Here is the whole packet:
>
> sensor/living_room/TH {"dateTime":1561146975.0,"inTemp":72.9,"inHumidity":
> 51.8}
>
>
> I will wait for your update and add a unit value pair to the payload.
>
> -Patrick
>
>
>>
> --
> 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/19a67b3b-a1ef-4a08-9ba0-f8157e5c8524%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/19a67b3b-a1ef-4a08-9ba0-f8157e5c8524%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAG4CQqxh8661cwEbv0gTroyuU-m2MQnzMcKtP%3DG2ksGQkH8Ryg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to