Skip to content

nested JSON #178

@g0lgs

Description

@g0lgs

I have a couple of the MH-Z19 CO2 sensors connected to Tasmota'd ESP32 modules which send the measurements to MQTT like:

SENSOR = {"Time":"2021-08-23T10:22:13","MHZ19B":{"Model":"B","CarbonDioxide":589,"Temperature":27.0},"ESP32":{"Temperature":34.4},"TempUnit":"C"}

Is it possible with the current build to extract the CarbonDioxide and Temperature Values from the inner MHZ19B structure ?

(I don't see any examples that appear to deal with this structure).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions