25
Open Source IOT Data Platform. DeviceHive.

Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Embed Size (px)

Citation preview

Page 1: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Open Source IOT Data Platform.DeviceHive.

Page 2: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Hello!

● Senior Software Architect, Software Engineer @ DataArt

● DeviceHive developer

● Open Source IOT Data Platform

Page 3: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Yesterday...

● Devices were huge

● Energy consumption was high

● Was difficult to integrate

Page 4: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Today

● Miniature and Highly portable

● Energy harvesting & Ultra low power

● Many frameworks and tools that ease integration

Page 5: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Where are they?

● Everywhere!

○ Clean Tech;

○ Security & Surveillance;

○ Medicine & Health Care;

○ and many other places!

Page 6: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Technical Challenges

● Rely on industry adopted formats/protocols

● Concentrate on business functionality

● Choose the right tool

Page 7: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

What DeviceHive is

● Device management platform

● Security and access management

● Open source product started by DataArt (https://github.com/devicehive)

Page 8: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

DeviceHive IoT Toolkit

● Cloud connectivity

● GPIO support

● BLE

● and more

Page 9: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Typical Solution Architecture

Page 10: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Connecting all together

● Nikolay, ESP8266 connectivity

● Tanya, SensorTag and analytics in Apache Zeppelin

● Sergey, Sensors and StreamTools

Page 11: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Device Integration with ESP8266

● Small

● Cheap

● Ready Firmware

Page 12: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Short demonstration - Connectivity

https://www.youtube.com/watch?v=IRj4tOfLTAM

Page 13: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

AllJoyn Integration

DeviceHive AllJoyn Bridge

BLE EnOcean OnlineService

Device Device VirtualDevice

AllJoynDevice

AllJoynDevice

AllJoynDevice

Page 14: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Real time analytics

Sensors

SensorsGateway

DeviceHive DataQueue

RuleEngine Storage

Web Dashboard

Notification Engine

Page 15: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Sensor Tag & Analytics

Page 16: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Sensor Tag & Stream Tools demo

https://www.youtube.com/watch?v=XiT9vsW7qwg

https://www.youtube.com/watch?v=NUf85VBFQCM

Page 17: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Data

● Timestamped

● Immutable

● Sent on a very high rate

Page 18: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Let’s do a small demo

Websocket/REST Websocket/REST

Page 19: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Analytics Online data processing implemented using spark streaming analytical jobs.

Device notifications received through the Kafka queue interface and then fed into the aggregations.

Aggregation results are then sent to the frontend layer.

Page 20: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Real time dashboards

Websocket transfer

Akka streams is used to transfer data from Kafka queue to the websocket, and expose real time aggregated values available to web frontend.

Frontend uses D3 library to draw USA map and charts.

Page 21: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Let’s go to the web page

Page 22: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Enhancing our env

● Data Storage: Cassandra, InfluxDB

● Real dashboards: StreamTools, Grafana

● and more

Page 23: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Let’s put little bit more...

● TICK stack (telegraf, influxdb, ...)

● Grafana

Page 24: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Next steps

● turn on your imagination

● get the device and make our environment smarter

Page 25: Rafael Zubairov- Open Source IoT Data Platform with the wide range of device integration options

Thank you very much!

DeviceHive: http://devicehive.com/

Contact: [email protected]