0% found this document useful (0 votes)
51 views19 pages

Io TCH 06 L04 Xively

Uploaded by

gurramsonika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views19 pages

Io TCH 06 L04 Xively

Uploaded by

gurramsonika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Lesson 4

Xively

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 1
Publs.: McGraw-Hill Education
Use of Cloud IoT cloud-based service
• The service provides for the data collection, data
points, messages and calculation objects.
• The service also provisions for the generation and
communication of alerts, triggers and feeds to the user.
• A user is an application or service. The user obtains
responses or feeds from the cloud service.

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 2
Publs.: McGraw-Hill Education
IoT/M2M
Collect + Storage for
Device/
IoT/M2M the applications,
Sensor
Local Data services, enterprise and
Network
business processes User

Database Firewall
Internet Firewall
. and Intelligence Application
Device/
.
Sensor Communication User
.. Collect
Network Gateway Service
. from
things
User
Device/ Cloud Application
Sensor Infrastructure
.
Network and Services
2017
.Devices/Sensor Networks Data Collection at the Cloud Infrastructure and Services 3
.
Xively
• Pachube platform: for data capture in real-time over the
Internet
• Cosm: a changed domain name, where using a concept
of console, one can monitor the feeds
• Xively is the latest domain name

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 4
Publs.: McGraw-Hill Education
Cloud service instance

• Cloud service deploys an instance of server at Arduino


and other IoT sensor nodes platforms
• Provision for real-time data collection, data
visualisation, graphical plots, HTTP based APIs and
feed

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 5
Publs.: McGraw-Hill Education
IoT/M2M
.
Server. Local Collect + Storage for the
Instance
..
Files applications, services, enterprise and
Dedicated business processes and Intelligence
Device/

Database Firewall
Internet Firewall
Sensor Data Store/ Cloud User
Network Coordinating Infrastructure Application
node and Services
Device/ Central
Collect
Sensor Controller
Network Distributed Collect
Device/ Database from
Node User
Sensor things Service
Network Collect

Devices/Sensor Networks Data Collection at the Devices-network Web Server


2017
and at the Cloud infrastructure 6
Xively
• A commercial PaaS for the IoT/M2M
• A data aggregator and data mining website often
integrated into the Web of Things
• An IoT PaaS for services and business services.

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 7
Publs.: McGraw-Hill Education
Xively PaaS services
• Data visualisation for data of connected sensors to IoT
devices.
• Graphical plots of collected data.
• Generates alerts.
• Access to historical data
• Generates feeds which can be real-world objects of own or
others.

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 8
Publs.: McGraw-Hill Education
Xively HTTP based APIs
• Easy to implement on device hardware acting as clients to
Xively web services
• APIs connect to the web service and send data.
• APIs provides services for logging, sharing and displaying
sensor data of all

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 9
Publs.: McGraw-Hill Education
Xively Support
• The platform supports the REST, WebSockets and MQTT
protocols and connects the devices to Xively Cloud
Services
• Native SDKs for Android, Arduino, ARM mbed, Java,
PHP, Ruby, and Python languages
• Developers can use the workflow of prototyping,
deployment and management through the tools provided at
Xively
Chapter-6 L04: "Internet of Things " , Raj Kamal,
2017 10
Publs.: McGraw-Hill Education
Xively APIs
• Enable interface with Python, HTML5, HTML5 server,
tornado
• Interface with WebSocket Server and WebSockets
• Interface with an RPC (Remote Procedure Call)..

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 11
Publs.: McGraw-Hill Education
Xively PaaS services
• Enables services
• Business services platform which connects the products,
including collaboration products
• Rescue, Boldchat, join.me, and operations to Internet
• Data collection in real-time over Internet

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 12
Publs.: McGraw-Hill Education
Xively Methods for IoT Devices Data
• Concept of users, feeds, data streams, data points and
triggers
• Data feed typically a single location (e.g. a device or
devices network),
• Data streams are of individual sensors associated with
that location (for example, ambient lights,
temperatures, power consumption).
• Pull or Push (Automatic or Manual Feed)

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 13
Publs.: McGraw-Hill Education
Xively Data formats and Structures

• Number of data formats and structures enable the


interaction, data collection and services
• Support exists for JSON , XML (Section 3.3.3) and CSV
• Structures: Tabular, spreadsheet, Excel, Data numbers and
Text with a comma-separated values in file

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 14
Publs.: McGraw-Hill Education
Xively Uses in IoT/M2M

• Private and Public Data Access


• Data streams, Data points and Triggers
• Creating and Managing Feeds
• Visualising Data

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 15
Publs.: McGraw-Hill Education
Summary
We learnt
• Cloud service and infrastructure for user applications
and services
• Devices network local Web server and feeds, streams,
triggers and alerts to cloud service for usages by the
applications and services
• Xively (Pachube/COSM) Cloud PaaS service

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 16
Publs.: McGraw-Hill Education
Summary
We learnt
• Cloud service deploys an instance of server at Arduino
and other IoT sensor nodes platforms
• Real-time data collection
• Data visualisation
• Graphical plots

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 17
Publs.: McGraw-Hill Education
Summary
We learnt
• Xively data formats and structures
• Xively HTTP based APIs
• Xively REST, web sockets and web services

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 18
Publs.: McGraw-Hill Education
End of Lesson 4 on
Xively

Chapter-6 L04: "Internet of Things " , Raj Kamal,


2017 19
Publs.: McGraw-Hill Education

You might also like