ESP-MQTT-JSON-Multisensor
ESP-MQTT-JSON-Multisensor copied to clipboard
fix #36, now with humidity>1
add default value for motionStatus, only send dht22 values it humValue>1
Fixes #41 and #36.
@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?
@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