Recipe: How do you use Real-Time Insights with TRIRIGA work orders to close a fridge door?

In a smart building, it is imperative to monitor the smooth functioning of facilities operations. One of the critical parameters to monitor is the temperature of the facility. IBM TRIRIGA is an integrated workplace management system (IWMS) which increases the operational, financial, and environmental performance of facilities.

Temperature sensors will detect the sudden increase in temperature. Events like “door left open” from refrigerators and vending machines can lead to the damage of food and grocery. A real-time event demands a real-time action, and IBM Real-Time Insights service along with Watson IoT, can not only detect the event, but also initiate an action. The action can be in the form of a web hook (HTTP) to another application, or email, or IFTTT (IF This Then That) action. In this recipe, we will initiate a work task in TRIRIGA, initiate IFTTT, and send email to a service person to close the fridge door.


  • 1. IBM Bluemix account.
  • 2. Java Client Library for IBM Watson IoT Platform.
  • 3. Cloud instance of a TRIRIGA server (Version 10.5).

Recipe flow

This recipe is demonstrated and documented using IBM Bluemix. To simulate the sensor data, the Java Client Library for IBM Watson IoT is used. The device definition is done in the Watson IoT service. The Real-Time Insights service binds to a Bluemix application that already has the Watson IoT service. Define Watson IoT as the data source to Real-Time Insights. Configure the device and schema mapping in the Real-Time Insights dashboard. Create the rules and analytics (alerts) in the Real-Time Insights dashboard. Also, set up a TRIRIGA SaaS instance with a public IP, IFTTT trigger and action, and email configuration…

[Admin: This post is related to the 03.08.16 post about configuring a Watson IoT app on Bluemix to create TRIRIGA work orders.]

Continue reading