16
Using an Open Source RESTful Backend for IoT Applications Bill Appleton Founder & CEO DreamFactory Software

Using an Open Source RESTful Backend for IoT Applications

Embed Size (px)

Citation preview

Page 1: Using an Open Source RESTful Backend for IoT Applications

Using an Open Source RESTful Backend for IoT Applications

Bill AppletonFounder & CEO

DreamFactory Software

Page 2: Using an Open Source RESTful Backend for IoT Applications

2

Agenda

What is REST?

What is an open source RESTful backend?

IoT Applications

Page 3: Using an Open Source RESTful Backend for IoT Applications

3

REST

• REST (Representational State Transfer) API• Architectural style for web and mobile Things to

connect with servers via RESTful services• Communicate over HTTP using HTTP verbs (GET,

POST, PUT, DELETE, etc.)• Returns JSON or XML

• Much more efficient than HTML

REST is the way the Internet works!

Page 4: Using an Open Source RESTful Backend for IoT Applications

4

DreamFactory REST API Platform

DreamFactory is an open source REST API backend that provides RESTful services for mobile, web, and IoT applications.

DreamFactory automatically generates a comprehensive palette of secure, reusable, customizable REST APIs to connect Things with data stores.

4

Page 5: Using an Open Source RESTful Backend for IoT Applications

555

DreamFactory connects any Thingwith any data source via secure RESTful backend services.

SDKs for iOS, Android, AngularJS, jQuery, Sencha, Titanium, and more.

Integrates with enterprise security controls and provides user management and granular access permissions. Can run on any server, on-prem or cloud.

Customize auto-generated REST APIs with pre- and post-processing scripting logic.

Auto-generates a comprehensive palette of customizable, secure, reusable REST APIs for any data source. Also generates live, interactive API docs.

Securely connect Things to SQL databases, NoSQL databases, file storage systems, and external web services.

Page 6: Using an Open Source RESTful Backend for IoT Applications

6666

Page 7: Using an Open Source RESTful Backend for IoT Applications

DSP IoT Applications

Page 8: Using an Open Source RESTful Backend for IoT Applications

Intel using DreamFactory to provide backend for Galileo Gateway

Using Node-RED for IoT wiring (http://nodered.org/)

Intel Solution Brief describes how to use DreamFactory Services Platform

DreamFactory is an Alliance Partner

Intel Galileo Board

8

Page 9: Using an Open Source RESTful Backend for IoT Applications

Designing Service Flow With Node-RED

Page 10: Using an Open Source RESTful Backend for IoT Applications

DreamFactory on Raspberry Pi 2

Run DSP on Raspberry Pi as an IoT Gateway

Use DSP to aggregate sensor data from multiple microcontrollers into localdata storage (MySQL on board)

Transform and normalize data periodically and upload it to a cloud database via DSP RESTful services

Analyze and visualize historical sensor data stored in the cloud

Page 11: Using an Open Source RESTful Backend for IoT Applications

Deployment Architecture

Raspberry Pi 2

Humidity Sensor

Arduino Uno 3

Temperature Sensor

Arduino Uno 3

Air Quality Sensor

Arduino Uno 3

ZigBeeWireless Links

11

Page 12: Using an Open Source RESTful Backend for IoT Applications

Software Architecture

Amazon DynamoDB

MongoDB

DreamFactory REST APIPlatform

S1

S2

S3

S4

DataAggregator

Daemon

Sensors

12

Page 13: Using an Open Source RESTful Backend for IoT Applications

DreamFactory in Industrial Control

FramTech provides IoT software to connect and manage industrial infrastructure.

Created tablet application for control and monitoring, written in AngularJS.

Created administrative application to program system written in Microsoft Windows.

Customers install backend server on premises or in the cloud.

13

Page 14: Using an Open Source RESTful Backend for IoT Applications

14

FramTech Solution Family Application

14

Page 15: Using an Open Source RESTful Backend for IoT Applications

Managing The Internet of Things

DeviceAdministration

SmartDevices

Alerts and Updates

PlatformAdministration

Service Platform

FramTechproducts

DreamFactory running in the cloud

or on premises

Mobile app usesREST API for monitoring

and controlling device

Device sensors provide data and receive information

via REST API

15

Page 16: Using an Open Source RESTful Backend for IoT Applications

16

The Open Source Backend for IoT

• REST is how the Internet works• DreamFactory provides secure, RESTful services

to connect Things with databases & other systems• Free, open source software (Apache License)

• Run on any server, on-premise or cloud• Connections available for all popular SQL, NoSQL, File

Storage, and external web services– Can build your own connectors! DSP project on GitHub

• https://github.com/dreamfactorysoftware/dsp-core

1616www.dreamfactory.com