Creation of Smart Device Gateways Final Talk Maximilian Geissler - - PowerPoint PPT Presentation

creation of smart device gateways
SMART_READER_LITE
LIVE PREVIEW

Creation of Smart Device Gateways Final Talk Maximilian Geissler - - PowerPoint PPT Presentation

Lehrstuhl fr Netzarchitekturen und Netzdienste Institut fr Informatik Technische Universitt Mnchen Creation of Smart Device Gateways Final Talk Maximilian Geissler Chair for Network Architectures and Services Department for Computer


slide-1
SLIDE 1

Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik Technische Universität München

Creation of Smart Device Gateways

Final Talk Maximilian Geissler

Chair for Network Architectures and Services Department for Computer Science Technische Universität München

August 12, 2015

slide-2
SLIDE 2

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

2

Content

q Overview & Motivation q Analysis q Related work q Smart Device Gateway Design q Implementation of a Smart Device Gateway q Demo q Evaluation q Future work q Contributions

slide-3
SLIDE 3

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

3

Overview & Motivation

q Research area § Building Automation Systems (BAS) § Home Automation Systems § Home Automation devices: Temperature sensors, wall switches, remote controlled power outlets, infrared remote controlled devices, Philips Hue, … q Motivation: Interconnect Home Automation devices from different manufacturers

slide-4
SLIDE 4

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

4

Analysis

q Building Automation Systems § Large scale: LonWorks, KNX, BACnet § Small scale: X10, CEBus, HomeMatic, RWE SmartHome q Current situation § BAS from many different manufacturers § Most BASs are incompatible to other BASs q Research questions § Connect software applications to BAS devices § Overcome heterogeneity of BAS à Solution needed: Smart Device Gateways

slide-5
SLIDE 5

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

5

Analysis: Requirements

slide-6
SLIDE 6

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

6

Analysis: Requirements

F = Functional requirement, N = Non-functional requirement

slide-7
SLIDE 7

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

7

Related work

q openHAB v1 § Open Home Automation Bus § Control and monitoring of Home Automation devices § RESTful API q DS2OS § Distributed Smart Space Orchestration System § Stores and distributes state context between networked devices § Simple Java interface q Assessment (functional requirements):

slide-8
SLIDE 8

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

8

Hardware

q Analysis of various Home Automation protocols q Signal analysis with software defined radio (SDR) § Hardware: RTL2832U based DVB-T stick § Software: RTLSDR, GNU Radio and HDSDR q Analyzed protocols q Results lead to hardware design § Software controlled transceivers § Protocol drivers: Homegear, pilight and LIRC

Protocol Devices using the protocol Physical layer (OSI) Pollin Pollin power outlets 433 MHz, AM, OOK BidCoS HomeMatic devices 868 MHz, FM, BPSK NEC, RC-5 IR remote controlled devices, e.g. TV 940nm, 38 KHz

slide-9
SLIDE 9

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

9

Design: Software: Architecture

Web application Control script Software applications IR transceiver 433 MHz transceiver 868 MHz transceiver Hardware Pollin HomeMatic IR remote controlled devices Power outlet Power outlet Power outlet Samsung TV Switch Software SmartDeviceGateway

Details: Next page

slide-10
SLIDE 10

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

10

Design: Software: Architecture

SmartDeviceGateway Software Hardware 433 MHz transceiver IR transceiver 868 MHz transceiver Interface Driver CLI Protocol Adapter Bus <-> Driver CLI InterfaceBinding Interface Driver RESTful API Protocol Adapter Bus <-> Driver RESTful API InterfaceBinding Cacheable Storage Pollin ProtocolBinding Protocol Adapter Driver <-> Bus Protocol Driver pilight IR ProtocolBinding Protocol Adapter Driver <-> Bus Protocol Driver LIRC HomeMatic ProtocolBinding Protocol Adapter Driver <-> Bus Bus Protocol Driver Homegear

slide-11
SLIDE 11

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

11

Design: Software: API

q HTTP REST API q Server push is possible, e.g. using WebSocket à R10 can be fulfilled q Fulfills functional requirements R5, R6, R7, (R10) and R19 q Resource hierarchy: /devices GET /add POST /discover GET /<device> GET, POST, DELETE /state GET, POST /addons GET /repo GET /add POST /<addon> GET, POST, DELETE /settings GET, POST /status GET

slide-12
SLIDE 12

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

12

Implementation

q Software § Protocol drivers: Homegear, pilight and LIRC § Integration software: openHAB § Protocol adapters: openHAB Bindings

  • Homegear:

HomeMatic Binding exists

  • pilight:

Implemented using Exec Binding

  • LIRC:

Implemented using Exec Binding q Hardware § Picture on next slide

slide-13
SLIDE 13

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

13

Demo

Switching Pollin power outlets on and off with a HomeMatic switch using a Smart Device Gateway.

433 MHz transceiver IR transceiver 868 MHz transceiver Raspberry Pi CUL

slide-14
SLIDE 14

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

14

Evaluation

ß ß ß ß ß

à Solution works

slide-15
SLIDE 15

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

15

Future work

q Implementation of proposed API (R5, R14) § Let external applications control and monitor Smart Device Gateways § Installing and removing protocol drivers remotely q Interconnect multiple SDGs (R13) § Redundancy § Extend radio range q Integrate into DS2OS § Home Automation devices available in DS2OS

slide-16
SLIDE 16

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

16

Contributions

q Requirements for Smart Device Gateways q Overview of existing approaches q Assessment of existing solutions: DS2OS and openHAB q Overview and assessment of state-of-the-art technology q Software design § Architecture for Smart Device Gateways § API for external applications q Hardware design q Implementation of a Smart Device Gateway q Assessment of implementation (evaluation)

Questions?

slide-17
SLIDE 17

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

17

Creation of Smart Device Gateways Maximilian Geissler max.geissler@tum.de Thank you for your attention! Thanks to

  • Dr. Marc-Oliver Pahl (Advisor)
  • Prof. Dr.-Ing. Georg Carle (Supervisor)

Thank you

slide-18
SLIDE 18

Maximilian Geissler - Creation of Smart Device Gateways - BA Final Talk

18

References