Distributed control for building automation with smart contracts

Detalhes bibliográficos
Autor(a) principal: Lopes, Bernardo Chastre
Data de Publicação: 2022
Tipo de documento: Dissertação
Idioma: eng
Título da fonte: Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
Texto Completo: http://hdl.handle.net/10071/27517
Resumo: There are some interesting, centralized solutions for managing smart buildings, whether opensource or not. However, there is the need for some of these functions to be decentralized. Decentralization calls for consideration of security and trust standards that enable a coordinated approach. This dissertation aims to fill the knowledge and research gaps that still exist in this field. As such, the objective of this dissertation is to integrate smart contracts with an IoT platform for distributed control in smart buildings. The proposed solution aims to grant control of a function or the monitoring data in a given smart building to an external entity that can manage this service. To achieve the goal of this dissertation, an integration was proposed with opensource technologies. Two of these technologies are Daml and OpenHAB, and the created SCIApp application enables their communication. Functional tests, confirm that it is possible to achieve the proposed integration. Response time in the order of seconds was obtained, with an average value of 4061ms. Performance tests, allow to verify the response time for different loads. Results confirm that response time remains constant when new contracts are created every 20s. For the remaining frequencies, the response time increases. This dissertation leads to the conclusion that it is feasible to integrate smart contracts with IoT to control and manage functions of intelligent buildings. By analyzing the tests conducted on the developed system, it was observed that the control is possible for operations that do not require a real-time response time.
id RCAP_6273f3aa0d8352c4a6532a9bcb2ab816
oai_identifier_str oai:repositorio.iscte-iul.pt:10071/27517
network_acronym_str RCAP
network_name_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 7160
spelling Distributed control for building automation with smart contractsSmart contractsInternet of thingshome automationContratos inteligentesinternet das coisasDomóticaThere are some interesting, centralized solutions for managing smart buildings, whether opensource or not. However, there is the need for some of these functions to be decentralized. Decentralization calls for consideration of security and trust standards that enable a coordinated approach. This dissertation aims to fill the knowledge and research gaps that still exist in this field. As such, the objective of this dissertation is to integrate smart contracts with an IoT platform for distributed control in smart buildings. The proposed solution aims to grant control of a function or the monitoring data in a given smart building to an external entity that can manage this service. To achieve the goal of this dissertation, an integration was proposed with opensource technologies. Two of these technologies are Daml and OpenHAB, and the created SCIApp application enables their communication. Functional tests, confirm that it is possible to achieve the proposed integration. Response time in the order of seconds was obtained, with an average value of 4061ms. Performance tests, allow to verify the response time for different loads. Results confirm that response time remains constant when new contracts are created every 20s. For the remaining frequencies, the response time increases. This dissertation leads to the conclusion that it is feasible to integrate smart contracts with IoT to control and manage functions of intelligent buildings. By analyzing the tests conducted on the developed system, it was observed that the control is possible for operations that do not require a real-time response time.Existem algumas soluções centralizadas interessantes para a gestão de edifícios inteligentes, sejam elas open-source ou não. Contudo, existe a necessidade de algumas destas funções serem descentralizadas. A descentralização exige a consideração de normas de segurança e confiança que permitam uma abordagem coordenada. Esta dissertação visa preencher as lacunas de projectos existentes neste campo. Como tal, o objectivo desta dissertação é integrar contratos inteligentes com uma plataforma IoT para controlo distribuído em edifícios inteligentes. A solução proposta visa conceder o controlo de uma função ou monitorização de dados num determinado edifício inteligente a uma entidade externa que possa gerir este serviço. Para atingir o objectivo desta dissertação, foi proposta uma integração com tecnologias de código aberto. Duas destas tecnologias são Daml e OpenHAB, e a aplicação SCIApp criada permite a sua comunicação. Testes funcionais, confirmam que é possível alcançar a integração pretendida. Foram obtidos resultados com a duração de vários segundos, sendo a duração média típica dos testes de 4061 ms. Os testes de desempenho, permitem verificar o tempo de resposta. Os resultados confirmam que o tempo de resposta com a frequência de 20s é constante. Para as restantes frequências, o tempo de resposta aumenta. Esta dissertação leva à conclusão de que é viável integrar contratos inteligentes com IoT para controlar e gerir funções de edifícios inteligentes. Ao analisar os testes realizados no sistema, observou-se que o controlo é possível para operações que não requerem um tempo de resposta em tempo real.2023-12-21T00:00:00Z2022-12-21T00:00:00Z2022-12-212022-11info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfhttp://hdl.handle.net/10071/27517TID:203176111engLopes, Bernardo Chastreinfo:eu-repo/semantics/openAccessreponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-12-24T01:19:11Zoai:repositorio.iscte-iul.pt:10071/27517Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T22:24:36.502124Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
dc.title.none.fl_str_mv Distributed control for building automation with smart contracts
title Distributed control for building automation with smart contracts
spellingShingle Distributed control for building automation with smart contracts
Lopes, Bernardo Chastre
Smart contracts
Internet of things
home automation
Contratos inteligentes
internet das coisas
Domótica
title_short Distributed control for building automation with smart contracts
title_full Distributed control for building automation with smart contracts
title_fullStr Distributed control for building automation with smart contracts
title_full_unstemmed Distributed control for building automation with smart contracts
title_sort Distributed control for building automation with smart contracts
author Lopes, Bernardo Chastre
author_facet Lopes, Bernardo Chastre
author_role author
dc.contributor.author.fl_str_mv Lopes, Bernardo Chastre
dc.subject.por.fl_str_mv Smart contracts
Internet of things
home automation
Contratos inteligentes
internet das coisas
Domótica
topic Smart contracts
Internet of things
home automation
Contratos inteligentes
internet das coisas
Domótica
description There are some interesting, centralized solutions for managing smart buildings, whether opensource or not. However, there is the need for some of these functions to be decentralized. Decentralization calls for consideration of security and trust standards that enable a coordinated approach. This dissertation aims to fill the knowledge and research gaps that still exist in this field. As such, the objective of this dissertation is to integrate smart contracts with an IoT platform for distributed control in smart buildings. The proposed solution aims to grant control of a function or the monitoring data in a given smart building to an external entity that can manage this service. To achieve the goal of this dissertation, an integration was proposed with opensource technologies. Two of these technologies are Daml and OpenHAB, and the created SCIApp application enables their communication. Functional tests, confirm that it is possible to achieve the proposed integration. Response time in the order of seconds was obtained, with an average value of 4061ms. Performance tests, allow to verify the response time for different loads. Results confirm that response time remains constant when new contracts are created every 20s. For the remaining frequencies, the response time increases. This dissertation leads to the conclusion that it is feasible to integrate smart contracts with IoT to control and manage functions of intelligent buildings. By analyzing the tests conducted on the developed system, it was observed that the control is possible for operations that do not require a real-time response time.
publishDate 2022
dc.date.none.fl_str_mv 2022-12-21T00:00:00Z
2022-12-21
2022-11
2023-12-21T00:00:00Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10071/27517
TID:203176111
url http://hdl.handle.net/10071/27517
identifier_str_mv TID:203176111
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv
_version_ 1799134808647925760