Introducing Google’s Protocol buffers in Bevywise IoT Simulator

Introducing Google’s Protocol buffers in Bevywise IoT Simulator

The first release update of the year is here..we have something new for our IoT simulator customers..We could see a considerable interest among people in using protocol buffers. This simple language-neutral has a well-justified reputation amongst all programming developers as a convincing perspective in relieving painful growth by taking out concerns from large applications. Bevywise IoT simulator version 2.3 now offers the possibility to use Google’s protocol buffers, the best way of encoding structured data in productive yet extendible pattern / scheme. With this new update, users can customize their payload in the way they need before sending it.

What and Why you need Google Protobuf

Protocol buffers are google’s structured format to arrange serially and encode your data being the best choice over JSON. You can specify how your data should be in a structured format to make such structured data easy to read & write using the language you prefer. This signifies that one spec is critically enough to transmit data between complexes irrespective of the implementation / execution language. That is you can exchange information between processes or even across different servers with different architectures. With flexible, easy to understand & convenient structure and compiler with support for multiple languages, google protobuf furnishes a format that can be stored & retrieved by both sides.

Google protocol buffers binary encoding pattern which permits you to define a schematic model for your data using a specification language, like so:

message Payload {

 optional string contrast_ratio = 1;

 optional string viewing_tech = 2;

 optional string color_depth = 3;

 optional string touch_type = 4;

 optional int32 ntsc = 5;

 optional int32 temperature = 6;

 optional int32 backlight_longevity = 7;

 optional int32 luminance = 8;

}

The above schema is an example to define payload in IoT simulator. Here we use a structure that represents contrast_ratio, temperature & more, where it has every fields as a optional attributes.

By providing just a schema, you can now consequently acquire a class that can be used to encode and decode messages into protocol buffer pattern. As of now we had a glimpse of a bit overview of a protobuf, let’s dive in to the use of protobuf in IoT simulator specifics a bit more.

Adding protobuf support to Simulator

For all IoT implementations, JSON has become a default data format because of its light weightness and scalability which makes it easy to get & load the requested data quickly. In that case, you can simulate any level of JSON with IoT simulator to help you test your manager application. But the Protobuf is revamped to be faster than JSON by getting rid of many commitments conventionally done by data formats and making it focus only on the ability to serialize and deserialize data as quickly as possible. With the support of protobuf in IoT simulator you can make your payloads smaller and simpler. Also, if your client doesn’t support binary messages, there are capabilities to protobuf to serialize binary data to string.

Getting started with protobuf in IoT simulator is as simple as that. Just start defining your requirement as schema in .proto file and generate code in your preferred language using protoc compiler. You can start creating your devices and add event that corresponds to the one you have written in .proto file from the simulator UI itself.

The simple extension to have a glimpse and get on with protobuf in IoT Simulator is given here

Get started with protocol buffers by downloading IoT Simulator of FREE.

If you are using Bevywise MQTTRoute as your manager application to simulate, you can download the binary MQTTRoute here.

Download Bevywise IoT Simulator for free

Wrapping up 2021 and Welcoming 2022

Wrapping up 2021 and Welcoming 2022

“This is a new year. A new beginning. And things will change.” ―Taylor Swift

The New Year is here and celebrations are pouring everywhere every minute. The dawn of each year carries a lot of positivity, good energy, and good vibes. With the same positivity and energy let us welcome 2022 with a bang and hope new year 2022 will be more eventful and brings normalcy in life and business. Bevywise had a busy 2021 in developing Industry 4.0 manufacturing solutions. A little recap on 2021 and how was our journey in becoming a Industry 4.0 solution provider. Let’s get rolling.

Recap 2021

Like 2020, the year 2021 was also dominated by COVID-19. Almost 2 years into a pandemic, people everywhere came unstuck to summon the energy for facing financial crisis. Well, in point of fact we’ve made it through year two of the pandemic and, considering everything, that’s no mean feat.  Leading through, the pandemic has been hard, exhausting, and sometimes terribly sad.

