Overview

Skill Level: Any Skill Level

Use only a smartphone and few sensors and uncover new insights quickly and easily with automated data analysis, automatic visualization and predictive analytics.
• Natural language dialogue
• Automated predictive analytics
• One-click analysis

Ingredients

  • IBM Watson Analytics
  • IoTool Personal
  • Android device with the latest IoTool application

Resources:

 

Step-by-step

  1. About IoTool

    IoTool, a multi-awards winning smartphone gateway and API, allows IoT researching and fast prototyping with minimal costs in domains: IoT, eHealth, sport&wellnessI4.0, HomeAutomation, Industry 4.0 and Logistics.

    Currently IoTool supports more than 100 different sensors with more than 277 sensor readings (like, Arduino, Audio, Bosch XDK, Internal Smartphone, TI SensorTag, Video and similar), 50 actuators (like Arduino, Flic, Internal Smartphone, Lifx and similar) and different types of triggers connected to ordinary smartphone through a very flexible extensions system. Any new sensor, action, actuator, algorithm, trigger or cloud sync uses its own extension (similar like printer drivers). External developers can develop their own extension (usually extension can be made in hours) and their own UI for any type of IoT solutions.

    IoTool works on Android devices (phone, tablet, Android TV, Raspberry PI with Android OS installed). IoTool on a smartphone can process (collect, encrypt, store, show values and diagrams, sync to Cloud) up to 24.000 records per second, for example, 12 lead ECG with 2000Hz per lead.

    IoTool modules:

    dashboard_nav_dark Dashboard

    Download

     

    sensors_nav_dark Sensors and virtual_sensors_nav_dark Virtual sensors (algorithms)

    Download

     

    messages_nav_dark Messages

    Download

     

    triggers_nav_dark Triggers, actions_nav_dark Actions and recipes_nav_dark Recipes

    Download Download

    Download

     

    cloud_nav_dark Cloud

    Download

  2. IoTool installation

    Install IoTool on your Android smartphone as described in our IBM developerWorks recipe: Use a Smartphone as an IoT gateway to IBM Watson IoT

    IoTool-screen

  3. Registering to IoTool Personal

    IoTool can store and export data locally (on your smartphone), but it can additionally store and access your data in the IoTool cloud. For that you need an IoTool Cloud subscription. IoTool Personal is available for free for the first 30 days. 

    IoTool Personal is available at https://iotool.io. You may also proceed directly to subscription plans and order IoTool Personal.

    You should enter promo code “freetrial” to get free access for the first 30 days.

    After getting a username/password for IoTool Personal you need to:

    Install IoTool Cloud extension on your smartphone (link works only for already registered users)

    On your smartphone:

    • Start IoTool
    • Open an IoTool Drawer
    • Select Settings -> Cloud
    • Set Use cloud
    • Click Select cloud service

    IoTool-screen

    • Select IoTool Cloud
    • Select IoTool Cloud Settings
    • Enter the Server URL, Database username, Database password you got during IoTool Personal registration

    IoTool-screen

    • Select Send file

    Now you can collect data with your IoTool. Sensors readings will be synced in real-time to your IoTool Personal account.

  4. Installing IBM Watson Analytics

    *only if you have not installed it yet

    IBM Watson Analytics is available for free for first 30 days.

    IBM Watson Analytics is available at the IBM marketplace. You can find it by searching for “IBM Watson Analytics”: https://www.ibm.com/marketplace/search/us/en-us?terms=IBM+Watson+Analytics.

    Then you can click on “Sign up for free”, where you can get access to it the most quickly by already having an IBMid.

    marketplace-search

  5. Connecting IBM Watson Analytics to IoT data source of IoTool Personal / 1

    watson-at-myibm

    • Click the user icon in the upper right corner and select “Account settings”

    watson-account-settings

    • Select “Secure gateways” in the left sidebar
    • Click the “Add Gateway” icon

    watson-add-gateway

    • Name your gateway, you may unselect both settings, click to AddGateway
    • Click the gear icon of previously added Gateway

    watson-added-gateway

    • Copy the gateway key by clicking at the copy icon (e.g. eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25maWd1cmF0aW9uX2lkIjoiV2Fmd2w5MUVzWVZfcHJvZF9uZyIsInJlZ2lvbiI6InVzLXNvdXRoIiwiaWF0IjoxNDgzNTI2NAI0fQ.SvcNkbxM-x-E0NmpMUuSiWiLLRaEduaLbSDrGghFzpY), Gateway ID (e.g. Wafwl91EsAV_prod_ng) and Node (e.g. cap-sg-prd-5.integration.ibmcloud.com)

    watson-added-gateway-settings

    We will enable your Gateway for you at IoTool Personal server. You should wait for our confirmation that we’ve done it. After that two red rings representing the gateway availability will become green. Then you may proceed.

     

  6. Connecting IBM Watson Analytics to IoT data source of IoTool Personal / 2

    • Click “Data connections” in the left sidebar

    watson-account-settings

    • Click the plus icon in the upper right corner

    watson-data-connections

    • Select a connector type PostgreSQL
    • Enter data connection properties: name it, select previously added Secure Gateway, enter “localhost”, enter “5000”, enter “iotool”, enter your IoTool Personal username, enter your IoTool Personal password

    watson-data-conn-enter-properties

    • Click the Create button

    Now you have full access to all your data collected at IoTool Personal to be analyzed with IBM Watson Analytics.

     

  7. Add data from IoTool Personal to IBM Watson Analytics and tune it

    • Select Data upper toolbar

    watson-data

    • Click “+ New Data” button
    • Click “Connection” button
    • Click the connection that you’ve set up before
    • Enter or update your IoTool Personal credentials and click “Continue” button

    Now you can see the only public db schema and by clicking it also its tables and views. At this stage you should select the data you would like to analyse with IBM Watson Analytics. There are two tables which name ends with “_hrf”. These are humane readable views which are made from other listed tables. Analysing these two views only is the most common among all our IoTool users.

    • Select tables and views you wish analyse

    watson-data-public

    • You may shape the data before when needed (filter, combine, convert and many other data operations)

    watson-data-shape

    • Click the “Upload” icon, name your data set and press OK to finally upload your data to IBM Watson Analytics

    You data will be automatically analysed, processed and uploaded by IBM Watson Analytics. There is an icon representing your data just uploaded to IBM Watson Analytics.

    watson-data-uploaded

  8. Discover data from IoTool Personal with IBM Watson Analytics

    Press at the icon representing your data and discover your data with IBM Watson Analytics.

    watson-data-discover-1

