The Real Success of MQTT Broker on Cloud

The Real Success of MQTT Broker on Cloud

The journey of Bevywise is not just about attaining our Mission & Vision and it always looks after the success of customers who join us in our journey.

That is “Profit of Bevywise always lies in customer’s success“.

Also, Bevywise has a major part in the revolution of implementing technology in diversified sectors. When we think of the internet in the initial days of its revolution, it was just used for information searching & knowledge gaining. But now it has become parallelly important to the air we breathe. And its application is now a major necessity in day-to-day life. Handling home appliances, ensuring security with surveillance cameras, creating a better-connected learning environment for education, in large enterprises and in all business sectors, etc, proving life doesn’t exist without the internet. Everything in this world has begun communicating with each other using the Internet. In that case, Bevywise is the well-organized team/expert to connect your things, devices/clients to the internet. In the journey of 5 years, Bevywise is the main reason behind the success stories of customers. Let us see the success story of one such customer.

Hand-Holding with Romania’s independent Energy Provider

Amromco, a Romanian company that started operating in 2002 has become the largest enterprise with huge profits in 20 years. In each phase of its evolution, it has implemented technology & science in its process to make a huge change in the community. As of now, it is one of the well-organized (oil and gas) energy industries on the globe. Energy is the one that operates every living thing and in that case, Amromco is successfully fulfilling the energy needs of the whole of Romania. One of its projects of Amromco needs device management-related support. But their workstation is located far away from the major cities in a small town. Hence supervising and management requires high transport costs. This questions the entire accuracy & efficiency of the entire process.

Hence Amromco join hands with Bevywise to tackle the challenges of requirement and service. But there is nothing that cannot be done in this technology world. There are so many devices in their organization that we have made them better connected to each other over the internet with our exclusive solutions of the MQTT platform. Also, we made them remotely access, control & manage their devices by hosting a platform on a public cloud. With live dynamic widgets & charts, we made them understand the condition of the device with the continuous monitoring of their parameters. Finally, the overall process can be controlled & monitored using mobile app, which makes them more flexible.

Final Thoughts

The word “Satisfaction” is better than the word “Profit”. Thus, we at Bevywise always being proud to empower our customers by diminishing their pains, addressing their challenges, and providing all required necessities.

Also, we would love to hear your success stories as well. Get started now by signing up for hosted MQTT Broker.

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.


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 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 file.


