Company
Date Published
Author
Maria Carlina Hernández
Word count
4253
Language
English
Hacker News points
None

Summary

The system is capable of performing real-time monitoring of device data independent of internet access, using the Vonage Messages API as a messaging service and Ubidots as an IoT Platform. The architecture integrates these services through an UbiFunction, a Serverless Computing Environment that allows for receiving messages sent to a virtual number over an HTTP request, analyzing it to identify devices and variables, and sending the last value received for each requested variable as a reply. This system can be useful for various use cases, such as monitoring environmental variables like temperature, humidity, light intensity, and pressure in different locations. To deploy this system, you need a Vonage API account, Ubidots account, and any device with internet access to transmit data to the Ubidots API. The system requires the installation of external libraries, including Pycom boards, Pymakr, and the required drivers for Windows OS. The main code is in charge of three processes: checking the network connection, publishing sensor data every 5 seconds, and reading sensors to build a JSON payload to be sent to Ubidots. The system also integrates with Vonage's SMS messaging service to request data via SMS when internet access is not available.