Bevywise Networks | IoT Platform & IoT Solutions - IoT Solutions & Artificial Intelligence to make a better tomorrow.
  • localize MQTT Broker

Localize MQTT Broker to your language

By Ranjith Kumar Diraviyam




  • localize MQTT Broker

Localize MQTT Broker to your language

By |August 28th, 2018|


We have been working hard to ensure that you can be able to localize MQTT Broker into your language and work with ease.  MQTTRoute, the enterprise MQTT broker has been enhanced with a few more most useful set of features to play with.

Dynamic Update of User Interface

You will be able to monitor the connected devices from the UI without refreshing it. All the events happening in the back end of the broker is sent to the Broker for dynamic updates. The update happens at the Dashboard level as well as the individual devices level. The connection/ disconnection status, Events published by device / commands received by the device, new device additions and subscriptions are all updated.

Localize MQTT Broker

We have added support for working with the MQTT Broker on your own language. We by default have added Chinese and working on a few more languages. You can add your language text to the Bevywise/MQTTRoute/web/build/js/localization.js file and translate the broker to your language.

Do keep us posted with the updated file, so that we can share it with your own language community.

Build Custom UI

The complete User Interface is presented to you using the BrokerUItab.html. You can design your own User Interface and replace this file. You can also update the brokerscript.js file present below <web/build/js> folder to make it work in tandem with the Broker UI. The function  function WebSocketPush() towards the end of the brokerscript.js is the method that pushes the data to the client for all the dynamic updates. You can add your code here to have the dynamic updates as well in the custom UI. REST APIs can be used to build device management for the devices.

Try the Online MQTT Broker

We have set up an live MQTT Dashboard for trying our MQTTRoute. You can connect your devices to mqttroute.com. We have setup the broker in the non ssl mode for the ease of connecting. The MQTTRoute you can download for trial will have both SSL and Non SSL support.

Broker Address – mqttroute.com
Broker Port – 1883

You can run the downloaded version on your private cloud or behind the firewall for security and more.

Download FREE MQTT Broker

Feel free to write to us for support

  • MQTT Broker Tableau Integration for better visualization and Business Intelligence.

MQTT Broker Tableau Integration for IoT Data Analysis

By |August 7th, 2018|


MQTTRoute is a perfect middleware and fastest broker to be used for collecting data from your IoT edge devices and store and analyse it the way you needed.  Tableau is a cool BI tool that will help you analyse the data in all dimensions.  MQTT Broker Tableau integration will help you store all your data in the format you needed into the Tableau for a perfect data analysis. This blog helps you visualize data of MQTT Broker with Tableau by connecting it to MySQL or MongoDB.

MQTT Broker Tableau Integration using MySQL

 Changes to be done in MQTT Broker: 

  1. Open the Conf folder(Bevywise/MQTTRoute/conf)
  2. Change the DB Server to MySQL
  3. Give the MySQL Password in “MySQL Password =”
  4. Save the File
  5. Check that the MySQL is running on 3306 Port.
  6. Start the MQTT Broker using sh runbroker.sh inside the bin/ folder.
  7. Next connect the client and verify that the “bevywise” DB is created in MySQL.

To Verify the DB is Created or not in MySQL:

  1. Login to MySQL by the command “mysql -u<username> -p<password>”
  2. Next type “show databases;” command to view the created DB.
  3. In Output, you can see “bevywise” db is created.

Connect Tableau via MySQL ODBC Connector :

Tableau will use MySQL ODBC connector driver to talk to the MySQL. You might already have the required driver installed on your computer. If the driver is not available in your computer, Tableau displays a message in the connection dialog box with a link to the Driver Download page where you can find driver links and installation instructions. Click the “Data Source” drop down box and Select “MySQL”. Next choose OS & Bit Version and Install the driver.

Make the connection and set up the Tableau:

1.Start Tableau and under Connect, select MySQL. Then do the following:

  • Enter the name of the server that hosts the database.(Give “localhost” if MySQL is running in the same machine)
  • Enter the user name and password.
  • Select Sign In.

2.On the data source page, do the following:

  • From the Database drop-down list, select a database or use the text box to search for a database by name.
  • Under Table, select a table or use the text box to search for a table by name.
  • Drag the table to the canvas, and then select the sheet tab to start your analysis.

MQTT Broker Tableau Integration via MongoDB

Configuring MQTT Broker:

  1. Please download and install MonogDB Plugin for Bevywise MQTT Broker.
  2. Follo the steps in Readme.md file to configure and setup the MonogDB Plugin.
  3. Next Restart the MQTT broker and Connect the device.

To Verify the DB is Created or not in MongoDB:

  1. Login to Mongo DB by the command “mongo –port 27017”
  2. Next type “show dbs” command to view the Created DB.
  3. In Output, you can see “bevywise” db is created

Connecting Tableau via MySQL ODBC Connector :

Tableau use MongoDB Bi connector driver to talk to the MongoDB. You might already have the required driver installed on your computer. If the driver is not installed on your computer, Tableau displays a message in the connection dialog box with a link to the Driver Download page where you can find driver links and installation instructions. Click the “Data Source” drop down box and Select “MongoDB Bi Connector”. Next choose OS & Bit Version and Download the driver.

Creating Authentication for Mongo DB:

Login to the MongoDB shell by the command “mongo –port 27017

Next use the “bevywise” database by the command ” use bevywise

Type the below query to create a username and password for the DB

db.createUser(

{

  user: “<Username>”,

  pwd: “<Password>”,

roles: [ { role: “userAdminAnyDatabase”, db: “bevywise” } ]

  }

)

Re-start and login to the MongoDB by the command

mongo –port 27017 -u “myUserAdmin” -p “abc123” –authenticationDatabase “bevywise”

For more reference refer the Enable Auth link

Installation and Setup of MongoDB Bi connector in windows:

  1. To install the Mongo DB Bi connector, Double click the downloaded .msi Connector file and Install it.
  2. Next check the Connector is installed inside the MongoDB folder which is inside the program files.
  3. Follow the link to setup the MongoDB BI Connector.
  4. After Installation, don’t exit from the terminal.

Make the connection and set up the Tableau:

  1. Start Tableau and under Connect, select MongoDB BI Connector. For a complete list of data connections, select More under To a Server. Then do the following:
  • Enter the name of the server as “localhost”.
  • Enter your user name with associated database name, and password.
  • Select Sign In.
  • If Tableau can’t make the connection, verify that your credentials are correct. If you still can’t connect, your computer is having trouble locating the server. Contact your network administrator or database administrator.

2. On the data source page, do the following:

  • (Optional) Select the default data source name at the top of the page, and then enter a unique data source name for use in Tableau. For example, use a data source naming convention that helps other users of the data source figure out which data source to connect to.
  • Select the sheet tab to start your analysis.

Download the MQTT Broker now to get started with the MQTT Broker Tableau integration.

Download FREE MQTT Broker

Feel free to contact support for any questions or help.

  • IoT Cloud Platform - Build vs Buy

5 Top Benefits – Buy an IoT Cloud Platform

By |July 30th, 2018|


Business today needs to work on multiple verticals to roll out out great IoT Product and a great overall customer experience. IoT Cloud Platform is one of the core component of the Implementation. Business trying to build everything in house faces a lot of challenge. It will be more effective to ride your IoT Implementation over an existing Platform. Here is a five benefits you get when you buy an existing IoT Cloud Platform.

IoT Challenge is Wide – Build expertise on your Core

An IoT Implementation is a challenge that spans from edge hardware, firmware, industrial design, ware housing, logistics, software cloud , hosting, mobile apps, and more.  The challenge for any business that builds devices or provides solution for any enterprise as consultant or system integrator is huge. It is harder to build expertise end to end across all domains vertically and horizontally. Solution business core lies on the Hardware and they should put all their efforts on build a beautiful hardware experience and partner for the other domains which helps them grow bigger and faster.

Get the best of every industry

As an IoT Platform provider, we work with many verticals and ensure the best practices of the different domains and put them into the common platform, so that every customer gets the best of world in terms of the cloud platform and building apps over the platform. We bring in the best of the high precision industry like Pharma, aviation to everyone so that you provide the best experience to your customer.

Otherwise you will be building something specific to your industry which is limited in its own context

These expertise knowledge is something you get not only for the Cloud Platform, but also we pass it on to our customer on their application side as well as the edge device development as part of the consulting for our customers.

Scaling up the IoT Cloud Platform

Who will say no to a Hockey stick growth of your business. Building a platform for managing a few hundred of devices will be easy and look lucrative when build using a few pieces here and there. Good products fail when the numbers go up. They will not be able to scale up their platform when the numbers go up quickly than they expect it to grow.  IoT Platforms are build today to scale to millions of devices easily based on the need.

Support and Extended Team

