How we built our Industry 4.0 solution over IoT Platform

How we built our Industry 4.0 solution over IoT Platform

This application development story is about how we were able to build our Industry 4.0 solution, MES software over the Bevywise IoT platform.

The recent trend of Industry 4.0 is the attainment of digital transformation on the factory floor enabling real-time decision making, enhanced productivity & flexibility in the manufacturing industry. As a part of our Industry 4.0 solution, we have recently built an MES (Manufacturing Execution System), an ultimate production monitoring & management software. This exemplary production-oriented tool monitors & tracks the entire production line providing visibility & transparency (in every aspect of the production process) with complete production control. MES collects real-time data from a modern CNC machine, send it to the central server and performs analysis to make data-driven decisions & optimize production efficiency.

Why Bevywise IoT Platform?

The Internet of things (IoT) is always meant to solve sticky, physical world problems but the pathway to integrate such technology in building our applications is almost equally intricate and complex. But there are a lot of application-enabled platforms available in the market which can almost reduce your application-building complexity. In that case, using the Bevywise IoT platform as a base framework, we built our Industry 4.0 solution, MES software. This article will walk you through the paths of how the solution is built over the Bevywise IoT platform & will portray the hacks used for IoT application development.

As I said earlier, there are plenty of IoT platforms available in the market but the configuration modules Bevywise has, make it flexible for any application development and that makes it stand out from others. The complete details on these configuration modules are explained in the below sections.

In its more sophisticated form, Bevywise IoT Platform has these modules which makes it a more powerful end-to-end IoT platform enabling developers to build faster IoT applications.

  • Connectivity Layer
  • Data Persister
  • Databases
  • User Management & Data visualization 
  • Action management (rules engine )
  • Analytics Engine

Let us see how we were able to build MES software with these modules.

Connectivity Layer

The first & foremost need of every application development is a connectivity layer to make direct communication with the devices. In our Industry 4.0 solution, MES, we want to include connectivity as a part of the solution.

Bevywise IoT Platform with its connectivity layer brings different protocols such as MQTT, MQTT-SN & TCP into one interface, ensuring accurate data streaming and interaction with all devices. By using this connectivity layer we could establish the connectivity of Industrial machines with our application via the communication protocol. We were able to send machine data via MQTT as the Bevywise IoT platform by default supports MQTT as its communication protocol.

Data Persistence

When we create any business applications, data persistence must be enabled to persist the data object variables in the server and to prevent them from being lost between sessions. To be clear, in the context of storing data in a data store, the data survives or remains even after the process ends.

Bevywise IoT Platform has this functionality which persists the device connection entry into MySQL. However, we may also want to store the device data in other persistence layers. Hence, Bevywise supports storing device data in Elastic Search. With data persistence, the data stored in both MySQL and Elastic search is persisted to make it remain for further analysis.

This makes us get utilized with persister in our MES software. For example, some data in industrial organizations must be persistent.  

That is, our MES software includes multiple fields in the setup process, that a user must complete. Also, the user is added by filling in multiple fields. The information entered in such fields should exist and with persistence enabled the information that the user enters in those fields persist.

Databases

Literally, every application probably needs a database that acts as a repository to store the necessary data sets. Coming to our Industry 4.0 solutions, we need a database to get integrated into it to store all the critical industrial information.

As said earlier, Bevywise IoT Platform supports storage of data in Elastic search. Also, the device connection will be stored in MySQL.

User Management & Data Visualization

The next fundamental element that every IoT application need is the user interface. After we collect data from machines & store it in DB, the next thing we need to do is to deliver the information to the end user/someone who is intended to proceed with the next step of the industrial process. This can be done via the user interface. This is the interface by which any industrial user communicates or interacts with the application. Also, we need to make sure that UI must visually represents the data which enables users to see patterns and observe trends from manufacturing dashboards where data is vividly portrayed through charts & graphs. And you know what?? Our IoT platform makes it much easier for us as it supports custom dashboard functionality which permits the creation of multiple dashboards with 10+ pre-built widgets specific to any application.  We were able to lay out OEE metrics and other machine data in charts & graphs.  