def schedule_conf( ):
{‘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 file. To schedule your alarms use



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


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 similar to the following code snippet.


Add your URL here

def custom_urls():
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

Smart IoT Implementation with Raspberry Pi MQTT Broker for DIY users

Smart IoT Implementation with Raspberry Pi MQTT Broker for DIY users

Have you got the next big idea of smart IoT implementation but not clear about how and where to start?

Everything you need to get started with your IoT implementation is here. We have made a recent update on MQTT Broker version 3.3. The new version comes with Mobile app support which makes the MQTT Broker more scalable for any IoT implementation. With the new update any budding developers or early adopters who are intended to take advantage of smart automation can make a successful smart IoT implementation faster & easier. This article provides a detailed view on how to perform an effective IoT implementation with Raspberry pi MQTT Broker.

An Exclusive FREE Raspberry Pi MQTT Broker

Every IoT implementation or application development needs a specific components combined together to achieve your specific target successfully.

In that case, any smart IoT implementation needs 4 basic components

  • IoT devices (sensors or actuators)

  • IoT middleware (MQTT Broker)

  • Automation Platform or HUB (Home Assistant or OpenHAB) If required

  • Smart Phone APP

And that is why we developed an exclusive MQTT Broker package which acts as a middleware to communicate between your MOTT enabled devices along with the mobile application, home automation platform integration & more…

We want to ensure that this package should be feasible to develop any sort of smart IoT implementations and people could get their things ready in their budget. And we make this MQTT Broker package specifically available in raspbian OS for FREE, as the Raspberry Pi can be an inexpensive and powerful one suits for all your IoT implementations. This could really be an excellent solution/benefit for those who aren’t comfortable with the premium licensing of most commercial solutions / platforms in the market.

Get your IoT devices ready

The selection of your IoT / edge devices or sensors depends on your implementation. To give you an idea, let us consider a smart home implementation. You need a light sensor, temperature sensor, door sensor & more. This varies upon your needs. With our FREE MQTT Broker package you can connect upto 10 MQTT enabled devices or sensors.

Set up the MQTT Broker on Raspberry pi

Start setting up the raspberry pi by using the below steps.

Step 1: Install Raspbian OS in your Raspberry Pi (choose the one which best suits your need)

Step 2: Get the SD Card and the Card Reader

  • Get a minimum 8GB class 10 SD card with a card reader. Insert that card into the card reader and plug that to the USB port.

Step 3: Check the Drive in Which the SD Card Is Mounted

  • Go to my computer or My PC and find the drive name where the SD card is mounted.

Step 4: Format the SD Card

  • Open SD Card Formatter and select the drive you noticed in the previous step.
  • Click on format and don’t alter any other options.
  • When the formatting is completed, click on OK.

Step 5: Write the OS on the SD Card

  • Open win32diskimager.
  • Browse the .img file of Raspbian OS that was extracted from the downloaded file.
  • Click ‘on open’ and then click ‘on Write’. If any warnings pop up then ignore them by clicking OK. It will only take a few minutes.

Step 6: Eject the SD Card

Now your OS is installed on your Raspberry Pi.

Installing MQTT Broker in the Raspberry Pi

1. Before installing the MQTT broker to our Raspberry Pi, we need to update the operating system.
All we need to do to update the system is to run the following two commands in the terminal

sudo apt update
sudo apt full-upgrade

2. Once the system has finished updating, we can now install the MQTT Broker software.

Download our exclusive Raspberry pi MQTT Broker from the below link and it might get downloaded in a zip format.

download now

Unzip the broker file and then open terminal and run the broker

During the installation process, the package manager will automatically configure the Broker to start on boot.

3. At this point, you will now have the  MQTT broker up and running on your device.

You can verify that it is installed and running by using the command below.

sudo systemctl status broker

This command will return the status of the “broker” service.

You should see the text “active (running)” if the service has started up properly.

By default broker will start running at http://localhost:8080 or http://<your IP>:8080. The default credentials to login to the dashboard is

  • Username – admin
  • Passsword – admin

Now start connecting your IoT devices / sensors from the UI itself.

In order to connect your devices more securely, enable authentication inside broker.conf folder. The default location of conf will be Bevywise/MQTTRoute/conf. 



# YES || NO

Save your changes and rerun the MQTT Broker. Now you will be able to see the security tab on the default dashboard.

The authentication keys present there can be used to connect your IoT devices. You can also generate a new one to connect.

You can view the status of your device once you get your devices connected & data published by it on the dashboard. You can create your own dashboard with pre-built widgets to visualize the data published. To know more on Dashboard usage and other MQTT Broker feature & how to control your connected devices, visit MQTT Broker help.

Integration with Automation Platform

This part is especially for home users who are intended to develop their home automation system. Building your automation system completely from scratch will be a little bit unrealistic for DIY users. That is why there are number of home automation platforms / frameworks available in the market that can get your home automation devices up and running in no time.

The two of the most used open source home automation platforms includes

  • Home Assistant

  • Open HAB

As I said before, home automation platform can provide everything you need to develop your home automation system. You may ask, what is need of MQTT Broker here??…We have got you covered. Remember that your IoT devices / sensors are MQTT enabled and the initial step to get started with the Home automation platform is to complete MQTT integration with it. Ergo, you need an MQTT Broker for MQTT integration with automation platform. 

That being so, Bevywise MQTT Broker supports integration with both Home Assistant & Open HAB.

Once you are ready with the MQTT Broker on Raspberry pi set up, starts integrating with Home Assistant / Open HAB.

Check out the integration steps below.

Home Assistant Integration

The first step is to complete the Home Assistant installation procedure.

You can check the installation steps here

Make sure you download the right package for Raspbian OS.

Once your installation steps are done, you can go ahead with the integration part.

  • Navigate to the http://homeassistant.local:8123/

  • Start creating your home assistant account & set up your configurations.

  • Make sure you enable authentication in broker.conf file. The default location of conf will be Bevywise/MQTTRoute/conf

  • Now navigate to the Home Assistant UI & click integrations tab.

  • Click “Add integration” button.

  • Select MQTT from the list.

  • You will view the screen asking for the broker details

  • Enter broker IP or host name as

  • By default port will be set as 1883. In case if TLS is enabled in the broker.conf file, you need to change the port here.

  • Now enter username and password which is provided in the security tab of MQTTRoute UI.

  • Once done click submit. If your configurations are set correctly you will receive a success message. You can view the home assistant device connected to the MQTT Broker in Devices tab & list of message published.

    For complete details about MQTT Broker integration with Home Assistant refer this blog.


OpenHAB Integration

Let us start with the OpenHAB installation procedure.

You can check the installation steps here

Once done navigate to the https://localhost:8443

Sign up to create a new OpenHAB account

Make sure you enable authentication in broker.conf file. The default location of conf will be Bevywise/MQTTRoute/conf

Once you finish your set up. Let us move on to Add-ons which is presented under the settings tab.

  • Click Bindings under Add-ons

  • Select MQTT-binding in the given list.

  • Your MQTT-binding set up is completed now.

  • Let us add MQTT Broker using Things tab.

  • Add things by clicking the + icon present at the bottom.

  • Now select MQTT Broker as Thing type from the list.

  • The configuration need to be set correctly to make MQTT Broker & OpenHAB communication.

  • Click show advanced.

  • Provide IP or host name of MQTTRoute

  • By default port will be set as 1883. In case if TLS is enabled in the broker.conf file. You need to change the port here.

  • Now enter username and password which is provided in the security tab of MQTTRoute UI.

  • Once done click submit. If your configurations are set correctly the toggle button will show Online. You can view the OpenHAB device connected to the MQTT Broker in Devices tab.

Now you can start controlling your home devices.

For complete details about MQTT Broker integration with OpenHAB refer this blog.

Mobile App Support

Your smart IoT implementation is not fully completed unless you control your devices right from your phone.

Smart phones play an important role in all IoT implementations. In any smart implementation, a smartphone app is used to perform several functions – onboarding devices, monitoring sensors, turning actuators on/off, creating rules – both when within the local network, or outside it.

Ergo, we have introduced MQTT Broker app recently for managing your MQTT devices along with the MQTT Broker.

Here are the simple steps to start monitoring devices right from your phone which are connected to the MQTT Broker. 

  • Download Android App from play store and connect to your MQTTRoute server URL. Example : http://localhost:8080 or http://<your IP>:8080 if MQTTRoute runs in local network. In case you have deployed MQTT Broker in any cloud platform, use the instance URL (http://<domain name>.com)

  • Make sure you have connected your devices to the MQTTRoute already. If not connect by using steps mentioned in “Installing MQTT Broker in the Raspberry Pi” section.

  • You can now start creating dashboard & widgets to visualize & monitor devices on the go right from your android phone.

Get MQTT Broker App now on play store

MQTT Broker app on Google play

MQTT Broker App Dashboard
Temperature and Light Control
Custom Dashboard

You could get your smart IoT implementation completely done with Raspberry Pi MQTT Broker. Hope we have covered everything you need to develop smart IoT implementation with Raspberry pi MQTT Broker.

In case you have any queries on your implementation feel FREE to contact support. We have all ears to hear your need.

**Note : The FREE license is bound by terms and conditions. Please read the agreement carefully before downloading the package.

MQTTRoute 3.3 released – Control Devices on your Android Phone

MQTTRoute 3.3 released – Control Devices on your Android Phone

We dwell in a fast moving environment where speed is crucial in every little thing we implement. This makes us set our heart on any technology which bring us aid to speed on whatever we do. That’s where mobile apps come in which enables people to control & manage everything at fingertips much faster & easier.

This makes us to think over an idea on providing mobile app support to monitor MQTT devices connected to the MQTTRoute. And Yes!! Today we are much excited to tell you that we have just launched our new MQTTRoute mobile app for MQTT users currently available on android with MQTTRoute 3.3. Continue reading to find out how it helps you!

Why MQTT Broker App?

MQTTRoute is a MQTT based finely crafted MQTT Broker developed to provide fast & reliable M2M communication to and from connected devices. MQTT Broker App works in conjunction with the MQTTRoute enabling you to run it on your android smart phone. Running MQTTRoute alone can provide you a powerful way to collect, monitor and visualize your data. But, when it comes to quickly accessing data, MQTTRoute with mobile app is the perfect choice. This makes it more appealing for the on the go users. With the new MQTTRoute app we provide you with the much more convenient & quicker way to manage & monitor your MQTT devices connected to the MQTTRoute.


We make it simple!

As we discussed earlier, In today’s technology world, mobile devices and the mobile applications that unlock their value—are the most popular way for people and businesses to acquire data from their internet connected devices. Businesses building IoT systems or utilizing MQTT / IoT implementation in order to stay relevant, responsive and successful, need to develop mobile applications to meet their customers demand. Yet mobile application development might seem daunting and it is not everyone’s cup of tea to spend much time developing mobile applications. Fortunately with MQTTRoute, it comes up with the MQTT Broker app which makes it easy to manage & control your MQTT / IoT applications and you no need to build it by your own.

Also, we make it more simple for you to customize your UI & to create multiple dashboards with pre-configured widgets from the app itself. This is because, we don’t want to restrict you to just view your MQTT data and we want to make you to present & visualize it in a way you need. This makes your IoT application, user and mobile friendly enabling to access & monitor MQTT devices anywhere.

Mobile App currently supports android and we are working to make it available soon in IOS.

MQTTBroker App widget

Feel free to write to support for a complete Demo. 

To get started sign up for hosted setup or download a free version for local installation.

Get the Mobile App now on Google play store.

MQTT Broker app in Google play
High availability MQTT Cluster

High availability MQTT Cluster

High availability MQTT Cluster is very important for any IoT deployments in production environment. Failures can happen due to Software failures, Disk errors, network connectivity, Hardware component failures, etc.,  To ensure that your services are up and running always to your customers without a single point of failure, the  services need to be functionally and physically redundant. By default MQTT protocol a publish and subscribe model does not support high availability.  But the resilient and fault tolerant MQTT high availability set up can be done with simple steps with the right MQTT Broker. With the latest release, Bevywise MQTT Broker comes up with the high availability server which avoids failure for MQTT communication. This article helps you to set up a high availability MQTT Cluster with the high availability server of Bevywise MQTT Broker

Database Cluster High Availability

Data Storage is a crucial component of any production application. It is mandatory to have a Master/ Slave set up for your database storage. You can refer to the Digital Ocean document below for setting up the same.

Alternatively, you can use Amazon RDS or Azure Data Store ( which by default provides the redundancy of the data storage and much more features like time-based snapshots for recovery.

Dockerize the MQTT Broker

You can either run the MQTT broker using our scripts or dockerize it if needed. A Complete article on how to dockerize the MQTT Broker is available here. Dockerizing will provide you some assistance in service manageability like auto restart and more. You can get your copy of the FREE MQTT Broker from the download page.

The distributed cluster set up

High availability server is designed to ensure that the broker is consistently functional without any failures by creating a cluster set up. The cluster set up benefit yourself by enabling failover if any of the MQTT Broker you are using is inaccessible. Consider if you have numerous devices connected to the single MQTT Broker / server. There is a high chance of any malfunctions to happen, and the MQTT Broker may eventually fail, losing the data. This is where a clustered set up comes in. This distributed architecture enables you to have two or more MQTT Broker / servers, that if one of the Broker / cluster node stops working, the other cluster node/MQTT Broker will perform taking the responsibility without any interruptions on the client side. The cluster nodes are considered to be the MQTT Brokers.

For ambitious MQTT deployments with many millions of clients, any number of broker nodes can be deployed & the data can be distributed maintaining stability and availability.  Even if network splits occur or any kind of connectivity problem between nodes arises, the cluster as a whole is still available, as long as at least a single node is still healthy, and heals itself in error scenarios. This is because, whatever be the count of MQTT servers, everything will be in active state, and the data will be distributed between the nodes. So, the healthy one will take the role of publishing the data to the subscribed client.

A Role of Load Balancer

The high availability cluster set up also includes the Load balancer. The role of this load balancer is to balance the incoming connections to your broker infrastructure. It is a decision maker to decide which MQTT Broker/server/cluster node in the cluster should take the role of failed MQTT server. The decision could be based on the weightage or the performing ability of the MQTT Broker. Install any load balancer of your choice and set up port forwarding.

How to set up High Availability MQTT Broker

Let us consider you have 6 clients & two MQTT Brokers 1 & 2 finally one load balancer & a high availability server.

mqtt-high availability-architecture

Here is how the set up could be.

The two MQTT Brokers are connected & clustered using the high availability server. The MQTT messages will be distributed between all the brokers & cluster nodes. So if any of the broker fails, the load balancer will decide which MQTT Broker should start publishing the messages to the connected clients. This prevents failure.

To enable the high availability set up, do the below mentioned configurations in the conf file.



Here you can configure the HAServer port number and connect the broker with HAServer.




HA_port = 2000


Now Open terminal & go to ./Bevywise/MQTTRoute/Bevywise/HAServer/bin

& run sh for linux


Double click startserver.bat for windows

The configuration should also be done in the broker.conf file with this HAServer IP and port




# YES || NO


# The port and the IP Address to which the HA server is running

# If you run the HA server in another machine. Use the IP of that machine.





Set the distribution enabled as YES.

DISTRIBUTION_IP & DISTRIBUTION_PORT refers to the IP address & port to which the HA server is running.

If the HA server is running in another machine, mention the IP of that machine.Your MQTT high availability cluster set up is ready now. Hope this blog post provides a clear understanding on high availability cluster. Try yourself by setting it up.

Bevywise MQTT Broker is the fastest & best MQTT Broker that will be helpful if you are planning to run an IoT deployment of tens of thousands of devices for a single business or a few business that falls under a single use case.

Download MQTT Broker now for FREE to get started with your High availability MQTT Cluster. The new version MQTTRoute 3.3 is released now with Mobile App to manage & monitor your MQTT devices right from your android smart phone. Get the app now on Google Play store.

download now

Feel free to write to support for any queries or suggestions.

For large scale deployments, try Bevywise IoT Platform by signing up for free which is hosted at All our products can be white labelled and used on any private cloud infrastructure or in premise.