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

fix #36, now with humidity>1 #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.

None yet

3 participants