Further, the manufacturing industry will have multiple departments and each department will be handled by a certain set of users. It is not always right to provide each & every access to all the users in the industry. Thus, it is necessary to manage each user by providing specific roles & permissions. In that case, the Bevywise IoT platform empowers the service provider to administator & supervise multiple users & their access to and from various sectors. With its multi-tenancy architecture, employees can be given individual web access and login & can be provided with separate roles & permissions for each to carry out machine management & monitoring tasks.

Action Management

The next key function is to bring data to life with rule-based event-action-triggers enabling the execution of “smart” actions based on specific machine data. This is more like automating some actions based on the condition we set. For instance, alerting the production manager when a machine sits idle.

This is executed with a powerful condition-based rule engine of the IoT platform which helps the user to forward alert messages to the subscriber.  

How we built MES over the platform

The scalability, flexibility & end-to-end application framework of the IoT platform enables us to build MES software without touching the core side. We have used these modules to configure and develop our MES solution specific to the need.

In addition to these, we have made some changes to the analytic engine of the platform and in front-end modules to develop the perfect MES solution for the manufacturers.

Analytic Engine

Every manufacturing industry now expects advanced analytics such as predictive analysis to foresee developments and respond to challenges & machine failures proactively. But this requires advanced techniques such as machine learning & artificial intelligence which need aggregated data from machines to anticipate more accurately.

This is where the analytics engine of the Bevywise platform comes in. The analytic engine collects data stored in Elastic Search & aggregates it as needed. It executes data aggregation to summarize every 5 mins data and stores it. Then the data will be displayed in reports as per the needs of users. The analytic engine of the IoT platform is purely based on devices.

We have made a few changes to it as we want to make this analytic engine work based on, the production plan, shift & production process. For instance, MES software needs to display day, shift, monthly & yearly data in the form of reports. This requires data to be aggregated for every, day, month & year. A few changes in the analytic engine have been done to execute such aggregation.  Now, MES software will be able to provide shift, day, month & year-wise production reports.

User Interface module

Manufacturing Industry requires data to be presented as an OEE metric with other key performance indicators such as availability, performance & quality in a way to assist the manufacturers to come up with actionable insights. As our MES software tracks multiple machines & departments, the data should also be displayed machine-wise, unit-wise, and department-wise OEE. The comparison of the production plan set & the actual production target reached also needs to be displayed. Hence, the UI module has been configured to make these components available to the manufacturers in the visual form of the user interface itself. Thus we were able to develop our MES over the Bevywise IoT platform faster & much easier breaking down all the application development complexities.

We have a trial set up of device manager for trying the IoT platform for FREE. You can connect your devices at mqttshared.crystalmq.com & start with your implementation/application development. 

Bevywise IoT Platform Enhanced with Multi-Language Support

Bevywise IoT Platform Enhanced with Multi-Language Support

We at Bevywise have been working hard to ensure & make processes & application more efficient and to make things easier for the people involved. In that case we have added Multi-Language support to the Bevywise IoT Platform which enables people to present & view data in their desired language & work with ease.

Play with Multi-Language Functionality

While it would be acceptable if there was only one language involved in any application dashboard, the fact remains that every organization/business have their own preferred means of displaying data in their IoT Dashboard.

For example, Units & Preferences of applications will change from country to country, organization to organization or even person to person. Hence we provide multi-language support with the IoT Platform which permits users to present & view the published data in their preferred language that works for them. Also, they can name their created dashboard, widgets, reports and parameters/units in their own language. It is now easy to localize visualization to your shop floor.

Platform-Multi-Language

Speak your Customers Language

Having access to Multi-Language support can make customers feel convenient & satisfied. It extends comfort to your customers by presenting the data in their native language. You can easily impress & delight them by making your application’s user interface speak your customer’s language. Provide a unique & personalized experience for your customers.

Try Signing up for FREE

We have a trial set up of device manager for trying IoT platform for FREE. You can connect your devices at mqttshared.crystalmq.com & start with your implementation. Try playing with multi-language functionality.

MQTT Server – Connect your IOT Devices now

MQTT Server – Connect your IOT Devices now

MQTT server is the hosted version of the IoT PlatformMQTTRoute, which is a simple application, helps you build an IoT Application that can run on a single machine. IoT Platform is a micro services based application that can be scaled vertically and horizontally to manage multiple tenants and clients. The hosted version of the MQTT Server is available at bevywise.com