Moreover on the business side, we at Bevywise working hard to capitalize more effectively on the opportunities rising in the post covid19 recovery. This will not happen without a great team. Our customers have been the most impressive synergy which has helped us grow multi-fold. Thanks for showing your interest in our products and services. A special thanks to our partners, who believed and taken us to the next level with their huge commitment and active contribution.

A heartfelt thanks to our family and friends for their great support towards us that helped us to achieve great things.

2021 : A Year in Review

Though covid 19 is still at strike, 2021 has been a good and promising year for us.

Here’s a look at what we were up to in 2021.

One of the biggest achievement for us in 2021 is that we stepped in as Industry 4.0 solution provider. We have expanded our market with our new launch of Industry 4.0 solutions. With the global market demand ravaged by the covid 19 pandemic, digitization across industries is accelerating rapidly.  This factor uplifts the demand for integrating Industry 4.0 solutions in manufacturing operations. This made our self boldly step in as Industry 4.0 solution provider.

In June 2021, we made our initial version release of Factovize MES (Manufacturin Execution System) to help manufacturers in their production goals with the high level capability of collecting, visualizing & transmitting data across the manufacturing processes. The first implementation of MES is in progress for one of our customers in Bangalore. So far, Core MES is proving its capability on a positive note. And now we are working more on improving the features & functionalities on MES based on our customer requirements.

Also, In September 2021, as a part of Industry 4.0 solution, we have launched first version of WIP Manager, a fully digitized manufacturing WIP management tool. The high level development of this product is going on in a rapid phase and we are expecting to get our first customer for WIP manager soon.

The next big launch of the year 2021 is our completely managed hosted MQTT Broker, CrystalMQ. After months of hard work we released CrystalMQ in the month of October. Though using MQTT Broker on premise is not at all a bad choice, hosted solution is the best one for businesses who expects no-expertise needed approach in server management.

Along with such major releases, we had a good number of feature updates in IoT frameworks as well. This is just a short list of everything Bevywise was up to in 2021. 2021 marked Bevywise as the Industry 4.0 vendor as we made our footprint in Industry 4.0.

Hope for better 2022

After a dejecting year, intermittent between lockdowns and new outbreaks, we have to keep faith that life will ultimately get down to some semblance of normality. And now, as we turnover the page toward new year 2022, the truth is that it won’t be without its challenges & struggles, still, it’s necessary to stop and smell the coffee and truly examine all the things that server us. While 2020 was all about keeping our head above water and 2021 was about getting stable to the new norm, new year 2022 is about nourishing our roots and possibly coming up with a game plan for the successful journey.

We are ending this year with many successes and we will work hard to continue this with better services and greater commitments, to achieve new goals. We are now ready to write new success stories for the upcoming year.

Here’s wishing you all the joy of the season. Happy New Year!

Launching FREE MQTT Broker on AWS EC2

Launching FREE MQTT Broker on AWS EC2

We are excited to announce that Bevywise MQTTRoute is now get-at-able in AWS Marketplace. MQTTRoute is always known for its extendability and scalability. And now we want to make this fully functional MQTT Broker completely available and easily accessible for all users. Hence we are launching the FREE version of MQTT Broker in AWS Marketplace where you can quickly deploy MQTT Broker on AWS EC2 using pre-made AMIs.

FREE AWS MQTT Broker

Everywhere around the world is getting filled with MQTT based devices. While developing IoT applications it is always needed to have a messaging broker / server which should act as a middleware between your MQTT / IoT enabled devices. Hence, a reliable & well-built MQTT broker is a key part of every IoT applications & projects but setting one up, managing, monitoring and debugging is a complex one and time-consuming. Also, though there are numerous commercial MQTT Brokers available in the market, early adopters & small project developers cannot afford them as they will end up paying more. And so, we want our MQTT Broker to be affordable and people should be able to manage their devices at minimal cost. So we are enabling the AWS version of the MQTTRoute for 25 devices FREE with the IOT mobile application.

Rapid-Set up on AWS EC2

