SlideShare a Scribd company logo
HomeWeb: An Application
   Framework for Web-based
        Smart Homes
Andreas Kamilaris, Vlad Trifa and Andreas Pitsillides
Networks Research Laboratory, University of Cyprus
Motivation                                              University of Cyprus




• Merging of computing with physical things.
• The Internet can reach out into the real world.
• The Internet of Things.
• Most of the current smart home solutions do not involve
  open systems and have been developed to provide
  solutions to some application-specic scenarios (medical,
  care for the elderly).
• How to interconnect heterogeneous embedded devices?
• What about interoperability? Flexibility?
The Internet for Home Automation                                                              University of Cyprus




                          X10               KNX             ZigBee                     IPv6
 Network Size             2^8               2^16             2^16                 2^64 per subnet
  Data Rate               20b/s            9.6kb/s        20-250kb/s        250kb/s...1Gb/s
   Interface        custom solutions      app-level    app-level gateway UDP, TCP,      RESTful
                                          gateway                                Web
    Cost                  low               high            medium                low
 Installation             low                high             low                      low
  Overhead
 Connectivity             low              medium           medium                     high
   Security               none               high           medium                   medium



“Internet technology, utilizing IPv6, will become the future standard
 in home automation.”

Matthias Kovatsch et al., Embedding Internet Technology for Home Automation, in
Proceedings of ETFA, Bilbao, Spain, September 2010.
Background Information                                  University of Cyprus




The Web of Things is about reusing well-accepted and
understood Web principles to interconnect the quickly
expanding ecosystem of embedded devices, built into
everyday smart things.

The WoT practice mainly follows these steps:
2. Connect embedded devices to the Internet,
   through IPv4 or IPv6.
3. Embed Web servers on these devices.
4. Model their services in a resource-oriented way.


Directly Web-enabling devices Vs using a Gateway.
Background Information                                      University of Cyprus




REST is a lightweight architectural style which basically
defines how to use the HTTP application protocol as an
application interface to the world of smart objects.

A Resource-oriented Architecture is about four concepts:
2. Resources.
3. Their names (URIs).
4. The links between them.
5. Their representations (HTML, JSON, XML).

Resources can be manipulated with:
2. GET to retrieve a representation of a resource.
3. POST represents an insert or update.
4. PUT to alter the state of a resource.
5. DELETE to delete resources.
Building a Web-based Smart Home                       University of Cyprus




• Use the Web as a standard, to realize the notion of the
  smart home.
• Development of a resource-oriented application framework
  for future smart homes.
• Utilization of REST.
• Support for concurrent, multiple Web clients.
• The framework promotes the creation of physical mashups
  in any programming language that supports HTTP.
HomeWeb Architecture                     University of Cyprus




           HomeWeb Client Application
                  Restlet-GWT



                 XML        JSON



                    Web API

          Server Application Framework




                       Restlet
System Architecture                                                          University of Cyprus



              Resource URI   Parameters     REST Method     Return Value
              Temperature         -            GET              text/plain
                                                  The HomeWeb
               Humidity           -            GET Applicationtext/plain
                        Bedroom
              Illumination        -            GET              text/plain

                 Leds        Color (Red,       PUT              text/plain
                             Green, Blue)


                        Laundry Room                 Bathroom




• IPv6-based Wireless Sensor Network of Telosb sensor motes.
            Living Room

• Implementation in TinyOS using blip.      Kitchen
• Each sensor is a small Web server, which offers sensing
  services through a RESTful interface.
• All interactions with embedded devices are done via standard
  HTTP requests.
Web-enabling Sensor Devices                           University of Cyprus




• Device Discovery:
  • Multicast Discovery Protocol.
  • Similar to WS-Discovery.
  • Transmit a single URL instead of a heavy
    SOAP/XML payload.

• Service Description:
   • Web Applications Description Language (WADL).
   • Similar to WSDL.
   • An XML-based language that provides a machine-
     readable description of HTTP-based Web
     applications.
