How to use IoT in Bluemix

Slides:



Advertisements
Similar presentations
EWiFi for Android. Installing the eWifi app (This step requires internet access) ) 1. To install the eWifi client open the Google Play Store from your.
Advertisements

What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
HOW TO PULL YOUR VOICE MAILS INTO YOUR CLIENT Primary advantage: You will have a permanent.wav file on your PC and you choose when to delete it.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
HOW-TO guide This tutorial has sound.
How KeePass password safe can save you time and energy
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Screenshots of the E-book download For Windows and Flash disks.
Active-HDL Interfaces Debugging C Code Course 10.
Version Control Menggunakan TortoiseSVN
A STUDENT’S GUIDE TO ADDING IMAGES TO NEW OR EXISTING BLOG POSTS Adding Images to Your Blog Post Presented by Michelle Krummel.
Case Study.  Client needed to build data collection agents for various mobile platform  This needs to be integrated with the existing J2ee server 
1 Mezzanine Ware (Pty) Ltd © 2014 Installing\Uninstalling the Mezzanine Helium Android application.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Esri UC 2014 | Demo Theater | Using ArcGIS Online App Logins in Node.js James Tedrick.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Gaggle Accounts 1. Go to Student net and click on the gaggle logo.
6/11/20161 Logging into the CMS Login by visiting
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
BuckeyePass Multi-Factor Authentication. 2 What is Multi-Factor Authentication? Adds a 2 nd layer of security Combines something you know with something.
1 Terminal Management System Usage Overview Document Version 1.1.
Developers Introduction to the Power BI Platform.
Communication was never so easy!
3 A Guide to MySQL.
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Agent Services Making Tax digital for Business
Core ELN Training: Office Web Apps (OWA)
Secure Cloud Based Listening Devices
Getting an account with WordPress.com
Tonga Institute of Higher Education IT 141: Information Systems
How to use Library Kindle Books
How to use Library Kindle Books
Metis Data Science Meetup:
Data Virtualization Tutorial… OAuth Example using Google Sheets
Demo : Introduction to BlueMix Sandhya Kapoor May 28, 2014
Cataloging introductory flow
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Firebase Cloud messaging A primer
My Settings allows a user to manage their Business Banking personal information and preferences, including: Contact information Username and Password Security.
CCA Skill Certification
APPLE TWO STEP VERIFICATION CHANGE PHONE NUMBER Please read the following presentation on any help on Apple two step verification change phone number.
Testing REST IPA using POSTMAN
First-time Login to Business Banking:
Educational Testing Service
Tonga Institute of Higher Education IT 141: Information Systems
smartmail & smartportal: Introducing Two-Factor Authentication
How to for Dropbox.
New Client Guide.
Microsoft PowerPoint 2007 – Unit 2
Cloud Data Centering -MQTT to Cloud
Tonga Institute of Higher Education IT 141: Information Systems
Lecture 16B: Instructions on how to use Hadoop on Amazon Web Services
The National Reference Metadata Editor (NRME)
Tutorial 6 PHP & MySQL Li Xu
Technical Integration Guide
Welcome to Liscio, our new client communication platform.
GRANT APPLICATION INSTRUCTIONS
CSCE 206 Lab Structured Programming in C
HR Portal: What’s New? What’s Next?
HOW TO PLACE MY ORDER ?.
The National Reference Metadata Editor (NRME)
Beautiful PPT Sinotruk Group SummarySinotruk Group SummarySinotruk Group SummarySinotruk Group SummarySinotruk Group SummarySinotruk Group summary Title.
NCSA Duo.
IoT Security and Privacy
Presentation transcript:

How to use IoT in Bluemix Leonard Walletzký

Introducing IoT in BlueMIx http://discover-iot.eu-gb.mybluemix.net/

Smartphone as sensor Enter your Device ID and email Accept the conditions Click Next

How to use your device data in your app? Example – how to use simulated GPS device in the BlueMix First we need to create a new IoT application, simulating sensor In your dashboard, click to Create App Select IoT Platform Starter Name your app and click Create Wait for Node Red ready

Simulated sensor Select all nodes and delete In IS open the file IoTsensor.txt and select Import > Clipboard Copy the content of the file into the text frame Place the new flow Leave Node Red open and return to Dashboard

Connection to API Your application cannot communicate with sensor directly You need to create interface – to be able to communicate with more devices and prevent the attacks In the list of services find IoT Platform for your device

Watson IOT Board Remember your organization ID Click on Devices You need to create new device to be connected with your sensor Click Add Device Click on Create device type Click on Create device type again Enter name for the type – like Simulated_device and click Next Leave template and metadata blank by clicking Next and click Create

Create your device connection Select your type and click Next Add the name for the device Provide some simple token (12345678) Click Add After viewing the summary, you will see your device

Generating API connections Click on Apps Delete API Key Create new API Key Copy and save Authentication Token!!!! Click Generate

Connecting the device Go back to your Node Red editor DoubleClick on Publish to IoT node Click to Server To Server write: <your organization>.messaging.internetofthings.ibmcloud.com To Client ID: d:<your organization>:<device type>:<device name>

Connecting the device To Security part To username: use-token-auth To password copy your generated token for the device Press Update Press Done Press Deploy

Connecting the device Go to Watson IoT platform dashboard If you were successfull, you should see something like this

Creating the application Create New App From IS download phpmqtt library and put into your repository From IS download IoT_example.php Modify source code in IoT_example.php using your credentials Start your application

More sources How to make a sensor from your mobile phone https://www.ibm.com/developerworks/opensource/library/iot-php- app-iot-foundation-bluemix/index.html To debug MQTT connections http://mqtt-helper.mybluemix.net/ IoT tutorials https://developer.ibm.com/recipes/tutorials/category/internet-of- things-iot/

API to services How can I see all services connected to my app? How can I get their credentials? In Dashboard, click on App name and then to Connections Under each you can click to View Credentials

Variable VCAP_SERVICES All credentials are available via $ENV[„VCAP_SERVICES“] For of its usage see db.php in our previous MySQL example To see all credentials in command line use cf env <name of your app>

Get familiar with API Each service has detailed documentation of API

API Explorer https://watson-api-explorer.mybluemix.net/

Language Translator

Translator - example Click on GET /v2/translate Fill the form And click Try it out!

To use Translator Folloow the tutorial https://www.ibm.com/developerworks/library/cc-watson-language- translation-aps-bluemix-trs/index.html Or for php http://blog.softlayer.com/watson-bluemix-language-translation