I completed the angular components for support the IOT data acquisition from the various IOT middleware providers (The Thing Network, Sigfox etc.). I perform some walkthroughs of collection IOT data and then a deeper dive into the actual cloud function that collects and stores the IOT data.
00:00 Overview
00:46 Updates to the Firestore data model
01:59 Look at the ourLora components that support management of the Device, DeviceType and Sensors data. This data is used in the cloud function to acquire IOT data.
05:08 A demonstration of creating data on a Sigfox connected IOT device (Boat monitor) and seeing the data sent through to the ourLora cloud function and stored as a new Firestore document.
07:48 Showing a LoraWan (The Things Network) connected device (Mailbox monitor) creating data that is sent to and stored in my firebase project.
08:54 The IOT data acquisition cloud function (Firebase functions). Look at the functions folder and code layout.
9:43 Look at the “mailbox” function that is the entry point to the Firebase cloud function to process and save IOT data.
13:31 Look at the prepareAndWriteEvent function. This function retrieves the supporting Device, DeviceType and Sensors data, then passes all the data on to the writeEvent function to create new Firestore sensor Event documents.
15:23 Look at the writeEvent() function. After all the IOT data has been collected and pre-processed this function write the actual Event document to firebase for each matching sensor value.
Video Blogs: https://www.lupincorp.com/blogs?panel...
ourLora project: https://github.com/somervda/ourLora/t...
Github for lopybase: https://github.com/somervda/lopybase
Github for Sigfox: https://github.com/somervda/sigfoxbase