MQTT Server – key features

  • Support for MQTT protocol over TCP and Web Socket.
  • Secure User login for each user.  Adding multiple user hierarchy for each tenant.
  • Connect and enable secure communication with MQTT connection between your devices.
  • Individual Access Keys for every user and can be specified at Device level.
  • Option to define roles – Publish Only, Subscribe Only and Publish & Subscribe
  • Rules engine to transform MQTT message.
  • Widgets and Dashboards to visualize Data in real time.

You can now connect your devices to the end point  devices.mqttserver.com and port 1883 via TCP and to port 8000 for Web socket connectivity.  We created the MQTT message Broker as per the MQTT protocol Standard (publish & subscribe messaging protocol). It supports three Quality of service levels, Persistent sessions, Last WILL & more with minimum network bandwidth. Hence it works with all the standard MQTT clients. Some of the MQTT Clients you can use are :

Eclipse Paho – Open source client implementations for Web Sockets.
Mosquitto Client – Open source C based Client.
Bevywise MQTT Clients – Our own implementation of  MQTT Client library which supports Linux & Windows based OS. Client also runs on MAC and Raspbian.

You will be able to connect your devices and development boards by configuring them as well.  Refer the detailed help documentation to know how to set up your clients and connect to the broker servers. The Platform also has REST based APIs to create Mobile Applications over using the data.

 

If you are looking for clients for any specific language, you can choose one of the clients from the Github.

 

Do write to support if you are looking for a rebranded MQTT Server to be hosted for your devices.

IoT Platform Comparison – Bevywise vs IBM vs AWS vs Azure

IoT Platform Comparison – Bevywise vs IBM vs AWS vs Azure

The need for IoT (Internet of Things) in the market is progressing at a speedy rate. The main objective behind this rapid growth is an immense claim for IoT platforms, IoT devices and other components. However, if you start building your own IoT framework, you will end up wasting more money & time. Hence, you need a complete IoT platform which brings down your development risk, speeds up your product’s time-to-market and reduces cost. There are a massive quantity of IoT platforms available in the market. Prior to beginning with an IoT project, you ought to sort a list of choices for picking an IoT platform that suits your criteria. To help you with this selection, we have drafted this IoT Platform comparison article with some of the most popular IoT platforms like Bevywise IoT Platform, IBM Watson, AWS IoT Platform, Microsoft Azure IoT Platform and the essentials of using them in your project.

Choosing an Enterprise-ready IoT Platform

Building an IoT framework / infrastructure is a huge task which requires high mastery across various domains. It can cost an arm & a leg. Hence, an enterprise ready platform constituting of protocols, tools & SDKs supporting a wide range of IoT solutions should be used to build IoT applications easily. This will remove the risks associated with adoption, reduce costs, accelerate time-to-market, and maintain quality standards.

This article compares enterprise-ready IoT platforms such as Bevywise IoT Platform, IBM Watson, AWS IoT Platform, & Microsoft Azure IoT Platform with respect to their basic & unique functionalities.

Device management

The first & foremost thing every application developer expects from the IoT Platform is the device management functionality. Device management is one of the most important features of the IoT platform. Application developers bank on the IoT platform to manage a list of devices connected to it and trace their performance status. It should be able to pick up device configuration and lay out device-level error reporting and error handling. Finally, in the end, end users should be able to obtain individual device level status. In that case all IoT platforms such as Bevywise IoT Platform, IBM Watson, AWS IoT Platform, Microsoft Azure IoT Platform provides justice for end users in terms of device management functionality by enabling them to manage IoT devices at scale.

Integration with other Applications

Integration with other necessary applications is another important aspect likely to have from an IoT platform. Most IoT platforms support API integration that provides access to the necessary functions and data that needs to be displayed from the IoT platform. Generally REST APIs will be used to perform this. Platforms such as AWS IoT Platform & Microsoft Azure IoT Platform supports REST API, IBM Watson supports both REST & Real-time APIs. Bevywise IoT Platform exclusively supports Data push over websocket to push the rule or alert message as notification & FCM to push data as  notification to android / ios app along with the REST APIs.

IoT Platform Security

