Company
Date Published
Author
Andrew Morgan
Word count
497
Language
English
Hacker News points
None

Summary

The author, Andrew Morgan, discusses his experience with integrating Electric Imp's IoT hardware developer kit and its library to access MongoDB Stitch directly, allowing for the recording of sensor data such as temperature, humidity, air pressure, light level, and orientation from devices like Arduinos and Raspberry Pis. The integration uses the Electric Imp agent code to send sensor readings to the cloud, where they are forwarded to Stitch using the MongoDB Stitch library. Once in Stitch, the data is stored in a MongoDB Atlas collection called TempData. The author also mentions that the Electric Imp code includes an `Imp_Write` function that retrieves outside weather data from DarkSky.net and stores it along with the sensor readings.