Guard your valuable assets, get immediate notification when they move without your consent and keep track in real time about their exact location.
Networks based on the LTE-M protocol enable real time bi-directional communication which provides next to exact location of your assets the ability to instruct changes in the behaviour of the IoT device.
This experiment showcases how to “digitally” lock/unlock your valuable things.
When you lock or unlock the object, an object state will be updated and a notification including the location will be sent over using a rule.
When the monitored object is in lock status and starts moving an alarm asset is send over and a rule will send a notification, at the same time the GPS location will be sent every 60 seconds from the device to Maker until the object is unlocked.
Make sure you have good GPS coverage. Indoors can be a problem in certain cases.
Simply hit the upload icon in the Arduino IDE. This will save the sketch, compile it and upload it to your Arduino. Since this sketch incorporates a “Sleep” mechanism it is possible that you have to restart the device by pressing the “RESET” button.
You can now watch the values change in Maker.
Next to that the LED located on the LTE-M RDK board, helps you identify the behaviour of the device.
Alternatively, you can open the Tools > Serial monitor of the Arduino IDE.
Get more insights on how the behaviour of the LTE-M RDK, the modem and/or network by enabling the Debug function in the sketch. This can be done by changing the
false statement to
true in the function
LTEmModem modem, as indicated in the screenshot below.
To visualise our data, we will create a pinboard. For more information on pinboards, please check how to use pinboards.
For extra options to customise your controls, please check the Controls page.
Rules give devices the ability to interact, and create automation. Specifically for this kit and experiment we have created some example rules that can be switched on and adapted to your specific needs:
Time to configure and setup rules! We will activate a provisioned rule.
That’s it! You were notified in the Maker application, by mail and/or push notification on your mobile phone!
For more information on rules, please check how to use rules.