博文

目前显示的是 十月, 2020的博文

System preparations and environment building

图片
 In the project, we decided to use a raspberry pi as the home-assistant server. In the raspberry pi, I have pre-installed the latest version official operation system Raspbian.  Detailed installing procedures are as followed. 1. Install the dependence and update the system with the following command.      $ sudo apt-get install python3 python3-venv python3-pip      $ sudo apt-get update      $ sudo apt-get upgrade –y 2. Create homeassistant account and set the password      $ sudo useradd -rm homeassistant -G dialout,gpio      $ sudo passwd homeassistant 3. Create the homeassistant working index      $ cd /srv      $ sudo mkdir homeassistant      $ sudo chown homeassistant:homeassistant homeassistant      $ sudo -u homeassistant -H –S 4. Create the environment for Python 3      $ cd /srv/homeassistant      $ python...

Basic Introduction

图片
 In most of the countries around the world, it has been a huge problem that many old people tend to live alone in a flat or a house without he company of their grownup children or a nurse. To make sure there is no unexpected accident such as heart attack or sudden falling down, there can be some kind of device to monitor the unusual behavior of the elderly without the invasion of their privacy. Basing on this idea, the project aims  to design a system consists of a raspberry and several Bluetooth based sensors. To make sure all the sensors could work together, the system will use mesh technology provided by the Zephyr Project. The official description of the project is  ‘ In the UK many elderly people live in homes by themselves and at some distance from their relatives. This project aims to develop a monitoring system that will record when people move around the home for example what time they get up, what time they go to bed etc. For privacy reasons only simple sensors ...