Looks like you're not stripping the original received payload down to the
minimalist subset before publishing it into MQTT.
Add a debug item before+after your stripping function and see if it's
actually stripping anything. I suspect not. Likely a typo.
if ("CO2_Value_PPM" in msg.payload.object.messages[0]){ msg =
{payload:{"CO2_Value_PPM":msg.payload.object.messages[0].CO2_Value_PPM}};
return msg;
Either that or you are emitting the result to a different MQTT topic than
the one you have configured in your weewx.conf and your weewx.conf is still
looking at the 'before stripping' original topic, not the 'after stripping
down' actual subset you want to subscribe to.
--
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/3acdf92d-71cb-471a-83a6-35ceb1bc401fn%40googlegroups.com.