The security actions required to work on with an IoTplatform are much higher as huge number of devices are connected to it. There will be a high risk of security issues & vulnerabilities when the devices are connected to the internet. Generally, the connection between the IoT devices and the IoT platform and the data transfer needs to be encrypted with a strong encryption mechanism to prevent security threats. But, we can’t expect devices involved in the IoT framework to support advanced access control functionalities. Hence, the IoT platform itself should provide some built-in security options to make secured device connection & data communication.

And when it comes to security, all IoT platforms support TLS & authentication features. But in addition to it, Bevywise IoT platform supports inbuilt device identity & authorization, TLS/SSL authentication, Device level authentication and custom authentication to provide customized security functionalities that suit specific needs of users. In addition to this, Bevywise IoT platform supports integration of the IOT Device IAM for the enterprise to leverage and have more control on their devices instantly.

Data Collection Protocols  

The protocols used for data communication & device connectivity need more attention as it is another important feature. This is because the IoT platform needs to be scaled to millions and it requires a lightweight communication protocol to enable low energy use & low network bandwidth functionality.

 Most of the platforms use MQTT as their communication protocol as it is an extremely lightweight messaging transport with minimal network bandwidth. Similarly, IBM Watson, AWS IoT platform supports both MQTT & HTTPS, Bevywise supports MQTT & websockets, and Microsoft Azure supports MQTT, Websockets,  HTTPs, AMQP.

 The above mentioned functionalities are the basic things which every IoT platform should be able to provide.

The IoT Platform Comparison table below provides the more detailed comparison of each & every features of Bevywise IoT Platform, IBM Watson, AWS IoT Platform & Microsoft Azure Platform.

IoT Platform comparison

 

Features Bevywise IoT Platform IBM Watson AWS IoT Platform Microsoft Azure IoT Platform
Protocol (for Device Connectivity) MQTT, Websockets MQTT, HTTPs MQTT, HTTP MQTT, Websockets,  HTTPs, AMQP
Integration (for Application building ) REST API, Data Push over Websocket, FCM – Mobile Push REST API, Real-Time API REST API REST API
Visualize Data Yes. Dynamic Graph, Comparison graph and Historical graph Yes (Need an additional Service) Yes (Need an additional Service) Yes (Need an additional Service)
Device Security TLS/SSL
Authentication, IAM integration, Custom Authentication
TLS, Authentication LDAP TLS, Authentication TLS, Authentication
Multi Tenancy Yes. Separate console for each user Create individual accounts. Single account is for single user implementation. Create individual accounts. Single account is for single user implementation. Create individual accounts. Single account is for single user implementation.
Admin Console Yes No No No
Mobile SDK Android and IOS SDK Android SDK Android SDK Android SDK
Voice Integration Amazon Alexa and Google assistance No Only for Alexa, but configure through a separate tool No
Extend & Customize Yes. Write code for a common implementation across all your users Yes, You must use the UI to do it No. Have to use the UI to do it No. Have to use the UI to do it
Rebrand Yes No No No
Data Ownership You own the data and you can host it yourself No No No
Host behind firewall Yes No No No
Register command (to add sub device below main device) Yes No No No
Rule engine Yes No Yes No
Widget YES. Line graph, Bar graph, text, Color, Gauge, donut graph, vertical and horizontal scale, LED indicator, Switch, and Table. No No No
Register command to add a sub device below the parent device. Yes No No No
Multi tenant for Users Yes. Allow users to add their customers with predefined roles No No No
Device Grouping Yes No No No
Notification Via Websocket, FCM, Email and to Device No No No

 

Hope this article will help you choose the right platform for your IoT deployments.

You can sign up to Bevywise IOT Platform at our FREE trial set up.

Transforming Boring Reports with Data Visualization : Why it matters?

Transforming Boring Reports with Data Visualization : Why it matters?

Reports have a huge impact on any business, or industry. Reports communicate information & explore a series of trends that any part of the business / industry has caused or accelerated. The goal of reporting is to convey / dispatch a specific data with an intelligible intend to a target audience. Despite of size or industry, reports are beneficial & crucial tool for any enterprise. By facilitating the tracking & analysis of the functioning and entire robustness/well-being of the business, reports help in pin pointing fields for refinement and opportunities for growth. In case of business, reports can be used to keep an eye on betterment and growth, point out trends or any deformities that may need additional inquiry that is important business KPIs. In case of industries, reports can be used to track production KPIs such as OEE. But, the reports need to be conveyed as a complete bundle which is engaging & easy to understand. The numbers in rows & columns will not provide actionable insights since it is likely to be much boring. Here comes the data visualization. Data visualization makes such reports intelligible & easy to understand for everyone, regardless of its comfortableness with data analysis.

Why is Data Visualization important?

Among the most basic ways, the effective method to lend a hand to people who deals with data overload is to visualize it. In a very simple term, this is all about presenting data out as a chart, laying it on a graph and also using data to turn out a responsive picture. By mapping out data visually, it does not limit its function only to be trouble-free to understand necessary information, it is also quite simple to identify notable trends, key patterns and captivating relationships between data which looks challenging to discover. Though, the numbers are still important, the data without visualization or visual effects will not create an impact & also it’s truly a disservice to a decision maker. Hence, to bring those numbers to life in a compelling way, it is vital to implement data visualization into reports.

Different types of visualizations

When we think of adding some visual effects into our data, as likely as not our mind right away tends to use line graph or pie chart. Though these two graphs are commonly used to visualize data, the right visualization should be coupled with the right set of information. There are numerous types of visualization methods to display data in effectual and compelling ways. This includes Line Chart, Bar chart, Pie chart, Area chart, Histogram chart etc.

Choosing Most Effective Data Visualization

As mentioned earlier in the above paragraph, the right set of data must be paired with right visualization to expect a compelling insight. This is not like throwing numbers into any table or any chart & meaning it as the effective data visualization. It’s not about creating a chart or graph; it’s all about representing the data with the right chart to maximize the grasping power. That is, all the visualization types cannot be used to visualize all types of data reports. Let’s say we want to generate a server room monitoring report that compares room temperatures across standard temperatures over time. How can we speedily and effortlessly identify when there is a high rise of temperature that may cause damage to the systems?

Line chart suits for this. Basically, it’s an effortless way to link discrete data, providing a simple, easy visualization of trends, and how they correlate over a period of time. While such trends could be easily overlooked in line chart or bar chart and will help to visualize the data easily. Comparing information will become easier as it presents data as rise & fall speedily. An application team can track the temperature trend to gain immediate understanding of issues & make quicker decisions. The same way, each data visualization can be applied specific to each business, industry or enterprises.

Choosing the right one for your report

The major difficulty in reporting that declines the analysis part is picking what kind of graphs to implement. That’s because selecting the incorrect graphical form or directly sticking to the most usual form of data visualization could cause uncertainty with the decision maker & could result in faulty data evaluation. For instance, as mentioned above, in generating server monitoring report, Line chart will be a suitable one. In case of incorporating pie chart, the visuals will not convey the right information to the decision maker creating confusion. This is because, pie chart will be suitable for displaying percentages & not to view trends.

Here’s a precis of some basic type of charts, to know well about how they can be used or implemented.

Line Graph : A line graph discloses trends over time which can often be used to display distinct varieties of data. Line graphs best suits to have rapid data analysis. It is suitable to tell the range quickly, minimum/maximum, & any gaps or clusters, by presenting a good impression of trends & changes. For example, line graphs are mostly used in temperature trend analysis in industries.

Line chart in platform report

Bar Graph : Bar graphs are intelligible, widely used, and can display changes over time which lacks in other graphs showing only a single data set. It has a potential to present data that shows changes over time, helping people to visualize trends. For example, bar graphs can be used in mapping performance of the air conditioner.

Bar Graph in report

Gauge Chart : Gauge charts are predominantly used for differentiating values between the less number of variables. Varied pointers can be used on one gauge or multiple gauges in order to compare data. Gauges are most often used for displaying key performance indicators (KPI). For example, gauges are mainly used as a speedometer to measure the speed of the vehicle over time.

Doughnut Chart : A doughnut chart can be used for easy analysis and reading of the pictorial format. These charts are known to reveal the ratio of ‘part-whole’ where every part represents 100% when gathered together. It displays survey questions or data with a small number of comparing categories. For example, Doughnuts can be suitable for analyzing market trends.

Pie Chart : Pie charts are most commonly used to display percentage or proportional data and each slice of pie represents each category. Hence it much suits when having a categorical data. The use of a pie chart would be to compare areas of growth within a business such as turnover, profit and exposure.

pie-chart in report

