• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Remote Control Framework for Smart Home Components, HS Offenburg
 

Remote Control Framework for Smart Home Components, HS Offenburg

on

  • 1,454 views

 

Statistics

Views

Total Views
1,454
Views on SlideShare
1,209
Embed Views
245

Actions

Likes
0
Downloads
24
Comments
0

3 Embeds 245

http://de.droidcon.com 240
http://m.de.droidcon.com 3
http://translate.googleusercontent.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Remote Control Framework for Smart Home Components, HS Offenburg Remote Control Framework for Smart Home Components, HS Offenburg Presentation Transcript

    • Hochschule Offenburg University of Applied Sciences An android based remote control framework for smart home components Prof. Dr. Hartwig Grabowski hartwig.grabowski@hs-offenburg.de
    • Hochschule Offenburg University of Applied SciencesSmarthomeThe home residential gateway is the core component Residential Gateway:  Core component  Connecting devices / appliances  Controlling devices  Offering (intelligent) services  Serving as a bridge to the outer world  Providing UI  Support (hot) service deployment  …Source: http://www.jvrb.org/4.2007/111014.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 2
    • Hochschule Offenburg University of Applied SciencesSmarthomeMany requirements must be fulfilled to pave the way to mass market Residential Gateway – a long way to go:  (Open) platform for building new services  Widely accepted by industry  Godfather pushing the technology  SDK (emulator, etc.) and community  Market for services  Low-cost hardware through mass-marketSource: http://www.jvrb.org/4.2007/111014.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 3
    • Hochschule Offenburg University of Applied SciencesSmarthomeAndroid already fulfills the demands Android provides:  (Open) platform for building new services  Widely accepted by industry  Godfather pushing the technology  SDK (emulator, etc.) and community  Market for Services  Low-cost hardware through mass-marketSource: http://www.jvrb.org/4.2007/111014.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 4
    • Hochschule Offenburg University of Applied SciencesSmarthomeThe residential gateway can be substituted Substitute residential gateway by Smartphone + WLAN-DSL-Router + appliance controller:Source: http://www.jvrb.org/4.2007/111014.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 5
    • Hochschule Offenburg University of Applied SciencesSmarthomeThree components build the “new” residential gateway Smartphone The intelligence:  Offers UI  Implements the “smart” services  “Low-cost” hardware (~100 €) WLAN-Router The connector:  Connectivity: LAN and WAN  “Low-cost” hardware, already available Appliance Controller The controller:  Connectivity: Home Appliances  “Low-cost”(?) hardware (~200 €)14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 6
    • Hochschule Offenburg University of Applied SciencesSmarthomeA large set of sensors and actuators is already available actuators HTTP FS20 power power blinds heating switch dimmer control … sensors EZcontrol XS1 door temp. wind water contacts … FS20 Source: http://www.ezcontrol.de14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 7
    • Hochschule Offenburg University of Applied SciencesSmarthomeThe android device can be used in-house and out-house Laptop, PC, printer multimedia internet home appliances14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 8
    • Hochschule Offenburg University of Applied SciencesThe android frameworkThere are three major domains for smarthome applications power metering surveillance Security Energy remote control Comfort14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 9
    • Hochschule Offenburg University of Applied SciencesEnergySmart metering is demanded power metering surveillance Security Energy remote control Comfort14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 10
    • Hochschule Offenburg University of Applied SciencesEnergySmart metering option 1: replace current power meters by smart meters Limited acceptance:  Cost intensive  Lost of privacy  Bound to energy provider  No open platform / access to data14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 11
    • Hochschule Offenburg University of Applied SciencesEnergySmart metering option 2: update current power meters web-server in the cloud14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 12
    • Hochschule Offenburg University of Applied SciencesEnergyAll computation (UI, forecasts, etc.) is implemented on the android device14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 13
    • Hochschule Offenburg University of Applied SciencesThe android frameworkThree domains for smarthome applications power metering surveillance Security Energy remote control Comfort14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 14
    • Hochschule Offenburg University of Applied SciencesRemote controlThe remote control app provides basic functionality actuators … sensors …14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 15
    • Hochschule Offenburg University of Applied SciencesRemote controlThe remote control app implements the basic functions The app serves as a interface to the appliance controller All available functions are to be implemented  Remote control of actuators  Receive data from sensors  Add components sensors / actuators  Remove components sensors / actuators  Subscription service: Automatically inform about new events14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 16
    • Hochschule Offenburg University of Applied SciencesRemote controlThe remote control app offers intuitive user interface With the remote control app, basic control function can be executed: Login-screen: List all actuators List all sensors configure once14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 17
    • Hochschule Offenburg University of Applied SciencesRemote controlThe subscription service is implemented through chunked encoding How to push information without having a server running on the mobile device? Use the HTTP chunked encoding: - the Content-Length header is not used - server transmits response with dynamically-generated “chunks” - The size of each chunk is sent right before the chunk - The data transfer is terminated by a final chunk of length zero.14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 18
    • Hochschule Offenburg University of Applied SciencesRemote controlThe subscription service is implemented as an android service Implementation of HTTP chunked encoding:  HTTP connection is left open “endless”  Implemented as an android service, running in the background.  Service records the events in a list  Activity reads the recorded list.14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 19
    • Hochschule Offenburg University of Applied SciencesRemote control”Smart services” can be easily build on top of the basic functions smart services additional functions set of basic functions actuators … QR-Codes proximity macros alert + sensors … ? … timer sensors functions14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 20
    • Hochschule Offenburg University of Applied SciencesRemote controlSmart service example 1: QR-codes + power switch smart services You:(web-interface) Me: (android app)14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 21
    • Hochschule Offenburg University of Applied SciencesRemote controlSmart service example 1: QR-codes + power switch smart services take picture extract tag, start app, toggle the obtain switch-id jump to switch switch14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 22
    • Hochschule Offenburg University of Applied SciencesRemote controlSmart service example 2: QR-code + gravity sensor + dimmer smart services14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 23
    • Hochschule Offenburg University of Applied SciencesRemote controlMultimedia What about multimedia? - It’s all there already! Samsung Remote LG Remote Grundig Remote … … …14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 24
    • Hochschule Offenburg University of Applied SciencesThe android frameworkThree domains for smarthome applications power metering surveillance Security Energy remote control Comfort14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 25
    • Hochschule Offenburg University of Applied SciencesSecurityOne stationary device is needed Laptop, PC, printer multimedia internet home appliances Source: http://www.monitorhalterung.de/14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 26
    • Hochschule Offenburg University of Applied SciencesSecurityThe stationary device is used for computation and notification home area sensors webcam outside actuator (fake) TV push notification: SMS or C2DM sensors door contacts motion detection computation wind, humidity, … & notification actuator binds, lights, etc.14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 27
    • Hochschule Offenburg University of Applied SciencesThe android frameworkHow to bring the bricks together? Just start the external app ( LAUNCHER intent ) Security Comfort Implicit intents / open intents ( onActivityResult() ) Energy Multimedia Programmatically (source code available)14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 28
    • Hochschule Offenburg University of Applied SciencesConclusionNavigation systems are going to be substituted by mobile devices. Residentialgateways will be substituted, too. Android offers all we need.14.2.2012 Hartwig Grabowski, droidcon Berlin, 2012 29
    • Hochschule Offenburg University of Applied SciencesThank you! 30
    • Hochschule Offenburg University of Applied SciencesAppendix 31