Web-enabling Sensor Devices                                University of Cyprus




• Web Messaging for Event-driven Scenarios:
  • Pull Vs Push.
  • Client-server model not appropriate for event-driven
    scenarios.
  • RESTful Message System (RMS) is a push-based,
    lightweight publish/subscribe messaging, suited for
    embedded devices.

• HTTP Caching:
  • Integrate a Web cache in HomeWeb framework.
  • Works only for GET requests using the expiration
    model for determining freshness of resources.
Putting them all together…   University of Cyprus
Putting them all together…                                         University of Cyprus




“If the illumination in the living room is less than 50% and the

temperature in the kitchen is greater than 25 degrees, then turn
on the red led of sensor7 and the green led of sensor6.”
Evaluation                                               University of Cyprus




 • Multiple family members are interacting concurrently with
   their home devices through the Web.
 • Four sensor devices in a star topology around the base
   station.
Preliminary Evaluation                                          University of Cyprus




                                                  1.6

                                                  1.4

                                                  1.2




                                 Time (seconds)
                                                   1

                                                  0.8

                                                  0.6

                                                  0.4

                                                  0.2

                                                   0

                                                        REST   SOAP




• A multi-hop Web-based IPv6 WSN deployment inside a real
  smart home environment.
• REST Vs WS-*
Concluding Remarks                                       University of Cyprus




 • The Web has the potential to become a standard in home
   automation.
 • An IPv6-based WSN installation in home area networks is
   feasible and it offers acceptable performance.
 • The application of Web technologies such as HTTP caching
   and push techniques in the WSN domain can improve
   overall performance.
 • Wide-scale connectivity and interoperability are guaranteed.
Future Work                                                                                    University of Cyprus




• More thorough evaluation.
• Incorporate more advanced technology in HomeWeb
  (residential smart meters, lighting/HVAC control).
• Towards the design of energy-efficient, sustainable, flexible
  and secure Web-based smart homes.
• Web-based smart homes as real-time platforms, to engage
  people to sense and shape their urban environment, for the
  vision of a real-time, digital city*.




 * Andreas Kamilaris, Nicolas Iannarilli, Vlad Trifa, and Andreas Pitsillides. Bridging the Mobile
 Web and the Web of Things in Urban Environments. In Urban Internet of Things Workshop, at
 IoT 2010, November 2010.
Thanks for your attention!


Contact Details: Andreas Kamilaris (camel9@gmail.com)

More Related Content

PDF
Internet of Threads (IoTh), di Renzo Davoli (VirtualSquare)
PDF
Cloud Networking is not Virtual Networking - London VMUG 20130425
DOCX
Design and development of a telemanipulated welding robot with visual and hap...
PDF
Addressing the Complexity of M2M Projects using Multi-Service Gateways and M2...
PDF
M2M Application Enablement with the Everyware Cloud Platform
PDF
Cuencas final
PDF
Boletim BE Dez 2009
PPTX
Presentación1 constructivismo ruso
Internet of Threads (IoTh), di Renzo Davoli (VirtualSquare)
Cloud Networking is not Virtual Networking - London VMUG 20130425
Design and development of a telemanipulated welding robot with visual and hap...
Addressing the Complexity of M2M Projects using Multi-Service Gateways and M2...
M2M Application Enablement with the Everyware Cloud Platform
Cuencas final
Boletim BE Dez 2009
Presentación1 constructivismo ruso

Viewers also liked (20)

