Connect the Pressac EnOcean Gateway to the IBM Watson IoT Platform

Send Pressac EnOcean device data to the IBM Watson IoT Platform

Overview

Skill Level: Any Skill Level Basic Knowledge of Watson IoT Platform In this recipe you will learn how to connect the Pressac EnOcean Gateway to the IBM Watson IoT Platform and visualize Pressac sensor data.

Ingredients

  1. A Pressac EnOcean device compatable with the Pressac EnOcean Gateway e.g. CO2, Temperature and Humidity Sensor (EnOcean Radio Protocol Version)
  2. Pressac EnOcean Gateway
  3. Ethernet Cable
  4. An IBM Bluemix account with a running instance of the Watson IoT service
  5. A suitable web browser to connect to both IBM Bluemix and the Pressac EnOcean Gateway configuration pages.
  • Detailed Information on how to register and manage your Bluemix account can be found here
  • A guide to getting started with the Watson IoT Platform can be found here

Step-by-step

1.  Introduction

Pressac Pressac is a privately-owned UK based business with a 60-year history of expertise in the design and manufacture of electrical and electronic solutions for the IoT, industrial and telecommunications markets. Pressac offers its own range of market leading products for the telecoms and building management industries. Our proven expertise and continued success has led a number of blue chip companies to choose Pressac as their preferred development partner and supplier. Pressac’s cutting edge product design and manufacturing facilities are based at the company’s headquarters in Nottingham, UK. EnOcean EnOcean is a widely established and global technology, and has been installed in over 250,000 buildings worldwide. The EnOcean wireless standard is the first to be ratified as an international standard – ISO/IEC 14543-3-10: together with the EnOcean Equipment Profiles (EEPs) drawn up by the EnOcean Alliance, this international standard lays the foundation for fully interoperable, open wireless technology comparable to standards such as Bluetooth and WiFi. The standard can be downloaded from www.iso.org. IBM Watson IoT Platform The IBM Watson Internet of Things Platform is a fully managed, cloud-hosted service that makes it simple to derive value from Internet of Things (IoT) devices. When combined with the IBM Bluemix platform, Watson IoT Platform provides simple, but powerful application access to IoT devices and data. You can rapidly compose analytics applications, visualization dashboards, and mobile IoT apps. Create IoT applications that feed insights to your backend enterprise applications.

2.  Architecture

This recipe consists of 3 main components, a Pressac EnOcean radio protocol device e.g. CO2 Temperature and Humidity Sensor, Pressac EnOcean Gateway and the Watson IoT platform. The Pressac EnOcean device is connected to the Pressac EnOcean Gateway via the EnOcean radio protocol, the Pressac EnOcean gateway facilitates the connection to the Watson IoT platform.

architecture-master

About the components: Pressac EnOcean Radio Protocol CO2, Temperature and Humidity Sensor The Pressac Sensing wireless EnOcean CO2, Temperature and Humidity Sensor is designed to measure and report levels of Carbon Dioxide, ambient temperature and relative humidity in an internal environment. During normal operation, the sensor is powered from ambient room light: in prolonged low light environments, the security of battery back-up ensures continued operation for up to 10 years of maintenance free operation. This version of the sensor supports the open EnOcean standard (ISO/IEC 14543-3-10). For more details on this device and Pressacs other devices, visit http://www.pressac.com/ Pressac EnOcean Gateway The Pressac EnOcean gateway serves as a bridge between the EnOcean radio protocol and a TCP/IP network. Availible in Ethernet only and Ethernet, LTE and WiFi varients the Pressac EnOcean gateway sends sensor data via MQTT along with facilitating direct integration to cloud platforms including IBM Watson IoT platform. With an easy to use web-interface the Pressac EnOcean gateway makes managing your devices and cloud connections easy.

3.  Step 1 – Setting up the Pressac EnOcean Gateway

Plug in one end of the Ethernet cable into your network point and plug the opposite end of the cable into the Ethernet port on the Pressac EnOcean gateway. Connect the EnOcean antenna along by screwing it onto the connection on the Pressac EnOcean Gateway taking care not to cross thread or bend. If your gateway supports LTE and WiFi attach the antennas for these aswell. Connect your Pressac EnOcean Gateway’s power supply, connecting the power supply will boot up the Pressac EnOcean Gateway and you will see the products LED start blinking. The Pressac EnOcean Gateway will take a few seconds to initialise. Next you need to find the IP Address of the Pressac EnOcean Gateway the most common way of doing this is to check your routers list of connected devices. If this is not possible the following alternative methods can be used. Windows: The Pressac EnOcean Gateway announces itself over Universal Plug and Play (UPnP) and can be found in the “Gateways” or “Other Devices” section of the Windows Network area to find this area click “Start” search for “Network” and click “View network connected computers and devices”. Double clicking a gateway from here will open up the web-ui. Mac: The Pressac EnOcean Gateway can be discovered using Bonjour. One of the easiest ways of using this method is to open “Safari” go to “Preferences” then “Advanced” and tick “Include Bonjour in the Bookmarks menu” close Preferences navigate to “Bookmarks” and you will now see all your networked Bonjour devices including the Pressac EnOcean Gateway. Now you have the IP Address you can use it to access the Pressac EnOcean Gateways web interface launch your chosen web browser and type http://<your-ip> e.g. http://192.168.1.188 This will display the Pressac EnOcean Gateway’s first boot wizard. Follow the steps on the wizard to set up your Pressac EnOcean Gateway for the first time.

pressac-enocean-gateway-boot-wizard

4.  Step 2: Add a Device to the Pressac EnOcean Gateway

To learn-in a new device click “– Add Devices” in the EnOcean sub-menu on the Pressac EnOcean Gateway web-interface and then click “Start” .

pressac-enocean-gateway-add-device-1

This will initiate a 60 second countdown, during these 60 seconds the Pressac EnOcean Gateway will listen for the learn telegrams of devices in range of the Pressac EnOcean Gateway. This process can be cancelled by clicking “Cancel” and re-started for another 60 second duration by clicking “Search” again. Ensure the Pressac EnOcean Gateway is listening for learn telegrams and press the “Learn” button on your Pressac device to locate the learn button for your device please consult your devices manual. In this example we will be using the Pressac CO2, Temperature and Humidity Sensor this devices learn button can be exposed by removing the CO2, Temperature and Humidity Sensor back plate as shown in the image below.

co2-sensor-learn-button

A new device entry will now appear in a table with the following columns Last Seen – The Date and Time the Pressac EnOcean Gateway last received a telegram from the device Device ID – The unique identification number of the device EEP – EnOcean Equipment Profile used by the device. Security – Security enabled on the device Yes / No dBm – Signasl strength of the device to the gateway Action – The action column contains a menu containing options to EDIT AND ADD and DELETE the device.