Hello! I build up this temp and humidity sensor project a while back (found in this post- https://community.spark.io/t/dht22-dht11-and-similar-blocking-version/998/121) and I’m a little lost on how to modify the code to use the streaming API / events instead of the regular REST api.
Here is the code I have running on the SparkCore right now: https://github.com/pzula/greenhouse-watchman/blob/master/lib/temp-and-humididity-dht22.ino
Does anyone have suggestions on how to get this set up properly for the streaming API?
Thank you!