building your own internet of things with the littlebits salesforce connector
TRANSCRIPT
Building your own Internet of Things
With the open source LittleBits Salesforce Connector
Andrew Fawcett
CTO, Salesforce MVP
@andyinthecloud
About
GREAT ALONE. BETTER TOGETHER.
• Native to Salesforce1™ Platform
since 2009
• Investors include Salesforce Ventures
• 650+ employees, San Francisco based
2
Follow the Session in the Dreamforce App, I
will share this slide deck and other related
links on the Feed.
Be social and feel free to ask follow up
questions!
Session Resources
Session Overview
What is the Internet of Things and what do I need to do?
What is LittleBits?
What is the LittleBits Connector and why was it created?
IoT Examples with LittleBits and Salesforce
• Marketing Kiosk Activity Tracker
• Sales Target Progress Tracker
• Closing the Deal with a Handshake
Summary
Q&A
What is the definition of the term and where did it come from?
What is the Internet of Things?
“The Internet of Things (IoT, sometimes Internet of Everything)
is the network of physical objects or "things" embedded with
electronics, software, sensors, and connectivity to enable objects to
exchange data with the manufacturer, operator and/or other
connected devices”
https://en.wikipedia.org/wiki/Internet_of_Things, http://www.gartner.com/newsroom/id/2905717
“Gartner Says 4.9 Billion Connected "Things" Will Be in Use in 2015”
“The term “Internet of Things”
was coined by British entrepreneur
Kevin Ashton in 1999”
Gartner press releases
What is the Internet of Things?
https://en.wikipedia.org/wiki/Internet_of_Things, http://www.gartner.com/newsroom/id/2905717
How can I be ready for this?
What is the Internet of Things?
1. Use the Salesforce platform!
2. API’s API’s API’s Understand and embrace
Salesforce API’s, Apex, REST API etc..
3. Follow market trends on device adoption
and installation and look for ways to add
value through your solution!
4. Ensure you enable others to add value via
Salesforce platform integration!
5. Get your teams having fun with IoT to
spark new ideas, why not buy some
LittleBits devices to prototype!
How can I connect my favorite cloud platform to it?
What is LittleBits?
http://developers.littlebitscloud.cc/
Why was it created?
What is the LittleBits Connector for Salesforce?
Merry Christmas Salesforce MVP’s!
IFTTT powerful, but limited to Chatter
Started an Apex Wrapper round REST API!
Salesforce Connector was born! #clicksnotcode
How is a LittleBits Device controlled over the Internet?
LittleBits Architecture
LittleBits
Cloud and
REST API
Device Control *
Device Interactions **
* Devices must be registered with LittleBits Cloud by owner
** Device events / interactions must be subscribed to in order to receive them
Button!
Motor!
What are its main features?
LittleBits Connector Overview
Process Builder Salesforce Reports
Automation Flows
Marketing Kiosk Activity Tracker Show a report with statistics on how much foot activity the kiosk received.
The hardware!
Marketing Kiosk Activity Tracker
What bits are needed?
CloudBit x 2
DC Motor x 1
Motion Sensor x 1
(also USB Power Bit x 2, Mounting
Board x 2 and USB Charge)
Long Led Light x 1
Time to visit the kiosk!!
Marketing Kiosk Activity Tracker
1. Move in front of the sensor
- Logs movement in Salesforce
- The Kiosk logo spins!
2. Review data captured
- Review Salesforce Dashboard
The hardware!
Sales Target Progress Tracker
What bits are needed?
CloudBit x1
Servo x1
Number Display x1
(also USB Power Bit, Mounting
Board and USB Charger)
Time to close those deals!!!
Sales Target Progress Tracker
1. Go to this URL…
https://littlebits-demo/closeopps
2. Closed Won those Opportunities!
Watch the indicator move!
Closing the Deal with a Handshake!Close with a firm hand shake and save yourself the time in updating Salesforce!
The hardware!
Closing the Deal with a Handshake!
What bits are needed?
CloudBit x1
Servo x1
Makey Makey x1
(also USB Power Bit, Mounting
Board and USB Charger)
Lets close the last deal with a hand shake!
Closing the Deal with a Handshake!
1. Hold the Wakey Wakey clips
In one hand per person
2. Shake on it!
Closes the circuit
Thumbs up popup appears
Opportunity is closed
Sales Target Tracker meets its target!
A closer look under the hood…
LittleBits Connector Architecture
Salesforce Reports
Process Builder
Automation Flows
Invocable MethodMaking HTTP Callout to
LittleBits Cloud API
Apex Scheduled Jobs(run reports via Apex Analytics API)
HTTP Callout to LittleBits Cloud API
Apex REST API(exposed via Force.com Sites)
LittleBits Cloud Engine calls this
The open source software!
Building your own IoT!
https://github.com/afawcett/littlebits-connector
Follow the Session in the Dreamforce App, I will share
this slide deck and other related links on the Feed.
Be social and feel free to ask follow up questions!
Thank you! Here are your session resources…
Twitter: andyinthecloud
Blog: andyinthecloud.com
Software: https://github.com/afawcett/littlebits-connector
Hardware: http://littlebits.cc/