Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nested JSON #178

Open
g0lgs opened this issue Aug 23, 2021 · 0 comments
Open

nested JSON #178

g0lgs opened this issue Aug 23, 2021 · 0 comments

Comments

@g0lgs
Copy link

g0lgs commented Aug 23, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant