Implementing bot in IoT ecosystem

Posted by

What we did…

With the help of Hallwaze beat’s RTM api and a bot engine that uses popular for NLU and NLP. We cooked some very interesting bots.

We mashed up IoT and conversational bots to create a system where a bot was acting like an interface to IoT ecosystem.


Beats is the messaging part of Enterprise Collaboration Ecosystem, Hallwaze. Now that it has opened up access to send and receive messages at real time, many new opportunities open up.

Thing used

  • Beats RTM api
  • ai – Chatbot engine
  • Smart devices

Once is ready for Natural Language processing and Natural Language Understanding, next is to make bot engine functional. Bot engine passes the received message to which returns score for user defined entities and sentiments, upon which decides the next step is to integrate into the code for our bot’s engine. has well-documented open source libraries and SDKs for iOS, Ruby, Node.js, and Python which you can access at the Github page (


Workflow for Bot conversation



Step 1. Fetch a Bot identity from Beats Server.

  • Log into beats and form setting add bot.
  • Get the connection string.


Step 2. Connect to messaging system using connection string provided over bot registeration


Step 3. Get bot’s Natural language Understanding done right using


Step 4. Once is ready for Natural Language processing and Natural Language Understanding.  Next is to make bot engine functional.

Bot engine passes the received message further to which returns score for user defined entities, its state and sentiments, upon which Bot engine rule works.


Bot engine returns confidence or probability for the entity and its state upon which rule engine works.

Step 5. Was to finally get Rule engine done right by checking probability scores for entities and intents of sentence passed to




Related Posts

  • Implementing Chatbot in IoT Ecosystem (Use-case)Implementing Chatbot in IoT Ecosystem (Use-case)

    In continuation with the Chatbot series, we are back with our next blog on implementing chatbot in IoT ecosystem. Let’s get started. What Did We Do? With the help of…

  • Introduction to Chat bots (Part 1)Introduction to Chat bots (Part 1)

    Chat bots Chat bots are Conversational agents or a Dialog system that simulates Intelligent conversation using text or speech. Why chat bots? In recent times, a sudden rise in interest towards…

  • AI in Banking(2) – ChatbotsAI in Banking(2) – Chatbots

    Hello readers, as promised, we are here with our 2nd blog in the series of blogs on “AI in Banking and Financial Services”, focusing on Chatbots. As discussed in the…

  • ChatBots (Part 2) – How to make BotsChatBots (Part 2) – How to make Bots

    “It is said that to explain is to explain away. This maxim is nowhere so well fulfilled as in the area of computer programming, especially in what is called heuristic…

  • A Know-how of Timesheet Management via ChatbotA Know-how of Timesheet Management via Chatbot

    SAP Timesheet Management using Chatbot is an application, which helps users in managing their time entries quickly and efficiently in real-time through mobile phones. Chatbot is an AI-powered computer program…

  • Mobile App Automation Testing using ‘ESPRESSO’

    If you are a Mobile Apps Test Engineer, you cannot overlook the very reliable Google Product i.e. Espresso. Espresso is an automatic UI testing or as we call it “hands…

Leave a Reply

Your email address will not be published. Required fields are marked *