Change Room Illumination Automatically by Controlling IoT device (LED bulb) from Cloud BPM

Collaboration example of Questetra BPM Suite → ifttt → Phillips hue


This time, I would like to introduce an example of collaboration between the IoT device and Questetra BPM Suite.


Since there are much information about “What IoT actually is?” on Web, please check them if you need.

When I think of well known examples of IoT, I come up with “KOMTRAX (Remote management of construction machinery vehicles)” , for instance. As other examples, the cases of accumulating, analyzing and utilizing information absorbed by sensor devices can often be seen. The cases of using “iBeacon” are also seen in many scenes.
In addition, devices prepared for IoT have been increased. Now I pay attention to the following devices.

Other than these, there are still many kind of devices if including ones being under crowdfunding at Kickstarter etc. In the future, it is expected that more and more interesting IoT cases will be introduced.
Personally speaking, as I often play tennis, I’m disappointed that the racket that the smart tennis sensor is available is limited. I want further evolution of the product.


Well, introduction was longer, but let’s move onto the main subject.

We have received the following requests from Questetra’s customer.
I want to switch the color of lighting of the in-house Bar space depending on the time range

When hearing just the story alone, it seems that it is not directly related to Questetra.
However, the customer has already established the IoT device, Phillips hue. Therefore, we met the requests by controlling it from Questetra BPM Suite. I would like to introduce that example in details.
♦ In the articles on the Web, I think that there are many IoT cases of accumulating, analyzing and utilizing the information drawn up by the sensor devices, however, this IoT example is completely different type of such cases.


The mechanism is very simple. It can be described as follows.

  1. Questetra BPM Suite sends an email including the color information of light at the set timing.
  2. Receive the email by the collaboration tool ifttt, and send instruction to hue


♦ “ifttt” is a service that is capable of collaborating with various Web applications and IoT devices. There are other similar collaboration services such as “zapier”, which we introduced at the past blog post.


Since the customer wanted us to change the color of lighting gradually so that people near the light do not feel the changing of the light, we have sent an instruction to change the color little by little every 10 minutes from Questetra.

The process model diagram can be shown as follows.
♦ Briefly describing about the diagram, the processing will be automatically started at the specified time and send an instruction to hue. Then, after a while, it will send an instruction to hue again. This processing will be repeated.
♦ At first, we thought of placing a task with timer boundary event as people can intentionally halt the changing after the process start automatically by timer start event. However, we did not adopt such task in the end, the process only to included fully automatic processing.


Though Phillips hue is a little expensive compared with the general bulb (Starter Set costs about 25000~30000 JPY), by combining with Questetra, we have achieved the system that is capable of automatically controlling illuminations with quite inexpensively and speedy way as a whole.

In addition, I think that you could understand the followings:

  • You can realize collaboration with IoT devices quite easily by using APIs of Questetra
  • Though Questetra provides a system for controlling the flow of human task (task human does), it is also possible to set up the logic of such automatic process


This example is a case of including automated processing only (people do not intervene). However, I think there will be a case of business in which people do intervene, setting IoT device as starting point or ending point.
Concretely, the following cases may be assumed, for example.

  1. Detect suspicious object by surveillance camera / Detect abnormality from such as smoke and sound
  2. Start Questetra’s processing and arrange a personnel assigned
  3. Save the result that the assigned personnel checked to Questetra


The past article of Workflow Sample also introduces several cases of being assumed by collaboration with sensors.

If you have a consultation like “Can I realize XXX by combining with a IoT device?”, please feel free to consult to me (Kusaka) from here.

About Kusaka Tsuyoshi

View all posts by Kusaka Tsuyoshi

Prev article - 50. Questetra Tips Backup the Data of Workflow! What about Files?
Next article - 50. Questetra Tips System Collaboration Examples (Ver. June, 2016)
Another article - Kusaka Tsuyoshi Single Sign-On with Salesforce using SAML 2.0 (as of February, 2015)