16
TELECOM ITALIA GROUP Controlling the Smart Home from the VSDL Home Gateway: opportunities and lack of standards W3Ctrack @www2016 [email protected]

Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

TELECOM ITALIA GROUP

Controlling the Smart Home from the VSDL Home Gateway: opportunities and lack of standards

W3Ctrack @www2016

[email protected]

Page 2: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

2

Smart objects and Smart Home: application domains

SMART HOME

SECURITY

ENERGY

ENTERTAINMENTASSISTED LIVING

HOME AUTOMATION &CONFORT

Page 3: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

3

Smart Objects communication patterns and market strategies

• Commercial Smart objects mainly follow communication patterns which happen to help creating and protecting walled gardens

• This is leading to an ecosystem of non-interoperable vertical silos which constrains the ability to create new composite services and to get closer to users’ real needs

• What happens to personal data? Does it make sense that a service provider gets to know each time I switch on and off a light bulb at home?

Page 4: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

4

Smart Objects communication patterns

• Device-to-Gateway: vendors provide «smart objects» normally to be linked to proprietary gateways, often non IP based devices with pros and cons

• Device-to-Cloud: vendors provide «smart objects» that need to connect to a service provider cloud, often with Back End data sharing pattern

• Device-to-Device: vendors provide devices which are capable to talk to each other without proxying features

Page 5: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

5

Why using a Telco Home gateway to control the smart home could be a good idea?

• It is already there and can rely on an established customer caring network

• It can let users decide whether or not sharing their personal data with cloud service providers without affecting their QoE

• Users are not obliged to introduce more gateways/hardware in their houses besides the smart objects

• Maybe integrating with telephony is not a bad idea and increases confidence

• Telcos have no interest in creating more fragmentation, but rather offer this as a commodity for customer retention.

Page 6: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

6

A Smart Home enabled VSDL router prototype

PSTNtrunking

Internet

IP PBX

TIM Smart Home Gateway

3G 4G

5G

Page 7: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

7

Controlling the Smart Home from a VSDL Router

Internet

XDSL

PSTN

3G 4G 5G

3-4-5G

Page 8: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

8

TIM Smart Home GatewayRESTful API

Gateways

Status Socket

TIMgateway(PHP)Data

Model

Status Listener (Py)

GW1 GW2 GW3 GW4 GW5 GW6

Devices &Services

D1 D4Service B

D2

Service A

D3

Let’s try to put some order: a losing game

Information and data model

Software stack

Hardware

IP PBX signaling layer Signaling layer

Page 9: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

9

TIM Smart Home Gateway signaling module

• Signaling and its scalability and reliability is mandatory in order to connect and orchestrate an increasing number of smart objects

• Deployed VSDL modems are already voice over IP (SIP) enabled

• SIP Trunking resolves NAT transversal issues

Page 10: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

10

TIM Smart Home Gateway Modules

RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client. Device of the same type can be controlled with the same command set, regardless of vendor, subgateway etc. looking forward to W3C recommendations here

TIMgateway: PHP module responsible of «translating» the homogenous commands interface from the client into the proper commands for the target device.

Status Listener: Python Module responsible of monitoring events sent by Gateways via subscriptions technologies such as SSE or Websocket

Status Socket: Python Module responsible of exposing events to clients via WebSocket in a uniform format, regardless of subgateway and device.

TIM Smart Home GatewayRESTful API Status Socket

TIMgateway(PHP)

DataModel

Status Listener (Py)

Page 11: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

11

Gateways Layer and dialects’ translation

A set of Sub-Gateways (aka ALG), providing access primitives and radio interfaces,

has already been integrated and is supported by the platform:

• QIVICON : Platform powered by DT, Device Interfaces available: Zigbee, Homematic, Ip

• FlexGateway Hardware by Flex, Jemma Software onboard (OSGI based), Zigbee Radio Interface

plus

• Openhab2: openHAB is a Java based software which provides an extensible sw abstraction layer for Smart home service developers to manage heterogeneous smart objects without having to speak their numerous specific dialects

GatewaysGW1 GW2 GW3 GW4 GW5 GW6

Page 12: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

12

Simplified starting point

TIM Smart Home GatewayTI GatewayPlane

Propietary Gateway

Plane

DevicePlane

GW1 GWn

12

3

5

4 67

TIM modem router

Page 13: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

13

Simplified target Architecture

TIM Smart Home GatewayTI GatewayPlane

DevicePlane

12

3

5

4

6

7

TIM modem router

Page 14: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

Thanks

Page 15: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

15

Devices Integration StatusName Type Vendor Protocol Radio GW Integrated Note

eQ3 PowerMeter Sw/Act Smart Plug eQ3 HomeMatic Qivicon Cli -> TIGW -> Qivicon

eQ3 Dimming Actuator Smart Plug eQ3 HomeMatic Qivicon Cli -> TIGW -> Qivicon

eQ3 Door Sensor Door Sensor eQ3 HomeMatic Qivicon Cli -> TIGW -> Qivicon

eQ3 Motion Sensor Motion Sensor eQ3 HomeMatic Qivicon Cli -> TIGW -> Qivicon

eQ3 Magnetic Contact Door Sensor eQ3 HomeMatic Qivicon Cli -> TIGW -> Qivicon

Philips Hue Hue/Color Philips Zigbee Light Link

Philips Cli -> TIGW -> QIVICONCli -> TIGW -> Philips

Samsung Smart TV SmartTV Samsung TCP/IP Cli -> TIGW -> DeviceCli -> TIGW -> QIVICON

Osram Lightify Bulb Smart Light Osram Zigbee Qivicon Cli -> TIGW -> Qivicon

Osram Led Strip Smart Light Osram Zigbee Qivicon Cli -> TIGW -> Qivicon

Osram Gardenspot Dimming Light Osram Zigbee Qivicon Cli -> TIGW -> Qivicon

CleoBee Zmove Motion Sensor Cleode Zigbee Cli->TIGW->FlexGw

CleoBee Zmove Motion Sensor

FlexPlug(2X) SmartPlug Flexplug FlexPlug FlexGateway

Cli->TIGW->FlexGw

4Noks Zr-Plug-EU-Eh SmartPlug with metering

4-noks Zigbee FlexGateway

Cli->TIGW->FlexGwCli->TIGW->QIVICON

Bitron Home Plug (2x) SmartPlug BitronHome

Page 16: Controllingthe Smart Home from the VSDL Home Gateway · 10 TIM Smart Home Gateway Modules RESTful API: PHP module responsible of offering an homogeneous interface to the mobile client.Device

16

Devices Needing more Investigation

Name Type Vendor Protocol Integration Notes

CleoBee Zmove Motion Sensor Cleode Zigbee Cli->TIGW->FlexGw

CleoBee Zlight (2x) Two Light Controller Cleode Zigbee Power Supply?

CleoBee Zdoor Door Sensor Cleode Zigbee Does not pair with Zload / Qivicon

CleoBee ZRC CleoBeeMotion Sensor

Cleode Zigbee Power Supply

CleoBee Zload Gateway Cleode Zigbee/Usb

Successfully installed on windows, does not pair with Door Sensor (could not try other)

FlexPlug(2X) SmartPlug Flexplug FlexPlug Cli->TIGW->FlexGw

4Noks Zr-Plug-EU-Eh SmartPlug with metering

4-noks Zigbee Cli->TIGW->FlexGwCli->TIGW->QIVICON

WinkHub Gateway WinkHub ??? Does not work without «LINKHUB» providing Wifi connection.