From f873edb4169894dec84195d91b848cb309e84aa2 Mon Sep 17 00:00:00 2001 From: Sven Reissmann Date: Mon, 22 May 2017 17:18:25 +0200 Subject: [PATCH] some minor updates to section II --- 3-environment.tex | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/3-environment.tex b/3-environment.tex index 27fd59b..217c663 100644 --- a/3-environment.tex +++ b/3-environment.tex @@ -1,21 +1,20 @@ \section{Environment} -The home-automation projects developed by \textit{Magrathea Laboratories e.V.}\cite{maglab}, the local hackerspace in Fulda, are used to provide control over the different actors and sensors in the foundations rooms to visitors and members locally and remotely. - -The different components available (like the door status, power sockets, projectors and screens, temperature sensors, etc.) are all managed by the home-automation controller driven by the software \textit{home-assistant}\cite{HASS}. +The research presented in this paper was mainly driven by \textit{Magrathea Laboratories e.V.}\cite{maglab}, the local hackerspace in Fulda, in cooperation with researchers at the department for computer science at Fulda University. +Requirements were clearly defined by Magrathea Laboratories demands to provide local and remote control over various sensors and actors in the foundations rooms to visitors and members. +Such components include but are not limited to door sensors, power sockets, temperature sensors, projectors and screens who are all managed by a home-automation controller, which is driven by the software \textit{home-assistant}\cite{HASS}. It provides direct control over all existing components using a web UI and allows to define rules and automations on how these components interact. -\begin{sloppypar} -The hackerspace has developed a common software and hardware platform for its home-automation projects called \textit{ESPer}\cite{ESPer}. -For the hardware, boards based on the \textit{ESP8266} micro-controllers, mostly \textit{ESP-01s}\cite{ESP-01s} boards, are used in combination with self-developed power supplies and use-case specific hardware components. -\end{sloppypar} - -These boards provide a Microcontroller Unit (MCU) fast enough for all required scenarios and integrate WiFi without requiring any extra components. -The software is based on the \textit{Sming}\cite{Sming} library, which in turn is based on the open source SDK for \textit{ESP8266} and integrates a lot of other software components for easy use. -To build the software, a \textit{Makefile}\cite{make} is used, which provides a simple way for reproducible builds. +For the components hardware, boards based on the \textit{ESP8266} micro-controllers, mostly \textit{ESP-01s} \cite{ESP-01s} boards, are used in combination with self-developed power supplies and use-case specific hardware components. +These boards feature a small and robust design, achieve very low power consumption and integrate WiFi without requiring any extra components. +It integrates a Tensilica L106 32-bit micro controller unit (MCU) with a maximum CPU performance of 160 MHz, 64 kB instruction memory and another 96 kB of main memory. +According to the manufacturer, it is among the most integrated WiFi-capable chips in the industry. +For these boards, a common software platform referred to as \textit{ESPer} \cite{ESPer} has been developed. +The software is based on the \textit{Sming} \cite{Sming} library, which in turn is based on the open source SDK for \textit{ESP8266} and integrates a lot of other software components for easy use. +To build the software, a \textit{Makefile} \cite{make} is used, which provides a simple way for reproducible builds. The base topology used is shown in figure \ref{fig:topology}. -For communication with the controller, the \textit{MQTT}\cite{MQTT} protocol is used. +For communication with the controller, the \textit{MQTT} \cite{MQTT} protocol is used. It provides a lightweight messaging mechanism implementing the publish-subscribe pattern that allows devices to listen for commands and publish their current state to the controller and other interested parties. The controller software has out-of-the-box support for this protocol, which allows easy integration of all different device types using the same patterns.