University project · IoT
GeoForce
A distributed IoT system that tracks presence from Bluetooth beacons.
- Stack
- ESP32, BLE, MQTT, CoAP, Node.js, SQLite, Angular
- 01ESP32BLE beacon scan
- 02RelayNode.js, MQTT
- 03ArchiveSQLite, HTTP
- 04InterfaceAngular
01The problem
Track employee presence from iBeacons, with separate services for relay, archiving and control.
02Architecture
- 01ESP32BLE beacon scan
- 02RelayNode.js, MQTT
- 03ArchiveSQLite, HTTP
- 04InterfaceAngular
03Decisions
- 1Publish arrivals and departures to an MQTT broker to decouple the sensor from the archive.
- 2Control an LED remotely from the interface, through a control service that speaks CoAP to the ESP32.
04Challenges solved
- Inverted CoAP roles: the ESP32 had to be the server and the control service the client.
- Zone.js loading and change detection errors in Angular.