A React Native app for Mastek's Deep Blue hackathon.
This app is used to create a GeoFencing around a certain area.
- Create an admin account inside the app
- Fill in Hospital details
- Upload hospital floor map, routers information (Actual location, the channel in which they operate on, etc.)
- Add Reference Points
- Add doctors to the hospital (An added doctor can log in with the same email).
- Watch the location of the hardware device inside the region, and other data like pulse, battery level, etc. and get an alert when a breach happens!
- Doctors can also log in after being added by an admin to see the features listed above.
- Esp32
- Li-ion 18650 battery for power
- Pulse sensor for patient's heartbeat
- SOS button to be pressed when a patient is in distress
- LEDs to indicate battery level.
- Device's location with up to 2m accuracy
- SOS alert inside the app
- Strap disconnect alert (when a patient tries to remove this device)
- Patient's pulse readings
- Battery level of the device
- Low cost (as compared to BLE beacons, RFID tags prices for a larger area)
We followed the Practical Fingerprinting Localization for Indoor Positioning System by Using Beacons by Santosh Subedi and Jae-Young Pyun for getting the location of the device in a region. This paper proposes the following algorithms to get an accurate position of the device:
- Filters for reducing the fluctuations of signals produces by WiFi routers.
- Gaussian Filter (used in the offline phase while taking reference points)
- Moving Average filter (used in the offline phase while finding location)
- Algorithms for estimating location:
- Logarithmic Path Loss for finding distances from routers and assigning them a weight.
- Weighted Centralized Localization (WCL) for the 1st estimation of location.
- Weighted k-Nearest Neighbours (WkNN) selects the nearest 3 reference points assigns them weights and then use WCL again to get the final location.
- App -
- React Native
- Redux
- Firebase
- React Native Paper, many other open source libraries!
- Expo (ejected)
- Server -
- NodeJS
- WebSocket
- Firebase
- Raj Jadhav
- Manas Buchade
- Dhruv Bhanushali
- In the offline phase of the GeoFencing, the location and signal strengths received by each router at a reference point is stored inside the database.
- In the online phase these reference points are used to get an accurate estimation of location inside the region.