7 comments on"Collect IoT data with IoTool and a smartphone and discover it with IBM Watson Analytics"

  1. 0VMJ_Ratul_Das January 13, 2017

    Hi Jure,
    The send file functionality doesn’t work after following till step . Can you please help on this after doing step # 3 Registering to IoTool Personal

  2. Hi Ratul,
    have you added a Gateway at the IBM Watson Analytics to get us the Gateway details?

  3. KevinLaurier March 01, 2017

    Hi Jure,

    At step 6:

    “Send us both at email”

    To which address should the email be sent?

    Also, is there an alternative to IoTool that doesn’t require to use trial version software?

    Thanks,

    Kevin

  4. Jure Lampe March 03, 2017

    Sorry Kevin, my bad. Send it to: info@iotool.io. I also changed recipe accordingly.

  5. KevinLaurier March 06, 2017

    Thanks June. Can you confirm whether it is possible to replace IoTool by a generic gateway?

    Thanks,

    Kevin

    • Jure Lampe March 07, 2017

      Hi Kevin, IoTool is a gateway. So it is possible to use it as a smartphone or Raspberry PI gateway. There is a possibility to use IoTool cloud only and connect a generic gateway to IoTool cloud, but you need to follow our guidelines. If you need discuss this, please contact me directly: jure.lampe@iotool.io

  6. Hi Jure,
    Can you please help me on this after doing step # 5 ? I can not make the connection in step #6 because i don’t know how to choose the data connection parameters.
    Thank you!

Join The Discussion