Résumé :
|
"Dhairya continues his article series on how to build your own IoT platform. Here, in Part 3, he adds some much-needed functionality to your platform, including REST API support and the ability to send emails and SMS texts. Topics Discussed How you can build your own IoT platformHow you can add REST API support to your platformHow you can add the ability to send emails and textsHow to set up SQL database supportHow to set up Node-REDHow to create a REST API Tech Used phpMyAdmin toolMySQL databaseNode-REDREST API Last month, in Part 2 (Circuit Cellar 372, July 2021) [1], we built our very first project using the IoT platform in our backend and creating a simple NodeMCU-based project to view sensor readings, while at the same time controlling relays from our Node-RED dashboard. That was a fairly simple and straightforward project. To create complex projects and connections with our IoT platform, we need a lot of additional features. In this article, we will add some much-needed functionality to our platform—features that are basic requirements for any IoT platform. In this article, we will add the following features to our platform: 1) An SQL database through phpMyAdmin2) Support for REST API development and its applications3) Email capability for alerts and notifications4) SMS capability for alerts and notifications Beyond those, there are some very basic features that are available in most commercial IoT platforms—features like Thingspeak, Ubidots and so forth. We will create much simpler and unsecured versions of those features." (Extrait de Circuit Cellar n°373)
|