Hence, each type of visualization carries a specific role in Business / Industrial reporting and analysis. To make the reporting more simple, we have added a support of incorporating data visualization types into reports in Bevywise IoT Platform. Bevywise IoT Platform already supports creating three forms of graphs

  • Individual device data
  • Device to Device comparison
  • Historical comparison

From now on, graphs or charts which can be more specific to the industry / business use cases can be created with the new support.

Try to sign up with our IoT Platform at our free trial set up.

To know the complete functionality of the IoT Platform, request a complete demo now.

IOT Security – Device Identity Management, SSL/TLS & More

IOT Security – Device Identity Management, SSL/TLS & More

Every second, around 127 devices are getting connected to the Internet increasing the need for the IoT security at the next level. The growth of the devices connections is expected to reach 47 billion by 2027. We anticipate a merging of corporate networks into the public network for numerous IOT data collection. A compromised device on the field will completely topple the overall process. Large enterprise companies always have a deep eye into the security of the implementation. We thought of bringing these functions to the medium and the small enterprises. At Bevywise, we take IoT security very seriously. We have been supporting inbuilt authentication and authorization in the IOT Platform. We are adding the integration of the IOT Device IAM for the enterprise to leverage and have more control on their devices instantly. A detailed look at the current deployment options for Security.

Secure Data Communication Layer

Securing Data during transfer is one of the key IOT Security mandate. Transport layer security is integrated into the IOT Platform by default. You will be able to enable it with just a few configuration changes. You will be able to add SSL certificate from premium CA like Digicert, Symantec or FREE vendors like LetsEncrypt and application access their server via a secure layer. If you are running the IOT Platform in a close environment and do not want to over burden the system, you will be able to enable the Non SSL option as well.

Inbuilt Device Identity & Authorization

For IOT data security, it is mandatory that every device will be allowed to connect to the IOT Platform with only a valid authentication key and token. A single authentication token can be used for multiple devices or for a more secure connectivity, each token can be associated with a particular device on the Authentication key generation wizard. The tokens will also help in setting up the Read / Write privilege for the device. This will help in exercising more control on the data inward and outward.

IOT Security – SSO for web Interfaces

Web interfaces built for the IOT Dashboard is another open entry point for the hackers or data thieves. IOT Platform User management provides user hierarchy like Super Admin, Admin & Standard where a few users can write and few can only view data. To enhance the IOT security on the web interface entry, we have also enabled the SSO integration with your User identity management system. Single sign-on (SSO) is a session and user authentication service which permits a user to use one set of login credentials to access multiple applications. Enterprises and other organization can use SSO to mitigate the management of various usernames and passwords. Bevywise IoT Platform consists of pre-built custom hooks that helps you integrate the platform with SSO tool to enable user identity authentication. This permits users to use one set of login credentials to access multiple applications securely. That is, users can now sign-in to one application for a single time and is then automatically authenticated to other applications as well. The central Identity management will also be able to track the user access more easily.

Need for Centralized IOT Device Management

Before the Internet of things, it was mostly computers, routers, switches, mobile phones and tablets that were managed by enterprises on a large scale. There were only a limited special devices that were managed. With the IOT, everything you name or use in our daily lives is coming online. For an enterprise network security, every entry point needs to be monitored completely for connections, permissions and the data. If not properly monitored, it will become an entry point for the hackers.

Apart from Security, the recurring maintenance activities like provisioning, reprovisioning, update of firmware, asset tracking need to be integrated.

This mandates the need for connecting the IoT devices, sensors and all to the central identity management of the enterprise. It does not make sense to build another Identity management for the IOT. Keeping this in mind, we have added the necessary hooks into our IOT Platform and other tools to ensure that we can get the authentication of your Identity access management.

IOT Platform & IAM Integration

IOT Platform can be used by the solution provider to build applications for multiple customers and at the same time built large scale solutions for the enterprise. When we integrate the IAM into the tools, it is for a particular enterprise as a whole. The integrated IAM will overrule the inbuilt authentication and the authorization to ensure a smooth working with the enterprise system and its management.

You can play with the dashboard, widgets and IOT security features of the IOT Platform, you can sign up to our IOT Platform at our trial set up.

For knowing the complete functionality of the IOT Platform and the Supervior admin console, request a complete demo now.