Any IoT Platform provider will provide you with a round the clock support all 365 days to ensure that your Platform is running always. All fixes and upgrades they do will be pushed to your servers as well as make sure your Cloud servers are patched always for the best performance and security. We work as an extended team to with business to ensure that they reach their goal faster and easier.

Save Money & Time

It needs a dedicated team to build , host and scale up the IoT Cloud Platform and the APIs for the application building.  It takes at least an year of time and effort for the team to understand the requirement completely to build a scalable and fail proof System. An equal amount of effort and time is needed scaling up the platform for more devices and more functionality.

We provide the best of both the worlds over our platform providing a ready to run platform and at the same time providing options to extend it at the User interface level and at data analysis level, so that you can build solution to any vertical. 

You can always try our hosted Device manager for FREE which is our IoT Platform

Schedule a call today to know the best practices to scale your IoT Implementation to the next level. 

IoT Cloud Platform Consulting

  • Docker MQTT Broker

Docker MQTT Broker for easy service manageability

By |July 9th, 2018|


Docker is one of the leading container application that is used most widely used in running a well managed deployment environment.  Docker MQTT Broker will help you have more control over your IoT production environment. Most than 60% of the servers is using either Ubuntu / Debian for their hosting.

 You can use the following instructions to run the MQTT Broker on Docker on any of cloud providers like Amazon EC2 or Google Cloud or Microsoft cloud or on premise behind the firewall.

Requirements for Docker MQTT Broker

1) Ubuntu 14.04 

2) Docker 1.6.2

3) Mysql 5.5

Setting up the MySQL

We recommend MySQL to be run on a physical machine than a container for the data persistence purpose. Follow the below instructions to set up the MySQL. You have to install the MySQL Server first.

 $ sudo apt-get update

 $ sudo apt-get install -y mysql-server-5.5

Modify the MySQL configuration. By default the mysql runs at 127.0.0.1 and allows only the local application to connect to it. You have to change it as 0.0.0.0 for application running on containers and other machines to access the MySQL.  

$ gedit /etc/mysql/my.cnf

     bind-address = 127.0.0.1to bind-address = 0.0.0.0

Restart the MySQL for the changes to take effect.

$ sudo service mysql restart

Providing data access. The root user of MySQL has access only form the local machine to read and write data into the databases. We need to allow the root user to access data from the container. Connect to the MySQL console from the localhost and then execute the following queries.

$ mysql -u root -p
Enter password: <provide your password here>

mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘root’ WITH GRANT OPTION;

mysql> FLUSH PRIVILEGES;

Your MySQL server is all set to connect from any container that runs on your Ubuntu server.

Creating Docker MQTT Broker

Docker needs to be installed in your ubuntu to create the docker image of the MQTT Broker and also run the dockerized MQTT Broker. To install the Docker, run the following command.

 $ apt-get install docker.io

Download the LInux version of the  MQTT Broker and Extract it from your /home/ubuntu folder. If you are extracting the archive from some other folder, make sure you use the right reference folder

 [email protected]<yourmachinename>$ unzip Bevywise_MQTT_Route_Linux.zip 

We will be creating a docker image in the name of mqttroute. Create a directory for creating the docker file.

$ mkdir /home/ubuntu/mqttroute

Copy files of the MQTT Broker to the mqttroute folder.

