hackAir-Arduino icon indicating copy to clipboard operation
hackAir-Arduino copied to clipboard

Adding error handling and retry mechanism for Wemos.ino sketch

Open dl1com opened this issue 7 years ago • 0 comments

This Pull Request consists of three improvements:

  • As already stated for the WifiShield Sketch in https://github.com/hackair-project/hackAir-Arduino/pull/12, a time-based retry mechanism for the sensor measurement has been implemented.
  • The error and tamper fields of the data struct are actually written into the JSON String (solving https://github.com/hackair-project/hackAir-Arduino/issues/13)
  • The humidity correction is only done when the sensor measurement and the DHT humidity measurements were successful. (solving https://github.com/hackair-project/hackAir-Arduino/issues/14)

dl1com avatar Apr 01 '18 13:04 dl1com