The internet of things is all about mobility and managing your devices and sensors from anywhere in the world. But when using MQTT Broker on-premise it will be either a time taking or a challenging solution for IoT application which requires high level management & maintenance. Considering the quick launch of the IoT projects / applications and then deploying the necessary data center with a server for the MQTT Broker will expect more assets for the primary set up & installation. Also, it always demands a system administrator or qualified professional to monitor the application 24/7. In addition, expanding and scaling the application in on-premises will be highly complex when moving to new servers. 

Hence we are making our MQTT Broker accessible in AWS cloud  (Elastic Compute Cloud) EC2 instance for FREE where for a minimal cost you can quickly connect your application / project to high-quality service. This agreeable & favourable installation sets up a completely functioning Bevywise MQTTRoute AWS EC2 instance with the sizing of your need on your AWS account.

With the FREE version on AWS, we are aiming to make everyone take advantage of their IoT application development. This version will be beneficial to build any sort of IoT applications and people could get it ready in their budget.

Get started with your IoT implementation by utilizing the FREE MQTT Broker from AWS Marketplace.

To know more on the functionalities of the FREE AWS MQTT Broker & step by step procedure for installation & set up, navigate to this link. 

Kindly reach support if you have any queries.

Build your IOT Application in a Day

Build your IOT Application in a Day

IoT Application development is required today at all levels. People with very low coding knowledge needs to build what is needed for them. MQTTRoute helps customers will be able to embed their ML & AI algorithms and create their own application. MQTTRoute helps you host and manage your application easily. This just leaves your development challenge for your IOT Server application. MQTT Broker comes with a default user interface, however visualization needs to be built for specific vertical. We recently run an internal hackathon at Bevywise to build applications over our framework. Interestingly, we were able to build an IOT application in a day. The application built was a Industrial Furnace monitoring. This blog portrays the hacks used to build the application.

IoT Application for Industrial Temperature Monitoring

Monitoring and control of temperature of the furnaces is crucial with respect to its usage in the industries as it directly affects the quality of the product that is being created. We created a simulated device similar to a monitoring edge device which pushes data to the MQTT Broker. The goals set for the application were:

  • live graph of the incoming temperature
  • Historical hourly average of the temperature
  • Alarm when the temperature exceeds a range
  • Alarm when current temperature exceeds the previous hour average

Live Temperature View

 

MQTT Broker is programmed in a way that it pushes the incoming device data to the user interface using the web socket. You will be able to add your own code to create live graphs. In this hackathon, plotly is used by the developer. The data on temperature of the furnace collected is presented as a line graph in the dashboard. This is done by configuring custom_ui_server.py file.

reference code for line graph

xaxis: {
type: ‘date’,
range: [olderTime, futureTime]
}
};
Plotly.relayout (graph_id, minuteView);
Plotly.extendTraces (graph_id, update, d)

Historical data Analysis

 

The historical graph on hourly average data can be created by the Data Crunching process. The schedule module is used to automate the creation of hourly average data. Custom implementation for the average of data developed in a separate method and configured in the schedule to be called every 60 minutes in  custom_scheduler.py file.

 

def schedule_conf( ):
schedules={}
schedules={
‘STATUS’ : ‘DISABLE’,
‘SCHEDULES’ : [
{‘OnceIn’ : 1,‘methodtocall’ : oneminschedule },
{‘OnceIn’ : 5,‘methodtocall’ : fiveminschedule } ] }
return schedules

After processing the data, the data is pushed to the user interface through the web socket. The bar graph is created using plotly to display the crunched data

 

reference code for bar graph

x: [ data1 [i] [‘time1’] ]
y: [ data1 [i] [‘value’] ]
Plotly.newPlot ( ‘history’, data123,layout, {displayModeBar:false, responsive:true},
{scrollZoom: true} );

 

We believe you will be able to add your own algorithm similar to the above.

 

Generate Event Alarms

 

The variation in the temperature can be noted and displayed in a widgets. For a certain range of temperature values the data will be shown in varied colors to alarm for a temperature variations. Here, the data will be shown as red colored text if the temperature is above 500 degree Celsius (default value) and blue colored text if the temperature is below 500 degree Celsius. The default temperature range set can be changed according to your need. You can add your own widgets and notifications to the user interface by customizing custom_ui_server.py file. To schedule your alarms use  custom_scheduler.py.

 

 

