About this Sample

This sample demonstrates XpertRule Web Author integration with IBM BlueMix and actual IoT sensors.

The premise is to take IoT sensor values, along with image recognition and weather data, to control a fictional HVAC (heating, ventilation & cooling) system.

Try the Sample

1
Select an image (to indicate number of people in room)
This is passed to IBM Alchemy Vision which uses it to deduces the number of people in the image


1 Person

2 People

3 People

4 People

5 People
You must select an image

2
Supply an address (for weather lookup)
This is passed to IBM Insights for Weather to get the current external temperature

Address:
You must supply valid postcode

3

4
We will now Call the XpertRule® service passing the selected image & geographic location. The XpertRule service performs the following steps...
  • Retrieve the current IoT sensor values
  • Apply trees/rules to automatically derive the HVAC setting given the IOT sensor values
  • Use Alchemy Vision to detect the number of people in the image
  • Use Insights for Weather to get the current external temperature
  • Apply trees/rules to override HVAC setting given weather/people data

5
The HVAC system should be set to

XpertRule Service Input Message


					

XpertRule Service Result Message