PDF
Catalogo_Horeco
PDF
Trendy v UX designu světových médií
PPT
Françoise gouzi digitalhumanities
PDF
NP Acuerdo PTE-FFL-SPAIN y PACKNET por la innovación en IAB a través de envas...
PPTX
PDF
L'email retargeting avec Squadata
PDF
6 Pd Plei N° 018 210906 Plano Diretor Do Csa
PPT
Que se necesita para este tema
PDF
AvaPartner
PPS
L’eau dans le monde
PPTX
Jayda
PDF
PDF
Minh Le - GW Solar Symposium 2012
PDF
CLASS 2016 - Palestra Rafael Sampaio
PDF
Con Aruba, a lezione di cloud #lezione 26 - parte 2: Private Cloud Firewall
DOC
CONTROL CLOUD DATA ACCESS PRIVILEGE AND ANONYMITY WITH FULLY ANONYMOUS ATTRIB...
PPT
Cis108 Conjuntos12003 B
PDF
Customer Engagement Masterclass: In-Store Clienteling
PDF
Guía de incentivos a la implantación en brasil
PPTX
Smart home
Catalogo_Horeco
Trendy v UX designu světových médií
Françoise gouzi digitalhumanities
NP Acuerdo PTE-FFL-SPAIN y PACKNET por la innovación en IAB a través de envas...
L'email retargeting avec Squadata
6 Pd Plei N° 018 210906 Plano Diretor Do Csa
Que se necesita para este tema
AvaPartner
L’eau dans le monde
Jayda
Minh Le - GW Solar Symposium 2012
CLASS 2016 - Palestra Rafael Sampaio
Con Aruba, a lezione di cloud #lezione 26 - parte 2: Private Cloud Firewall
CONTROL CLOUD DATA ACCESS PRIVILEGE AND ANONYMITY WITH FULLY ANONYMOUS ATTRIB...
Cis108 Conjuntos12003 B
Customer Engagement Masterclass: In-Store Clienteling
Guía de incentivos a la implantación en brasil
Smart home
Ad

Similar to HomeWeb: An Application Framework for Web-based Smart Homes (20)

PPTX
PhD Defense: Enabling Smart Homes Using Web Technologies
PPT
Social Networking of the Smart Home
PPTX
Internet of Things
PDF
The Web of Things
PPTX
RestThing: A Restful Web Service Infrastructure for Mash-up Physical and Web ...
PDF
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
PDF
Building Efficient HPC Clouds with MCAPICH2 and RDMA-Hadoop over SR-IOV Infin...
PPTX
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
PDF
D1-3-Signaling
PDF
Part 2 OCLC Strategic Presentation Bruce Crocco ACURIL 2011
PDF
Bringing Wireless Sensing to its full potential
PDF
【Cisco OpenStack Seminar 2015.10.26】 OpenStack as Strategy for future growth
PDF
ION Mumbai - Srinivas Gudipudi: IPv6 - A Transformation Journey
PDF
Sntvt sentivate presentation_blockfyre
PPTX
Feec telecom-nw-softwarization-aug-2015
PPTX
Web Scale Applications using NeflixOSS Cloud Platform
PDF
We don't need consensus: All agreed?
PPT
PPTX
Global Data Stream Network for Internet of Things
PPTX
(R)evolution of the computing continuum - A few challenges
PhD Defense: Enabling Smart Homes Using Web Technologies
Social Networking of the Smart Home
Internet of Things
The Web of Things
RestThing: A Restful Web Service Infrastructure for Mash-up Physical and Web ...
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Building Efficient HPC Clouds with MCAPICH2 and RDMA-Hadoop over SR-IOV Infin...
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
D1-3-Signaling
Part 2 OCLC Strategic Presentation Bruce Crocco ACURIL 2011
Bringing Wireless Sensing to its full potential
【Cisco OpenStack Seminar 2015.10.26】 OpenStack as Strategy for future growth
ION Mumbai - Srinivas Gudipudi: IPv6 - A Transformation Journey
Sntvt sentivate presentation_blockfyre
Feec telecom-nw-softwarization-aug-2015
Web Scale Applications using NeflixOSS Cloud Platform
We don't need consensus: All agreed?
Global Data Stream Network for Internet of Things
(R)evolution of the computing continuum - A few challenges
Ad

More from Andreas Kamilaris (20)

PDF
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
PPTX
Transferring manure from livestock farms to be used as fertilizer in crop fields
PPTX
Training deep learning models to count using synthetic images
PPTX
Geospatial Analysis and Internet of Things in Environmental Informatics
PPTX
A Review on the Application of Natural Computing in Environmental Informatics
PPTX
The evolution of pervasive computing towards a Web of Things
PPTX
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
PPTX
Estimating the Environmental Impact of Agriculture by means of Geospatial and...
PPTX
Disaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
PPTX
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
PPTX
Big data analysis and Integration of Geophysical information from the Catalan...
PPTX
Estimating the Impact of Agriculture on the Environment of Catalunya by means...
PPTX
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
PPTX
Do ”Web of Things Platforms” Truly Follow the Web of Things?
PPTX
WOTS2E: A Search Engine for a Semantic Web of Things
PPTX
Enabling the physical world to the Internet and potential benefits for agricu...
PPTX
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
PPTX
Social Electricity User Manual
PPTX
Social Electricity
PPTX
Social Electricity Online Platform (SEOP) EU Project Description
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
Transferring manure from livestock farms to be used as fertilizer in crop fields
Training deep learning models to count using synthetic images
Geospatial Analysis and Internet of Things in Environmental Informatics
A Review on the Application of Natural Computing in Environmental Informatics
The evolution of pervasive computing towards a Web of Things
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
Estimating the Environmental Impact of Agriculture by means of Geospatial and...
Disaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
Big data analysis and Integration of Geophysical information from the Catalan...
Estimating the Impact of Agriculture on the Environment of Catalunya by means...
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
Do ”Web of Things Platforms” Truly Follow the Web of Things?
WOTS2E: A Search Engine for a Semantic Web of Things
Enabling the physical world to the Internet and potential benefits for agricu...
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
Social Electricity User Manual
Social Electricity
Social Electricity Online Platform (SEOP) EU Project Description

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Encapsulation_ Review paper, used for researhc scholars
Understanding_Digital_Forensics_Presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

HomeWeb: An Application Framework for Web-based Smart Homes

  • 1. HomeWeb: An Application Framework for Web-based Smart Homes Andreas Kamilaris, Vlad Trifa and Andreas Pitsillides Networks Research Laboratory, University of Cyprus
  • 2. Motivation University of Cyprus • Merging of computing with physical things. • The Internet can reach out into the real world. • The Internet of Things. • Most of the current smart home solutions do not involve open systems and have been developed to provide solutions to some application-specic scenarios (medical, care for the elderly). • How to interconnect heterogeneous embedded devices? • What about interoperability? Flexibility?
  • 3. The Internet for Home Automation University of Cyprus X10 KNX ZigBee IPv6 Network Size 2^8 2^16 2^16 2^64 per subnet Data Rate 20b/s 9.6kb/s 20-250kb/s 250kb/s...1Gb/s Interface custom solutions app-level app-level gateway UDP, TCP, RESTful gateway Web Cost low high medium low Installation low high low low Overhead Connectivity low medium medium high Security none high medium medium “Internet technology, utilizing IPv6, will become the future standard in home automation.” Matthias Kovatsch et al., Embedding Internet Technology for Home Automation, in Proceedings of ETFA, Bilbao, Spain, September 2010.
  • 4. Background Information University of Cyprus The Web of Things is about reusing well-accepted and understood Web principles to interconnect the quickly expanding ecosystem of embedded devices, built into everyday smart things. The WoT practice mainly follows these steps: 2. Connect embedded devices to the Internet, through IPv4 or IPv6. 3. Embed Web servers on these devices. 4. Model their services in a resource-oriented way. Directly Web-enabling devices Vs using a Gateway.
  • 5. Background Information University of Cyprus REST is a lightweight architectural style which basically defines how to use the HTTP application protocol as an application interface to the world of smart objects. A Resource-oriented Architecture is about four concepts: 2. Resources. 3. Their names (URIs). 4. The links between them. 5. Their representations (HTML, JSON, XML). Resources can be manipulated with: 2. GET to retrieve a representation of a resource. 3. POST represents an insert or update. 4. PUT to alter the state of a resource. 5. DELETE to delete resources.
  • 6. Building a Web-based Smart Home University of Cyprus • Use the Web as a standard, to realize the notion of the smart home. • Development of a resource-oriented application framework for future smart homes. • Utilization of REST. • Support for concurrent, multiple Web clients. • The framework promotes the creation of physical mashups in any programming language that supports HTTP.
  • 7. HomeWeb Architecture University of Cyprus HomeWeb Client Application Restlet-GWT XML JSON Web API Server Application Framework Restlet
  • 8. System Architecture University of Cyprus Resource URI Parameters REST Method Return Value Temperature - GET text/plain The HomeWeb Humidity - GET Applicationtext/plain Bedroom Illumination - GET text/plain Leds Color (Red, PUT text/plain Green, Blue) Laundry Room Bathroom • IPv6-based Wireless Sensor Network of Telosb sensor motes. Living Room • Implementation in TinyOS using blip. Kitchen • Each sensor is a small Web server, which offers sensing services through a RESTful interface. • All interactions with embedded devices are done via standard HTTP requests.
  • 9. Web-enabling Sensor Devices University of Cyprus • Device Discovery: • Multicast Discovery Protocol. • Similar to WS-Discovery. • Transmit a single URL instead of a heavy SOAP/XML payload. • Service Description: • Web Applications Description Language (WADL). • Similar to WSDL. • An XML-based language that provides a machine- readable description of HTTP-based Web applications.
  • 10. Web-enabling Sensor Devices University of Cyprus • Web Messaging for Event-driven Scenarios: • Pull Vs Push. • Client-server model not appropriate for event-driven scenarios. • RESTful Message System (RMS) is a push-based, lightweight publish/subscribe messaging, suited for embedded devices. • HTTP Caching: • Integrate a Web cache in HomeWeb framework. • Works only for GET requests using the expiration model for determining freshness of resources.
  • 11. Putting them all together… University of Cyprus
  • 12. Putting them all together… University of Cyprus “If the illumination in the living room is less than 50% and the temperature in the kitchen is greater than 25 degrees, then turn on the red led of sensor7 and the green led of sensor6.”
  • 13. Evaluation University of Cyprus • Multiple family members are interacting concurrently with their home devices through the Web. • Four sensor devices in a star topology around the base station.
  • 14. Preliminary Evaluation University of Cyprus 1.6 1.4 1.2 Time (seconds) 1 0.8 0.6 0.4 0.2 0 REST SOAP • A multi-hop Web-based IPv6 WSN deployment inside a real smart home environment. • REST Vs WS-*
  • 15. Concluding Remarks University of Cyprus • The Web has the potential to become a standard in home automation. • An IPv6-based WSN installation in home area networks is feasible and it offers acceptable performance. • The application of Web technologies such as HTTP caching and push techniques in the WSN domain can improve overall performance. • Wide-scale connectivity and interoperability are guaranteed.
  • 16. Future Work University of Cyprus • More thorough evaluation. • Incorporate more advanced technology in HomeWeb (residential smart meters, lighting/HVAC control). • Towards the design of energy-efficient, sustainable, flexible and secure Web-based smart homes. • Web-based smart homes as real-time platforms, to engage people to sense and shape their urban environment, for the vision of a real-time, digital city*. * Andreas Kamilaris, Nicolas Iannarilli, Vlad Trifa, and Andreas Pitsillides. Bridging the Mobile Web and the Web of Things in Urban Environments. In Urban Internet of Things Workshop, at IoT 2010, November 2010.
  • 17. Thanks for your attention! Contact Details: Andreas Kamilaris (camel9@gmail.com)