reference code for text_widget

if ( key == “message-integer” || key == “message-float” || key == “message-string” ) {
var message = data1 [key] [‘message’][0] ;
document.getElementById(id).innerHTML = message + String.fromCharCode(176)+unit+ ;
}

Alerts for the Shop floor operators

The comparison of incoming data with the previous hourly average data is done. Alerts can be created based on the compared data. If the temperature exceeds the hourly average temperature then the data blinks by creating an alert. This can be done by adding event based triggers using the scheduling module. Add your own algorithm to create alerts in custom_scheduler.py.

 

reference code for alarm_widget

if ( p_avg < data3 [‘msg’] [‘message’] [0] ){
document.getElementById (“alert”).innerHTML=data3 [‘msg’] [‘message’] [0] + “ALERT!” + “Temperature High”;
}

 

Dashboard for IOT Application in a day

 

All the widgets created by the developer was put on a separate page, as it can be used as a dashboard to be projected/displayed onto to a bigger screen. This has been done as a custom URL inside the custom_ui_server.py similar to the following code snippet.

  

Add your URL here

def custom_urls():
urllist={
“AUTHENTICATION”:’DISABLE’,
“urls”:[{“/extend/Dashboard”:dashboard}]
}
return urllist

The hackathon IoT Application built in a day is available on GitHub for trying it out. Download the MQTT Broker now to start building your application today.

download now

Completely Managed Hosted MQTT Broker with Mobile Application

Completely Managed Hosted MQTT Broker with Mobile Application

Hurrah! CrystalMQ, the new renovated Hosted MQTT Broker is here at last!

And Yes, we have fine-tuned our hosted MQTT Broker to bring the highest level of performance and effectiveness than before. Bevywise MQTT Broker always proves its ability to fit IoT implementation of any organization in a easy, reliable & scalable way. But one thing we have noticed is an increasing demand for hosted infrastructure. Today we are excited to announce the launch of improved version of our Hosted MQTT Broker, CrystalMQ.

No Expertise Needed

The new MQTT server hosting provides a completely managed service that can smoothly scale to meet the demands of large IoT applications and provides the reliability business-critical systems require. It allows developers or other business organizations to fully focus on building IoT applications rather than spending time on sticky server set up & management. No external expertise needed to deploy and manage MQTT Broker as we will provide a completed hosted set up and you can just build your application over it or can simply connect & retrieve your requires device data.

Dedicated Server Instances

CrystalMQ provides a dedicated server to run a separate VM instances which is exclusively true-blue to each tenant. As the server is dedicated specifically to the one single customer, it avoids provoking performance & security issues with other customers. MQTT server hosting provides total isolation, control and security for any of your complex IoT / IIoT applications. 

No Security Compromise

We know that security is the biggest IoT challenge and it is of critical importance for all IoT applications. We have a great liability for security & privacy of our customers’ data as a solution vendor. Hence, we have industry’s best practices of guaranteeing data with options to enable SSL / TLS for secure M2M communication. Also, Bevywise MQTT Broker ensures encrypted data transfer at each point with a common auth key and token for all devices or for a particular group of devices or unique keys and token for each device.

Control Devices on your Android

The more convenient & quicker way to manage & monitor your MQTT devices is here. The new hosted broker comes up with the MQTT Broker app which makes it easy to manage & control your MQTT / IoT applications using android smart phone from anywhere. Also, it enables users to customize the UI & to create multiple dashboards with pre-configured widgets from the app itself. 

We guarantee 99.99% availability that is server will be up and running 24 x 7 to collect data from your MQTT / IoT devices.

CrystalMQ provides 3 day trial period for FREE. When you start your subscription on CrystalMQ, the FREE trial of 3 days will get started, which lets you try the complete features of hosted MQTT broker for FREE. Once the FREE trial ends, your chosen subscription plan will automatically get activated unless you cancel the subscription in trial period.

Try signing up with new hosted MQTT Broker version to get started with the FREE trial.

Kindly reach support if you have any queries.