Smart-Home am Beispiel der Präsenzerkennung im Raum Projektarbeit Lennart Heimbs, Johannes Krug, Sebastian Dohle und Kevin Holzschuh bei Prof. Oliver Hofmann SS2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smart_home_technical_paper 4.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Presence detection in a smart home environment
  2. Sebastian DOHLE <dohlese65595@th-nuernberg.de>
  3. Lennart HEIMBS <heimbsle69869@th-nuernberg.de>
  4. Kevin HOLZSCHUH <holzschuhke56905@th-nuernberg.de>
  5. Johannes KRUG <krugjo67713@th-nuernberg.de>
  6. Georg-Simon-Ohm University of Applied Sciences Nuremberg (Germany)
  7. Abstract - In this paper, we present a smart home setup, based on a raspberry pi, that allows for the implementation of custom sensors, developed by this team, as well as of the shelf commercial sensors. We describe the necessary software used for sensor implementation, networking, logic and user interface. Detecting the presence of persons in a room demonstrates the usefulness of the setup.
  8. Keywords: Smart Home, Presence detection, Node-red, mqtt, gateway, raspberry pi
  9. 1. INTRODUCTION
  10. The market for smart home ecosystems is currently heavily fragmented. https://www.statista.com/study/42112/smart-home-report/
  11. A couple of market-leaders like eq-3, Amazon and Control4 have already established their own ecosystems with their own networking protocolls.
  12. Since the market is still growing, more companies join the smart home market with their own solutions and the vast variety of communication protocolls is ever growing.
  13. Existing community projects like FHEM, ioBroker and openHAB try to address this by providing a unified interface for a number of protocolls.
  14. Because these projects either lack in usability (FHEM), require the knowledge of a specifiy programming language (openHAB and Java) or lack customizability (ioBroker) we will describe in this paper a three-layered implementation of a highly customizable and easy to program solution.
  15. Section 2 covers the used hardware and communications design for the smart home environment.
  16. The used software, why the software was used and how it works is described in section 3 and in section 3
  17. Section 2 contains the outline of the setup used and we will describe the specific components and explain why they are used in Section 3
  18. 2. THE GATEWAYs HARDWARE AND NETWORK COMMUNICATION
  19. A Raspberry Pi is used as the basis of the smart home gateway.
  20. It provides a full linux installation with raspbian lite which is well equipped to run headless, has only basic applications preinstalled and uses few resources by passing on a graphical user interface.
  21. To make the project controllable a graphical user interface will be provided, which is accessible over the university's network.
  22. For this, the gateway uses a static ip-address in the university's lan-network, which makes the gui accessible in the entire university's network.
  23. Additionally, the sensors developed in the scope of this project will communicate with the gateway via wifi.
  24. This would ideally be done by using the universitv's provided network as well, but the networks configuration does not allow for this, since the used security protocol used by eduroam is not supported by the used microcontroller ESP8266 and ESP32.
  25. To circumvent this limitation, the raspberry pi is used as a wireless access point running a standalone network.
  26. the sensors will connect to this standalone network, in which the gateway is the host with a static ip-address, and send their gathered data via the network to the gateway for further processing.
  27. To communicate with commercial sensors the radio-tranciever HM-MOD-RPI-PCB from ELV is used.
  28. It provides an easy to use 868,3/869,525 MHz radio tranciever which connects to the raspberry pis GPIO-Pins
  29. 3. THE SETUPs SOFTWARE
  30. [IMAGE]
  31. The smart home environment is comprised of three key layers:
  32. the logic-layer uses node-red and node-red-dashboard to implement the smarthome logic and graphical user interface.
  33. the networking-layer uses the protocol mqtt to use the raspberry pis wifi capabilities to communicate to wifi-sensors and to connect the third - interface - layer with the logic layer.
  34. the interface-layer serves as the connection to proprietary sensors from companies like phillips and homematic.
  35. It is comprised by software (homegear and piVCCU) which speak the vendor-specific protocols used by commercial sensors and actuators.
  36. The communication with the sensors is done via the 433MHz or 866MHz radio band