How recyclosaucisse/sae51 works
SAÉ 51 is an assisted-living monitoring platform. Sensors detect presence, movement, luminosity, habits, and location; embedded or Python processes interpret events, trigger lighting or alerts, submit measurements through the PHP API, and persist them in MySQL. Joomla/PHP pages then display detections, locations, luminosity, sensor data, and GDPR exports to authenticated users. The tree and README document spectral analysis and the broader location firmware, but their detailed runtime wiring was not sampled, so those links are intentionally limited.
Components 22
Sensing & Location
- Motion Sensors
Groupe_Localisation/Capteur1/Capteur1.ino - Location Sender
Groupe_Localisation/Sender/Sender.ino - Location Receiver
Groupe_Localisation/Receiver/Receiver.ino - Central Monitor
Groupe_Localisation/MoniteurCentral/MoniteurCentral.ino - Node-RED Flow
Groupe_Localisation/FluxNodeRed.json - MQTT Broker
Monitoring Automation
- Habit Monitor
Groupe Monitoring/habitude.py - Immobility Monitor
Groupe Monitoring/immobilite.py - Lighting Use Case
cas_d_usage_2_final.py - Lighting Device
cas2_light.py
Data Backend
- API Clients
Groupe_Transversale/codes/api/client_api.py - Measurement API
Groupe_Transversale/codes/api/api.php - Measurement Database
Groupe_Transversale/codes/bdd.sql
Web & Privacy
- Monitoring Dashboard
Groupe_Transversale/codes/panneau.html - Detection Table
Groupe_Transversale/codes/cas_usage1/tableau_detection.php - Zone Endpoint
Groupe_Transversale/codes/cas_usage1/carte/recup_zone.php - Location Map
Groupe_Transversale/codes/cas_usage1/carte/affichage_carte.html - Lighting Table
Groupe_Transversale/codes/cas_usage2/recup_usage2.php - Privacy Viewer
Groupe_Transversale/codes/rgpd/afficher_info.php - Privacy Export
Groupe_Transversale/codes/rgpd/telecharger_info.php
Regulatory Analysis
- Spectral Analysis
Groupe_Localisation
Other components
- Caregiver User
Connections 25
- Motion Sensors → Location Sender: sends readings
- Location Sender → MQTT Broker: publishes location
- MQTT Broker → Location Receiver: dispatches messages
- Location Receiver → Central Monitor: forwards location
- MQTT Broker → Immobility Monitor: dispatches location
- MQTT Broker → Lighting Use Case: dispatches location
- Lighting Use Case → MQTT Broker: publishes lighting
- Lighting Use Case → Measurement API: submits measurement
- Lighting Device → MQTT Broker: publishes lighting
- Habit Monitor → MQTT Broker: publishes alert
- Habit Monitor → Measurement API: submits measurement
- Immobility Monitor → MQTT Broker: publishes alert
- API Clients → Measurement API: posts values
- Measurement API → Measurement Database: inserts measurements
- Measurement Database → Detection Table: reads detections
- Measurement Database → Zone Endpoint: reads locations
- Measurement Database → Lighting Table: reads luminosity
- Measurement Database → Privacy Viewer: reads account data
- Measurement Database → Privacy Export: exports records
- Zone Endpoint → Location Map: returns zone data
- Caregiver User → Monitoring Dashboard: opens dashboard
- Caregiver User → Privacy Viewer: views information
- Caregiver User → Privacy Export: downloads data
- Motion Sensors → Spectral Analysis: provides samples
- Node-RED Flow → MQTT Broker: routes messages