$ cp -rf /home/ubuntu/Bevywise/MQTTRoute/* /home/ubuntu/mqttroute/

Modify the configuration of the MQTT Broker for MySQL connections 

$ cd /home/ubuntu/mqttroute/

$ gedit conf/data_store.conf

DB_SERVER = MYSQL

DBHOST=<mysql host ip>

MYSQL_USER= <your mysql user>

MYSQL_PASSWORD = <mysql db password>

Create the mount folder where the docker images will be mounted.

$sudo mkdir /bin/mqtt

Create the docker file

$ gedit Dockerfile

FROM ubuntu

COPY . /bin/mqtt

CMD [“sh”, “/bin/mqtt/bin/runbroker.sh”]

 

Build the docker image

 # docker build -t mqttroute .

Verify & Run Docker MQTT Broker

 # docker images

[email protected] # docker images

REPOSITORY     TAG     IMAGE ID     CREATED     VIRTUAL SIZE

mqtt         latest         45f7ee9a1ec7       7 seconds ago      81.15 MB

ubuntu    latest          7feff7652c69       4 weeks ago         81.15 MB

Start using the docker command. The following command will run the MQTT Broker as a daemon process. If you are planning to run MQTT Broker in a secure mode, you can refer to our previous blog on ssl certificate creation and placement of the files inside the MQTT Broker.

$ docker run –restart=always -d -p 8080:8080 -p 1883:1883 -p 10433:10433  mqttroute

Download now to  get started now to set up your own Docker MQTT Broker

Download FREE MQTT Broker

Feel free to contact support for any questions or feedback. 

 

  • MQTT Broker Integration

MQTT Broker integration using REST API

By |June 18th, 2018|


MQTT Broker integration with your application is very crucial for any process / production management application in Industrial and Customer implementation.  MQTT broker was built with options to store data into any back end data storage via the custom data store. By storing data into the storage which is processed by your application, you will be able to visualise it the way you want. You can use the ready to use plugin to store data to Elastic and MongoDB.

We are working hard to make the MQTT Broker work more seamlessly with any of your application. Today we are happy to announce the availability of APIs in our MQTT Broker through which your IoT Application can manage your edge devices via the MQTT Broker.

MQTT Broker integration with REST API:

We can carefully selected the most useful communication that is needed between any application and its broker to provide the first version of the API. Following are the list of interactions available now

  1. Send a message to any specific device.
  2. Send a message to all devices based on a subscription.
  3. Add a MQTT Device Authentication username and password dynamically from your application.
  4. Remove a MQTT Device Authentication String from the MQTT Broker
  5. Get the list of active devices connected right now to the MQTT Broker.

For more details on the API, refer to the  MQTT Broker API page 

Unsolicited Messages:

MQTTRoute now supports sending of Unsolicited messages to the Edge Device. Yes, you read it right. You can now send messages to any specific device for a topic for which the client is not already subscribed to. This is an enhancement to support device development platforms like Telit. This can be achieved by sending the http call to /clientsend with the target device, topic provided by the device for receiving unsolicited messages, message, QoS and Retain as required.

We have also added an advanced custom implementation inside the /lib folder of the product to send the data received into your Python class file to process it in a better way.

Try the fastest MQTT Broker now

Download FREE MQTT Broker

Feel free to contact support for your queries and feedback

  • 5 Powerful Reasons to choose an IoT Platform over MQTT Broker

5 reasons to choose an IoT Platform over MQTT Broker

By |May 31st, 2018|


IoT and Industry 4.0 together pave the way for smart industrial developments and every industry needs a dedicated & personalized IoT/Industry 4.0 implementation. Even within a specific industry in medium and large enterprises, there are cases where the processes may require customization or a custom implementation of the solution. Such requirements result in millions of distinct IoT implementations in the entire world. In order to build cost effective solutions, these million implementations will need a central M2M engine (MQTT Broker) or an IoT Platform.

This blog helps you identify whether you need an IoT Platform or a simple MQTT Broker to get started with the implementation of your solution.

Save Money with IoT Platform:

The IOT Platform provides everything that needs to be a part of the central M2M communication, Data Storage, REST APIs and more, in order to run a complete solution for any IOT automation. Using an IoT Platform as part of your implementation will have more advantages and higher cost savings than using MQTT Broker. This makes your server ready without spending a huge amount of money and time on implementing the same.

Easy scale up:

IoT Platforms are designed and built with scaling up your IOT Solution to handle millions of devices. Most platforms are micro services-based allowing you to deploy only the service that is needed. In the industrial implementation, there are two scenarios.

  1. Less number of devices and more messages per device
  2. Lot of devices and lower frequency of messages per device.

The components of the Platform that enables higher connections and higher message rates can be deployed accordingly as per the situation. This is something not possible with the broker unless you go for some huge customization of the broker.

Multi tenancy:

Bevywise IoT Platform comes with multi tenancy. Most solutions today require more than one customer and you cannot have one instance per customer. Multi tenancy is something that is needed for most industrial scenarios. Platforms implement multi tenancy from devices using different set of authentication keys, data processing & storage, and data analytics based on the organization.

Faster Time to market:

The core of any IoT Implementation is the edge device and the management of the devices using your mobile application. The IoT platforms provide REST based APIs and SDKs for the faster mobile application and other application integration. The platform helps to get you the complete IoT Solution up and running in days.

High Availability of IoT Platform:

IoT Platform comes with an in-built monitoring and self healing tools. The platform monitoring tools help in keeping the Dev-ops team informed of the server health. The self healing tools can be configured in such a way to restart the services based on the CPU and Memory usage, making the service work more reliably.

Try the hosted Bevywise IOT Platform now.

Create Account in Bevywise Device Manavger

For more information on the Platform, download the brochure here.  Contact support for a hosting a white labeled Platform for your IoT Solution.