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

fix #36, now with humidity>1#40

Open
DanielXYZ2000 wants to merge 3 commits into
bruhautomation:masterfrom
DanielXYZ2000:master
Open

fix #36, now with humidity>1#40
DanielXYZ2000 wants to merge 3 commits into
bruhautomation:masterfrom
DanielXYZ2000:master

Conversation

@DanielXYZ2000

Copy link
Copy Markdown

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

@rdbahm

rdbahm commented Oct 24, 2017

Copy link
Copy Markdown

Fixes #41 and #36.

@epleypa

epleypa commented Nov 26, 2017

Copy link
Copy Markdown

@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
Copy Markdown
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