SlideShare a Scribd company logo
DEVNET-1163	Data in Motion APIs
Create a Hello World with
Data in Motion
David A. Maluf, Ph.D.
DEVNET-1163
• Introduction
• Paradigm Shift At the Edge
• Examples and Use Cases
• Programming Data in Motion
• Create a Hello World Now
• Q & A
Agenda
Introduction
Data in Motion and IoT
• The Internet of Things (IoT) is a computing concept that describes a future
where everyday physical objects will be connected to the Internet and be able to
identify themselves to other devices.
• Cisco Data in Motion (DMo) is a software technology that provides data
management and first-order analysis at the edge.
• Cisco Data in Motion provides mechanisms to capture data and control flows
within the network translating data into information and ultimately into knowledge
for use by higher order applications within a system.
Paradigm Shift with Edge Intelligence
Unified Platform
Network Compute Storage
CLOUD CLOUDEDGE
STORE ANALYZE ACT NOTIFY
Examples and Use Cases
Railway Systems
Fear of Derailment
Underutilized Equipment
Immediate Response
to Equipment Failure
Real-time Health Status
of Trains
REPLACE
BEARINGS
CAR 07
Poor Leak Detection
Limitations in Network
Connectivity
Costly Maintenance
and Management
Proactive Leak Detection
Predictive Management
S6 | C026 Pressure
Drop
kPa
ACTION
REQUIRED
ENERGYUSE
HIGH
LOW
MONDAY FRIDAYTHURSDAYTUESDAY WEDNESDAY
ENERGYUSE
HIGH
LOW
20-30% Energy Cost Savings
MONDAY FRIDAYTHURSDAYTUESDAY WEDNESDAY
Programming Data in
Motion
Data In Motion Model (details)
• Context: Sandbox for an
application with separate URP
allowing for the creation and
interaction of multiple data analysis
operations.
• Dynamic Data Definitions (aka
D3): A set of patterns, rules, and
actions for a specific analysis task.
Multiple D3s may exist within a
single context and reference each
other for compound or recursive
analysis.
Context
D3 D3 D3
D3 D3 D3
D3
The D3 Model (details)
• Dynamic Data Definition involve the
relationship of three simple concepts
• Pattern
• Condition
• Action
D3
Pattern
Protocol Patterns
Condition
Content (aka Payload)
Parameters – Output of
Operations
Action
Event (Condition Met)
Call Another D3 within
Context
Send to Dynamic Data
Stream
Dynamic Data Request
Timer
Call Another D3 within
Context
Send to Dynamic Data
Stream
Dynamic Data Request
The D3 Model (details)
• Dynamic Data Definition involve the
relationship of three simple concepts
• Pattern
• Condition
• Action
• Ultimately this breaks down into:
• Meta information
• Network definition
• Application to monitor
• Action(s) to take
D3
Meta (1)
D3_Id, Context_ID, Processing Method (Timer, Cache)
Network (01)
Filterby: (protocol {tcp/ip, UDP}
Source/Dest IP, Source/Dest Port (multiple ANDed)
Decode: (variable A=first 8 Bits, var B=next 16 bits, etc….)
Application (01)
Filterby:
Protocol: http
Field: content-type:json, etc.
Content
Example: variable Temperature>56
Action (>1)
Type: Primitive
payload
Header
Type: Procedure
FetchData
Gpsupdate()
syslog
Type: Timed
FetchData
Gpsupdate()
syslog
The D3 Model (details)
Sensors
Cloud
DataCenter
D3
Meta (1)
D3_Id, Context_ID, Processing Method (Timer, Cache)
Network (01)
Filterby: (protocol {tcp/ip, UDP}
Source/Dest IP, Source/Dest Port (multiple ANDed)
Decode: (variable A=first 8 Bits, var B=next 16 bits, etc….)
Application (01)
Filterby:
Protocol: http
Field: content-type:json, etc.
Content
Example: variable Temperature>56
Action (>1)
Type: Primitive
payload
Header
Type: Procedure
FetchData
Gpsupdate()
syslog
Type: Timed
FetchData
Gpsupdate()
syslog
{JSON : {
Rules can express:
Predicates and Filters
Data / Information
conversion
Summarization
Pattern Matching
Categorization &
Classification
Event Trigger analysis
Notifications
}}
• Putting it Together
www.slideshare.net/kartben/whats-new-at-eclipse-iot-eclipsecon-2014
Data in Motion API as an Open Source Project
• Krikkit initiative originates from Cisco
Data in Motion project
 Promotion of Data in Motion products and
Data in Motion proliferation across industry
 Maintain Leadership in industry for IoT efforts
 IoT does not have many Standards and Open
Source is way to accelerate IoT innovations
with Cisco products
 Krikkit is the public API for Data in Motion
»http://eclipse.org/proposals/technology.krikkit/
Create Hello World with
Data in Motion
DEVNET-1163	Data in Motion APIs
DEVNET-1163	Data in Motion APIs
DEVNET-1163	Data in Motion APIs
DEVNET-1163	Data in Motion APIs
DEVNET-1163	Data in Motion APIs
Login To DMo
Login Page
Point your browser to the IP address
unique to your workstation
http://[your unique IP]:8000
Requires an IP address of the DMo
instance, the port number, a context and
the associated password:
IP: 127.0.0.1
Port: 443
Context Name: dmolab
Context Password: dmo123
Clean Start
An Empty Context
We need to make sure there are no
pre-existing rules.
A Programmed Context
if your screen looks similar to
the screen below, please click
the Trash Can Icon and Delete
rules.
Create a Timer Rule
Polling a Sensor
Most Real life sensors are Asynchronous,
as a result, we need to create a timer rule
that will poll the sensors to retreive the
Data.
A timer rule is a process that runs
periodically (units in millseconds and
above) and estabishes a connection to the
sensor.
Verifying the Timer Rule
The JSON Payload
if you want to see what the resulting
JSON code would look like, you can
press the 'see JSON' button.
Create an Event Rule
Turn LED ON
Now that we have Setup a Timer Rule and we are
polling the Sensors for Data.
We will need to create an Event Rule to apply a filter to
the data coming back from the sensor and take action
depending on the data value.
• Filter Data
• Turn LED OFF [output Port0] when light Sensor
[input Port1] is Dimmed [Value < 100]
Create another Event Rule
Turn LED OFF
Now that we have turned the LED ON when Dimming
the light on the sensor, we would like to turn the LED
back off when the Light Sensor is lit
• Filter Data
• Turn LED OFF [output Port0] when light Sensor
[input Port1] is not Dimmed [Value > 100]
Bonus Lab
• Setup a Rule that will turn the LED ON when Pressing on the Pressure Sensor
[Pressure Threshold > 10]
• Setup another Rule that will turn the LED OFF when depressing the Pressure
Sensor [Pressure Threshold < 10]
• Useful Information
• LED is on [Output Port 1]
• LED value 0 Turns OFF
• LED value 1 Turns ON
• Pressure Sensor is on [Input Port 1]
Thank you
DEVNET-1163	Data in Motion APIs

More Related Content

PPTX
Cisco Multi-Service FAN Solution
PDF
Time Sensitive Networks: How changes to standard Ethernet enable convergence ...
PPTX
Webnesday - Introduction to LoRaWAN
PPT
Zigbee intro v5
PPTX
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
PPT
OMA Lightweight M2M Tutorial
PDF
Quantum firewall as a service open stack havana design summit, portland 2013
PDF
Lekha_WaveGuru_Intro_ver2
Cisco Multi-Service FAN Solution
Time Sensitive Networks: How changes to standard Ethernet enable convergence ...
Webnesday - Introduction to LoRaWAN
Zigbee intro v5
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
OMA Lightweight M2M Tutorial
Quantum firewall as a service open stack havana design summit, portland 2013
Lekha_WaveGuru_Intro_ver2

What's hot (20)

PPTX
The LightweightM2M Ecosystem
PPTX
61850easy Test Tool for IEC 61850 Networks & Systems
PDF
Track 3 session 8 - st dev con 2016 - music and voice over ble
PPTX
Elastic Software Infrastructure to Support the Industrial Internet
PDF
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
PPTX
How the fusion of time sensitive networking, time-triggered ethernet and data...
PDF
Lte-m Sierra Wireless V1
PDF
Upgrade Your System’s Security - Making the Jump from Connext DDS Professiona...
PDF
Track 1 session 2 - st dev con 2016 - dsp concepts - innovating iot+wearab...
PPTX
Practical Examples of LoRaWAN in Action
PDF
seminar
PDF
Малоресурсная криптография - Сергей Мартыненко
PDF
IEC61850: Use of IEC61850 to telecontrol MV grids (Presentation)
PPTX
A10 Capabilities Overview(2015-05-29)
PPTX
High throughput implementations of cryptography algorithms on GPU and FPGA
PDF
Industrial Internet of Things: Protocols an Standards
PPTX
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
PPTX
Machine learning in optical
PPTX
Introduction to RTI DDS
PPTX
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
The LightweightM2M Ecosystem
61850easy Test Tool for IEC 61850 Networks & Systems
Track 3 session 8 - st dev con 2016 - music and voice over ble
Elastic Software Infrastructure to Support the Industrial Internet
Track 3 session 6 - st dev con 2016 - qualcomm - wi-fi connectivity for iot
How the fusion of time sensitive networking, time-triggered ethernet and data...
Lte-m Sierra Wireless V1
Upgrade Your System’s Security - Making the Jump from Connext DDS Professiona...
Track 1 session 2 - st dev con 2016 - dsp concepts - innovating iot+wearab...
Practical Examples of LoRaWAN in Action
seminar
Малоресурсная криптография - Сергей Мартыненко
IEC61850: Use of IEC61850 to telecontrol MV grids (Presentation)
A10 Capabilities Overview(2015-05-29)
High throughput implementations of cryptography algorithms on GPU and FPGA
Industrial Internet of Things: Protocols an Standards
Building the Internet of Things with Thingsquare and Contiki - day 1, part 3
Machine learning in optical
Introduction to RTI DDS
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
Ad

Viewers also liked (20)

PDF
Elsevier Juist interview
PPTX
DEVNET-1115 Learning@Cisco: Developers + IT Professional: The Future of the I...
PPTX
Presenting my edited photographs
PDF
Premier Health Brochure
PDF
2016 06 Radboud Technology Centers
PDF
Video becomes a fundamental service and the industry needs to adapt
PDF
2016-07 Interview Medisch Contact
PPTX
50 aniversario colegio 28 junio 2016 presentación claustro parte mario
PDF
Digital in apac sep 2016
PDF
Social media to Social Business
PDF
Cac ky thuat_dieu_che_4543
PPTX
Top 20: What Not To Do During An Interview
PDF
Social trends 2016
PPTX
DevNet UX Creative Design 101 workshop
PDF
Bijlage 2-shell-ffs-reactor
PPT
3 dalis. kas yra besimokantis miestas vaizdine medziaga svietejams
PPTX
Consumer Protection
PPTX
Modales y comportamiento social para tener una buena personalidad.
PDF
Theory of urbanism and architecture
PPT
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Elsevier Juist interview
DEVNET-1115 Learning@Cisco: Developers + IT Professional: The Future of the I...
Presenting my edited photographs
Premier Health Brochure
2016 06 Radboud Technology Centers
Video becomes a fundamental service and the industry needs to adapt
2016-07 Interview Medisch Contact
50 aniversario colegio 28 junio 2016 presentación claustro parte mario
Digital in apac sep 2016
Social media to Social Business
Cac ky thuat_dieu_che_4543
Top 20: What Not To Do During An Interview
Social trends 2016
DevNet UX Creative Design 101 workshop
Bijlage 2-shell-ffs-reactor
3 dalis. kas yra besimokantis miestas vaizdine medziaga svietejams
Consumer Protection
Modales y comportamiento social para tener una buena personalidad.
Theory of urbanism and architecture
Sviesuva vaizdine medziaga svietiejams 1 dalis 2013
Ad

Similar to DEVNET-1163 Data in Motion APIs (20)

PDF
Data in Motion - tech-intro-for-paris-hackathon
PPT
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
PPT
Intelligent Data Processing for the Internet of Things
PPTX
Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...
PPTX
PROf TEJAS PADGHAN ICEEM ch. sambhajinagar
PDF
Architecture 4 Wireless Sensor Networks
PPT
Data Modeling and Knowledge Engineering for the Internet of Things
PPT
Lecture 6: IoT Data Processing
PPT
Data Modelling and Knowledge Engineering for the Internet of Things
KEY
Creating the Internet of Things with JavaScript - Fluent Conf
PPT
Intelligent Data Processing for the Internet of Things
PPT
paper presentation _ survey of wireless sensor netwrok
PPTX
Spark streaming for the internet of flying things 20160510.pptx
PDF
IOT_MODULE_4.pd easy to understand notes
PPTX
Data Driven Action : A Primer on Data Science
PDF
Dynamic Wireless Sensor Networks 1st Edition Sharief Ma Oteafy
PDF
Using Spark and Riak for IoT Apps—Patterns and Anti-Patterns: Spark Summit Ea...
PDF
Construire une « data fabric » pour les environnements edge
PPTX
Internet of things v1.2
PPTX
Io t platform-infotech_arpanpal
Data in Motion - tech-intro-for-paris-hackathon
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Intelligent Data Processing for the Internet of Things
Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...
PROf TEJAS PADGHAN ICEEM ch. sambhajinagar
Architecture 4 Wireless Sensor Networks
Data Modeling and Knowledge Engineering for the Internet of Things
Lecture 6: IoT Data Processing
Data Modelling and Knowledge Engineering for the Internet of Things
Creating the Internet of Things with JavaScript - Fluent Conf
Intelligent Data Processing for the Internet of Things
paper presentation _ survey of wireless sensor netwrok
Spark streaming for the internet of flying things 20160510.pptx
IOT_MODULE_4.pd easy to understand notes
Data Driven Action : A Primer on Data Science
Dynamic Wireless Sensor Networks 1st Edition Sharief Ma Oteafy
Using Spark and Riak for IoT Apps—Patterns and Anti-Patterns: Spark Summit Ea...
Construire une « data fabric » pour les environnements edge
Internet of things v1.2
Io t platform-infotech_arpanpal

More from Cisco DevNet (20)

PPTX
How to Contribute to Ansible
PPTX
Rome 2017: Building advanced voice assistants and chat bots
PPTX
How to Build Advanced Voice Assistants and Chatbots
PPTX
Cisco Spark and Tropo and the Programmable Web
PPTX
Device Programmability with Cisco Plug-n-Play Solution
PPTX
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
PPTX
Application Visibility and Experience through Flexible Netflow
PPTX
WAN Automation Engine API Deep Dive
PPTX
Cisco's Open Device Programmability Strategy: Open Discussion
PPTX
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
PPTX
NETCONF & YANG Enablement of Network Devices
PPTX
UCS Management APIs A Technical Deep Dive
PPTX
OpenStack Enabling DevOps
PPTX
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
PPTX
Getting Started: Developing Tropo Applications
PPTX
Cisco Spark & Tropo API Workshop
PPTX
Coding 102 REST API Basics Using Spark
PPTX
Cisco APIs: An Interactive Assistant for the Web2Day Developer Conference
PPTX
DevNet Express - Spark & Tropo API - Lisbon May 2016
PPTX
DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016
How to Contribute to Ansible
Rome 2017: Building advanced voice assistants and chat bots
How to Build Advanced Voice Assistants and Chatbots
Cisco Spark and Tropo and the Programmable Web
Device Programmability with Cisco Plug-n-Play Solution
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Application Visibility and Experience through Flexible Netflow
WAN Automation Engine API Deep Dive
Cisco's Open Device Programmability Strategy: Open Discussion
Open Device Programmability: Hands-on Intro to RESTCONF (and a bit of NETCONF)
NETCONF & YANG Enablement of Network Devices
UCS Management APIs A Technical Deep Dive
OpenStack Enabling DevOps
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
Getting Started: Developing Tropo Applications
Cisco Spark & Tropo API Workshop
Coding 102 REST API Basics Using Spark
Cisco APIs: An Interactive Assistant for the Web2Day Developer Conference
DevNet Express - Spark & Tropo API - Lisbon May 2016
DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
A Presentation on Artificial Intelligence
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Empathic Computing: Creating Shared Understanding
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Diabetes mellitus diagnosis method based random forest with bat algorithm
A Presentation on Artificial Intelligence
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
Empathic Computing: Creating Shared Understanding
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf

DEVNET-1163 Data in Motion APIs

  • 2. Create a Hello World with Data in Motion David A. Maluf, Ph.D. DEVNET-1163
  • 3. • Introduction • Paradigm Shift At the Edge • Examples and Use Cases • Programming Data in Motion • Create a Hello World Now • Q & A Agenda
  • 5. Data in Motion and IoT • The Internet of Things (IoT) is a computing concept that describes a future where everyday physical objects will be connected to the Internet and be able to identify themselves to other devices. • Cisco Data in Motion (DMo) is a software technology that provides data management and first-order analysis at the edge. • Cisco Data in Motion provides mechanisms to capture data and control flows within the network translating data into information and ultimately into knowledge for use by higher order applications within a system.
  • 6. Paradigm Shift with Edge Intelligence Unified Platform Network Compute Storage CLOUD CLOUDEDGE STORE ANALYZE ACT NOTIFY
  • 8. Railway Systems Fear of Derailment Underutilized Equipment
  • 9. Immediate Response to Equipment Failure Real-time Health Status of Trains REPLACE BEARINGS CAR 07
  • 10. Poor Leak Detection Limitations in Network Connectivity Costly Maintenance and Management
  • 11. Proactive Leak Detection Predictive Management S6 | C026 Pressure Drop kPa ACTION REQUIRED
  • 13. ENERGYUSE HIGH LOW 20-30% Energy Cost Savings MONDAY FRIDAYTHURSDAYTUESDAY WEDNESDAY
  • 15. Data In Motion Model (details) • Context: Sandbox for an application with separate URP allowing for the creation and interaction of multiple data analysis operations. • Dynamic Data Definitions (aka D3): A set of patterns, rules, and actions for a specific analysis task. Multiple D3s may exist within a single context and reference each other for compound or recursive analysis. Context D3 D3 D3 D3 D3 D3 D3
  • 16. The D3 Model (details) • Dynamic Data Definition involve the relationship of three simple concepts • Pattern • Condition • Action D3 Pattern Protocol Patterns Condition Content (aka Payload) Parameters – Output of Operations Action Event (Condition Met) Call Another D3 within Context Send to Dynamic Data Stream Dynamic Data Request Timer Call Another D3 within Context Send to Dynamic Data Stream Dynamic Data Request
  • 17. The D3 Model (details) • Dynamic Data Definition involve the relationship of three simple concepts • Pattern • Condition • Action • Ultimately this breaks down into: • Meta information • Network definition • Application to monitor • Action(s) to take D3 Meta (1) D3_Id, Context_ID, Processing Method (Timer, Cache) Network (01) Filterby: (protocol {tcp/ip, UDP} Source/Dest IP, Source/Dest Port (multiple ANDed) Decode: (variable A=first 8 Bits, var B=next 16 bits, etc….) Application (01) Filterby: Protocol: http Field: content-type:json, etc. Content Example: variable Temperature>56 Action (>1) Type: Primitive payload Header Type: Procedure FetchData Gpsupdate() syslog Type: Timed FetchData Gpsupdate() syslog
  • 18. The D3 Model (details) Sensors Cloud DataCenter D3 Meta (1) D3_Id, Context_ID, Processing Method (Timer, Cache) Network (01) Filterby: (protocol {tcp/ip, UDP} Source/Dest IP, Source/Dest Port (multiple ANDed) Decode: (variable A=first 8 Bits, var B=next 16 bits, etc….) Application (01) Filterby: Protocol: http Field: content-type:json, etc. Content Example: variable Temperature>56 Action (>1) Type: Primitive payload Header Type: Procedure FetchData Gpsupdate() syslog Type: Timed FetchData Gpsupdate() syslog {JSON : { Rules can express: Predicates and Filters Data / Information conversion Summarization Pattern Matching Categorization & Classification Event Trigger analysis Notifications }} • Putting it Together
  • 19. www.slideshare.net/kartben/whats-new-at-eclipse-iot-eclipsecon-2014 Data in Motion API as an Open Source Project • Krikkit initiative originates from Cisco Data in Motion project  Promotion of Data in Motion products and Data in Motion proliferation across industry  Maintain Leadership in industry for IoT efforts  IoT does not have many Standards and Open Source is way to accelerate IoT innovations with Cisco products  Krikkit is the public API for Data in Motion »http://eclipse.org/proposals/technology.krikkit/
  • 20. Create Hello World with Data in Motion
  • 26. Login To DMo Login Page Point your browser to the IP address unique to your workstation http://[your unique IP]:8000 Requires an IP address of the DMo instance, the port number, a context and the associated password: IP: 127.0.0.1 Port: 443 Context Name: dmolab Context Password: dmo123
  • 27. Clean Start An Empty Context We need to make sure there are no pre-existing rules. A Programmed Context if your screen looks similar to the screen below, please click the Trash Can Icon and Delete rules.
  • 28. Create a Timer Rule Polling a Sensor Most Real life sensors are Asynchronous, as a result, we need to create a timer rule that will poll the sensors to retreive the Data. A timer rule is a process that runs periodically (units in millseconds and above) and estabishes a connection to the sensor.
  • 29. Verifying the Timer Rule The JSON Payload if you want to see what the resulting JSON code would look like, you can press the 'see JSON' button.
  • 30. Create an Event Rule Turn LED ON Now that we have Setup a Timer Rule and we are polling the Sensors for Data. We will need to create an Event Rule to apply a filter to the data coming back from the sensor and take action depending on the data value. • Filter Data • Turn LED OFF [output Port0] when light Sensor [input Port1] is Dimmed [Value < 100]
  • 31. Create another Event Rule Turn LED OFF Now that we have turned the LED ON when Dimming the light on the sensor, we would like to turn the LED back off when the Light Sensor is lit • Filter Data • Turn LED OFF [output Port0] when light Sensor [input Port1] is not Dimmed [Value > 100]
  • 32. Bonus Lab • Setup a Rule that will turn the LED ON when Pressing on the Pressure Sensor [Pressure Threshold > 10] • Setup another Rule that will turn the LED OFF when depressing the Pressure Sensor [Pressure Threshold < 10] • Useful Information • LED is on [Output Port 1] • LED value 0 Turns OFF • LED value 1 Turns ON • Pressure Sensor is on [Input Port 1]

Editor's Notes

  • #7: This new fog layer will create a paradigm shift in the network infrastructure. Today, businesses deploy three disparate devices for their networking, computing, and storing. Fog introduces a concept to combine all those devices into a single unified platform—instead of having to manage three things, companies will just worry about one. Fog also shifts how data is processed. Today, data is first transmitted to the cloud and stored. From there, it’s analyzed and commands are sent to act upon that information, then operators are notified. Fog helps overcome the costly need to constantly move data around and allows analysis and notification to occur before the critical information in stored to meet compliance and regulation policies. We believe this is all critical in accelerating the Internet of Things and today we’re excited to share with you our role in making this reality.
  • #9: Whether it’s a passenger train in a bustling city or a freight train slithering through the mountainside, news of derailment is a tragic story. You may have heard about the fatal train accident in New York City’s Bronx or the recent incident in Philadelphia where a train hauling crude oil was dangling over a river. The US federal government has seen more oil spilled in rail incidents in 2013 than was spilled in the nearly four decades since it began collecting data. The demand for preventative measures is greater than ever. Train derailment is typically due to equipment failure, specifically in the ball bearings of a wheel. Today, train operators have routine schedules to swap out wheels and engines without fully knowing if the equipment is used beyond repair. Or in worse case scenarios, damaged equipment is not replaced in time to prevent failure and accidents. In addition to performance, train operators face fierce competition from alternative transportation providers and must find ways to offer better amenities and services to retain and attract new passengers. These are just a few of the concerns rail companies are hoping IoT and Cisco will address.
  • #10: So if we go back to the examples we shared with you earlier, an 819 router sitting on a freight train can monitor the ball-bearings and monitor the utility of bearing to let you know if its overheating or has worn down to 35% of useful material. An alert can be sent to the train operator notifying him to pull over at the next available station or to stop and repair the wheel. UK Rail, $21B per year to operate
  • #11: If oil companies are not stressing over potential spills from train derailments, they fear the damage and lost revenue from a major pipeline spill. In some parts of the world, oil pipelines stretch across thousands of kilometers carrying hundreds of thousands barrels of oil per day. Today, pipeline leaks are discovered days after the initial spill and only because someone in a near by community complains about a foul odor in the air. Pipelines aren’t the only things suffering from undetected leaks. In recent news, a storage unit at a chemical plant spilled 7,500 gallons of toxic substance into the ground, leaving 300,000 West Virginia residents without usable water for days. These are three of many examples we’ve heard from our customers and we believe that they can overcome these challenges by connecting their trains, traffic lights, or pipeline sensors to the network. These companies need more than the ability to connect, they need a way to manage the terabytes of data and send commands to respond to critical alerts without compromising the speed of sending the commands and adding significant costs to move the data around the network. This requires a new way in how data is computed and stored.
  • #12: Cisco IOx offers a way to deploy data aggregation and other critical applications across those thousands of kilometers of oil pipelines. Sensors can monitor pressure measurements, flow rates, or video footage of the surrounding area. If pressure were to drop or if the video captures fluid pooling on the ground, commands can be sent right on the pipeline to slow down the pumping of oil and send an alert to dispatch the closest maintenance crew.
  • #13: Manufacturing plants use a lot of energy and, when they go above a certain utilization rate, they’re charged more per unit of energy. So if they can figure out how to even out their usage to avoid spikes, they can save money. Right now, most manufacturers have a separate IT set-up and a separate network for the manufacturing plant versus headquarters. To shave those energy peaks you need to know a few things. First, you need to know what’s going to be built when. That information comes from the “Master Execution Scheduler” which is kept on the proprietary manufacturing network. But you also want to know what’s been committed to customers so you don’t save money on energy yet drive away customers in the process. That information is in your ERP system on your corporate network. And then you want to know how changing the schedule might affect labor costs, so you don’t lose all the money you saved on energy, making the whole exercise pointless. For that, you need information from your HR system, also on your corporate network. Then you need to analyze the information.  
  • #14: Once you’ve brought all the right systems together, you can build an application with thresholds and policies that alert operators to an approaching peak and show gaps in the schedule—times they could push the production load to. Or they can shift production to another plant with more capacity. But that requires adjusting supply chain, MRP, and the factory build plan to compensate without impacting customer commitments or desired inventory levels. Or they can check the power co-generation system to see if they can keep production high but use co-gen energy to avoid the peak. But something interesting happens, once you’ve created your killer app….