DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Building IoT Apps With Low-Code Platforms

Building IoT Apps With Low-Code Platforms

Low-code platforms enable businesses to build enterprise IoT applications in days instead of weeks—even without much application development expertise.

Thierry Ciot user avatar by
Thierry Ciot
·
Apr. 19, 17 · Tutorial
Like (2)
Save
Tweet
Share
7.04K Views

Join the DZone community and get the full member experience.

Join For Free

Low-code platforms provide a lot of value to IoT-driven applications. In this blog, we will show you how we created a complete building management application using a low-code platform— Progress Rollbase—in a single day. This is the kind of productivity that enables IoT providers to accelerate solutions delivery and facilitate IoT deployments. 

Requirements

RequirementsThe building management application enables users to:

  1. View all buildings around the world

  2. View all rooms in each individual building

  3. Monitor important metrics for each room

Each room is equipped with a device that monitors temperature, carbon dioxide, humidity and VOC (volatile organic compound, these are toxic chemicals that cause skin or respiratory problems). Additionally, the temperature can be adjusted remotely with the application.

Object Model

It is relatively simple: a building is the main object, and it can have n rooms.

Image title

A building has a fair number of attributes, most notably a location to get automatic integration with Google Maps.

The room object is where the interesting part happens. With a generic REST trigger, we can get access to various metrics. With Rollbase no-code REST invocation, this is a very easy process to setup. You use our REST Mapper tool to store metrics of interest in the Room object. For more information on this, see these two blogs: Low-Code REST Integration with Rollbase and Introduction to Rollbase V4.5—New UI Features & More.

UI

UIHere are some screens from what we have built.

Buildings List

Image title

Drill Down Into Specific Buildings

Here, you can see integration with the weather REST service at OpenWeatherMap, as well as the built-in image carousel and integration to Google map thanks to the location attribute on the building object. See this blog for more information on built-in image carousel: Easy Image Carousels with Rollbase and Kendo UI. 

Image title

In a separate tab, we also show the list of rooms with various metrics as well as the capability to set the temperature on the fly. Notice how the room Fitness Center is flagged in red because the temperature is not adjusting to the set temperature.

Image title

Thanks to the automatic responsive UI, we immediately get support for smartphones and tablets without any additional effort. Here is how it looks:

Image title

Image title

For more information on the automatic responsive system, check out these blogs: Build No-Code Responsive Apps with Rollbase and Customizing Automatic Responsive UI in Rollbase.

Additional Values

You can, of course, leverage all the built-in features of the platform to accelerate your application development. For example, in our app, we wrote a simple email alert that notifies us when room temperature is not within the set range after one hour of changing the temperature. This took just a few minutes to implement as it was all point-and-click configuration and one line of JavaScript to test if the temperature was in range.

Another example is permission and roles. The platform provides an out-of-the-box security Model (Authentication/Authorization) and roles so you do not have to worry about designing, implementing and most importantly testing your own security model. Specifically, the Roles and Permissions system enables you to grant access to various operations and fields with simple configurations (no-coding).  For example, one role can view temperatures and another can control the temperature. Now, for more advanced cases, you can even turn on auditing to track when and who does what to various objects with a simple configuration option.

You can also build dashboards with the built-in charts and gauges or build completely customized ones using Kendo UI or Fusion Charts without any additional cost.

The key point is that you do not need to reinvent, code, and test a lot of services.

Rules for Intelligent Proactive Actions

When you monitor multiple rooms in multiple buildings around the world, you probably want to implement smart preventive rules. 

As a simple example, you can imagine that if you detect a higher carbon dioxide level than average, you would want to run some maintenance. Depending on the reading, you would schedule the maintenance with different urgency. As Rollbase offers a built-in workflow engine as well as calendaring and scheduling operations, implementing proactive actions is mostly done via point-and-click configurations. Of course, your imagination is the limit—you could deploy more complex rules considering historical metrics, data collection, incident report metrics, current weather forecasts, and more.

app IoT application Metric (unit) Object (computer science) REST Web Protocols Workflow engine Blog Integration Object model

Published at DZone with permission of Thierry Ciot, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Solving the Kubernetes Security Puzzle
  • Testing Level Dynamics: Achieving Confidence From Testing
  • Fargate vs. Lambda: The Battle of the Future
  • Microservices Testing

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: