network offering only 9600b/s. The maximum simul-
taneous HTTP requests is limited by the Raspberry
Pi. Nonetheless, we believe that the measured value
is largely sufficient for common BMS operation. Fi-
nally, we observed a fast event response time that
would typically allow a BMS to function in reactive
mode. We can see that all the results are suitable for
such an installation and that the Raspberry Pi has to be
considered as an alternative to classical PCs running
gateways or serving as middleware.
A potential limitation of our proposition lies in
the DNS approach which implies access to the DNS
server of the host IP network. Such access may be
restricted by security policies in which case a ded-
icated DNS server has to be made available for the
gateway. A second issue is related to the security of
our gateway where currently no authentication is im-
plemented. An authentication layer based on access
lists could be a solution to this.
Some developers have actually built small appli-
cations interacting with the KNX devices through our
gateway, this in various languages. Their feedback
were positive, showing the benefits of leveraging on
standardized and well-accepted protocols to reduce
the integration time of KNX devices on a BMS. Some
developers asked us to extend the event notification
system for recording on the gateway a series of val-
ues, and to be notified once the buffer being full or af-
ter a period of time elapses. This can be implemented
by adding a storage module to the gateway, based on
a small database such as SQLite or MySQL.
7 CONCLUSIONS
In this paper, we explored a new way allowing build-
ing management systems and information system to
interface KNX installations by leveraging on well-
known standards like HTTP and RESTful APIs. In-
stead of having to implement the KNX network proto-
col on the BMS, developers benefit from the simplic-
ity of use of the WoT, thus facilitate the integration of
heterogeneous networks. We believe that BMS will
have to dialogue with various networks in near future
because of new technologies appearing, like Enocean
and others. In addition to this, our results show that
the Raspberry Pi is enough powerful to run gateways.
Future works cover security aspects by adding an
authentication layer and optional encryption of data
to prevent misuse. A centralization of data on the
gateway will also be explored, allowing BMS to look
for past data used in many scenarios where user be-
haviour plays a primary key role. Finally, we will
investigate the feasibility of building a direct connec-
tion to the KNX twisted pair in the gateway to elimi-
nate the need of the KNXnet/IP module. The software
running on the gateway can be made available for any
scientific research project upon request to the authors.
REFERENCES
(2012). KNX Advanced Course Specification. KNX Asso-
ciation, february 2012 edition.
(2013). Calimero 2.0. http://calimero.sourceforge.net/.
(2013). Dnsjava library. http://www.xbill.org/dnsjava/
(2013). Jetty server. http://jetty.codehaus.org/jetty/
(2013). Rapberry pi. http://www.raspberrypi.org/.
Aijaz, F., Chaudhary, M., and Walke, B. (2009). Perfor-
mance comparison of a soap and rest mobile web
server. In Proc. of the Third International Conference
on Open-Source Systems and Technologies (ICOSST
2009).
Bovet, G. and Hennebert, J. (2012). The web-of-things con-
quering smart buildings. volume 10s/2012, pages 15–
19. ElectroSuisse.
Groba, C. and Clarke, S. (2011). Web services on em-
bedded systems – a performance study. In 2010 8th
IEEE International Conference on Pervasive Comput-
ing and Communications Workshops PERCOM Work-
shops, volume 3, pages 726–731. IEEE.
Guinard, D. (2011). A Web of Things Application Architec-
ture – Integrating the Real-World into the Web. PhD
thesis, ETHZ.
Guinard, D., Trifa, V., Mattern, F., and Wilde, E. (2011).
From the internet of things to the web of things : Re-
source oriented architecture and best practices. In Flo-
rianEditors, editor, Architecting the Internet of Things,
pages 1–34.
Hamad, H., Saad, M., and Abed, R. (2010). Performance
evaluation of restful web services. In Computer Engi-
neering, volume 1, pages 72–78. Computer Engineer-
ing Department.
Kastner, W., Neugschwandtner, G., and K
¨
ogler, M. (2005).
An open approach to eib/knx software development.
In Fieldbus Systems and their Applications, pages
255–262.
Kindberg, T. and al. (2002). People, places, things: Web
presence for the real world. In Mobile Networks and
Applications, volume 7, pages 365–376. Building.
KonnexAssociation (2004). Knx specification.
Neugschwandtner, M., Neugschwandtner, G., and Kast-
ner, W. (2007). Web services in building automation:
Mapping knx to obix. In Proc. of the 5th IEEE In-
ternational Conference on Industrial Informatics, vol-
ume 1, pages 87–92.
Ostermaier, B., Schlup, F., and R
¨
omer, K. (2010). Web-
plug: A framework for the web of things. In Proc. of
the First IEEE International Workshop on the Web of
Things (WOT2010), Mannheim, Germany.
ICINCO2013-10thInternationalConferenceonInformaticsinControl,AutomationandRobotics
106