Smart Security System
I'm researched and not founded anyone alarm system with all specs below:
- Easy sensor setup
- Functional mobile app and web interface
- Smart features
- Automatic turn-on and off
- Sensor low battery warning (frequency or behavior learning)
- Integrated with Apple Home Kit
The main idea of this project is to develop a simple but functional alarm platform using some DIY boards to resolve all listed points and learn more about IoT. That is an unambitious project. The focus is to relax and to learn something.
Hardware
- Espressif TTGO T-Call V1.3 ESP32
- 433MHz transmitter and receiver modules
- Commercial alarm sensors
RF
- Wifi
- GSM + GPRS
- 433,92MHz
Communication
- MQTT
- HTTP
Roadmap
1
- Wifi scan ✅
- Wifi AP ✅
- Attach 433,92MHz receiver module ✅
- API Base + Wifi setup
- MQTT + Google Cloud IoT over Wifi
- Pair new sensor functionality (ENCODER HT6P20B)
- Fire events from the sensor to cloud
2
- Attach 433,92MHz transmitter module
- Pair new actuators functionality
- Transmit commands over 433,92MHz
3
- GSM + GPRS (connection priority and automatic interchange)
Development environment
-
Step 1 - Install prerequisites
-
Step 2 - Get ESP-IDF
-
Step 3 - Set up tools
-
Step 4 - export IDF_PATH=~/esp/esp-idf
-
Step 5 - USB Driver - Silabs
Project interaction
Config the project
make menuconfig
Build
make all
Auto Building
./watcher.sh
Flash
make flash
Serial monitor
make monitor
(To exit the serial monitor, type Ctrl-]
.)