Skip to content
This repository was archived by the owner on Dec 8, 2019. It is now read-only.

Conversation

@DanielXYZ2000
Copy link

add default value for motionStatus, only send dht22 values it humValue>1

@rdbahm
Copy link

rdbahm commented Oct 24, 2017

Fixes #41 and #36.

@epleypa
Copy link

epleypa commented Nov 26, 2017

@DanielXYZ2000 I applied this to my sensors and I'm getting the following in my log

Error parsing value: 'dict object' has no attribute 'humidity'
Error parsing value: 'dict object' has no attribute 'temperature'
Error parsing value: 'dict object' has no attribute 'heatindex'

Is it possible to ignore these attributes when they are not passed by the sensor JSON without generating an error?

@DanielXYZ2000
Copy link
Author

@epleypa For me its compiling fine without any errors. Check if you have the libaries installed for ArduinoJson.h. I have the Version 5.11.2 installed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants