smart emergency monitoring system and smart wristband for a quick emergency call
- Web Server for Socket I/O (Node.js) -> see our root directory
- RaspberryPi 4 for smart CCTV (Python)
- RaspberryPi 4 for smart wristband (Python)
- Web App for Emergency Dashboard (HTML, JavaScript)
For our webOS project, this web server helps socket communication among web cam, smart ring and webos webapp.
Socket Server(SocketIO)
Event 1: sendGPS
=> get GPS data and device id from Raspi, broadcast data to webOS and CCTV.
- data
data:{data:{lat, lng}}
lat=latitude, lng=longitude
Event 2: turnCCTV
=> get turn request from webOS dashboard, send turnning direction to CCTV.
- data
data:{data:direction}
left=0, right=1
- /getinfo
method: GET
dataType: json
request body: {id: id}
response body: {user_id, age, sex, phone_num, photo_url, user_address, etc}
This is an web app for showing emergency dashboard, works on webOS platform. The dashboard will show registered information of user who pushed the button of wristband and current CCTV screen. We added one more feature; buttons as a CCTV controller! These buttons will request to CCTV turn to each angle. Below is more detailed description of our dashboard.
Using Google Map API, dashboard will receive location info from server and display on screen.
Dashboard will request /getinfo API to get user's information. AJAX is used for this feature.
This Dashboard can get/show data whenever user call.
Stream the nearest CCTV screen and control the CCTV.
For our webOS project, this Pi sends location information and user data to the web server.
1 RaspberryPi4, 1 Buzzer sensor, 1 Button sensor, 1 GPS sensor.
- Raspi always checks if the emergency button is pressed.
- When the button is pressed for 3 seconds, raspi gets user location data from GPS sensor.
- Raspi sends the location data, user information and unique device number to the server.
- Also, make sound through a buzzer sensor.